-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Description
- a detailed description of the bug or problem you are having
https://github.com/skupperproject/skupper-router/runs/5072757996?check_suite_focus=true#step:27:362
2022-02-04T21:28:51.9670147Z ::StreamingMessageTest::test_11_streaming_closest_parallel FAILED
2022-02-04T21:28:51.9670513Z INTERNALERROR> Traceback (most recent call last):
2022-02-04T21:28:51.9671128Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/main.py", line 268, in wrap_session
2022-02-04T21:28:51.9671553Z INTERNALERROR> session.exitstatus = doit(config, session) or 0
2022-02-04T21:28:51.9672102Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/main.py", line 322, in _main
2022-02-04T21:28:51.9673099Z INTERNALERROR> config.hook.pytest_runtestloop(session=session)
2022-02-04T21:28:51.9673794Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_hooks.py", line 265, in __call__
2022-02-04T21:28:51.9674229Z INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
2022-02-04T21:28:51.9674798Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_manager.py", line 80, in _hookexec
2022-02-04T21:28:51.9675238Z INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
2022-02-04T21:28:51.9675790Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_callers.py", line 60, in _multicall
2022-02-04T21:28:51.9676151Z INTERNALERROR> return outcome.get_result()
2022-02-04T21:28:51.9676650Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_result.py", line 60, in get_result
2022-02-04T21:28:51.9677016Z INTERNALERROR> raise ex[1].with_traceback(ex[2])
2022-02-04T21:28:51.9677521Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_callers.py", line 39, in _multicall
2022-02-04T21:28:51.9677900Z INTERNALERROR> res = hook_impl.function(*args)
2022-02-04T21:28:51.9680694Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/main.py", line 347, in pytest_runtestloop
2022-02-04T21:28:51.9681192Z INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
2022-02-04T21:28:51.9681783Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_hooks.py", line 265, in __call__
2022-02-04T21:28:51.9682227Z INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
2022-02-04T21:28:51.9682786Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_manager.py", line 80, in _hookexec
2022-02-04T21:28:51.9683219Z INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
2022-02-04T21:28:51.9683753Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_callers.py", line 60, in _multicall
2022-02-04T21:28:51.9684139Z INTERNALERROR> return outcome.get_result()
2022-02-04T21:28:51.9684639Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_result.py", line 60, in get_result
2022-02-04T21:28:51.9685026Z INTERNALERROR> raise ex[1].with_traceback(ex[2])
2022-02-04T21:28:51.9685516Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_callers.py", line 39, in _multicall
2022-02-04T21:28:51.9686002Z INTERNALERROR> res = hook_impl.function(*args)
2022-02-04T21:28:51.9686517Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol
2022-02-04T21:28:51.9686914Z INTERNALERROR> runtestprotocol(item, nextitem=nextitem)
2022-02-04T21:28:51.9687400Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/runner.py", line 133, in runtestprotocol
2022-02-04T21:28:51.9687817Z INTERNALERROR> reports.append(call_and_report(item, "teardown", log, nextitem=nextitem))
2022-02-04T21:28:51.9688484Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/runner.py", line 223, in call_and_report
2022-02-04T21:28:51.9688892Z INTERNALERROR> report: TestReport = hook.pytest_runtest_makereport(item=item, call=call)
2022-02-04T21:28:51.9689414Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_hooks.py", line 265, in __call__
2022-02-04T21:28:51.9689818Z INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
2022-02-04T21:28:51.9690343Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_manager.py", line 80, in _hookexec
2022-02-04T21:28:51.9690726Z INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
2022-02-04T21:28:51.9691245Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_callers.py", line 55, in _multicall
2022-02-04T21:28:51.9691582Z INTERNALERROR> gen.send(outcome)
2022-02-04T21:28:51.9692079Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/skipping.py", line 265, in pytest_runtest_makereport
2022-02-04T21:28:51.9692444Z INTERNALERROR> rep = outcome.get_result()
2022-02-04T21:28:51.9692913Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_result.py", line 60, in get_result
2022-02-04T21:28:51.9693275Z INTERNALERROR> raise ex[1].with_traceback(ex[2])
2022-02-04T21:28:51.9693746Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/pluggy/_callers.py", line 39, in _multicall
2022-02-04T21:28:51.9694089Z INTERNALERROR> res = hook_impl.function(*args)
2022-02-04T21:28:51.9694597Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/runner.py", line 367, in pytest_runtest_makereport
2022-02-04T21:28:51.9695003Z INTERNALERROR> return TestReport.from_item_and_call(item, call)
2022-02-04T21:28:51.9695516Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/reports.py", line 347, in from_item_and_call
2022-02-04T21:28:51.9695906Z INTERNALERROR> excinfo, style=item.config.getoption("tbstyle", "auto")
2022-02-04T21:28:51.9696431Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/nodes.py", line 447, in _repr_failure_py
2022-02-04T21:28:51.9696887Z INTERNALERROR> self._prunetraceback(excinfo)
2022-02-04T21:28:51.9697390Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/unittest.py", line 325, in _prunetraceback
2022-02-04T21:28:51.9697766Z INTERNALERROR> super()._prunetraceback(excinfo)
2022-02-04T21:28:51.9698265Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/python.py", line 1725, in _prunetraceback
2022-02-04T21:28:51.9698674Z INTERNALERROR> code = _pytest._code.Code.from_function(get_real_func(self.obj))
2022-02-04T21:28:51.9699161Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/python.py", line 296, in obj
2022-02-04T21:28:51.9699513Z INTERNALERROR> self._obj = obj = self._getobj()
2022-02-04T21:28:51.9699966Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/python.py", line 1706, in _getobj
2022-02-04T21:28:51.9700345Z INTERNALERROR> parent_obj = self.parent.newinstance()
2022-02-04T21:28:51.9700831Z INTERNALERROR> File "/usr/local/lib/python3.6/site-packages/_pytest/python.py", line 791, in newinstance
2022-02-04T21:28:51.9701174Z INTERNALERROR> return self.obj()
2022-02-04T21:28:51.9701605Z INTERNALERROR> TypeError: __init__() missing 1 required positional argument: 'test_method'
2022-02-04T21:28:51.9701827Z
2022-02-04T21:28:51.9701963Z =================== 2 failed, 85 passed in 411.73s (0:06:51) ===================
2022-02-04T21:28:51.9702270Z Exception in thread Thread-24:
2022-02-04T21:28:51.9702527Z Traceback (most recent call last):
2022-02-04T21:28:51.9702834Z File "/usr/lib64/python3.6/threading.py", line 937, in _bootstrap_inner
2022-02-04T21:28:51.9703090Z self.run()
2022-02-04T21:28:51.9703350Z File "/usr/lib64/python3.6/threading.py", line 885, in run
2022-02-04T21:28:51.9703640Z self._target(*self._args, **self._kwargs)
2022-02-04T21:28:51.9704213Z File "/home/runner/work/skupper-router/skupper-router/skupper-router/tests/test_broker.py", line 113, in _main
2022-02-04T21:28:51.9704590Z while self._container.process():
2022-02-04T21:28:51.9705024Z File "/usr/local/lib64/python3.6/site-packages/proton/_reactor.py", line 257, in process
2022-02-04T21:28:51.9705326Z event.dispatch(handler)
2022-02-04T21:28:51.9705723Z File "/usr/local/lib64/python3.6/site-packages/proton/_events.py", line 164, in dispatch
2022-02-04T21:28:51.9706021Z self.dispatch(h, type)
2022-02-04T21:28:51.9706419Z File "/usr/local/lib64/python3.6/site-packages/proton/_events.py", line 161, in dispatch
2022-02-04T21:28:51.9706726Z _dispatch(handler, type.method, self)
2022-02-04T21:28:51.9707157Z File "/usr/local/lib64/python3.6/site-packages/proton/_events.py", line 128, in _dispatch
2022-02-04T21:28:51.9707443Z m(*args)
2022-02-04T21:28:51.9707855Z File "/usr/local/lib64/python3.6/site-packages/proton/_handlers.py", line 751, in on_reactor_init
2022-02-04T21:28:51.9708155Z self.on_start(event)
2022-02-04T21:28:51.9708628Z File "/home/runner/work/skupper-router/skupper-router/skupper-router/tests/test_broker.py", line 134, in on_start
2022-02-04T21:28:51.9709021Z self.acceptor = event.container.listen(self.url)
2022-02-04T21:28:51.9709474Z File "/usr/local/lib64/python3.6/site-packages/proton/_reactor.py", line 1588, in listen
2022-02-04T21:28:51.9709796Z acceptor = self.acceptor(url.host, url.port)
2022-02-04T21:28:51.9710224Z File "/usr/local/lib64/python3.6/site-packages/proton/_reactor.py", line 335, in acceptor
2022-02-04T21:28:51.9710564Z a = Acceptor(self, unicode2utf8(host), int(port), impl)
2022-02-04T21:28:51.9710994Z File "/usr/local/lib64/python3.6/site-packages/proton/_reactor.py", line 916, in __init__
2022-02-04T21:28:51.9711302Z sock = IO.listen(host, port)
2022-02-04T21:28:51.9711684Z File "/usr/local/lib64/python3.6/site-packages/proton/_io.py", line 51, in listen
2022-02-04T21:28:51.9711967Z s.bind((host, port))
2022-02-04T21:28:51.9712197Z OSError: [Errno 98] Address already in use
- output of
pip list
from the virtual environment you are using
Successfully installed distlib-0.3.4 filelock-3.4.1 importlib-metadata-4.8.3 importlib-resources-5.4.0 packaging-21.3 platformdirs-2.4.0 pluggy-1.0.0 py-1.11.0 pyparsing-3.0.7 six-1.16.0 toml-0.10.2 tox-3.24.5 typing-extensions-4.0.1 virtualenv-20.13.0 wheel-0.37.1 zipp-3.6.0
Successfully installed MarkupSafe-2.0.1 aiofiles-0.8.0 attrs-21.4.0 blinker-1.4 click-8.0.3 dataclasses-0.8 h11-0.13.0 h2-4.1.0 hpack-4.0.0 hypercorn-0.5.4 hyperframe-6.0.1 iniconfig-1.1.1 itsdangerous-2.0.1 jinja2-3.0.3 lxml-4.7.1 multidict-5.2.0 protobuf-3.19.4 pytest-7.0.0 pytils-0.3 pytoml-0.1.21 quart-0.6.15 selectors-0.0.14 sortedcontainers-2.4.0 tomli-1.2.3 user-agent-0.1.10 weblib-0.1.30 websockets-9.1 wsproto-1.0.0
- pytest and operating system versions
pytest-7.0.0
CentOS Stream 8
- minimal example if possible
Issue happened only once, as far as I know. I will update this issue if it happens multiple times and if I manage to reproduce it outside of GitHub Actions CI.
Metadata
Metadata
Assignees
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously