autopkgtest fails for mysql-8.0 version 8.0.29
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-mysql2 (Ubuntu) |
Fix Released
|
Undecided
|
Lena Voytek | ||
Jammy |
Fix Committed
|
Undecided
|
Lena Voytek | ||
Kinetic |
Fix Released
|
Undecided
|
Lena Voytek |
Bug Description
[Impact]
When sending fixes/updates to mysql-8.0 and ruby-mysql2 in jammy, an autopkgtest will fail with:
TypeError: no implicit conversion of Time into String
mysql 8.0.28 had a regression in its datetime and time query handling, and as such a patch was created for this autopkgtest to change its behavior. However, in 8.0.29 the functionality was restored, making the patch break the test.
Removing the autopkgtest patch to go back to the original setup fixes the test, allowing features and bug fixes to go through again.
[Test Plan]
The current update for mysql shows the autopkgtest regression here: https:/
To show that the removal of the patch fixes this, run autopkgtests with ppa:lvoytek/
[Where problems could occur]
With this patch removed, any future changes to mysql's handling of datetimes and times in ? queries could cause this test to fail again, blocking features and bug fixes for mysql and ruby-mysql2. This fix will revert ruby-mysql2 to how it was in 0.5.3-3ubuntu3, but this was mainly tested alongside mysql 8.0.27. Therefore changes between that version and 8.0.29 may not be fully accounted for in the datetime and time test.
[Other Info]
Patch was removed in kinetic in ruby-mysql2 version 0.5.3-3ubuntu5.
[Original Description]
Due to an accidental change with the ? query for Time and Datetime in Mysql 8.0.28, a patch was added to ruby-mysql2 to keep the autopkgtests working. The change was reverted in 8.0.29 causing the tests to fail again. Removing the ruby-mysql2 test patch fixes this issue.
Related branches
- git-ubuntu bot: Approve
- Lucas Kanashiro (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 68 lines (+8/-38)3 files modifieddebian/changelog (+8/-0)
debian/patches/series (+0/-1)
dev/null (+0/-37)
Changed in ruby-mysql2 (Ubuntu Kinetic): | |
status: | New → Fix Released |
assignee: | nobody → Lena Voytek (lvoytek) |
Changed in ruby-mysql2 (Ubuntu Jammy): | |
assignee: | nobody → Lena Voytek (lvoytek) |
status: | New → In Progress |
description: | updated |
This SRU gives as its justification the fix of an automated test, but from viewing the debdiff for this package I cannot tell that the affected code is test code as opposed to functional code in the module.
If this is only test code, the bug should be tagged block-proposed- jammy, so that we do not release an SRU for this fix alone to the -updates pocket, only the -proposed pocket.
If it is functional code, that should be expressed clearly in the bug description.