random failure in octavia.tests.unit.cmd.test_prometheus_proxy.TestPrometheusProxyCMD.test_main
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
New
|
Undecided
|
Unassigned |
Bug Description
reported by the RDO project on stable/yoga (a59d75ce):
octavia.
DEBUG: =======
DEBUG: Failed 1 tests - output below:
DEBUG: =======
DEBUG: octavia.
DEBUG: -------
DEBUG: Captured traceback:
DEBUG: ~~~~~~~~~~~~~~~~~~~
DEBUG: Traceback (most recent call last):
DEBUG: File "/usr/lib64/
DEBUG: return func(*newargs, **newkeywargs)
DEBUG: File "/builddir/
DEBUG: mock_serve_
DEBUG: File "/usr/lib64/
DEBUG: raise AssertionError(msg)
DEBUG: AssertionError: Expected 'serve_forever' to have been called once. Called 0 times.
This code is gone in newer versions because python 3.8 had the newer approach available.
I'm guessing that something is using the port in this test environment, causing the test failure.