Next Generation of pyClowder

Build: #24 failed Changes by Yan Zhao

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
18-Jul-2017 13:25:33     def test_streams_delete(caplog, host, key):
18-Jul-2017 13:25:33         global sensor_id, stream_id
18-Jul-2017 13:25:33         caplog.setLevel(logging.DEBUG)
18-Jul-2017 13:25:33         sensor_client = SensorsApi(host=host, key=key)
18-Jul-2017 13:25:33         response = sensor_client.sensor_delete(sensor_id)
18-Jul-2017 13:25:33    
18-Jul-2017 13:25:33         stream_client = StreamsApi(host=host, key=key)
18-Jul-2017 13:25:33         response = stream_client.stream_delete(stream_id)
18-Jul-2017 13:25:33    
18-Jul-2017 13:25:33 >       stream = response.json()
18-Jul-2017 13:25:33 E       AttributeError: 'NoneType' object has no attribute 'json'
18-Jul-2017 13:25:33
18-Jul-2017 13:25:33 tests/test_streams.py:41: AttributeError
18-Jul-2017 13:25:33 --------------------------------- Captured log ---------------------------------
18-Jul-2017 13:25:33 sensors.py                 101 DEBUG    Deleting sensor
18-Jul-2017 13:25:33 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
18-Jul-2017 13:25:33 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 0x7f1fd5ca84d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
18-Jul-2017 13:25:33 streams.py                  90 DEBUG    Deleting stream
18-Jul-2017 13:25:33 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
18-Jul-2017 13:25:33 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 0x7f1fd5ca8690>: Failed to establish a new connection: [Errno 111] Connection refused',))
18-Jul-2017 13:25:33 ============================ pytest-warning summary ============================
18-Jul-2017 13:25:33 WI1 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument
18-Jul-2017 13:25:33 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.
18-Jul-2017 13:25:33 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.
18-Jul-2017 13:25:33 =========== 18 failed, 22 passed, 3 pytest-warnings in 0.60 seconds ============