================================================================================================================================== test session starts ==================================================================================================================================
platform linux -- Python 3.9.2, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
ERROR swh.loader.mercurial.Bundle20Loader:loader.py:362 Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/core/loader.py", line 335, in load
self.prepare()
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 282, in prepare
self.clone_with_timeout(
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 236, in clone_with_timeout
raise result from None
FileNotFoundError: [Errno 2] No such file or directory: 'hg'
ERROR swh.loader.mercurial.Bundle20Loader:loader.py:362 Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/core/loader.py", line 335, in load
self.prepare()
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 282, in prepare
self.clone_with_timeout(
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 236, in clone_with_timeout
raise result from None
FileNotFoundError: [Errno 2] No such file or directory: 'hg'
ERROR swh.loader.mercurial.Bundle20Loader:loader.py:362 Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/core/loader.py", line 335, in load
self.prepare()
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 282, in prepare
self.clone_with_timeout(
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 236, in clone_with_timeout
raise result from None
FileNotFoundError: [Errno 2] No such file or directory: 'hg'
storage = <swh.storage.proxies.filter.FilteringProxyStorage object at 0x7f717dfb5100>, url = 'file:///tmp/pytest-of-anlambert/pytest-25/test_visit_error_with_snapshot0/the-sandbox', status = 'partial', type = 'hg'
ERROR swh.loader.mercurial.Bundle20Loader:loader.py:362 Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/core/loader.py", line 335, in load
self.prepare()
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 282, in prepare
self.clone_with_timeout(
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 236, in clone_with_timeout
raise result from None
FileNotFoundError: [Errno 2] No such file or directory: 'hg'
ERROR swh.loader.mercurial.Bundle20Loader:loader.py:362 Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/core/loader.py", line 335, in load
self.prepare()
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 282, in prepare
self.clone_with_timeout(
File "/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/loader.py", line 236, in clone_with_timeout
raise result from None
FileNotFoundError: [Errno 2] No such file or directory: 'hg'
/home/anlambert/swh/swh-environment/swh-loader-mercurial/.tox/py3/lib/python3.9/site-packages/mercurial/utils/resourceutil.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
================================================================================================================================ short test summary info ================================================================================================================================
FAILED .tox/py3/lib/python3.9/site-packages/swh/loader/mercurial/tests/test_loader.py::test_visit_error_with_snapshot_partial - AssertionError: Visit_status has status failed instead of partial