Next Generation of pyClowder

Build: #27 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
8 seconds
Agent
buildserver-1.ncsa.illinois.edu
Revision
e2026b1974297b550adbbb55bb3f5f6119c91bab
Total tests
39
Failing since
#18 (Changes by Luigi Marini)

Tests

  • 39 tests in total
  • 10 tests failed
  • 7 tests were fixed
  • < 1 second taken in total.
Existing test failures 10
Status Test Failing since Duration
AttributeError: 'NoneType' object has no attribute 'text'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26cad2d0>
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...)
AttributeError: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26a24450>
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/apithis_path_does_not_exist (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f7d26a549d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26a2c390>
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...)
ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/version (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f7d26a46650>: Failed to establish a new connection: [Errno 111] Connection refused',))
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26cbaf90>
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 0x7f7d26a2c110>
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 0x7f7d26a5c290>
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: 'NoneType' object has no attribute 'json'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26a24410>
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 0x7f7d2699d7d0>
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...)
AttributeError: 'StreamsApi' object has no attribute 'stream_get_by_name'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26a5c790>
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...)
TypeError: 'NoneType' object has no attribute '__getitem__'
caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f7d26a56dd0>
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...)
Fixed tests 7
Status Test Failing since Duration
Successful unnamed test suite docs.source.conf
< 1 sec
Successful unnamed test suite pyclowder.client
< 1 sec
Successful unnamed test suite pyclowder.geostreams.geocode_convert
Failing since build #21 (Changes by Marcus Slavenas) < 1 sec
Successful unnamed test suite pyclowder.geostreams.sensors
Failing since build #22 (Changes by Yan Zhao) < 1 sec
Successful unnamed test suite tests.conftest
< 1 sec
Successful unnamed test suite tests.test_datapoints
< 1 sec
Successful unnamed test suite tests.test_streams
Failing since build #22 (Changes by Yan Zhao) < 1 sec