Page MenuHomeSoftware Heritage
Paste P308

indexer: make test ko
ActivePublic

Authored by ardumont on Oct 4 2018, 4:19 PM.
```
test_revision_metadata_indexer (swh.indexer.tests.test_metadata.Metadata) ... ERROR
...
======================================================================
ERROR: test_revision_metadata_indexer (swh.indexer.tests.test_metadata.Metadata)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/tests/test_metadata.py", line 264, in test_revision_metadata_indexer
metadata_indexer.run(sha1_gits, 'update-dups')
File "/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/indexer.py", line 404, in run
revs = self.storage.revision_get(ids)
File "/home/tony/work/inria/repo/swh/swh-environment/swh-storage/swh/storage/api/client.py", line 55, in revision_get
return self.post('revision', {'revisions': revisions})
File "/home/tony/work/inria/repo/swh/swh-environment/swh-core/swh/core/api.py", line 66, in post
headers={'content-type': 'application/x-msgpack'})
File "/home/tony/work/inria/repo/swh/swh-environment/swh-core/swh/core/api.py", line 48, in raw_post
raise self.api_exception(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='localhost', port=9999): Max retries exceeded with url: /revision (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6425639be0>: Failed to establish a new connection: [Errno 111] Connection refused',))
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 82 tests in 2.543s
```
```