QPID functional tests broke the CI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A recent oslo.messaging patch [1], not yet merged, who aim to update the test runtime for antelope lead us to the following error [2]:
```
qdrouterd: Python: ModuleNotFoundE
```
Complete traceback:
```
2022-10-10 15:23:34.428616 | ubuntu-focal | py38-func-
2022-10-10 15:23:34.428680 | ubuntu-focal | py38-func-
2022-10-10 15:23:34.428815 | ubuntu-focal | setting PATH=/home/
2022-10-10 15:23:34.431010 | ubuntu-focal | [6027] /home/zuul/
2022-10-10 15:23:41.126660 | ubuntu-focal | DEBUG [pifpaf.drivers] executing: ['saslpasswd2', '-c', '-p', '-f', '/tmp/tmp79tm1t
2022-10-10 15:23:41.130660 | ubuntu-focal | DEBUG [pifpaf.drivers] saslpasswd2 input: b'secretqpid'
2022-10-10 15:23:41.136206 | ubuntu-focal | DEBUG [pifpaf.drivers] executing: ['qdrouterd', '-c', '/tmp/tmp79tm1t
2022-10-10 15:23:41.205242 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: 2022-10-10 15:23:41.204645 +0000 ERROR (error) Python: ModuleNotFoundE
2022-10-10 15:23:41.205322 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: 2022-10-10 15:23:41.205135 +0000 ERROR (error) Traceback (most recent call last):
2022-10-10 15:23:41.205371 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: File "/usr/lib/
2022-10-10 15:23:41.205389 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: return builtin_
2022-10-10 15:23:41.205432 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: File "/usr/lib/
2022-10-10 15:23:41.205504 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: from qpid_dispatch.
2022-10-10 15:23:41.205568 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: File "/usr/lib/
2022-10-10 15:23:41.205634 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: return builtin_
2022-10-10 15:23:41.205706 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: ModuleNotFoundE
2022-10-10 15:23:41.205775 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output:
2022-10-10 15:23:41.205852 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: 2022-10-10 15:23:41.205175 +0000 MAIN (critical) Router start-up failed: Python: ModuleNotFoundE
2022-10-10 15:23:41.205918 | ubuntu-focal | DEBUG [pifpaf.drivers] qdrouterd[6653] output: qdrouterd: Python: ModuleNotFoundE
2022-10-10 15:23:51.163808 | ubuntu-focal | DEBUG [pifpaf.util] Terminating (6653)
2022-10-10 15:23:51.169548 | ubuntu-focal | DEBUG [pifpaf.util] Waiting (6653)
2022-10-10 15:23:51.179944 | ubuntu-focal | WARNING [pifpaf.util] `psutil.
2022-10-10 15:23:51.181477 | ubuntu-focal | ERROR [pifpaf] Traceback (most recent call last):
2022-10-10 15:23:51.181509 | ubuntu-focal | File "/home/
2022-10-10 15:23:51.181522 | ubuntu-focal | self._setUp()
2022-10-10 15:23:51.181532 | ubuntu-focal | File "/home/
2022-10-10 15:23:51.181543 | ubuntu-focal | c, _ = self._exec(
2022-10-10 15:23:51.181553 | ubuntu-focal | File "/home/
2022-10-10 15:23:51.181564 | ubuntu-focal | raise RuntimeError(
2022-10-10 15:23:51.181574 | ubuntu-focal | RuntimeError: Program did not open port 5692
```
Neither debian or ubuntu in the latest releases have any binary built for qpid_dispatch, only the qpid proton, the client lib, is available.
As the qpid driver have been removed since a while, I'd suggest to remove these qpid functional tests, to unlock our gates.
[1] https:/
[2] https:/
Changed in oslo.messaging: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.messaging /+/861070 /opendev. org/openstack/ oslo.messaging/ commit/ 0f63c227f542599 5ae8c61f1d40ec8 5e7728528a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0f63c227f542599 5ae8c61f1d40ec8 5e7728528a
Author: Hervé Beraud <email address hidden>
Date: Wed Oct 12 11:21:00 2022 +0200
Deprecate the amqp1 driver and Remove qpid functional tests
A recent oslo.messaging patch [1], not yet merged, who aim to update the
test runtime for antelope lead us to the following error:
``` rror: No module named 'qpid_dispatch'
qdrouterd: Python: ModuleNotFoundE
```
Neither debian nor ubuntu in the latest releases have any binary
built for the qpid backend, not even 3rd party. Only qpid proton,
the client lib, is available.
To solve this issue, these changes propose to deprecate the AMQP1 driver
who is the one based on qpid and proton, and propose to remove the
related functional tests.
The AMQP1 driver doesn't seems to be widely used.
[1] https:/ /review. opendev. org/c/openstack /oslo.messaging /+/856643
Closes-Bug: 1992587 bdd14dcd00ebd81 88d20ea18dc
Change-Id: Id2ca9cd9ee8b8d