Skip to content

matrix remove obsolete SUSE#1888

Merged
BareosBot merged 14 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/matrix-remove-obsolete-SUSE
Aug 1, 2024
Merged

matrix remove obsolete SUSE#1888
BareosBot merged 14 commits intobareos:masterfrom
bruno-at-bareos:dev/bruno/matrix-remove-obsolete-SUSE

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Jul 8, 2024

  • matrix.yml: remove end of life SUSE/Leap
  • tests: postgresql increase start timeout to 15

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@arogge arogge added this to the 24.0.0 milestone Jul 9, 2024
@arogge
Copy link
Member

arogge commented Jul 9, 2024

I want this! :)
I think we should also backport this into Bareos 23 and 22 (which should be trivial)

@sebsura sebsura marked this pull request as ready for review July 9, 2024 07:53
@bruno-at-bareos
Copy link
Contributor Author

I want this! :) I think we should also backport this into Bareos 23 and 22 (which should be trivial)

So it mean I just got a green light to update my CD-Buildimage branch to make ready of 156 :-)
I will prepare that.

@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/matrix-remove-obsolete-SUSE branch from fe31114 to 4fee5a6 Compare July 10, 2024 09:30
@sebsura sebsura removed the draft label Jul 11, 2024
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/matrix-remove-obsolete-SUSE branch 4 times, most recently from 89fca53 to 88beb2b Compare July 15, 2024 12:41
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/matrix-remove-obsolete-SUSE branch from d75dcf4 to e8da991 Compare July 25, 2024 11:52
sduehr and others added 9 commits July 31, 2024 11:28
FreeBSD's awk unlike gawk does not have gensub(), now match() and
substr() is used instead.

- systemtests: Fix mtx-changer test on FreeBSD

The scripts used /bin/true, but that doesn't exist on FreeBSD
any more. Now using /usr/bin/env true, that should work on
all systems.
- replace shutdown_mysql_server by calling mysql_cleanup in case of
  startup error
- function improve code by quoting variables
- adjust copyright year

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- set sle156 as new default

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- remove generated configuration commited by error
Avoid failure on loaded hosts

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
suse156 has a newer glibc 2.38.
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/matrix-remove-obsolete-SUSE branch from 800ced6 to ba96c62 Compare July 31, 2024 09:28
sebsura added 2 commits August 1, 2024 07:17
This is in preparation of removing `create_unique_socket_number()`.
As these configuration values are not currently used in the tests, it
makes sense to just set them to 0 for now.
(socket-) fds are allowed to be zero, so we should instead be checking
for '< 0' to detect bad socket fds.
sebsura added 3 commits August 1, 2024 07:17
(socket-) fds are allowed to be zero, so we should instead be checking
for '< 0' to detect bad socket fds.
We were always trying to find an unused port, and then we try to bind
that port.  This is not a good way to do it as there is
no guarantee that the port will still be free when we actually try to
bind the port, especially if there are a lot of concurrent tests
running.

Now we do it the opposite way:  First we bind a random os-provided
free port and only then do we find out which port it actually is.
That should make sure that no two unit tests should ever try to bind
the same port.

There may still be conflicts between unittest ports and
system test ports, but that can be fixed in a different way (e.g. just
do not run that at the same time).
If we do not wait long enough, then the number of `send()`s changes.
@sebsura sebsura force-pushed the dev/bruno/matrix-remove-obsolete-SUSE branch from e70d8e8 to 1fc1a23 Compare August 1, 2024 06:55
Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ALGTM

@BareosBot BareosBot merged commit 13fe542 into bareos:master Aug 1, 2024
@bruno-at-bareos bruno-at-bareos deleted the dev/bruno/matrix-remove-obsolete-SUSE branch August 12, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants