swh_storage_backend_config = {'cls': 'local', 'db': 'postgresql://postgres@127.0.0.1:15203/tests', 'journal_writer': {'cls': 'memory'}, 'objstorage': {'args': {}, 'cls': 'memory'}}
@pytest.fixture
def swh_storage(swh_storage_backend_config):
> return swh.storage.get_storage(cls="validate", storage=swh_storage_backend_config)
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/conftest.py:74:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/storage/__init__.py:72: in get_storage
return Storage(**kwargs)
.tox/py3/lib/python3.7/site-packages/swh/storage/validate.py:75: in __init__
self.storage = get_storage(**storage)
.tox/py3/lib/python3.7/site-packages/swh/storage/__init__.py:72: in get_storage
return Storage(**kwargs)
.tox/py3/lib/python3.7/site-packages/swh/storage/storage.py:103: in __init__
self.journal_writer = JournalWriter(journal_writer)
.tox/py3/lib/python3.7/site-packages/swh/storage/writer.py:42: in __init__
self.journal = get_journal_writer(**journal_writer)
.tox/py3/lib/python3.7/site-packages/swh/journal/writer/__init__.py:29: in get_journal_writer
return JournalWriter(**kwargs)
.tox/py3/lib/python3.7/site-packages/swh/journal/writer/inmemory.py:21: in __init__
self.manager = Manager()
/usr/lib/python3.7/multiprocessing/context.py:56: in Manager
m.start()
/usr/lib/python3.7/multiprocessing/managers.py:547: in start
self._address = reader.recv()
/usr/lib/python3.7/multiprocessing/connection.py:250: in recv
buf = self._recv_bytes()
/usr/lib/python3.7/multiprocessing/connection.py:407: in _recv_bytes
buf = self._recv(4)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <multiprocessing.connection.Connection object at 0x7fa64b852f60>
size = 4, read = <built-in function read>
def _recv(self, size, read=_read):
buf = io.BytesIO()
handle = self._handle
remaining = size
while remaining > 0:
chunk = read(handle, remaining)
n = len(chunk)
if n == 0:
if remaining == size:
> raise EOFError
E EOFError
/usr/lib/python3.7/multiprocessing/connection.py:383: EOFError
TEST RESULT
TEST RESULT
- Run At
- Jun 29 2020, 5:33 PM