[MDEV-21587] Regression since 10.1.44 release: test disks_notembedded fails in Ubuntu 18.04 (still affect 11.0) Created: 2020-01-29 Updated: 2023-12-12 Resolved: 2023-12-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugins, Tests |
| Affects Version/s: | 10.1.44, 11.0 |
| Fix Version/s: | 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Otto Kekäläinen | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
While importing latest MariaDB 10.1.44 and doing test builds before upload to Ubuntu 18.04 I noticed all builds failed at https://launchpad.net/~mysql-ubuntu/+archive/ubuntu/mariadb-10.1/+builds?build_text=&build_state=all
Since exactly same failure happened on all platforms, it is certainly not a sporadic failure. I would either need a patch for this failure I can add on top of 10.1.44 sources (at https://salsa.debian.org/mariadb-team/mariadb-10.1/tree/ubuntu-18.04) or somebody to acknowledge that this error is safe to ignore. |
| Comments |
| Comment by Elena Stepanova [ 2020-01-29 ] | |||||||||||||||||||||||||||||||
|
We've never had this failure in buildbot, so it must be something environment- or build-related. sanja, could you please take a look? | |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-01-29 ] | |||||||||||||||||||||||||||||||
|
If this test is not important, maybe I should update in Ubuntu 18.04 release chain that mtr only runs `--skip-rpl --suite=main` so less important tests don't even get run. | |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-01-30 ] | |||||||||||||||||||||||||||||||
|
As a side note, I did a test build with 10.3.22 on Launchpad with all regular tests enabled `/mysql-test-run.pl --force --testcase-timeout=30 --suite-timeout=540 --retry=3 --parallel=4`. If bailed out with `Too many failed: Failed 8/1688 tests, 99.53% were successful.` before it got to running `
The arm64 build (that does not have TokuDB) ran all tests and ended with:
So this issue seems to apply to mariadb-10.3 series as well. | |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-01-30 ] | |||||||||||||||||||||||||||||||
|
Fixed for Ubuntu 18.04 upload via limiting scope of tests in https://salsa.debian.org/mariadb-team/mariadb-10.1/commit/321840af94a5e1342694542031cffa780e2f9678 | |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-10-12 ] | |||||||||||||||||||||||||||||||
|
Tested with an upload to Launchpad where the extended test suite is enabled. However the test seems to be globally disabled, so it didn't run at all:
| |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-10-12 ] | |||||||||||||||||||||||||||||||
|
I enabled it, and it is still failing:
| |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2023-03-20 ] | |||||||||||||||||||||||||||||||
|
Almost the same issue still affects latest MariaDB. See log https://launchpadlibrarian.net/656676218/buildlog_ubuntu-lunar-amd64.mariadb_1%3A10.11.2-2~ubuntu23.04.1~1679260930.3d164ca5277.dev.otto_BUILDING.txt.gz
| |||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-03-22 ] | |||||||||||||||||||||||||||||||
|
Might be that Sum(Total) = sum(Available) because of very large values of Total and low values of Used. > -> >= might solve it. NULL would be no storage found. Implementation changes significantly in https://github.com/MariaDB/server/pull/2216 ( | |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2023-10-05 ] | |||||||||||||||||||||||||||||||
|
I just ran the full official test suite and these disk.disks and disk.disks_notembedded are still failing (log https://launchpadlibrarian.net/690458994/buildlog_ubuntu-mantic-amd64.mariadb_1%3A10.11.5-2~bpo23.10.1~1696482175.fcfd3a06fd5.debian.latest.full.mariadb.test.run_BUILDING.txt.gz)
| |||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-10-05 ] | |||||||||||||||||||||||||||||||
|
for large values of storage, available=total due to rounding. Need to change the test to:
| |||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2023-10-07 ] | |||||||||||||||||||||||||||||||
|
I can confirm that disks.disks is now fixed thanks to https://github.com/MariaDB/server/pull/2777, but not yet disks.disks_notembedded. |