versionutils convert_version_to_tuple fails with beta versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.utils |
Fix Released
|
Critical
|
Takashi Kajinami |
Bug Description
We have a job "designate-
This job started failing today because sqlalchemy 2.1.0b1 [1] was committed to the master branch.
oslo.db calls versionutils [2] convert_
Versionutils should be able to handle beta and rc patch version strings.
Here is the Traceback:
2023-11-06 23:20:24.748531 | ubuntu-jammy | =======
2023-11-06 23:20:24.748549 | ubuntu-jammy | Failures during discovery
2023-11-06 23:20:24.748558 | ubuntu-jammy | =======
2023-11-06 23:20:24.748567 | ubuntu-jammy | --- import errors ---
2023-11-06 23:20:24.748576 | ubuntu-jammy | Failed to import test module: designate.tests
2023-11-06 23:20:24.748585 | ubuntu-jammy | Traceback (most recent call last):
2023-11-06 23:20:24.748593 | ubuntu-jammy | File "/usr/lib/
2023-11-06 23:20:24.748602 | ubuntu-jammy | package = self._get_
2023-11-06 23:20:24.748611 | ubuntu-jammy | File "/usr/lib/
2023-11-06 23:20:24.748621 | ubuntu-jammy | __import__(name)
2023-11-06 23:20:24.748629 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748638 | ubuntu-jammy | from designate import storage
2023-11-06 23:20:24.748647 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748655 | ubuntu-jammy | from designate.storage import sql
2023-11-06 23:20:24.748663 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748671 | ubuntu-jammy | from oslo_db.sqlalchemy import enginefacade
2023-11-06 23:20:24.748680 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748693 | ubuntu-jammy | from oslo_db.sqlalchemy import engines
2023-11-06 23:20:24.748760 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748775 | ubuntu-jammy | from oslo_db.sqlalchemy import compat
2023-11-06 23:20:24.748784 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748793 | ubuntu-jammy | _vers = versionutils.
2023-11-06 23:20:24.748801 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748810 | ubuntu-jammy | return tuple(int(part) for part in version_
2023-11-06 23:20:24.748818 | ubuntu-jammy | File "/home/
2023-11-06 23:20:24.748827 | ubuntu-jammy | return tuple(int(part) for part in version_
2023-11-06 23:20:24.748835 | ubuntu-jammy | ValueError: invalid literal for int() with base 10: '0b1'
2023-11-06 23:20:24.748843 | ubuntu-jammy |
2023-11-06 23:20:24.748852 | ubuntu-jammy | =======
2023-11-06 23:20:24.748875 | ubuntu-jammy | The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
[1] https:/
[2] https:/
Changed in oslo.utils: | |
importance: | Undecided → Critical |
importance: | Critical → High |
assignee: | nobody → Takashi Kajinami (kajinamit) |
This has broken the neutron gate as well.