Build: #3 failed
Job: Default Job failed
sensors post: Test case result
The below summarizes the result of the test " sensors post" in build 3 of Clowder - pyclowder2 - bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update - Default Job.
- Description
- sensors post
- Test class
- tests.test_sensors
- Method
- test_sensors_post
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c151b8a10> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_sensors_post(caplog, host, key): global sensor_id caplog.setLevel(logging.DEBUG) client = SensorsApi(host=host, key=key) sensor_json = client.sensor_create_json("Test Sensor", 40.1149202, -88.2270582, 0, "", "ER") response = client.sensor_post(sensor_json) > body = response.json() E AttributeError: 'NoneType' object has no attribute 'json' tests/test_sensors.py:13: AttributeError --------------------------------- Captured log --------------------------------- sensors.py 67 DEBUG Adding sensor connectionpool.py 213 INFO Starting new HTTP connection (1): localhost client.py 147 ERROR POST 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 0x7f6c151c1c90>: Failed to establish a new connection: [Errno 111] Connection refused',))