Conversation
97bb6b4 to
9b59c47
Compare
9b59c47 to
e92812c
Compare
|
Rebased now on latest 10.6, and previous version already had all review comments addressed. Please re-review. |
|
Seems solid to me. @grooverdan had some hacks on Sid building so if he is fine with this then I'm also. @LinuxJedi do you have any comments? |
Three of our DEB autobake builders are now failing in weird ways with this PR. I don't fully understand why yet, but I'm cautious about merging it until the cause is understood. |
|
Thanks for the feedback! I will address all items your raised by end of
week.
|
b8afce1 to
78e245e
Compare
The remaining issue is that this line seems to evaluate to true and it always disabled Columnstore: Buildbot amd64-debian-10-deb-autobake fails because it expects Columnstore to be built. |
78e245e to
2785f56
Compare
|
Builder amd64-ubuntu-2004-debug seems to fail randomly on tests: I don't think the above is related to this PR but I can't prove it. The builder buildbot/amd64-centos-7-rpm-autobake fails on tarball fetch, not related to this PR. |
2785f56 to
a1ab2e6
Compare
|
This CI run passed, no failures - random or otherwise. Please re-review. |
|
@bigon can you please either click through the CLA to approve or choose the 3-Clause BSD license or declare here that your contributions for this pull request are under the 3-Clause BSD license. |
That change has been pulled directly from the But the change is trivial enough and I'm not intending to sign a CLA, so I hereby declare here that my contribution for this pull request are under the 3-Clause BSD license in addition to GPL-2+ (as stated in the The github search functionality (didn't clone the full repository) doesn't show me any reference to a CLA or 3-Clause BSD license in the code or the COPYING/CONTRIBUTING.md files, BTW. |
|
Thank you, and noted on the .md files. We are working on improving the process in-general. |
|
@ottok can you please take a look at this output, around line 1017? I think this is breaking aarch64 autobake: https://buildbot.mariadb.org/#/builders/44/builds/14243/steps/5/logs/stdio |
c552fcf to
3e70922
Compare
|
Comparing https://buildbot.mariadb.org/#/builders/44/builds/14243/steps/5/logs/stdio (fail) and to others the difference was that the failing run included I will continue with the other commit in another (later) PR - for now I just want this "green" part to get in so we have progress on mainline 10.6. |
3e70922 to
f9bf6fc
Compare
|
This one is not particularly doing something with this bug merge this and #2275 to see how much problems it solved on Salsa-CI now there is branch ottok-10.6-salsa-ci-oct2022-MDEV-28834 just for testing on Salsa-CI also |
Missed this comment before. Isn't this because PLUGIN_COLUMNSTORE=NO is in two different places? It looked like only one was removed when I last looked at it. |
LinuxJedi
left a comment
There was a problem hiding this comment.
I think we are looking good now, related failures appear to be fixed.
|
Approved, but needs a manual rebasing it seems. |
f9bf6fc to
51fb1fe
Compare
|
Rebased on latest 10.6. |
…cleanup
This fixes autobake-deb.sh builds on Sid which was visible as 4 failing
build steps on Salsa-CI.
- In Sid the LSBNAME might evaluate to 'n/a', so accept it as 'Sid' to
fix builds that failed with error:
Error - unknown release codename n/a
- Refactor list to have Ubuntu versions first, then Debian, and as last
the special case of Debian Sid
- Fix minor syntax issues detected by Shellcheck
Also remove useless DEB_HOST_ARCH_CPU check from debian/rules:
* It was never in effect as the 'sed' in autobake-deb.sh cleared it anyway
* The variable name was wrong and always empty
* If variable would have been correct, logic was still reversed
This commit fixes 3 certain CI job failures, several potential failures
due to timeouts, and exposes MDEV-28640 on a job that no longer should
be ignored.
- Define 3h timeout as the default 1h timeout on Gitlab.com (and others)
is usually not enough for initial (uncached) MariaDB builds.
- Replace Buster to Bookworm/Sid upgrade testing with upgrade inside Buster
testing as direct upgrades from Stretch to Bullseye and Buster to Bookworm
are no longer possible due to:
Bug#993755: libcrypt.so.1: cannot open shared object file when
upgrading from Stretch to Sid (https://bugs.debian.org/993755)
- Stop ignoring MariaDB.org 10.6 to this version upgrade testing failures
to reveal bug MDEV-28640. Originally this step was failing as the uring
dependencies in upstream builders lagged behind and there was nothing
that needed work, only time time to resolve. Now there is an actual bug
in packaging that should be visible as a CI failure.
- Stop testing for 'service mysql status' on systems that upgraded from
MySQL 8.0 to MariaDB.org vended 10.6. Due to some unidentified debian/control
changes in 10.6 on upstream the upgrade is no longer compatible in
a way that would maintain the init.d script with name 'mysql'.
- Fix typos where mergers had changed occurrences of 10.5 to 10.6 while
they intentionally need to be exactly 10.5, otherwise the meaning
changes.
- Align autopkgtest code with downstream official Debian packaging one. This is change is safe on a stable branch because is only affects builds and testing, not any actual usage of MariaDB 10.6. - Standardize on using capitalized 'YES' in CMake build options (instead of 'yes' or mixed case) - Add some comments to better document debian/rules - Fix typo in Lintian overrides
Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/1970634 MariaDB ticket: https://jira.mariadb.org/browse/MDEV-25633 When built with LTO on Ubuntu, MariaDB does not catch an exception when the uring initialization fails due to a low RLIMIT_MEMLOCK value. This commit amends the commit 0609b34 to be identical to the one done downstream in Debian: https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8d20ca979cf422d3a507283b86c2547d78559179 This way both the inline comments and 'git blame' for this section will show properly why this is needed, and the fix is one that is fully tested on Debian and Ubuntu. Also having this section fully identical in upstream MariaDB and downstream Debian will make the packaging maintenance easier as 'diff` runs on this file will not flag this as a difference anymore.
In MDEV-28640 the init script failed to stop/start the MariaDB server due to missing mysqladmin on the system. This was however very hard to spot from the console output. Add an explicit check for the binary the script depends on, and fail verbosely if the dependency is missing.
51fb1fe to
a7fb9f8
Compare
|
Rebased on latest 10.6. Can you @illuusio merge if you approve? |
|
@LinuxJedi Why did you squash and merge this commit? The commit message is now hard to read and diffs are not 'atomic': See https://github.com/MariaDB/server/commit/f4adf3547420cced027d26ee8b8190be8a2bdea2.patch |
|
@ottok I don't see any indication in this PR that the intention was to deviate from standard for PRs (squash merges) and apply the commits without a merge outside of GH. Please indicate this is your intention in future and we can facilitate this. |
|
I did not know you have configured the project to use squash merges by
default. Isn't that too laboursome to have the merger edit commit messages
and do squashing? Or I guess you just mechanically squash without any
commit message editing.
Anyway, thanks for the explanation, I understand now what happened. Will
post my commits as separate PRs in future or just stop writing commit
messages to avoid unnecessary mangling of them.
|
Description
See commit messages for details of changes.
How can this PR be tested?
Anybody can sign up for a free account at salsa.debian.org, the Gitlab instance for Debian development.
The Salsa-CI status for current 10.6 head (ab01901) is visible at https://salsa.debian.org/otto/mariadb-server/-/pipelines/443617
CI status after these commits is visible at https://salsa.debian.org/otto/mariadb-server/-/pipelines/444495

Once #2294 is merged up from branch 10.5 to 10.6 and once @illuusio completes the Lintian fixes in #2275 the CI status will be even more green as visible in the mockup at https://salsa.debian.org/otto/mariadb-server/-/pipelines/444496

The last failure will be fixed if/when I finalize #2300. It is a hard one, so I wasn't able to crack it this weekend.
Basing the PR against the correct MariaDB version
Backward compatibility
These changes only affect building and testing. Thus there are no changes in the installed MariaDB binaries and thus this is safe to do on a stable branch. Actually this improves the safety of the stable branch as it gets back the Salsa-CI test coverage it used to have.