swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1b925f92b0>
@pytest.fixture
def swh_origins(swh_storage):
origins = gen_origins(n=100)
> swh_storage.origin_add(origins)
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/conftest.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/storage/validate.py:144: in origin_add
return self.storage.origin_add([dict_converter(Origin, o) for o in origins])
.tox/py3/lib/python3.7/site-packages/swh/storage/metrics.py:24: in d
return f(*a, **kw)
.tox/py3/lib/python3.7/site-packages/swh/core/db/common.py:62: in _meth
return meth(self, *args, db=db, cur=cur, **kwargs)
.tox/py3/lib/python3.7/site-packages/swh/storage/storage.py:1111: in origin_add
self.journal_writer.origin_add([Origin(url=url) for url in to_add])
.tox/py3/lib/python3.7/site-packages/swh/storage/writer.py:88: in origin_add
self.write_additions("origin", origins)
.tox/py3/lib/python3.7/site-packages/swh/storage/writer.py:48: in write_additions
self.journal.write_additions(obj_type, values)
.tox/py3/lib/python3.7/site-packages/swh/journal/writer/inmemory.py:40: in write_additions
self.write_addition(object_type, object_, privileged)
.tox/py3/lib/python3.7/site-packages/swh/journal/writer/inmemory.py:32: in write_addition
self.objects.append((object_type, object_))
/usr/lib/python3.7/multiprocessing/managers.py:796: in _callmethod
kind, result = conn.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 0x7f1b925fbd30>
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 26 2020, 1:15 PM