Next Generation of pyClowder
Build: #26 failed
Job: Default Job failed
Test results
- 39 tests in total
- 17 tests failed
- < 1 second taken in total.
Build 26 has the following 17 errors:There were no new test failures since the previous build.
Status | Test | Failing since | Duration | |
---|---|---|---|---|
test_datapoints
test_datapoints_count_by_sensor_get
|
< 1 sec | |||
AttributeError: 'NoneType' object has no attribute 'text' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd593bba90> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_datapoints_count_by_sensor_get(caplog, host, key): caplog.setLevel(logging.DEBUG) client = DatapointsApi(host=host, key=key) response = client.datapoints_count_by_sensor_get(950) (8 more lines...) |
||||
test_geostreams
test_get_sensors
|
< 1 sec | |||
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590a2310> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_get_sensors(caplog, host, key): caplog.setLevel(logging.DEBUG) client = SensorsApi(host=host, key=key) response = client.sensors_get() (8 more lines...) |
||||
test_geostreams
test_raise_for_status
|
< 1 sec | |||
ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/apithis_path_does_not_exist (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fdd590c9f10>: Failed to establish a new connection: [Errno 111] Connection refused',)) caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590c9710> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_raise_for_status(caplog, host, key): client = ClowderClient(host=host, key=key) try: > client.get_json("this_path_does_not_exist") (137 more lines...) |
||||
test_geostreams
test_version
|
< 1 sec | |||
ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/version (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fdd590c9250>: Failed to establish a new connection: [Errno 111] Connection refused',)) caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590bb6d0> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_version(caplog, host, key): caplog.setLevel(logging.DEBUG) client = ClowderClient(host=host, key=key) > version = client.version() (138 more lines...) |
||||
test_sensors
test_sensors_delete
|
< 1 sec | |||
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590d1c90> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_sensors_delete(caplog, host, key): global sensor_id caplog.setLevel(logging.DEBUG) client = SensorsApi(host=host, key=key) (9 more lines...) |
||||
test_sensors
test_sensors_get
|
< 1 sec | |||
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590a27d0> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_sensors_get(caplog, host, key): global sensor_id caplog.setLevel(logging.DEBUG) client = SensorsApi(host=host, key=key) (9 more lines...) |
||||
test_sensors
test_sensors_post
|
< 1 sec | |||
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd59094d90> 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) (10 more lines...) |
||||
test_streams
test_streams_delete
|
Failing since build #22 (Changes by Yan Zhao) | < 1 sec | ||
AttributeError: 'NoneType' object has no attribute 'json' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590b9950> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_streams_delete(caplog, host, key): global sensor_id, stream_id caplog.setLevel(logging.DEBUG) sensor_client = SensorsApi(host=host, key=key) (16 more lines...) |
||||
test_streams
test_streams_get
|
Failing since build #22 (Changes by Yan Zhao) | < 1 sec | ||
AttributeError: 'StreamsApi' object has no attribute 'stream_get_by_name' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590a2510> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_streams_get(caplog, host, key): global sensor_id, stream_id caplog.setLevel(logging.DEBUG) stream_client = StreamsApi(host=host, key=key) (4 more lines...) |
||||
test_streams
test_streams_post
|
Failing since build #22 (Changes by Yan Zhao) | < 1 sec | ||
TypeError: 'NoneType' object has no attribute '__getitem__' caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7fdd590c9dd0> host = 'http://localhost:9000/clowder', key = 'r1ek3rs' def test_streams_post(caplog, host, key): global sensor_id, stream_id caplog.setLevel(logging.DEBUG) sensor_client = SensorsApi(host=host, key=key) (12 more lines...) |
||||
unnamed test suite
docs.source.conf
|
< 1 sec | |||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:34:5: E128 continuation line under-indented for visual indent 'sphinx.ext.doctest', ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:35:5: E128 continuation line under-indented for visual indent 'sphinx.ext.viewcode', ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:36:5: E128 continuation line under-indented for visual indent 'sphinx.ext.githubpages'] ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:159:1: W391 blank line at end of file ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:34:5: E128 continuation line under-indented for visual indent 'sphinx.ext.doctest', ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:35:5: E128 continuation line under-indented for visual indent 'sphinx.ext.viewcode', ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:36:5: E128 continuation line under-indented for visual indent (5 more lines...) |
||||
unnamed test suite
pyclowder.client
|
< 1 sec | |||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:145:121: E501 line too long (137 > 120 characters) return requests.post(url, params=params, data=json.dumps(content), headers=self.headers, auth=(self.username, self.password)) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:163:121: E501 line too long (127 > 120 characters) return requests.post(url, params=params, files={"File": open(filename, 'rb')}, auth=(self.username, self.password)) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:145:121: E501 line too long (137 > 120 characters) return requests.post(url, params=params, data=json.dumps(content), headers=self.headers, auth=(self.username, self.password)) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:163:121: E501 line too long (127 > 120 characters) return requests.post(url, params=params, files={"File": open(filename, 'rb')}, auth=(self.username, self.password)) ^ |
||||
unnamed test suite
pyclowder.geostreams.geocode_convert
|
Failing since build #21 (Changes by Marcus Slavenas) | < 1 sec | ||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:6:1: E302 expected 2 blank lines, found 0 def dms2dec(dms): ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:38: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:40: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:58: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:60: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:78: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:80: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:109: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:111: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:121: E501 line too long (175 > 120 characters) dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:129: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:131: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:149: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:151: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:9:26: E231 missing whitespace after ',' return [float(dec[0]),float(dec[1])] ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:6:1: E302 expected 2 blank lines, found 0 def dms2dec(dms): ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:38: E251 unexpected spaces around keyword / parameter equals dec = list(LatLon(Latitude(degree = dms[0][0], minute = dms[0][1], second = dms[0][2]), Longitude(degree = dms[1][0], minute = dms[1][1], second = dms[1][2])).to_string()) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:40: E251 unexpected spaces around keyword / parameter equals (38 more lines...) |
||||
unnamed test suite
pyclowder.geostreams.sensors
|
Failing since build #22 (Changes by Yan Zhao) | < 1 sec | ||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/sensors.py:69:12: E111 indentation is not a multiple of four return self.client.post("/geostreams/sensors", sensor) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/sensors.py:69:12: E111 indentation is not a multiple of four return self.client.post("/geostreams/sensors", sensor) ^ |
||||
unnamed test suite
tests.conftest
|
< 1 sec | |||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/conftest.py:14:1: E302 expected 2 blank lines, found 1 @pytest.fixture(scope="module") ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/conftest.py:14:1: E302 expected 2 blank lines, found 1 @pytest.fixture(scope="module") ^ |
||||
unnamed test suite
tests.test_datapoints
|
< 1 sec | |||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py:11:39: W292 no newline at end of file assert response.status_code != 200 ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py:11:39: W292 no newline at end of file assert response.status_code != 200 ^ |
||||
unnamed test suite
tests.test_streams
|
Failing since build #22 (Changes by Yan Zhao) | < 1 sec | ||
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:8:1: E302 expected 2 blank lines, found 1 def test_streams_post(caplog, host, key): ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:20:24: W291 trailing whitespace assert "id" in body ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:39:54: W291 trailing whitespace response = stream_client.stream_delete(stream_id) ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:8:1: E302 expected 2 blank lines, found 1 def test_streams_post(caplog, host, key): ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:20:24: W291 trailing whitespace assert "id" in body ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:39:54: W291 trailing whitespace (2 more lines...) |