Page MenuHomeSoftware Heritage

Problem tests swh.storage during debian packaging
ActivePublic

Authored by qcampos on May 17 2016, 5:23 PM.
content_add (test_objstorage_api.TestRemoteObjStorage) ... ERROR
content_check_invalid (test_objstorage_api.TestRemoteObjStorage) ... HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:11567/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6fed9b00>: Failed to establish a new connection: [Errno 111] Connection refused',)))
ERROR
content_check_missing (test_objstorage_api.TestRemoteObjStorage) ... HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:39245/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff477b8>: Failed to establish a new connection: [Errno 111] Connection refused',)))
ERROR
content_check_valid (test_objstorage_api.TestRemoteObjStorage) ... HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:47787/content/check (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6fef2198>: Failed to establish a new connection: [Errno 111] Connection refused',)))
ERROR
content_get_missing (test_objstorage_api.TestRemoteObjStorage) ... HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35968/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff0ab70>: Failed to establish a new connection: [Errno 111] Connection refused',)))
ERROR
content_get_present (test_objstorage_api.TestRemoteObjStorage) ... HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:31314/content/get (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff0d2b0>: Failed to establish a new connection: [Errno 111] Connection refused',)))
ERROR
======================================================================
ERROR: content_add (test_objstorage_api.TestRemoteObjStorage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/swh/storage/tests/test_objstorage_api.py", line 38, in content_add
id = self.objstorage.content_add(content)
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 63, in content_add
return self.post('content/add', {'bytes': bytes, 'obj_id': obj_id})
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 44, in post
raise StorageAPIError(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:11567/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6fed9b00>: Failed to establish a new connection: [Errno 111] Connection refused',)))
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: content_check_invalid (test_objstorage_api.TestRemoteObjStorage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/swh/storage/tests/test_objstorage_api.py", line 58, in content_check_invalid
id = self.objstorage.content_add(content)
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 63, in content_add
return self.post('content/add', {'bytes': bytes, 'obj_id': obj_id})
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 44, in post
raise StorageAPIError(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:39245/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff477b8>: Failed to establish a new connection: [Errno 111] Connection refused',)))
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: content_check_missing (test_objstorage_api.TestRemoteObjStorage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/swh/storage/tests/test_objstorage_api.py", line 83, in content_check_missing
self.objstorage.content_check(content_hash['sha1'])
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 92, in content_check
self.post('content/check', {'obj_id': obj_id})
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 44, in post
raise StorageAPIError(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:47787/content/check (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6fef2198>: Failed to establish a new connection: [Errno 111] Connection refused',)))
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: content_check_valid (test_objstorage_api.TestRemoteObjStorage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/swh/storage/tests/test_objstorage_api.py", line 72, in content_check_valid
id = self.objstorage.content_add(content)
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 63, in content_add
return self.post('content/add', {'bytes': bytes, 'obj_id': obj_id})
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 44, in post
raise StorageAPIError(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35968/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff0ab70>: Failed to establish a new connection: [Errno 111] Connection refused',)))
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: content_get_missing (test_objstorage_api.TestRemoteObjStorage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/swh/storage/tests/test_objstorage_api.py", line 53, in content_get_missing
self.objstorage.content_get(content_hash['sha1'])
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 77, in content_get
return self.post('content/get', {'obj_id': obj_id})
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 44, in post
raise StorageAPIError(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:31314/content/get (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff0d2b0>: Failed to establish a new connection: [Errno 111] Connection refused',)))
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: content_get_present (test_objstorage_api.TestRemoteObjStorage)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/swh/storage/tests/test_objstorage_api.py", line 45, in content_get_present
id = self.objstorage.content_add(content)
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 63, in content_add
return self.post('content/add', {'bytes': bytes, 'obj_id': obj_id})
File "/<<PKGBUILDDIR>>/swh/storage/objstorage/api/client.py", line 44, in post
raise StorageAPIError(e)
swh.storage.exc.StorageAPIError: An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:8960/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff0d940>: Failed to establish a new connection: [Errno 111] Connection refused',)))
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 29 tests in 30.499s
FAILED (errors=6)
HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:8960/content/add (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f3e6ff0d940>: Failed to establish a new connection: [Errno 111] Connection refused',)))
E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: python3.5 -m nose swh -sva '!db'
dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.5 --dir . returned exit code 13
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 20160517-1721
Finished
--------
E: Build failure (dpkg-buildpackage died)
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: amd64
Build-Space: 1460
Build-Time: 34
Distribution: unstable-swh
Fail-Stage: build
Host Architecture: amd64
Install-Time: 136
Job: /tmp/tmp.i6vuZZ12Xi/swh-storage_0.0.38-1.dsc
Machine Architecture: amd64
Package: swh-storage
Package-Time: 176
Source-Version: 0.0.38-1
Space: 1460
Status: attempted
Version: 0.0.38-1
--------------------------------------------------------------------------------
Finished at 20160517-1721
Build needed 00:02:56, 1460k disc space