You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
achave11-ucsc opened this issue
Sep 20, 2024
· 0 comments
Assignees
Labels
+[priority] Highbug[type] A defect preventing use of the system as specifieddebt[type] A defect incurring continued engineering costno demo[process] Not to be demonstrated at the end of the sprintorange[process] Done by the Azul teamtest[subject] Unit and integration test code
… causes the transit failure of various unit tests in the unit test suit due to a required docker container not publishing its ports promptly after creation.
The failure may present itself as …
======================================================================
ERROR: setUpClass (indexer.test_tdr.TestTDRHCAPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/achave11/Pycharm/Azul/azul.sc/.venv/lib/python3.11/site-packages/more_itertools/more.py", line 539, in one
first_value = next(it)
^^^^^^^^
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/achave11/Pycharm/Azul/azul.sc/test/indexer/test_tdr.py", line 190, in setUpClass
cls.netloc = cls._create_container(image=image,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/achave11/Pycharm/Azul/azul.sc/test/docker_container_test_case.py", line 94, in _create_container
port = one(ports[f'{container_port}/tcp'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/achave11/Pycharm/Azul/azul.sc/.venv/lib/python3.11/site-packages/more_itertools/more.py", line 541, in one
raise (
ValueError: too few items in iterable (expected 1)
----------------------------------------------------------------------
Ran 432 tests in 760.136s
FAILED (errors=1, skipped=3)
make: *** [test] Error 1
… a ValueError failure in any test class that inherits from DockerContainerTestCase. Alternatively, the ValueError is raised with the last call in the tree like super().setUpClass() followed by the ValueError, and completely omitting the one(ports[f'{container_port}/tcp']) part.
The text was updated successfully, but these errors were encountered:
dsotirho-ucsc
added
debt
[type] A defect incurring continued engineering cost
test
[subject] Unit and integration test code
+
[priority] High
labels
Sep 23, 2024
+[priority] Highbug[type] A defect preventing use of the system as specifieddebt[type] A defect incurring continued engineering costno demo[process] Not to be demonstrated at the end of the sprintorange[process] Done by the Azul teamtest[subject] Unit and integration test code
… causes the transit failure of various unit tests in the unit test suit due to a required docker container not publishing its ports promptly after creation.
The failure may present itself as …
… a ValueError failure in any test class that inherits from DockerContainerTestCase. Alternatively, the ValueError is raised with the last call in the tree like
super().setUpClass()
followed by the ValueError, and completely omitting theone(ports[f'{container_port}/tcp'])
part.The text was updated successfully, but these errors were encountered: