Page MenuHomeSoftware Heritage
Paste P969

swh.fuse failure in jenkins
ActivePublic

Authored by olasd on Mar 4 2021, 6:00 PM.
jenkins@bfa1ac925ae0:/var/lib/jenkins/workspace/DFUSE/tests-on-diff@tmp/swh-fuse$ swh --log-level=DEBUG fs mount -f /tmp/fuse
WARNING:root:Using default configuration (cannot load custom one)
Traceback (most recent call last):
File "/home/jenkins/.local/lib/python3.7/site-packages/swh/fuse/cli.py", line 72, in fuse
raise ValueError(f"Cannot parse configuration file: {config_file}")
ValueError: Cannot parse configuration file: /home/jenkins/.config/swh/global.yml
DEBUG:root:Read configuration:
cache:
blob:
path: /home/jenkins/.cache/swh/fuse/blob.sqlite
direntry:
maxram: 10%
metadata:
path: /home/jenkins/.cache/swh/fuse/metadata.sqlite
json-indent: 2
web-api:
auth-token: null
url: https://archive.softwareheritage.org/api/1
Traceback (most recent call last):
File "/home/jenkins/.local/bin/swh", line 8, in <module>
sys.exit(main())
File "/home/jenkins/.local/lib/python3.7/site-packages/swh/core/cli/__init__.py", line 185, in main
return swh(auto_envvar_prefix="SWH")
File "/home/jenkins/.local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/jenkins/.local/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/jenkins/.local/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/jenkins/.local/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/jenkins/.local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/jenkins/.local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/jenkins/.local/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/jenkins/.local/lib/python3.7/site-packages/swh/fuse/cli.py", line 134, in mount
from swh.fuse import LOGGER_NAME, fuse
File "/home/jenkins/.local/lib/python3.7/site-packages/swh/fuse/fuse.py", line 21, in <module>
from swh.fuse.cache import FuseCache
File "/home/jenkins/.local/lib/python3.7/site-packages/swh/fuse/cache.py", line 27, in <module>
from swh.web.client.client import ORIGIN_VISIT, typify_json
File "/home/jenkins/.local/lib/python3.7/site-packages/swh/web/client/client.py", line 38, in <module>
from swh.model.identifiers import (
ImportError: cannot import name 'SWHID' from 'swh.model.identifiers' (/home/jenkins/.local/lib/python3.7/site-packages/swh/model/identifiers.py)

Event Timeline