Next Generation of pyClowder

Build: #27 failed Changes by Indira Gutierrez Polo

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
9 seconds
Labels
None
Agent
buildserver-1.ncsa.illinois.edu
Revision
e2026b1974297b550adbbb55bb3f5f6119c91bab e2026b1974297b550adbbb55bb3f5f6119c91bab
Total tests
39
Failing since
#18 (Changes by Luigi Marini)

Tests

Responsible

Code commits

Author Commit Message Commit date
Indira Gutierrez Polo Indira Gutierrez Polo e2026b1974297b550adbbb55bb3f5f6119c91bab e2026b1974297b550adbbb55bb3f5f6119c91bab Reformatting Imports based on feedback
Updated some package info,
Reformatted the query for checking the response. From == 200 to 200 <=
r.status_code < 300
Changed logging.error to logging.exceptions in client.py
Changed version in docs/source/conf.py
Indira Gutierrez Polo Indira Gutierrez Polo f0d334e3cedd431001d31b9f8f328f29817fe8a8 f0d334e3cedd431001d31b9f8f328f29817fe8a8 Merge branch 'master' of https://opensource.ncsa.illinois.edu/bitbucket/scm/cats/pyclowder2 into geostreams
# Conflicts:
#        pyclowder/geostreams.py
Max Burnette <mburnet88@gmail.com> Max Burnette <mburnet88@gmail.com> f2b3a6093ad106753fd1a5b0ab98c2de5c35cbc7 m f2b3a6093ad106753fd1a5b0ab98c2de5c35cbc7 Squashed commit of the following:
commit 9466fae6a10da7f2a618dd80291ecd7097244c7f
Author: Max Burnette <mburnet88@gmail.com>
Date:   Wed May 31 14:22:39 2017 -0500

    must appease our PEP-8 overlord masters

commit 57134641b4ae3f205bb1c72d84ec602c7bd41f16
Author: Max Burnette <mburnet88@gmail.com>
Date:   Wed May 31 13:38:58 2017 -0500

    Move default resource_type out of it statements

commit 5422d1d8c8b526d97a935767ecbbf07aeb9b8ad2
Author: Max Burnette <mburnet88@gmail.com>
Date:   Wed May 31 11:00:56 2017 -0500

    Send self to check/process message

commit a140d0bdc3f41eb293346d5ac5af4b5a12df3240
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 30 13:31:52 2017 -0500

    Fix doubling of self

commit 328685970945c071076ff7778f8cfda5b62dafaa
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 30 11:28:14 2017 -0500

    Update README

commit 7c0e61e750727b55f1688be2e560a88bb3d42159
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 30 10:33:40 2017 -0500

    change default to action=store_true

commit ebd54243b4458bdf4393904cc91e47f7525badb9
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 23 14:52:05 2017 -0500

    pep style fix

commit 6ecba2cd986f546f25e71ff76fe00b71521f6a8f
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 23 14:50:23 2017 -0500

    Remove extra line

commit e780fb6e82532cf51b082f709f0860d0a5ad4b5c
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 23 14:49:23 2017 -0500

    Refactor _process_message()

commit 73cca6b2ed6e8abd420fff068ada042942ed2732
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 23 13:26:38 2017 -0500

    Clean up resource generation code (round 1)

commit 1479b050a261fd7339b1a611f425ae4472019b74
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 23 12:50:45 2017 -0500

    Change unbound to --no-bind

commit f4132334a52486d206ad2eb0b0f1f1ef9c5a3582
Author: Max Burnette <mburnet88@gmail.com>
Date:   Tue May 23 12:48:47 2017 -0500

    add check_duplicate flag

commit 58e73a74cd50f172f55ec795850d9e719ba74212
Author: Max Burnette <mburnet88@gmail.com>
Date:   Fri Apr 21 09:11:00 2017 -0500

    Add unbound flag

    Allow extractors to run ‘unbound’ at runtime - this will run them
    without binding the process file type bindings, only bound by extractor
    name. This means extractor will only be accessible to manual triggers
    or rule_checker extractor, but can also have a version w/ file type
    bindings committed to git for use other times.
Sandeep Puthanveetil Satheesan Sandeep Puthanveetil Satheesan 097cc79ff55c805fa1507d23e0d4e77d65b032c5 m 097cc79ff55c805fa1507d23e0d4e77d65b032c5 Replaced empty strings in local_parameters object with None
Sandeep Puthanveetil Satheesan Sandeep Puthanveetil Satheesan 029ace144b39bb06a999deefedadb72c397dfe68 m 029ace144b39bb06a999deefedadb72c397dfe68 Fixed merge conflicts by incorporating changes from master

Tests

Existing test failures 10
Status Test Failing since View job 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...)
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 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...)
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 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: '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...)
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...)
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 View job Duration
Successful unnamed test suite docs.source.conf History
Default Job < 1 sec
Successful unnamed test suite tests.conftest History
Default Job < 1 sec
Successful unnamed test suite tests.test_datapoints History
Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.sensors History
Failing since build #22 (Changes by Yan Zhao) Default Job < 1 sec
Successful unnamed test suite pyclowder.client History
Default Job < 1 sec
Successful unnamed test suite tests.test_streams History
Failing since build #22 (Changes by Yan Zhao) Default Job < 1 sec
Successful unnamed test suite pyclowder.geostreams.geocode_convert History
Failing since build #21 (Changes by Marcus Slavenas) Default Job < 1 sec

Jira issues

IssueDescriptionStatus
Unknown Issue TypePEP-8Could not obtain issue details from Jira