Autopkgtest fails on s390x for 8.0.33

Bug #2020910 reported by Lena Voytek
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
mysql-8.0 (Debian)
Fix Released
Unknown
mysql-8.0 (Ubuntu)
Fix Released
Undecided
Lena Voytek
Focal
Fix Released
Undecided
Lena Voytek
Jammy
Fix Released
Undecided
Lena Voytek
Kinetic
Won't Fix
Undecided
Lena Voytek
Lunar
Fix Released
Undecided
Lena Voytek
Mantic
Fix Released
Undecided
Lena Voytek

Bug Description

[Impact]

When running the upstream DEP-8 test on a s390x system, the tests main.subquery_sj_all_bka_nobnl and main.subquery_sj_mat_bka_nobnl fail as of 8.0.33. Both tests fail due to content mismatches through join operations.

Backporting this fix will allow the s390x autopkgtest suite to succeed so mysql-8.0 package updates can migrate.

This is fixed by ignoring the two tests for the time being, and referencing the related upstream bug.

[Test Plan]

The fix can be tested by running autopkgtest on an s390x system. Prior to the fix, the logs would show something like:

[ 86%] main.subquery_sj_all_bka_nobnl w7 [ fail ]
        Test ended at 2023-05-24 15:27:00

CURRENT_TEST: main.subquery_sj_all_bka_nobnl
--- /usr/lib/mysql-test/r/subquery_sj_all_bka_nobnl.result 2023-03-16 20:22:37.000000000 +0300
+++ /tmp/tmp.Pf7H4WvKzH/var/7/log/subquery_sj_all_bka_nobnl.reject 2023-05-24 18:26:59.844163031 +0300
@@ -5895,7 +5895,7 @@
 FROM ot1 LEFT JOIN ot2 ON ot1.a=ot2.a AND ot1.a IN (SELECT a FROM it3)
 LEFT JOIN ot3 ON ot2.a=ot3.a AND ot3.a IN (SELECT a FROM it3);
 EXPLAIN
--> Nested loop left join (cost=48.2 rows=288)
+-> Nested loop left join (cost=48.3 rows=288)
     -> Nested loop left join (cost=11.5 rows=96)
         -> Table scan on ot1 (cost=1.05 rows=8)
         -> Nested loop inner join (cost=4.35 rows=12)

mysqltest: Result content mismatch
...
[ 96%] main.subquery_sj_mat_bka_nobnl w3 [ fail ]
        Test ended at 2023-05-24 15:28:05

CURRENT_TEST: main.subquery_sj_mat_bka_nobnl
--- /usr/lib/mysql-test/r/subquery_sj_mat_bka_nobnl.result 2023-03-16 20:22:37.000000000 +0300
+++ /tmp/tmp.Pf7H4WvKzH/var/3/log/subquery_sj_mat_bka_nobnl.reject 2023-05-24 18:28:05.560167037 +0300
@@ -6121,7 +6121,7 @@
 FROM ot1 LEFT JOIN ot2 ON ot1.a=ot2.a AND ot1.a IN (SELECT a FROM it3)
 LEFT JOIN ot3 ON ot2.a=ot3.a AND ot3.a IN (SELECT a FROM it3);
 EXPLAIN
--> Nested loop left join (cost=48.2 rows=288)
+-> Nested loop left join (cost=48.3 rows=288)
     -> Nested loop left join (cost=11.5 rows=96)
         -> Table scan on ot1 (cost=1.05 rows=8)
         -> Nested loop inner join (cost=4.35 rows=12)

mysqltest: Result content mismatch
...

After the fix, the autopkgtest run succeeds.

[Where problems could occur]

In the future, if actual issues were to show up on any architecture related to these two unit tests, the autopkgtest run would not fail as expected.

[Other Info]

This issue was fixed in mantic through the sync with debian unstable.

[Original Description]

The upstream tests main.subquery_sj_all_bka_nobnl and main.subquery_sj_mat_bka_nobnl now fail as of 8.0.33. Submitted bug report upstream too but they plan on ignoring the issue since the architecture is unsupported there: https://bugs.mysql.com/bug.php?id=111156

Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Mantic):
assignee: nobody → Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Lunar):
assignee: nobody → Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Kinetic):
assignee: nobody → Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Jammy):
assignee: nobody → Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Focal):
assignee: nobody → Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Mantic):
status: New → In Progress
Changed in mysql-8.0 (Debian):
status: Unknown → New
Changed in mysql-8.0 (Debian):
status: New → Fix Released
Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Mantic):
status: In Progress → Fix Released
Lena Voytek (lvoytek)
Changed in mysql-8.0 (Ubuntu Focal):
status: New → In Progress
Changed in mysql-8.0 (Ubuntu Jammy):
status: New → In Progress
Changed in mysql-8.0 (Ubuntu Kinetic):
status: New → In Progress
Changed in mysql-8.0 (Ubuntu Lunar):
status: New → In Progress
Lena Voytek (lvoytek)
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of mysql-8.0 to lunar-proposed has been rejected from the upload queue for the following reason: "reuploading with correct -v option".

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Lena, or anyone else affected,

Accepted mysql-8.0 into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mysql-8.0/8.0.33-0ubuntu0.23.04.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in mysql-8.0 (Ubuntu Lunar):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-lunar
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of mysql-8.0 to kinetic-proposed has been rejected from the upload queue for the following reason: "reupload with -v option".

Revision history for this message
Steve Langasek (vorlon) wrote :

