Skip to content

Instantly share code, notes, and snippets.

@MartinHeinz
Created July 9, 2023 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinHeinz/27ef53aaa703b00c34f7e3fdaa23d8bc to your computer and use it in GitHub Desktop.
Save MartinHeinz/27ef53aaa703b00c34f7e3fdaa23d8bc to your computer and use it in GitHub Desktop.
**** PYSTACK -- test_sleeping_test ***
Timed out waiting for process 34893 to finish test_sleeping_test:Traceback for thread 34901 (pytest) [] (most recent call last):
(Python) File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
Arguments:
self: <Thread at 0x7f904acbd000>
(Python) File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
Arguments:
self: <Thread at 0x7f904acbd000>
(Python) File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
Arguments:
self: <Thread at 0x7f904acbd000>
(Python) File "/usr/lib/python3.10/multiprocessing/queues.py", line 231, in _feed
nwait()
Arguments:
queue_sem: <BoundedSemaphore at 0x7f904ae32e00>
onerror: <function at 0x7f904ae74940>
writer_close: <method at 0x7f904aca9dc0>
reader_close: <method at 0x7f904adc7500>
writelock: <Lock at 0x7f904ae64640>
ignore_epipe: False
send_bytes: <method at 0x7f904ae4cd00>
notempty: <Condition at 0x7f904ae64b50>
buffer: <collections.deque at 0x7f904ae602e0>
Locals:
obj: <memoryview at 0x7f904ae05540>
wrelease: <builtin_function_or_method at 0x7f904ae54f40>
wacquire: <builtin_function_or_method at 0x7f904ae27d30>
sentinel: <object at 0x7f904b9ed4f0>
bpopleft: <builtin_function_or_method at 0x7f904ac9a2a0>
nwait: <method at 0x7f904acc2f00>
nrelease: <builtin_function_or_method at 0x7f904ae560c0>
nacquire: <builtin_function_or_method at 0x7f904ae56020>
(Python) File "/usr/lib/python3.10/threading.py", line 320, in wait
waiter.acquire()
Arguments:
timeout: None
self: <Condition at 0x7f904ae64b50>
Locals:
gotit: False
saved_state: None
waiter: <_thread.lock at 0x7f904ae37440>
Traceback for thread 34893 (pytest) [] (most recent call last):
(Python) File "/home/vagrant/venv/bin/pytest", line 8, in <module>
sys.exit(console_main())
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/config/__init__.py", line 189, in console_main
code = main()
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/config/__init__.py", line 166, in main
ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
Arguments:
plugins: None
args: None
Locals:
config: <Config at 0x7f904af080d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefdfd0>
Locals:
firstresult: True
kwargs: {"config": <Config at 0x7f904af080d0>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"config": <Config at 0x7f904af080d0>}
methods: [<HookImpl at 0x7f904af183c0>, <HookImpl at 0x7f904af19040>, ...]
hook_name: "pytest_cmdline_main"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af183c0>, <HookImpl at 0x7f904af19040>, ...]
hook_name: "pytest_cmdline_main"
Locals:
args: [<Config at 0x7f904af080d0>]
hook_impl: <HookImpl at 0x7f904af183c0>
teardowns: []
exception: None
res: None
only_new_style_wrappers: True
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main
return wrap_session(config, _main)
Arguments:
config: <Config at 0x7f904af080d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 270, in wrap_session
session.exitstatus = doit(config, session) or 0
Arguments:
doit: <function at 0x7f904b165c60>
config: <Config at 0x7f904af080d0>
Locals:
initstate: 2
session: <Session at 0x7f904af55bd0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 324, in _main
config.hook.pytest_runtestloop(session=session)
Arguments:
session: <Session at 0x7f904af55bd0>
config: <Config at 0x7f904af080d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefec50>
Locals:
firstresult: True
kwargs: {"session": <Session at 0x7f904af55bd0>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"session": <Session at 0x7f904af55bd0>}
methods: [<HookImpl at 0x7f904af185c0>, <HookImpl at 0x7f904ac91140>]
hook_name: "pytest_runtestloop"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af185c0>, <HookImpl at 0x7f904ac91140>]
hook_name: "pytest_runtestloop"
Locals:
wrapper_gen: <generator at 0x7f904ae0f450>
args: [<Session at 0x7f904af55bd0>]
hook_impl: <HookImpl at 0x7f904af185c0>
teardowns: [(<generator at 0x7f904ae0f450>)]
exception: None
res: <generator at 0x7f904ae0f450>
only_new_style_wrappers: False
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
Arguments:
session: <Session at 0x7f904af55bd0>
Locals:
nextitem: <Function at 0x7f904ae0ff40>
item: <Function at 0x7f904ae0fed0>
i: 0
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefeb60>
Locals:
firstresult: True
kwargs: {"item": <Function at 0x7f904ae0fed0>, ...}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"item": <Function at 0x7f904ae0fed0>, ...}
methods: [<HookImpl at 0x7f904af188c0>, <HookImpl at 0x7f904af72940>, ...]
hook_name: "pytest_runtest_protocol"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af188c0>, <HookImpl at 0x7f904af72940>, ...]
hook_name: "pytest_runtest_protocol"
Locals:
wrapper_gen: <generator at 0x7f904ae0fae0>
args: [<Function at 0x7f904ae0fed0>, <Function at 0x7f904ae0ff40>]
hook_impl: <HookImpl at 0x7f904af188c0>
teardowns: [(<generator at 0x7f904ae0fa00>), (<generator at 0x7f904ae0fa70>), (...), ...]
exception: None
res: <generator at 0x7f904ae0fae0>
only_new_style_wrappers: False
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 114, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
Arguments:
nextitem: <Function at 0x7f904ae0ff40>
item: <Function at 0x7f904ae0fed0>
Locals:
ihook: <PathAwareHookProxy at 0x7f904af08280>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 133, in runtestprotocol
reports.append(call_and_report(item, "call", log))
Arguments:
nextitem: <Function at 0x7f904ae0ff40>
log: True
item: <Function at 0x7f904ae0fed0>
Locals:
reports: [<TestReport at 0x7f904acbd870>]
rep: <TestReport at 0x7f904acbd870>
hasrequest: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 222, in call_and_report
call = call_runtest_hook(item, when, **kwds)
Arguments:
log: True
when: "call"
item: <Function at 0x7f904ae0fed0>
Locals:
kwds: {}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 261, in call_runtest_hook
return CallInfo.from_call(
Arguments:
when: "call"
Locals:
reraise: (<type at 0x5575e4dc53c0>, <type at 0x5575e405ff40>)
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call
result: Optional[TResult] = func()
Arguments:
reraise: (<type at 0x5575e4dc53c0>, <type at 0x5575e405ff40>)
when: "call"
func: <function at 0x7f904acc6a70>
cls: <type at 0x5575e4e18180>
Locals:
start: 1.68865e+09
precise_start: 39235.8
excinfo: None
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefe9d0>
Locals:
firstresult: False
kwargs: {"item": <Function at 0x7f904ae0fed0>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: False
kwargs: {"item": <Function at 0x7f904ae0fed0>}
methods: [<HookImpl at 0x7f904af187c0>, <HookImpl at 0x7f904af1a7c0>, ...]
hook_name: "pytest_runtest_call"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: False
hook_impls: [<HookImpl at 0x7f904af187c0>, <HookImpl at 0x7f904af1a7c0>, ...]
hook_name: "pytest_runtest_call"
Locals:
wrapper_gen: <generator at 0x7f904ace8350>
args: [<Function at 0x7f904ae0fed0>]
hook_impl: <HookImpl at 0x7f904af187c0>
teardowns: [(<generator at 0x7f904ae0fc30>), (<generator at 0x7f904ace80b0>), (...), ...]
exception: None
res: <generator at 0x7f904ace8350>
only_new_style_wrappers: False
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call
item.runtest()
Arguments:
item: <Function at 0x7f904ae0fed0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
Arguments:
self: <Function at 0x7f904ae0fed0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefe7f0>
Locals:
firstresult: True
kwargs: {"pyfuncitem": <Function at 0x7f904ae0fed0>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"pyfuncitem": <Function at 0x7f904ae0fed0>}
methods: [<HookImpl at 0x7f904af19540>]
hook_name: "pytest_pyfunc_call"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af19540>]
hook_name: "pytest_pyfunc_call"
Locals:
args: [<Function at 0x7f904ae0fed0>]
hook_impl: <HookImpl at 0x7f904af19540>
teardowns: []
exception: None
only_new_style_wrappers: True
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
Arguments:
pyfuncitem: <Function at 0x7f904ae0fed0>
Locals:
testargs: {}
testfunction: <function at 0x7f904acc6680>
(Python) File "/home/vagrant/examples_test.py", line 9, in test_sleeping_test
time.sleep(6)
**** PYSTACK ***
**** PYSTACK -- test_deadlock ***
Timed out waiting for process 34893 to finish test_deadlock:Traceback for thread 35327 (pytest) [] (most recent call last):
(Python) File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
Arguments:
self: <Thread at 0x7f904acbddb0>
(Python) File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
Arguments:
self: <Thread at 0x7f904acbddb0>
(Python) File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
Arguments:
self: <Thread at 0x7f904acbddb0>
(Python) File "/home/vagrant/deadlock.py", line 24, in f2
with l1:
Arguments:
name: "t2"
Traceback for thread 35326 (pytest) [] (most recent call last):
(Python) File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
Arguments:
self: <Thread at 0x7f904acbdba0>
(Python) File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
Arguments:
self: <Thread at 0x7f904acbdba0>
(Python) File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
Arguments:
self: <Thread at 0x7f904acbdba0>
(Python) File "/home/vagrant/deadlock.py", line 14, in f1
with l2:
Arguments:
name: "t1"
Traceback for thread 34901 (pytest) [] (most recent call last):
(Python) File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
Arguments:
self: <Thread at 0x7f904acbd000>
(Python) File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
Arguments:
self: <Thread at 0x7f904acbd000>
(Python) File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
Arguments:
self: <Thread at 0x7f904acbd000>
(Python) File "/usr/lib/python3.10/multiprocessing/queues.py", line 231, in _feed
nwait()
Arguments:
queue_sem: <BoundedSemaphore at 0x7f904ae32e00>
onerror: <function at 0x7f904ae74940>
writer_close: <method at 0x7f904aca9dc0>
reader_close: <method at 0x7f904adc7500>
writelock: <Lock at 0x7f904ae64640>
ignore_epipe: False
send_bytes: <method at 0x7f904ae4cd00>
notempty: <Condition at 0x7f904ae64b50>
buffer: <collections.deque at 0x7f904ae602e0>
Locals:
obj: <memoryview at 0x7f904ae05540>
wrelease: <builtin_function_or_method at 0x7f904ae54f40>
wacquire: <builtin_function_or_method at 0x7f904ae27d30>
sentinel: <object at 0x7f904b9ed4f0>
bpopleft: <builtin_function_or_method at 0x7f904ac9a2a0>
nwait: <method at 0x7f904acc2f00>
nrelease: <builtin_function_or_method at 0x7f904ae560c0>
nacquire: <builtin_function_or_method at 0x7f904ae56020>
(Python) File "/usr/lib/python3.10/threading.py", line 320, in wait
waiter.acquire()
Arguments:
timeout: None
self: <Condition at 0x7f904ae64b50>
Locals:
gotit: False
saved_state: None
waiter: <_thread.lock at 0x7f904ae37440>
Traceback for thread 34893 (pytest) [] (most recent call last):
(Python) File "/home/vagrant/venv/bin/pytest", line 8, in <module>
sys.exit(console_main())
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/config/__init__.py", line 189, in console_main
code = main()
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/config/__init__.py", line 166, in main
ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
Arguments:
plugins: None
args: None
Locals:
config: <Config at 0x7f904af080d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefdfd0>
Locals:
firstresult: True
kwargs: {"config": <Config at 0x7f904af080d0>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"config": <Config at 0x7f904af080d0>}
methods: [<HookImpl at 0x7f904af183c0>, <HookImpl at 0x7f904af19040>, ...]
hook_name: "pytest_cmdline_main"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af183c0>, <HookImpl at 0x7f904af19040>, ...]
hook_name: "pytest_cmdline_main"
Locals:
args: [<Config at 0x7f904af080d0>]
hook_impl: <HookImpl at 0x7f904af183c0>
teardowns: []
exception: None
res: None
only_new_style_wrappers: True
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main
return wrap_session(config, _main)
Arguments:
config: <Config at 0x7f904af080d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 270, in wrap_session
session.exitstatus = doit(config, session) or 0
Arguments:
doit: <function at 0x7f904b165c60>
config: <Config at 0x7f904af080d0>
Locals:
initstate: 2
session: <Session at 0x7f904af55bd0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 324, in _main
config.hook.pytest_runtestloop(session=session)
Arguments:
session: <Session at 0x7f904af55bd0>
config: <Config at 0x7f904af080d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefec50>
Locals:
firstresult: True
kwargs: {"session": <Session at 0x7f904af55bd0>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"session": <Session at 0x7f904af55bd0>}
methods: [<HookImpl at 0x7f904af185c0>, <HookImpl at 0x7f904ac91140>]
hook_name: "pytest_runtestloop"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af185c0>, <HookImpl at 0x7f904ac91140>]
hook_name: "pytest_runtestloop"
Locals:
wrapper_gen: <generator at 0x7f904ae0f450>
args: [<Session at 0x7f904af55bd0>]
hook_impl: <HookImpl at 0x7f904af185c0>
teardowns: [(<generator at 0x7f904ae0f450>)]
exception: None
res: <generator at 0x7f904ae0f450>
only_new_style_wrappers: False
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
Arguments:
session: <Session at 0x7f904af55bd0>
Locals:
nextitem: None
item: <Function at 0x7f904ae0ff40>
i: 1
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefeb60>
Locals:
firstresult: True
kwargs: {"item": <Function at 0x7f904ae0ff40>, "nextitem": None}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"item": <Function at 0x7f904ae0ff40>, "nextitem": None}
methods: [<HookImpl at 0x7f904af188c0>, <HookImpl at 0x7f904af72940>, ...]
hook_name: "pytest_runtest_protocol"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af188c0>, <HookImpl at 0x7f904af72940>, ...]
hook_name: "pytest_runtest_protocol"
Locals:
wrapper_gen: <generator at 0x7f904ae0f4c0>
args: [<Function at 0x7f904ae0ff40>, None]
hook_impl: <HookImpl at 0x7f904af188c0>
teardowns: [(<generator at 0x7f904ae0fa00>), (<generator at 0x7f904ae0f990>), (...), ...]
exception: None
res: <generator at 0x7f904ae0f4c0>
only_new_style_wrappers: False
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 114, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
Arguments:
nextitem: None
item: <Function at 0x7f904ae0ff40>
Locals:
ihook: <PathAwareHookProxy at 0x7f904af08280>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 133, in runtestprotocol
reports.append(call_and_report(item, "call", log))
Arguments:
nextitem: None
log: True
item: <Function at 0x7f904ae0ff40>
Locals:
reports: [<TestReport at 0x7f904acbd900>]
rep: <TestReport at 0x7f904acbd900>
hasrequest: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 222, in call_and_report
call = call_runtest_hook(item, when, **kwds)
Arguments:
log: True
when: "call"
item: <Function at 0x7f904ae0ff40>
Locals:
kwds: {}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 261, in call_runtest_hook
return CallInfo.from_call(
Arguments:
when: "call"
Locals:
reraise: (<type at 0x5575e4dc53c0>, <type at 0x5575e405ff40>)
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call
result: Optional[TResult] = func()
Arguments:
reraise: (<type at 0x5575e4dc53c0>, <type at 0x5575e405ff40>)
when: "call"
func: <function at 0x7f904acaf0a0>
cls: <type at 0x5575e4e18180>
Locals:
start: 1.68865e+09
precise_start: 39241.8
excinfo: None
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 262, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefe9d0>
Locals:
firstresult: False
kwargs: {"item": <Function at 0x7f904ae0ff40>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: False
kwargs: {"item": <Function at 0x7f904ae0ff40>}
methods: [<HookImpl at 0x7f904af187c0>, <HookImpl at 0x7f904af1a7c0>, ...]
hook_name: "pytest_runtest_call"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: False
hook_impls: [<HookImpl at 0x7f904af187c0>, <HookImpl at 0x7f904af1a7c0>, ...]
hook_name: "pytest_runtest_call"
Locals:
wrapper_gen: <generator at 0x7f904ace83c0>
args: [<Function at 0x7f904ae0ff40>]
hook_impl: <HookImpl at 0x7f904af187c0>
teardowns: [(<generator at 0x7f904ae0fc30>), (<generator at 0x7f904ace8270>), (...), ...]
exception: None
res: <generator at 0x7f904ace83c0>
only_new_style_wrappers: False
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call
item.runtest()
Arguments:
item: <Function at 0x7f904ae0ff40>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
Arguments:
self: <Function at 0x7f904ae0ff40>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 433, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
Arguments:
self: <_HookCaller at 0x7f904aefe7f0>
Locals:
firstresult: True
kwargs: {"pyfuncitem": <Function at 0x7f904ae0ff40>}
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 112, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
Arguments:
firstresult: True
kwargs: {"pyfuncitem": <Function at 0x7f904ae0ff40>}
methods: [<HookImpl at 0x7f904af19540>]
hook_name: "pytest_pyfunc_call"
self: <PytestPluginManager at 0x7f904b6e43d0>
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 80, in _multicall
res = hook_impl.function(*args)
Arguments:
firstresult: True
hook_impls: [<HookImpl at 0x7f904af19540>]
hook_name: "pytest_pyfunc_call"
Locals:
args: [<Function at 0x7f904ae0ff40>]
hook_impl: <HookImpl at 0x7f904af19540>
teardowns: []
exception: None
only_new_style_wrappers: True
results: []
__tracebackhide__: True
(Python) File "/home/vagrant/venv/lib/python3.10/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
Arguments:
pyfuncitem: <Function at 0x7f904ae0ff40>
Locals:
testargs: {}
testfunction: <function at 0x7f904acc68c0>
(Python) File "/home/vagrant/examples_test.py", line 19, in test_deadlock
t1.join()
Locals:
t2: <Thread at 0x7f904acbddb0>
t1: <Thread at 0x7f904acbdba0>
(Python) File "/usr/lib/python3.10/threading.py", line 1096, in join
self._wait_for_tstate_lock()
Arguments:
timeout: None
self: <Thread at 0x7f904acbdba0>
(Python) File "/usr/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
Arguments:
timeout: -1
block: True
self: <Thread at 0x7f904acbdba0>
Locals:
lock: <_thread.lock at 0x7f904acc3dc0>
**** PYSTACK ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment