forked from mtusi2026/mtusi2026lab7
Implement lab 7 transport security and worker containment
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
..!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
/Users/artemkostylev/.local/share/uv/python/cpython-3.14.5-macos-aarch64-none/lib/python3.14/asyncio/runners.py:132: KeyboardInterrupt
|
||||
(to show a full traceback on KeyboardInterrupt use --full-trace)
|
||||
Traceback (most recent call last):
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/bin/pytest", line 10, in <module>
|
||||
sys.exit(_console_main())
|
||||
~~~~~~~~~~~~~^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/config/__init__.py", line 253, in _console_main
|
||||
code = _main(prog=_get_prog_name(sys.argv))
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/config/__init__.py", line 229, in _main
|
||||
ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__
|
||||
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec
|
||||
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
|
||||
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall
|
||||
raise exception
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall
|
||||
res = hook_impl.function(*args)
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/main.py", line 377, in pytest_cmdline_main
|
||||
return wrap_session(config, _main)
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/main.py", line 365, in wrap_session
|
||||
config.hook.pytest_sessionfinish(
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
||||
session=session, exitstatus=session.exitstatus
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
)
|
||||
^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__
|
||||
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec
|
||||
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
|
||||
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall
|
||||
raise exception
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall
|
||||
teardown.throw(exception)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/logging.py", line 888, in pytest_sessionfinish
|
||||
return (yield)
|
||||
^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall
|
||||
teardown.throw(exception)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/terminal.py", line 961, in pytest_sessionfinish
|
||||
result = yield
|
||||
^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall
|
||||
teardown.throw(exception)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/warnings.py", line 119, in pytest_sessionfinish
|
||||
return (yield)
|
||||
^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall
|
||||
res = hook_impl.function(*args)
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 112, in pytest_sessionfinish
|
||||
session._setupstate.teardown_exact(None)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 568, in teardown_exact
|
||||
fin()
|
||||
~~~^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/fixtures.py", line 1166, in finish
|
||||
raise exceptions[0]
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/fixtures.py", line 1156, in finish
|
||||
fin()
|
||||
~~~^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/.venv/lib/python3.14/site-packages/_pytest/fixtures.py", line 1014, in _teardown_yield_fixture
|
||||
next(it)
|
||||
~~~~^^^^
|
||||
File "/Users/artemkostylev/projects/learning/HL/labs/mtusi2026lab7/student-tests/adapters/test_rabbitmq.py", line 112, in rabbitmq
|
||||
subprocess.run(["docker", "rm", "-f", name], capture_output=True, check=False)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/.local/share/uv/python/cpython-3.14.5-macos-aarch64-none/lib/python3.14/subprocess.py", line 557, in run
|
||||
stdout, stderr = process.communicate(input, timeout=timeout)
|
||||
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/.local/share/uv/python/cpython-3.14.5-macos-aarch64-none/lib/python3.14/subprocess.py", line 1221, in communicate
|
||||
stdout, stderr = self._communicate(input, endtime, timeout)
|
||||
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/artemkostylev/.local/share/uv/python/cpython-3.14.5-macos-aarch64-none/lib/python3.14/subprocess.py", line 2153, in _communicate
|
||||
ready = selector.select(timeout)
|
||||
File "/Users/artemkostylev/.local/share/uv/python/cpython-3.14.5-macos-aarch64-none/lib/python3.14/selectors.py", line 398, in select
|
||||
fd_event_list = self._selector.poll(timeout)
|
||||
KeyboardInterrupt
|
||||
Reference in New Issue
Block a user