Build: #3 failed Changes by Marcus Slavenas

Build result summary

Details

Completed
Queue duration
15 minutes
Duration
11 seconds
Labels
None
Revision
bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5 bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
Total tests
39
Failing since
#1 (First build for this plan – )

Tests

Responsible

This build has been failing since #1
No one has taken responsibility

Code commits

Author Commit Message Commit date
Marcus Slavenas Marcus Slavenas bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5 bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5 removed change in time2utc

Tests

Existing test failures 19
Status Test Failing since View job Duration
AttributeError: 'NoneType' object has no attribute 'text'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c15475c50>
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...)
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 0x7f6c1544df10>: Failed to establish a new connection: [Errno 111] Connection refused',))
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c1545ec90>
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...)
AttributeError: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c15475590>
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...)
ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/version (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f6c151b8250>: Failed to establish a new connection: [Errno 111] Connection refused',))
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c154306d0>
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...)
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)
(10 more lines...)
AttributeError: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c1514fe10>
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...)
AttributeError: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c151c11d0>
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...)
AttributeError: 'StreamsApi' object has no attribute 'stream_get_by_name'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c151b8610>
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...)
AttributeError: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c154a48d0>
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...)
TypeError: 'NoneType' object has no attribute '__getitem__'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c15178210>
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...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-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-PYC247-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-PYC247-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-PYC247-JOB1/docs/source/conf.py:159:1: W391 blank line at end of file  ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-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-PYC247-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-PYC247-JOB1/docs/source/conf.py:36:5: E128 continuation line under-indented for visual indent
(5 more lines...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:74:121: E501 line too long (181 > 120 characters)     def datapoint_create_json(self, start_time, end_time, longitude, latitude, sensor_id, stream_id, sensor_name, properties, owner=None, source=None, procedures=None, elevation=0):                                                                                                                         ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:78:1: W293 blank line contains whitespace  ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:79:27: W291 trailing whitespace         :param start_time:                           ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:80:25: W291 trailing whitespace         :param end_time:                         ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:81:26: W291 trailing whitespace         :param longitude:                          ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:82:25: W291 trailing whitespace         :param latitude:                         ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:83:26: W291 trailing whitespace         :param sensor_id:                          ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:84:26: W291 trailing whitespace         :param stream_id:                          ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:85:28: W291 trailing whitespace         :param sensor_name:                            ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:86:27: W291 trailing whitespace         :param properties:                           ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:87:22: W291 trailing whitespace         :param owner:                      ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:88:23: W291 trailing whitespace         :param source:                       ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:89:27: W291 trailing whitespace         :param procedures:                           ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:90:26: W291 trailing whitespace         :param elevation:                          ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:91:17: W291 trailing whitespace         :return:                 ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:74:121: E501 line too long (181 > 120 characters)
    def datapoint_create_json(self, start_time, end_time, longitude, latitude, sensor_id, stream_id, sensor_name, properties, owner=None, source=None, procedures=None, elevation=0):
                                                                                                                        ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:78:1: W293 blank line contains whitespace

^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:79:27: W291 trailing whitespace
(38 more lines...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-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-PYC247-JOB1/tests/test_streams.py:20:24: W291 trailing whitespace     assert "id" in body                        ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-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-PYC247-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-PYC247-JOB1/tests/test_streams.py:20:24: W291 trailing whitespace
    assert "id" in body
                       ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/tests/test_streams.py:39:54: W291 trailing whitespace
(2 more lines...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:2:30: E231 missing whitespace after ',' from datetime import datetime,timedelta                              ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:9:121: E501 line too long (139 > 120 characters)     date_out = timezone(time_zone).localize(datetime.strptime(date_in, "%Y-%m-%d %H:%M:%S")).astimezone(utc).strftime("%Y-%m-%dT%H:%M:%SZ")                                                                                                                         ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:14:1: E302 expected 2 blank lines, found 1 def julian_day_to_month_day(year,julian_day): ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:14:33: E231 missing whitespace after ',' def julian_day_to_month_day(year,julian_day):                                 ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:20:1: E302 expected 2 blank lines, found 1 def calendar_date2utc(date_in,time_zone="America/Chicago"): ^ /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:20:30: E231 missing whitespace after ',' def calendar_date2utc(date_in,time_zone="America/Chicago"):                              ^ 
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:2:30: E231 missing whitespace after ','
from datetime import datetime,timedelta
                             ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:9:121: E501 line too long (139 > 120 characters)
    date_out = timezone(time_zone).localize(datetime.strptime(date_in, "%Y-%m-%d %H:%M:%S")).astimezone(utc).strftime("%Y-%m-%dT%H:%M:%SZ")
                                                                                                                        ^
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:14:1: E302 expected 2 blank lines, found 1
(11 more lines...)
/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-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-PYC247-JOB1/pyclowder/geostreams/geocode_convert.py:7:40: E251 unexpected spaces around keyword / parameter equals
(38 more lines...)