Tribler / mutpy

MutPy is a mutation testing tool for Python 3.x source code
Other
0 stars 0 forks source link

Test suite lock-up is not recovered from #4

Closed qstokkink closed 1 month ago

qstokkink commented 1 month ago
2024-10-30T14:30:52.9254941Z ERROR:DownloadManager:Could not resume checkpoint foo.conf; metainfo not found
2024-10-30T14:31:04.7926977Z The test-suite locked up! Force quitting! Thread dump:
2024-10-30T14:31:04.7927759Z THREAD#140607697865600
2024-10-30T14:31:04.8608501Z |   File "/home/runner/work/tribler/tribler/mutpy/bin/github_report.py", line 131, in <module>
2024-10-30T14:31:04.8609592Z |       main()
2024-10-30T14:31:04.8610472Z |   File "/home/runner/work/tribler/tribler/mutpy/bin/github_report.py", line 126, in main
2024-10-30T14:31:04.8611812Z |       for viewer in run_from_dirs(project_directories, src_dir, test_dir, prefix):
2024-10-30T14:31:04.8613193Z |   File "/home/runner/work/tribler/tribler/mutpy/bin/github_report.py", line 99, in run_from_dirs
2024-10-30T14:31:04.8614771Z |       yield run(project_dirs, module_name(src_dir, target, prefix), module_name(src_dir, test_file, prefix))
2024-10-30T14:31:04.8615741Z |   File "/home/runner/work/tribler/tribler/mutpy/bin/github_report.py", line 84, in run
2024-10-30T14:31:04.8616415Z |       mutation_controller.run()
2024-10-30T14:31:04.8617362Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mutpy/controller.py", line 67, in run
2024-10-30T14:31:04.8618142Z |       self.run_mutation_process()
2024-10-30T14:31:04.8619097Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mutpy/controller.py", line 78, in run_mutation_process
2024-10-30T14:31:04.8620132Z |       test_modules, total_duration, number_of_tests = self.load_and_check_tests()
2024-10-30T14:31:04.8621275Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mutpy/controller.py", line 95, in load_and_check_tests
2024-10-30T14:31:04.8622678Z |       result, duration = self.run_test(test_module, target_test)
2024-10-30T14:31:04.8623696Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mutpy/controller.py", line 106, in run_test
2024-10-30T14:31:04.8624611Z |       return self.runner.run_test(test_module, target_test)
2024-10-30T14:31:04.8625507Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mutpy/test_runners/base.py", line 202, in run_test
2024-10-30T14:31:04.8626225Z |       result = suite.run()
2024-10-30T14:31:04.8627039Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/mutpy/test_runners/unittest_runner.py", line 91, in run
2024-10-30T14:31:04.8627773Z |       self.suite.run(result)
2024-10-30T14:31:04.8628322Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/suite.py", line 122, in run
2024-10-30T14:31:04.8628893Z |       test(result)
2024-10-30T14:31:04.8629432Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/suite.py", line 84, in __call__
2024-10-30T14:31:04.8630050Z |       return self.run(*args, **kwds)
2024-10-30T14:31:04.8630627Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/suite.py", line 122, in run
2024-10-30T14:31:04.8631192Z |       test(result)
2024-10-30T14:31:04.8631730Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/case.py", line 650, in __call__
2024-10-30T14:31:04.8632348Z |       return self.run(*args, **kwds)
2024-10-30T14:31:04.8632952Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/async_case.py", line 159, in run
2024-10-30T14:31:04.8633579Z |       return super().run(result)
2024-10-30T14:31:04.8634145Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/case.py", line 591, in run
2024-10-30T14:31:04.8634735Z |       self._callTestMethod(testMethod)
2024-10-30T14:31:04.8635405Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/async_case.py", line 64, in _callTestMethod
2024-10-30T14:31:04.8636265Z |       self._callMaybeAsync(method)
2024-10-30T14:31:04.8636917Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/unittest/async_case.py", line 87, in _callMaybeAsync
2024-10-30T14:31:04.8637642Z |       return self._asyncioTestLoop.run_until_complete(fut)
2024-10-30T14:31:04.8638389Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
2024-10-30T14:31:04.8639045Z |       self.run_forever()
2024-10-30T14:31:04.8639640Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
2024-10-30T14:31:04.8640270Z |       self._run_once()
2024-10-30T14:31:04.8640847Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/base_events.py", line 1901, in _run_once
2024-10-30T14:31:04.8641468Z |       handle._run()
2024-10-30T14:31:04.8641984Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/events.py", line 80, in _run
2024-10-30T14:31:04.8642631Z |       self._context.run(self._callback, *self._args)
2024-10-30T14:31:04.8643311Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/base_events.py", line 757, in call_soon
2024-10-30T14:31:04.8643997Z |       handle = self._call_soon(callback, args, context)
2024-10-30T14:31:04.8644691Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/base_events.py", line 773, in _call_soon
2024-10-30T14:31:04.8645398Z |       handle = events.Handle(callback, args, self, context)
2024-10-30T14:31:04.8646070Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/events.py", line 41, in __init__
2024-10-30T14:31:04.8646748Z |       self._source_traceback = format_helpers.extract_stack(
2024-10-30T14:31:04.8647488Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/asyncio/format_helpers.py", line 72, in extract_stack
2024-10-30T14:31:04.8648365Z |       stack = traceback.StackSummary.extract(traceback.walk_stack(f),
2024-10-30T14:31:04.8649076Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/traceback.py", line 379, in extract
2024-10-30T14:31:04.8649670Z |       linecache.checkcache(filename)
2024-10-30T14:31:04.8650325Z |   File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/linecache.py", line 72, in checkcache
2024-10-30T14:31:04.8650917Z |       stat = os.stat(fullname)
2024-10-30T14:31:09.9228919Z ##[error]Process completed with exit code 1.