An upload of mysql-8.0 to jammy-proposed has been rejected from the upload queue for the following reason: "reuploading with -v".

Changed in mysql-8.0 (Ubuntu Kinetic):
status: In Progress → Fix Committed
tags: added: verification-needed-kinetic
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Lena, or anyone else affected,

Accepted mysql-8.0 into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mysql-8.0/8.0.33-0ubuntu0.22.10.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of mysql-8.0 to focal-proposed has been rejected from the upload queue for the following reason: "reuploading with -v".

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (mysql-8.0/8.0.33-0ubuntu0.23.04.4)

All autopkgtests for the newly accepted mysql-8.0 (8.0.33-0ubuntu0.23.04.4) for lunar have finished running.
The following regressions have been reported in tests triggered by the package:

libreoffice/4:7.5.3-0ubuntu0.23.04.1 (armhf)
slurm-wlm/22.05.8-3 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/lunar/update_excuses.html#mysql-8.0

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (mysql-8.0/8.0.33-0ubuntu0.22.10.4)

All autopkgtests for the newly accepted mysql-8.0 (8.0.33-0ubuntu0.22.10.4) for kinetic have finished running.
The following regressions have been reported in tests triggered by the package:

senlin/1:14.0.0-0ubuntu1 (s390x)
sysbench/1.0.20+ds-5 (s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/kinetic/update_excuses.html#mysql-8.0

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Lena, or anyone else affected,

Accepted mysql-8.0 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mysql-8.0/8.0.33-0ubuntu0.20.04.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in mysql-8.0 (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Changed in mysql-8.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Robie Basak (racb) wrote :

Hello Lena, or anyone else affected,

Accepted mysql-8.0 into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mysql-8.0/8.0.33-0ubuntu0.22.04.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Lena Voytek (lvoytek) wrote :
tags: added: verification-done-kinetic verification-done-lunar
removed: verification-needed-kinetic verification-needed-lunar
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (mysql-8.0/8.0.33-0ubuntu0.20.04.4)

All autopkgtests for the newly accepted mysql-8.0 (8.0.33-0ubuntu0.20.04.4) for focal have finished running.
The following regressions have been reported in tests triggered by the package:

cinder/2:16.4.2-0ubuntu2.4 (amd64)
diaspora-installer/0.7.6.1+debian1 (s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/focal/update_excuses.html#mysql-8.0

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Lena Voytek (lvoytek) wrote :
tags: added: verification-done verification-done-focal verification-done-jammy
removed: verification-needed verification-needed-focal verification-needed-jammy
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for mysql-8.0 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mysql-8.0 - 8.0.33-0ubuntu0.23.04.4

---------------
mysql-8.0 (8.0.33-0ubuntu0.23.04.4) lunar; urgency=medium

  * d/t/upstream: Ignore upstream tests due to s390x failure (LP: #2020910)
    Due to slight variation in the optimization of join statements on s390x, a
    few upstream tests fail as they show a cost slightly higher than expected.
    The tests include main.subquery_sj_all_bka_nobnl and
    main.subquery_sj_mat_bka_nobnl

mysql-8.0 (8.0.33-0ubuntu0.23.04.3) lunar; urgency=medium

  * d/p/mysql_secure_installation-remove-root-pw-creation.patch: Fix
    mysql_secure_installation by removing root password creation (LP: #1980466)

 -- Lena Voytek <email address hidden> Wed, 14 Jun 2023 12:37:12 -0700

Changed in mysql-8.0 (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mysql-8.0 - 8.0.33-0ubuntu0.22.04.4

---------------
mysql-8.0 (8.0.33-0ubuntu0.22.04.4) jammy; urgency=medium

  * d/t/upstream: Ignore upstream tests due to s390x failure (LP: #2020910)
    Due to slight variation in the optimization of join statements on s390x, a
    few upstream tests fail as they show a cost slightly higher than expected.
    The tests include main.subquery_sj_all_bka_nobnl and
    main.subquery_sj_mat_bka_nobnl

mysql-8.0 (8.0.33-0ubuntu0.22.04.3) jammy; urgency=medium

  * d/p/mysql_secure_installation-remove-root-pw-creation.patch: Fix
    mysql_secure_installation by removing root password creation (LP: #1980466)

 -- Lena Voytek <email address hidden> Wed, 14 Jun 2023 12:43:34 -0700

Changed in mysql-8.0 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mysql-8.0 - 8.0.33-0ubuntu0.20.04.4

---------------
mysql-8.0 (8.0.33-0ubuntu0.20.04.4) focal; urgency=medium

  * d/t/upstream: Ignore upstream tests due to s390x failure (LP: #2020910)
    Due to slight variation in the optimization of join statements on s390x, a
    few upstream tests fail as they show a cost slightly higher than expected.
    The tests include main.subquery_sj_all_bka_nobnl and
    main.subquery_sj_mat_bka_nobnl

mysql-8.0 (8.0.33-0ubuntu0.20.04.3) focal; urgency=medium

  * d/p/mysql_secure_installation-remove-root-pw-creation.patch: Fix
    mysql_secure_installation by removing root password creation (LP: #1980466)

 -- Lena Voytek <email address hidden> Wed, 14 Jun 2023 12:45:13 -0700

Changed in mysql-8.0 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Lena Voytek (lvoytek) wrote :

Marked kinetic as wont-fix as it was not released in time for its eol

Changed in mysql-8.0 (Ubuntu Kinetic):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.