Traceback (most recent call last):


 "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner

self.run()


 "/usr/local/lib/python3.7/dist-packages/tensorboardX/event_file_writer.py", line 219, in run

self._record_writer.flush()


 "/usr/local/lib/python3.7/dist-packages/tensorboardX/event_file_writer.py", line 69, in flush

self._py_recordio_writer.flush()


 "/usr/local/lib/python3.7/dist-packages/tensorboardX/record_writer.py", line 187, in flush

self._writer.flush()


 "/usr/local/lib/python3.7/dist-packages/tensorboardX/record_writer.py", line 149, in flush

self.blob.upload_from_string(upload_buffer.getvalue())


 "/usr/local/lib/python3.7/dist-packages/google/cloud/storage/blob.py", line 1733, in upload_from_string

if_metageneration_not_match=if_metageneration_not_match,


 "/usr/local/lib/python3.7/dist-packages/google/cloud/storage/blob.py", line 1567, in upload_from_file

if_metageneration_not_match,


 "/usr/local/lib/python3.7/dist-packages/google/cloud/storage/blob.py", line 1420, in _do_upload

if_metageneration_not_match,


 "/usr/local/lib/python3.7/dist-packages/google/cloud/storage/blob.py", line 1098, in _do_multipart_upload

response = upload.transmit(transport, data, object_metadata, content_type)


 "/usr/local/lib/python3.7/dist-packages/google/resumable_media/requests/upload.py", line 106, in transmit

retry_strategy=self._retry_strategy,


 "/usr/local/lib/python3.7/dist-packages/google/resumable_media/requests/_helpers.py", line 136, in http_request

return _helpers.wait_and_retry(func, RequestsMixin._get_status_code, retry_strategy)


 "/usr/local/lib/python3.7/dist-packages/google/resumable_media/_helpers.py", line 150, in wait_and_retry

response = func()


 "/usr/local/lib/python3.7/dist-packages/google/auth/transport/requests.py", line 470, in request

**kwargs


 "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 530, in request

resp = self.send(prep, **send_kwargs)


 "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 643, in send

r = adapter.send(request, **kwargs)


 "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 498, in send

raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Traceback (most recent call last):

 "/home/omer/.virtualenvs/restapi/bin/nose2", line 9, in <module>
load_entry_point('nose2==0.5.0', 'console_scripts', 'nose2')()

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/main.py", line 284, in discover
return main(*args, **kwargs)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/main.py", line 98, in __init__
super(PluggableTestProgram, self).__init__(**kw)

 "/home/omer/.pyenv/versions/2.7.4/lib/python2.7/unittest/main.py", line 95, in __init__
self.runTests()

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/main.py", line 260, in runTests
self.result = runner.run(self.test)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/runner.py", line 53, in run
executor(test, result)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/runner.py", line 41, in <lambda>
executor = lambda suite, result: suite(result)

 "/home/omer/.pyenv/versions/2.7.4/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)

 "/home/omer/.pyenv/versions/2.7.4/lib/python2.7/unittest/suite.py", line 108, in run
test(result)

 "/home/omer/.pyenv/versions/2.7.4/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/suite.py", line 31, in run
test(result)

 "/home/omer/.pyenv/versions/2.7.4/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/suite.py", line 33, in run
self.tearDownTest(test)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/suite.py", line 75, in tearDownTest
self._allLayers(test, 'testTearDown', reverse=True)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/suite.py", line 97, in _allLayers
self._inLayer(layer, test, method)

 "/home/omer/.virtualenvs/restapi/lib/python2.7/site-packages/nose2/suite.py", line 105, in _inLayer
meth(test)

 "/home/omer/Documents/Projects/Stokeet/stokeet-api/tests/common/layers.py", line 24, in testTearDown
raise AssertionError(str(test) + ': ' + e.message)AssertionError: test 0002: should disallow action if a client does not have the permission to register users (tests.common.layers.UnitTest): 2 queries executed, 0 expected