Build: #3 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

The build generated 729 lines of output. Download or view full build log.

22-Aug-2017 14:01:03 Build Clowder - pyclowder2 - bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update - Default Job #3 (CATS-PYC247-JOB1-3) started building on agent buildserver-2.os.ncsa.edu
22-Aug-2017 14:01:03 Remote agent on host buildserver-2.os.ncsa.edu
22-Aug-2017 14:01:03 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1
22-Aug-2017 14:01:03 Executing build Clowder - pyclowder2 - bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update - Default Job #3 (CATS-PYC247-JOB1-3)
22-Aug-2017 14:01:03 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
22-Aug-2017 14:01:03 Updating source code to revision: bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
22-Aug-2017 14:01:03 Fetching 'refs/heads/bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update' from 'ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git'. Will try to do a shallow fetch.
22-Aug-2017 14:01:03 Warning: Permanently added '[127.0.0.1]:40838' (RSA) to the list of known hosts.
22-Aug-2017 14:01:04 From ssh://127.0.0.1:40838/cats/pyclowder2
22-Aug-2017 14:01:04 + ed57dcf...bd8d7cc bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update -> bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update  (forced update)
22-Aug-2017 14:01:04 Checking out revision bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5.
22-Aug-2017 14:01:04 Already on 'bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update'
22-Aug-2017 14:01:04 Updated source code to revision: bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
22-Aug-2017 14:01:04 Finished task 'Checkout Default Repository' with result: Success
22-Aug-2017 14:01:04 Running pre-build action: VCS Version Collector
22-Aug-2017 14:01:04 Starting task 'pytest' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
22-Aug-2017 14:01:04
Beginning to execute external process for build 'Clowder - pyclowder2 - bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update - Default Job #3 (CATS-PYC247-JOB1-3)'
... running command line:
/home/bamboo/bamboo-agent-home/temp/CATS-PYC247-JOB1-3-ScriptBuildTask-6943700480048290361.sh
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_capability_system_builder_node_Node_js_v6_9_1=/home/bamboo/node-v6.9.1/bin/node
bamboo_capability_system_builder_command_npm_6=/home/bamboo/node-v6.9.1/bin/npm
bamboo_capability_system_builder_command_buckminster_4_3=/home/bamboo/buckminster-4.3/buckminster
bamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster
bamboo_planRepository_1_branchDisplayName=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_repository_revision_number=bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
bamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC247-JOB1-3
bamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build
bamboo_planRepository_1_name=pyclowder2
bamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1
bamboo_buildKey=CATS-PYC247-JOB1
bamboo_capability_system_os=linux
bamboo_shortPlanName=bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_planRepository_name=pyclowder2
bamboo_buildNumber=3
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC247-JOB1-3
bamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_repository_148209743_name=pyclowder2
bamboo_agentId=140673028
bamboo_planName=Clowder - pyclowder2 - bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_repository_148209743_git_username=
bamboo_shortPlanKey=PYC247
bamboo_capability_system_builder_command_sbt_0_13=/home/bamboo/sbt-0.13.2/bin/sbt
bamboo_shortJobKey=JOB1
bamboo_capability_system_builder_node_Node_js_v0_10_28=/home/bamboo/node-v0.10.28/bin/node
bamboo_planRepository_revision=bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
bamboo_repository_previous_revision_number=ed57dcf218f449470f690eb91ab2f0b14f3305fb
bamboo_buildTimeStamp=2017-08-22T13:45:52.543-05:00
bamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm
bamboo_planRepository_previousRevision=ed57dcf218f449470f690eb91ab2f0b14f3305fb
bamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1
bamboo_repository_148209743_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_buildResultKey=CATS-PYC247-JOB1-3
bamboo_repository_git_branch=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_repository_branch_name=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_buildPlanName=Clowder - pyclowder2 - bugfix-GLGVO-343-parser-vm-spawning-many-jobs-update - Default Job
bamboo_planRepository_1_revision=bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
bamboo_capability_system_builder_command_python3=/usr/bin/python3
bamboo_repository_148209743_git_branch=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_repository_name=pyclowder2
bamboo_buildFailed=false
bamboo_capability_system_docker_executable=/usr/bin/docker
bamboo_capability_system_builder_command_grunt=/home/bamboo/node-v0.10.28/bin/grunt
bamboo_planRepository_branch=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=ed57dcf218f449470f690eb91ab2f0b14f3305fb
bamboo_repository_git_username=
bamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13
bamboo_planRepository_branchDisplayName=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_capability_system_builder_command_python2_7=/usr/bin/python2.7
bamboo_repository_148209743_branch_name=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
bamboo_capability_system_hostname=buildserver-1
bamboo_capability_system_jdk_JDK=/home/bamboo/jdk1.8.0_66
bamboo_capability_system_software_mongo=/usr/bin/mongo
bamboo_plan_storageTag=plan-148013211
bamboo_capability_system_software_rabbitmq=/usr/sbin/rabbitmqctl
bamboo_capability_system_builder_command_casperjs=/home/bamboo/node-v0.10.28/bin/casperjs
bamboo_planRepository_type=bbserver
bamboo_planRepository_1_username=
bamboo_capability_system_jdk_JDK_1_8_0_66=/home/bamboo/jdk1.8.0_66
bamboo_repository_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_capability_system_builder_node_Node_js=/home/bamboo/node-v0.10.28/bin/node
bamboo_capability_system_builder_ant_Ant=/home/bamboo/apache-ant-1.9.4
bamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/apache-maven-3.3.9
bamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1
bamboo_planKey=CATS-PYC247
bamboo_repository_148209743_revision_number=bd8d7ccf7c57dcbc5c1c5d75e2a089f72fcc4cb5
bamboo_planRepository_1_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_8=/home/bamboo/jdk1.8.0_66
bamboo_capability_system_jdk_JDK_1_6=/home/bamboo/jdk1.6.0_41
bamboo_capability_system_builder_command_mkcrx=/home/bamboo/mkcrx/mkcrx.sh
bamboo_capability_system_jdk_JDK_1_7=/home/bamboo/jdk1.7.0_60
bamboo_repository_148209743_previous_revision_number=ed57dcf218f449470f690eb91ab2f0b14f3305fb
bamboo_planRepository_1_branchName=bugfix/GLGVO-343-parser-vm-spawning-many-jobs-update
22-Aug-2017 14:01:05 New python executable in /tmp/virtualenv/pyclowder2/bin/python2
22-Aug-2017 14:01:05 Also creating executable in /tmp/virtualenv/pyclowder2/bin/python
22-Aug-2017 14:01:08 Installing setuptools, pkg_resources, pip, wheel...done.
22-Aug-2017 14:01:08 Running virtualenv with interpreter /usr/bin/python2
22-Aug-2017 14:01:08 Collecting enum34==1.1.6 (from -r requirements.txt (line 1))
22-Aug-2017 14:01:08   Using cached enum34-1.1.6-py2-none-any.whl
22-Aug-2017 14:01:08 Collecting et-xmlfile==1.0.1 (from -r requirements.txt (line 2))
22-Aug-2017 14:01:09 Collecting jdcal==1.3 (from -r requirements.txt (line 3))
22-Aug-2017 14:01:09 Collecting openpyxl==2.4.1 (from -r requirements.txt (line 4))
22-Aug-2017 14:01:09 Collecting pika==0.10.0 (from -r requirements.txt (line 5))
22-Aug-2017 14:01:09   Using cached pika-0.10.0-py2.py3-none-any.whl
22-Aug-2017 14:01:09 Collecting python-dateutil==2.6.0 (from -r requirements.txt (line 6))
22-Aug-2017 14:01:09   Using cached python_dateutil-2.6.0-py2.py3-none-any.whl
22-Aug-2017 14:01:09 Collecting pytz==2016.10 (from -r requirements.txt (line 7))
22-Aug-2017 14:01:09   Using cached pytz-2016.10-py2.py3-none-any.whl
22-Aug-2017 14:01:09 Collecting PyYAML==3.11 (from -r requirements.txt (line 8))
22-Aug-2017 14:01:10 Collecting requests==2.10.0 (from -r requirements.txt (line 9))
22-Aug-2017 14:01:10   Using cached requests-2.10.0-py2.py3-none-any.whl
22-Aug-2017 14:01:10 Collecting six==1.10.0 (from -r requirements.txt (line 10))
22-Aug-2017 14:01:10   Using cached six-1.10.0-py2.py3-none-any.whl
22-Aug-2017 14:01:10 Collecting wheel==0.24.0 (from -r requirements.txt (line 11))
22-Aug-2017 14:01:10   Using cached wheel-0.24.0-py2.py3-none-any.whl
22-Aug-2017 14:01:10 Collecting pytest==3.0.3 (from -r requirements.txt (line 12))
22-Aug-2017 14:01:10   Using cached pytest-3.0.3-py2.py3-none-any.whl
22-Aug-2017 14:01:10 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 13))
22-Aug-2017 14:01:11 Collecting pytest-capturelog==0.7 (from -r requirements.txt (line 14))
22-Aug-2017 14:01:11 Collecting urllib3==1.14 (from -r requirements.txt (line 15))
22-Aug-2017 14:01:11   Using cached urllib3-1.14-py2.py3-none-any.whl
22-Aug-2017 14:01:11 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 12))
22-Aug-2017 14:01:11   Using cached py-1.4.34-py2.py3-none-any.whl
22-Aug-2017 14:01:11 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 13))
22-Aug-2017 14:01:11   Using cached pep8-1.7.0-py2.py3-none-any.whl
22-Aug-2017 14:01:11 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 13))
22-Aug-2017 14:01:11 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 13))
22-Aug-2017 14:01:11   Using cached execnet-1.4.1-py2.py3-none-any.whl
22-Aug-2017 14:01:11 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 13))
22-Aug-2017 14:01:11   Using cached apipkg-1.4-py2.py3-none-any.whl
22-Aug-2017 14:01:11 Installing collected packages: enum34, et-xmlfile, jdcal, openpyxl, pika, six, python-dateutil, pytz, PyYAML, requests, wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8, pytest-capturelog, urllib3
22-Aug-2017 14:01:12   Found existing installation: wheel 0.30.0a0
22-Aug-2017 14:01:12     Uninstalling wheel-0.30.0a0:
22-Aug-2017 14:01:12       Successfully uninstalled wheel-0.30.0a0
22-Aug-2017 14:01:12 Successfully installed PyYAML-3.11 apipkg-1.4 enum34-1.1.6 et-xmlfile-1.0.1 execnet-1.4.1 jdcal-1.3 openpyxl-2.4.1 pep8-1.7.0 pika-0.10.0 py-1.4.34 pytest-3.0.3 pytest-cache-1.0 pytest-capturelog-0.7 pytest-pep8-1.0.6 python-dateutil-2.6.0 pytz-2016.10 requests-2.10.0 six-1.10.0 urllib3-1.14 wheel-0.24.0
22-Aug-2017 14:01:13 ============================= test session starts ==============================
22-Aug-2017 14:01:13 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0
22-Aug-2017 14:01:13 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1, inifile: setup.cfg
22-Aug-2017 14:01:13 plugins: pep8-1.0.6, capturelog-0.7
22-Aug-2017 14:01:13 collected 39 items
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 setup.py .
22-Aug-2017 14:01:13 docs/source/conf.py F
22-Aug-2017 14:01:13 pyclowder/__init__.py .
22-Aug-2017 14:01:13 pyclowder/client.py F
22-Aug-2017 14:01:13 pyclowder/collections.py .
22-Aug-2017 14:01:13 pyclowder/connectors.py .
22-Aug-2017 14:01:13 pyclowder/datasets.py .
22-Aug-2017 14:01:13 pyclowder/extractors.py .
22-Aug-2017 14:01:13 pyclowder/files.py .
22-Aug-2017 14:01:13 pyclowder/sections.py .
22-Aug-2017 14:01:13 pyclowder/utils.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/__init__.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/cache.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/csv.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/datapoints.py F
22-Aug-2017 14:01:13 pyclowder/geostreams/datasets.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/geocode_convert.py F
22-Aug-2017 14:01:13 pyclowder/geostreams/map_names.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/sensors.py F
22-Aug-2017 14:01:13 pyclowder/geostreams/streams.py .
22-Aug-2017 14:01:13 pyclowder/geostreams/time_transformers.py F
22-Aug-2017 14:01:13 sample-extractors/echo/echo.py .
22-Aug-2017 14:01:13 sample-extractors/wordcount/wordcount.py .
22-Aug-2017 14:01:13 tests/__init__.py .
22-Aug-2017 14:01:13 tests/conftest.py F
22-Aug-2017 14:01:13 tests/test_datapoints.py FF
22-Aug-2017 14:01:13 tests/test_geostreams.py .FFF
22-Aug-2017 14:01:13 tests/test_sensors.py .FFF
22-Aug-2017 14:01:13 tests/test_streams.py FFFF
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/test-reports/results.xml
22-Aug-2017 14:01:13 =================================== FAILURES ===================================
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     'sphinx.ext.doctest',
22-Aug-2017 14:01:13     ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     'sphinx.ext.viewcode',
22-Aug-2017 14:01:13     ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     'sphinx.ext.githubpages']
22-Aug-2017 14:01:13     ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/client.py:145:121: E501 line too long (137 > 120 characters)
22-Aug-2017 14:01:13             return requests.post(url, params=params, data=json.dumps(content), headers=self.headers, auth=(self.username, self.password))
22-Aug-2017 14:01:13                                                                                                                         ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/client.py:163:121: E501 line too long (127 > 120 characters)
22-Aug-2017 14:01:13             return requests.post(url, params=params, files={"File": open(filename, 'rb')}, auth=(self.username, self.password))
22-Aug-2017 14:01:13                                                                                                                         ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /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)
22-Aug-2017 14:01:13     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):
22-Aug-2017 14:01:13                                                                                                                         ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:78:1: W293 blank line contains whitespace
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:79:27: W291 trailing whitespace
22-Aug-2017 14:01:13         :param start_time:
22-Aug-2017 14:01:13                           ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:80:25: W291 trailing whitespace
22-Aug-2017 14:01:13         :param end_time:
22-Aug-2017 14:01:13                         ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:81:26: W291 trailing whitespace
22-Aug-2017 14:01:13         :param longitude:
22-Aug-2017 14:01:13                          ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:82:25: W291 trailing whitespace
22-Aug-2017 14:01:13         :param latitude:
22-Aug-2017 14:01:13                         ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:83:26: W291 trailing whitespace
22-Aug-2017 14:01:13         :param sensor_id:
22-Aug-2017 14:01:13                          ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:84:26: W291 trailing whitespace
22-Aug-2017 14:01:13         :param stream_id:
22-Aug-2017 14:01:13                          ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:85:28: W291 trailing whitespace
22-Aug-2017 14:01:13         :param sensor_name:
22-Aug-2017 14:01:13                            ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:86:27: W291 trailing whitespace
22-Aug-2017 14:01:13         :param properties:
22-Aug-2017 14:01:13                           ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:87:22: W291 trailing whitespace
22-Aug-2017 14:01:13         :param owner:
22-Aug-2017 14:01:13                      ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:88:23: W291 trailing whitespace
22-Aug-2017 14:01:13         :param source:
22-Aug-2017 14:01:13                       ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:89:27: W291 trailing whitespace
22-Aug-2017 14:01:13         :param procedures:
22-Aug-2017 14:01:13                           ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:90:26: W291 trailing whitespace
22-Aug-2017 14:01:13         :param elevation:
22-Aug-2017 14:01:13                          ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/datapoints.py:91:17: W291 trailing whitespace
22-Aug-2017 14:01:13         :return:
22-Aug-2017 14:01:13                 ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13 def dms2dec(dms):
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                      ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                        ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                          ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                            ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                              ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                             ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                               ^
22-Aug-2017 14:01:13 /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)
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                                         ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                                                 ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                                                   ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                                                                     ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     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())
22-Aug-2017 14:01:13                                                                                                                                                       ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/geocode_convert.py:9:26: E231 missing whitespace after ','
22-Aug-2017 14:01:13     return [float(dec[0]),float(dec[1])]
22-Aug-2017 14:01:13                          ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13            return self.client.post("/geostreams/sensors", sensor)
22-Aug-2017 14:01:13            ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:2:30: E231 missing whitespace after ','
22-Aug-2017 14:01:13 from datetime import datetime,timedelta
22-Aug-2017 14:01:13                              ^
22-Aug-2017 14:01:13 /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)
22-Aug-2017 14:01:13     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")
22-Aug-2017 14:01:13                                                                                                                         ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13 def julian_day_to_month_day(year,julian_day):
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:14:33: E231 missing whitespace after ','
22-Aug-2017 14:01:13 def julian_day_to_month_day(year,julian_day):
22-Aug-2017 14:01:13                                 ^
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13 def calendar_date2utc(date_in,time_zone="America/Chicago"):
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/pyclowder/geostreams/time_transformers.py:20:30: E231 missing whitespace after ','
22-Aug-2017 14:01:13 def calendar_date2utc(date_in,time_zone="America/Chicago"):
22-Aug-2017 14:01:13                              ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/tests/conftest.py:14:1: E302 expected 2 blank lines, found 1
22-Aug-2017 14:01:13 @pytest.fixture(scope="module")
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13     assert response.status_code != 200
22-Aug-2017 14:01:13                                       ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 _____________________ test_datapoints_count_by_sensor_get ______________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c15475c50>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_datapoints_count_by_sensor_get(caplog, host, key):
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         client = DatapointsApi(host=host, key=key)
22-Aug-2017 14:01:13         response = client.datapoints_count_by_sensor_get(950)
22-Aug-2017 14:01:13 >       sensors = response.text
22-Aug-2017 14:01:13 E       AttributeError: 'NoneType' object has no attribute 'text'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_datapoints.py:9: AttributeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 datapoints.py               41 DEBUG    Counting datapoints by sensor
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 datapoints.py               45 ERROR    Error counting datapoints by sensor 950: not enough arguments for format string
22-Aug-2017 14:01:13 _________________________________ test_version _________________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c154306d0>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_version(caplog, host, key):
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         client = ClowderClient(host=host, key=key)
22-Aug-2017 14:01:13 >       version = client.version()
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_geostreams.py:10:
22-Aug-2017 14:01:13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22-Aug-2017 14:01:13 pyclowder/client.py:46: in version
22-Aug-2017 14:01:13     r = requests.get(url)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:71: in get
22-Aug-2017 14:01:13     return request('get', url, params=params, **kwargs)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:57: in request
22-Aug-2017 14:01:13     return session.request(method=method, url=url, **kwargs)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:475: in request
22-Aug-2017 14:01:13     resp = self.send(prep, **send_kwargs)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:585: in send
22-Aug-2017 14:01:13     r = adapter.send(request, **kwargs)
22-Aug-2017 14:01:13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 self = <requests.adapters.HTTPAdapter object at 0x7f6c15430b50>
22-Aug-2017 14:01:13 request = <PreparedRequest [GET]>, stream = False
22-Aug-2017 14:01:13 timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f6c15430d10>
22-Aug-2017 14:01:13 verify = True, cert = None, proxies = OrderedDict()
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
22-Aug-2017 14:01:13         """Sends PreparedRequest object. Returns Response object.
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
22-Aug-2017 14:01:13             :param stream: (optional) Whether to stream the request content.
22-Aug-2017 14:01:13             :param timeout: (optional) How long to wait for the server to send
22-Aug-2017 14:01:13                 data before giving up, as a float, or a :ref:`(connect timeout,
22-Aug-2017 14:01:13                 read timeout) <timeouts>` tuple.
22-Aug-2017 14:01:13             :type timeout: float or tuple
22-Aug-2017 14:01:13             :param verify: (optional) Whether to verify SSL certificates.
22-Aug-2017 14:01:13             :param cert: (optional) Any user-provided SSL certificate to be trusted.
22-Aug-2017 14:01:13             :param proxies: (optional) The proxies dictionary to apply to the request.
22-Aug-2017 14:01:13             """
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         conn = self.get_connection(request.url, proxies)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         self.cert_verify(conn, request.url, verify, cert)
22-Aug-2017 14:01:13         url = self.request_url(request, proxies)
22-Aug-2017 14:01:13         self.add_headers(request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         chunked = not (request.body is None or 'Content-Length' in request.headers)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         if isinstance(timeout, tuple):
22-Aug-2017 14:01:13             try:
22-Aug-2017 14:01:13                 connect, read = timeout
22-Aug-2017 14:01:13                 timeout = TimeoutSauce(connect=connect, read=read)
22-Aug-2017 14:01:13             except ValueError as e:
22-Aug-2017 14:01:13                 # this may raise a string formatting error.
22-Aug-2017 14:01:13                 err = ("Invalid timeout {0}. Pass a (connect, read) "
22-Aug-2017 14:01:13                        "timeout tuple, or a single float to set "
22-Aug-2017 14:01:13                        "both timeouts to the same value".format(timeout))
22-Aug-2017 14:01:13                 raise ValueError(err)
22-Aug-2017 14:01:13         else:
22-Aug-2017 14:01:13             timeout = TimeoutSauce(connect=timeout, read=timeout)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         try:
22-Aug-2017 14:01:13             if not chunked:
22-Aug-2017 14:01:13                 resp = conn.urlopen(
22-Aug-2017 14:01:13                     method=request.method,
22-Aug-2017 14:01:13                     url=url,
22-Aug-2017 14:01:13                     body=request.body,
22-Aug-2017 14:01:13                     headers=request.headers,
22-Aug-2017 14:01:13                     redirect=False,
22-Aug-2017 14:01:13                     assert_same_host=False,
22-Aug-2017 14:01:13                     preload_content=False,
22-Aug-2017 14:01:13                     decode_content=False,
22-Aug-2017 14:01:13                     retries=self.max_retries,
22-Aug-2017 14:01:13                     timeout=timeout
22-Aug-2017 14:01:13                 )
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             # Send the request.
22-Aug-2017 14:01:13             else:
22-Aug-2017 14:01:13                 if hasattr(conn, 'proxy_pool'):
22-Aug-2017 14:01:13                     conn = conn.proxy_pool
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                 try:
22-Aug-2017 14:01:13                     low_conn.putrequest(request.method,
22-Aug-2017 14:01:13                                         url,
22-Aug-2017 14:01:13                                         skip_accept_encoding=True)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     for header, value in request.headers.items():
22-Aug-2017 14:01:13                         low_conn.putheader(header, value)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     low_conn.endheaders()
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     for i in request.body:
22-Aug-2017 14:01:13                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
22-Aug-2017 14:01:13                         low_conn.send(b'\r\n')
22-Aug-2017 14:01:13                         low_conn.send(i)
22-Aug-2017 14:01:13                         low_conn.send(b'\r\n')
22-Aug-2017 14:01:13                     low_conn.send(b'0\r\n\r\n')
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     # Receive the response from the server
22-Aug-2017 14:01:13                     try:
22-Aug-2017 14:01:13                         # For Python 2.7+ versions, use buffering of HTTP
22-Aug-2017 14:01:13                         # responses
22-Aug-2017 14:01:13                         r = low_conn.getresponse(buffering=True)
22-Aug-2017 14:01:13                     except TypeError:
22-Aug-2017 14:01:13                         # For compatibility with Python 2.6 versions and back
22-Aug-2017 14:01:13                         r = low_conn.getresponse()
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     resp = HTTPResponse.from_httplib(
22-Aug-2017 14:01:13                         r,
22-Aug-2017 14:01:13                         pool=conn,
22-Aug-2017 14:01:13                         connection=low_conn,
22-Aug-2017 14:01:13                         preload_content=False,
22-Aug-2017 14:01:13                         decode_content=False
22-Aug-2017 14:01:13                     )
22-Aug-2017 14:01:13                 except:
22-Aug-2017 14:01:13                     # If we hit any problems here, clean up the connection.
22-Aug-2017 14:01:13                     # Then, reraise so that we can handle the actual exception.
22-Aug-2017 14:01:13                     low_conn.close()
22-Aug-2017 14:01:13                     raise
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         except (ProtocolError, socket.error) as err:
22-Aug-2017 14:01:13             raise ConnectionError(err, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         except MaxRetryError as e:
22-Aug-2017 14:01:13             if isinstance(e.reason, ConnectTimeoutError):
22-Aug-2017 14:01:13                 # TODO: Remove this in 3.0.0: see #2811
22-Aug-2017 14:01:13                 if not isinstance(e.reason, NewConnectionError):
22-Aug-2017 14:01:13                     raise ConnectTimeout(e, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             if isinstance(e.reason, ResponseError):
22-Aug-2017 14:01:13                 raise RetryError(e, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             if isinstance(e.reason, _ProxyError):
22-Aug-2017 14:01:13                 raise ProxyError(e, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13 >           raise ConnectionError(e, request=request)
22-Aug-2017 14:01:13 E           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',))
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/adapters.py:467: ConnectionError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 client.py                   45 DEBUG    GET http://localhost:9000/clowder/api/version
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 _______________________________ test_get_sensors _______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c15475590>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_get_sensors(caplog, host, key):
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         client = SensorsApi(host=host, key=key)
22-Aug-2017 14:01:13         response = client.sensors_get()
22-Aug-2017 14:01:13 >       sensors = response.json()
22-Aug-2017 14:01:13 E       AttributeError: 'NoneType' object has no attribute 'json'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_geostreams.py:19: AttributeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 sensors.py                  27 DEBUG    Getting all sensors
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 sensors.py                  31 ERROR    Error retrieving sensor list: not enough arguments for format string
22-Aug-2017 14:01:13 ____________________________ test_raise_for_status _____________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c1545ec90>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_raise_for_status(caplog, host, key):
22-Aug-2017 14:01:13         client = ClowderClient(host=host, key=key)
22-Aug-2017 14:01:13         try:
22-Aug-2017 14:01:13 >           client.get_json("this_path_does_not_exist")
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_geostreams.py:27:
22-Aug-2017 14:01:13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22-Aug-2017 14:01:13 pyclowder/client.py:68: in get_json
22-Aug-2017 14:01:13     r = requests.get(url, headers=self.headers)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:71: in get
22-Aug-2017 14:01:13     return request('get', url, params=params, **kwargs)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:57: in request
22-Aug-2017 14:01:13     return session.request(method=method, url=url, **kwargs)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:475: in request
22-Aug-2017 14:01:13     resp = self.send(prep, **send_kwargs)
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:585: in send
22-Aug-2017 14:01:13     r = adapter.send(request, **kwargs)
22-Aug-2017 14:01:13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 self = <requests.adapters.HTTPAdapter object at 0x7f6c15505f10>
22-Aug-2017 14:01:13 request = <PreparedRequest [GET]>, stream = False
22-Aug-2017 14:01:13 timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x7f6c1544de90>
22-Aug-2017 14:01:13 verify = True, cert = None, proxies = OrderedDict()
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
22-Aug-2017 14:01:13         """Sends PreparedRequest object. Returns Response object.
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
22-Aug-2017 14:01:13             :param stream: (optional) Whether to stream the request content.
22-Aug-2017 14:01:13             :param timeout: (optional) How long to wait for the server to send
22-Aug-2017 14:01:13                 data before giving up, as a float, or a :ref:`(connect timeout,
22-Aug-2017 14:01:13                 read timeout) <timeouts>` tuple.
22-Aug-2017 14:01:13             :type timeout: float or tuple
22-Aug-2017 14:01:13             :param verify: (optional) Whether to verify SSL certificates.
22-Aug-2017 14:01:13             :param cert: (optional) Any user-provided SSL certificate to be trusted.
22-Aug-2017 14:01:13             :param proxies: (optional) The proxies dictionary to apply to the request.
22-Aug-2017 14:01:13             """
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         conn = self.get_connection(request.url, proxies)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         self.cert_verify(conn, request.url, verify, cert)
22-Aug-2017 14:01:13         url = self.request_url(request, proxies)
22-Aug-2017 14:01:13         self.add_headers(request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         chunked = not (request.body is None or 'Content-Length' in request.headers)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         if isinstance(timeout, tuple):
22-Aug-2017 14:01:13             try:
22-Aug-2017 14:01:13                 connect, read = timeout
22-Aug-2017 14:01:13                 timeout = TimeoutSauce(connect=connect, read=read)
22-Aug-2017 14:01:13             except ValueError as e:
22-Aug-2017 14:01:13                 # this may raise a string formatting error.
22-Aug-2017 14:01:13                 err = ("Invalid timeout {0}. Pass a (connect, read) "
22-Aug-2017 14:01:13                        "timeout tuple, or a single float to set "
22-Aug-2017 14:01:13                        "both timeouts to the same value".format(timeout))
22-Aug-2017 14:01:13                 raise ValueError(err)
22-Aug-2017 14:01:13         else:
22-Aug-2017 14:01:13             timeout = TimeoutSauce(connect=timeout, read=timeout)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         try:
22-Aug-2017 14:01:13             if not chunked:
22-Aug-2017 14:01:13                 resp = conn.urlopen(
22-Aug-2017 14:01:13                     method=request.method,
22-Aug-2017 14:01:13                     url=url,
22-Aug-2017 14:01:13                     body=request.body,
22-Aug-2017 14:01:13                     headers=request.headers,
22-Aug-2017 14:01:13                     redirect=False,
22-Aug-2017 14:01:13                     assert_same_host=False,
22-Aug-2017 14:01:13                     preload_content=False,
22-Aug-2017 14:01:13                     decode_content=False,
22-Aug-2017 14:01:13                     retries=self.max_retries,
22-Aug-2017 14:01:13                     timeout=timeout
22-Aug-2017 14:01:13                 )
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             # Send the request.
22-Aug-2017 14:01:13             else:
22-Aug-2017 14:01:13                 if hasattr(conn, 'proxy_pool'):
22-Aug-2017 14:01:13                     conn = conn.proxy_pool
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                 try:
22-Aug-2017 14:01:13                     low_conn.putrequest(request.method,
22-Aug-2017 14:01:13                                         url,
22-Aug-2017 14:01:13                                         skip_accept_encoding=True)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     for header, value in request.headers.items():
22-Aug-2017 14:01:13                         low_conn.putheader(header, value)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     low_conn.endheaders()
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     for i in request.body:
22-Aug-2017 14:01:13                         low_conn.send(hex(len(i))[2:].encode('utf-8'))
22-Aug-2017 14:01:13                         low_conn.send(b'\r\n')
22-Aug-2017 14:01:13                         low_conn.send(i)
22-Aug-2017 14:01:13                         low_conn.send(b'\r\n')
22-Aug-2017 14:01:13                     low_conn.send(b'0\r\n\r\n')
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     # Receive the response from the server
22-Aug-2017 14:01:13                     try:
22-Aug-2017 14:01:13                         # For Python 2.7+ versions, use buffering of HTTP
22-Aug-2017 14:01:13                         # responses
22-Aug-2017 14:01:13                         r = low_conn.getresponse(buffering=True)
22-Aug-2017 14:01:13                     except TypeError:
22-Aug-2017 14:01:13                         # For compatibility with Python 2.6 versions and back
22-Aug-2017 14:01:13                         r = low_conn.getresponse()
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13                     resp = HTTPResponse.from_httplib(
22-Aug-2017 14:01:13                         r,
22-Aug-2017 14:01:13                         pool=conn,
22-Aug-2017 14:01:13                         connection=low_conn,
22-Aug-2017 14:01:13                         preload_content=False,
22-Aug-2017 14:01:13                         decode_content=False
22-Aug-2017 14:01:13                     )
22-Aug-2017 14:01:13                 except:
22-Aug-2017 14:01:13                     # If we hit any problems here, clean up the connection.
22-Aug-2017 14:01:13                     # Then, reraise so that we can handle the actual exception.
22-Aug-2017 14:01:13                     low_conn.close()
22-Aug-2017 14:01:13                     raise
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         except (ProtocolError, socket.error) as err:
22-Aug-2017 14:01:13             raise ConnectionError(err, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         except MaxRetryError as e:
22-Aug-2017 14:01:13             if isinstance(e.reason, ConnectTimeoutError):
22-Aug-2017 14:01:13                 # TODO: Remove this in 3.0.0: see #2811
22-Aug-2017 14:01:13                 if not isinstance(e.reason, NewConnectionError):
22-Aug-2017 14:01:13                     raise ConnectTimeout(e, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             if isinstance(e.reason, ResponseError):
22-Aug-2017 14:01:13                 raise RetryError(e, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13             if isinstance(e.reason, _ProxyError):
22-Aug-2017 14:01:13                 raise ProxyError(e, request=request)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13 >           raise ConnectionError(e, request=request)
22-Aug-2017 14:01:13 E           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',))
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/adapters.py:467: ConnectionError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 ______________________________ test_sensors_post _______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c151b8a10>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_sensors_post(caplog, host, key):
22-Aug-2017 14:01:13         global sensor_id
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         client = SensorsApi(host=host, key=key)
22-Aug-2017 14:01:13         sensor_json = client.sensor_create_json("Test Sensor", 40.1149202, -88.2270582, 0, "", "ER")
22-Aug-2017 14:01:13         response = client.sensor_post(sensor_json)
22-Aug-2017 14:01:13 >       body = response.json()
22-Aug-2017 14:01:13 E       AttributeError: 'NoneType' object has no attribute 'json'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_sensors.py:13: AttributeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 sensors.py                  67 DEBUG    Adding sensor
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 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',))
22-Aug-2017 14:01:13 _______________________________ test_sensors_get _______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c151c11d0>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_sensors_get(caplog, host, key):
22-Aug-2017 14:01:13         global sensor_id
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         client = SensorsApi(host=host, key=key)
22-Aug-2017 14:01:13         response = client.sensor_get(sensor_id)
22-Aug-2017 14:01:13 >       sensor = response.json()
22-Aug-2017 14:01:13 E       AttributeError: 'NoneType' object has no attribute 'json'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_sensors.py:24: AttributeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 sensors.py                  40 DEBUG    Getting sensor
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 sensors.py                  44 ERROR    Error retrieving sensor : not enough arguments for format string
22-Aug-2017 14:01:13 _____________________________ test_sensors_delete ______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c1514fe10>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_sensors_delete(caplog, host, key):
22-Aug-2017 14:01:13         global sensor_id
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         client = SensorsApi(host=host, key=key)
22-Aug-2017 14:01:13         response = client.sensor_delete(sensor_id)
22-Aug-2017 14:01:13 >       sensor = response.json()
22-Aug-2017 14:01:13 E       AttributeError: 'NoneType' object has no attribute 'json'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_sensors.py:34: AttributeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 sensors.py                 101 DEBUG    Deleting sensor
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 client.py                  211 ERROR    DELETE 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 0x7f6c1514f4d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
22-Aug-2017 14:01:13 __________________________________ PEP8-check __________________________________
22-Aug-2017 14:01:13 /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
22-Aug-2017 14:01:13 def test_streams_post(caplog, host, key):
22-Aug-2017 14:01:13 ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/tests/test_streams.py:20:24: W291 trailing whitespace
22-Aug-2017 14:01:13     assert "id" in body
22-Aug-2017 14:01:13                        ^
22-Aug-2017 14:01:13 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1/tests/test_streams.py:39:54: W291 trailing whitespace
22-Aug-2017 14:01:13     response = stream_client.stream_delete(stream_id)
22-Aug-2017 14:01:13                                                      ^
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 ______________________________ test_streams_post _______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c15178210>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_streams_post(caplog, host, key):
22-Aug-2017 14:01:13         global sensor_id, stream_id
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         sensor_client = SensorsApi(host=host, key=key)
22-Aug-2017 14:01:13         sensor_json = sensor_client.sensor_create_json("Test Sensor", 40.1149202, -88.2270582, 0, "", "ER")
22-Aug-2017 14:01:13         sensor_body = sensor_client.sensor_post_json(sensor_json)
22-Aug-2017 14:01:13 >       sensor_id = sensor_body['id']
22-Aug-2017 14:01:13 E       TypeError: 'NoneType' object has no attribute '__getitem__'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_streams.py:14: TypeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 sensors.py                  80 DEBUG    Adding or getting sensor
22-Aug-2017 14:01:13 sensors.py                  53 DEBUG    Getting sensor Test Sensor
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 sensors.py                  57 ERROR    Error retrieving sensor Test Sensor: not enough arguments for format string
22-Aug-2017 14:01:13 sensors.py                  92 ERROR    Error adding sensor Test Sensor: 'NoneType' object has no attribute 'json'
22-Aug-2017 14:01:13 _______________________________ test_streams_get _______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c151b8610>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_streams_get(caplog, host, key):
22-Aug-2017 14:01:13         global sensor_id, stream_id
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         stream_client = StreamsApi(host=host, key=key)
22-Aug-2017 14:01:13 >       stream = stream_client.stream_get_by_name("Test Sensor")
22-Aug-2017 14:01:13 E       AttributeError: 'StreamsApi' object has no attribute 'stream_get_by_name'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_streams.py:27: AttributeError
22-Aug-2017 14:01:13 _____________________________ test_streams_delete ______________________________
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 caplog = <pytest_capturelog.CaptureLogFuncArg object at 0x7f6c154a48d0>
22-Aug-2017 14:01:13 host = 'http://localhost:9000/clowder', key = 'r1ek3rs'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13     def test_streams_delete(caplog, host, key):
22-Aug-2017 14:01:13         global sensor_id, stream_id
22-Aug-2017 14:01:13         caplog.setLevel(logging.DEBUG)
22-Aug-2017 14:01:13         sensor_client = SensorsApi(host=host, key=key)
22-Aug-2017 14:01:13         response = sensor_client.sensor_delete(sensor_id)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13         stream_client = StreamsApi(host=host, key=key)
22-Aug-2017 14:01:13         response = stream_client.stream_delete(stream_id)
22-Aug-2017 14:01:13    
22-Aug-2017 14:01:13 >       stream = response.json()
22-Aug-2017 14:01:13 E       AttributeError: 'NoneType' object has no attribute 'json'
22-Aug-2017 14:01:13
22-Aug-2017 14:01:13 tests/test_streams.py:41: AttributeError
22-Aug-2017 14:01:13 --------------------------------- Captured log ---------------------------------
22-Aug-2017 14:01:13 sensors.py                 101 DEBUG    Deleting sensor
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 client.py                  211 ERROR    DELETE 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 0x7f6c1514f550>: Failed to establish a new connection: [Errno 111] Connection refused',))
22-Aug-2017 14:01:13 streams.py                  90 DEBUG    Deleting stream
22-Aug-2017 14:01:13 connectionpool.py          213 INFO     Starting new HTTP connection (1): localhost
22-Aug-2017 14:01:13 client.py                  211 ERROR    DELETE http://localhost:9000/clowder/api/geostreams/streams/: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/geostreams/streams/?key=r1ek3rs (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f6c1514f9d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
22-Aug-2017 14:01:13 ============================ pytest-warning summary ============================
22-Aug-2017 14:01:13 WI1 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument
22-Aug-2017 14:01:13 WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0.  Please remove the prefix and use the @pytest.fixture decorator instead.
22-Aug-2017 14:01:13 WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0.  Please remove the prefix and use the @pytest.fixture decorator instead.
22-Aug-2017 14:01:13 =========== 19 failed, 20 passed, 3 pytest-warnings in 0.58 seconds ============
22-Aug-2017 14:01:13 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/CATS-PYC247-JOB1-3-ScriptBuildTask-6943700480048290361.sh] was 1 while expected 0
22-Aug-2017 14:01:13 Finished task 'pytest' with result: Failed
22-Aug-2017 14:01:13 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
22-Aug-2017 14:01:13 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC247-JOB1...
22-Aug-2017 14:01:13 Failing task since 19 failing test cases were found.
22-Aug-2017 14:01:13 Finished task 'test results' with result: Failed
22-Aug-2017 14:01:13 Running post build plugin 'Docker Container Cleanup'
22-Aug-2017 14:01:13 Running post build plugin 'NCover Results Collector'
22-Aug-2017 14:01:13 Running post build plugin 'Clover Results Collector'
22-Aug-2017 14:01:13 Running post build plugin 'npm Cache Cleanup'
22-Aug-2017 14:01:13 Running post build plugin 'Artifact Copier'
22-Aug-2017 14:01:13 Finalising the build...
22-Aug-2017 14:01:13 Stopping timer.
22-Aug-2017 14:01:13 Build CATS-PYC247-JOB1-3 completed.
22-Aug-2017 14:01:13 Running on server: post build plugin 'NCover Results Collector'
22-Aug-2017 14:01:13 Running on server: post build plugin 'Build Hanging Detection Configuration'
22-Aug-2017 14:01:13 Running on server: post build plugin 'Clover Delta Calculator'
22-Aug-2017 14:01:13 Running on server: post build plugin 'Maven Dependencies Postprocessor'
22-Aug-2017 14:01:14 All post build plugins have finished
22-Aug-2017 14:01:14 Generating build results summary...
22-Aug-2017 14:01:14 Saving build results to disk...
22-Aug-2017 14:01:14 Logging substituted variables...
22-Aug-2017 14:01:14 Indexing build results...
22-Aug-2017 14:01:14 Finished building CATS-PYC247-JOB1-3.