Add parent-session-pid argument #1920
+106
−13
Merged
Azure Pipelines / debugpy-test
failed
Jul 7, 2025 in 37m 9s
Build #20250707.1 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 16,728 (82.59%)
- Other: 3,526 (17.41%)
- Total: 20,255
Annotations
Check failure on line 1416 in Build log
azure-pipelines / debugpy-test
Build log #L1416
PowerShell exited with code '1'.
Check failure on line 115 in Build log
azure-pipelines / debugpy-test
Build log #L115
The Operation will be canceled. The next steps may not contain expected logs.
Check failure on line 126 in Build log
azure-pipelines / debugpy-test
Build log #L126
The operation was canceled.
Check failure on line 1 in test_systemexit[1-zero---attach_listen(cli)-module]
azure-pipelines / debugpy-test
test_systemexit[1-zero---attach_listen(cli)-module]
failed on teardown with "KeyError: <_pytest.stash.StashKey object at 0x7f9fa5e32680>"
Raw output
cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f9f9ffbd4e0>
when = 'teardown'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
@classmethod
def from_call(
cls,
func: Callable[[], TResult],
when: Literal["collect", "setup", "call", "teardown"],
reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None,
) -> CallInfo[TResult]:
"""Call func, wrapping the result in a CallInfo.
:param func:
The function to call. Called without arguments.
:type func: Callable[[], _pytest.runner.TResult]
:param when:
The phase in which the function is called.
:param reraise:
Exception or exceptions that shall propagate if raised by the
function, instead of being wrapped in the CallInfo.
"""
excinfo = None
instant = timing.Instant()
try:
> result: TResult | None = func()
^^^^^^
.tox/py313/lib/python3.13/site-packages/_pytest/runner.py:344:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py313/lib/python3.13/site-packages/_pytest/runner.py:246: in <lambda>
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/py313/lib/python3.13/site-packages/pluggy/_hooks.py:512: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/py313/lib/python3.13/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.tox/py313/lib/python3.13/site-packages/_pytest/logging.py:858: in pytest_runtest_teardown
yield
.tox/py313/lib/python3.13/site-packages/_pytest/capture.py:905: in pytest_runtest_teardown
return (yield)
^^^^^
.tox/py313/lib/python3.13/site-packages/_pytest/runner.py:193: in pytest_runtest_teardown
item.session._setupstate.teardown_exact(nextitem)
.tox/py313/lib/python3.13/site-packages/_pytest/runner.py:557: in teardown_exact
raise exceptions[0]
.tox/py313/lib/python3.13/site-packages/_pytest/runner.py:546: in teardown_exact
fin()
.tox/py313/lib/python3.13/site-packages/_pytest/fixtures.py:1068: in finish
raise exceptions[0]
.tox/py313/lib/python3.13/site-packages/_pytest/fixtures.py:1057: in finish
fin()
.tox/py313/lib/python3.13/site-packages/_pytest/fixtures.py:938: in _teardown_yield_fixture
next(it)
.tox/py313/lib/python3.13/site-packages/_pytest/tmpdir.py:269: in tmp_path
result_dict = request.node.stash[tmppath_result_key]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <_pytest.stash.Stash object at 0x7f9fa4423010>
key = <_pytest.stash.StashKey object at 0x7f9fa5e32680>
def __getitem__(self, key: StashKey[T]) -> T:
"""Get the value for key.
Raises ``KeyError`` if the key wasn't set before.
"""
> return cast(T, self._storage[key])
^^^^^^^^^^^^^^^^^^
E KeyError: <_pytest.stash.StashKey object at 0x7f9fa5e32680>
.tox/py313/lib/python3.13/site-packages/_pytest/stash.py:84: KeyError
Loading