Build: #2 failed Changes by Marcus Slavenas

Logs

The following logs have been generated by the jobs in this branch.
  • Expand all
  • Collapse all
Job Logs
Collapse Default Job Default Stage Download or View
22-Aug-2017 11:48:46     def test_streams_delete(caplog, host, key):
22-Aug-2017 11:48:46         global sensor_id, stream_id
22-Aug-2017 11:48:46         caplog.setLevel(logging.DEBUG)
22-Aug-2017 11:48:46         sensor_client = SensorsApi(host=host, key=key)
22-Aug-2017 11:48:46         response = sensor_client.sensor_delete(sensor_id)
22-Aug-2017 11:48:46    
22-Aug-2017 11:48:46         stream_client = StreamsApi(host=host, key=key)
22-Aug-2017 11:48:46         response = stream_client.stream_delete(stream_id)
22-Aug-2017 11:48:46    
22-Aug-2017 11:48:46 >       stream = response.json()
22-Aug-2017 11:48:46 E       AttributeError: 'NoneType' object has no attribute 'json'
22-Aug-2017 11:48:46
22-Aug-2017 11:48:46 tests/test_streams.py:41: AttributeError
22-Aug-2017 11:48:46 --------------------------------- Captured log ---------------------------------
22-Aug-2017 11:48:46 sensors.py                 101 DEBUG    Deleting sensor
22-Aug-2017 11:48:46 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 11:48:46 client.py                  211 ERROR    DELETE http://localhost:9000/clowder/api/geostreams/sensors/: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/geostreams/sensors/?key=r1ek3rs (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f95676d22d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
22-Aug-2017 11:48:46 streams.py                  90 DEBUG    Deleting stream
22-Aug-2017 11:48:46 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 11:48:46 client.py                  211 ERROR    DELETE http://localhost:9000/clowder/api/geostreams/streams/: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/geostreams/streams/?key=r1ek3rs (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f95676aaed0>: Failed to establish a new connection: [Errno 111] Connection refused',))
22-Aug-2017 11:48:46 ============================ pytest-warning summary ============================
22-Aug-2017 11:48:46 WI1 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument
22-Aug-2017 11:48:46 WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0.  Please remove the prefix and use the @pytest.fixture decorator instead.
22-Aug-2017 11:48:46 WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0.  Please remove the prefix and use the @pytest.fixture decorator instead.
22-Aug-2017 11:48:46 =========== 19 failed, 20 passed, 3 pytest-warnings in 0.54 seconds ============