server icon indicating copy to clipboard operation
server copied to clipboard

Update test upgrade script for use with latest Fedora

Open robinnewhouse opened this issue 9 months ago • 1 comments

Description

Fedora 40 introdced wget2 as the default wget program, which caused a break in the functionality of the test_upgrade.sh script. Removing the --spider option and modifying the determination of the latest distribution to test on fixes the issue. At the same time, added in another source for the boost-program-options RPM when the fedora version is 39.

Additionally added rpm sources for the boost-program-options and openssl 1.1. This is necessary when building older versions of MariaDB (e.g., 10.4) on newer linux distributions (e.g., Fedora 39) that do not always have access to all required dependencies. In the above example older MariaDB versions are not compatible with OpenSSL 3.0+, so require an older version.

Release Notes

None

How can this PR be tested?

Start a docker container using the fedora:40 image

docker run --rm  -v $(pwd):/mariadb -it fedora:40 bash

Execute the upgrade script

/mariadb/tests/upgrade_from/test_upgrade.sh 10.11 11.4

Try the same for fedora:39

Basing the PR against the correct MariaDB version

  • [x] This is a bug fix and the PR is based against the earliest maintained branch in which the bug can be reproduced.

PR quality check

  • [x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
  • [x] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.

robinnewhouse avatar May 08 '24 00:05 robinnewhouse

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar May 08 '24 00:05 CLAassistant