simple 18-Jul-2017 13:25:26 Build Clowder - pyclowder2 - geostreams - Default Job #24 (CATS-PYC26-JOB1-24) started building on agent buildserver-2.os.ncsa.edu simple 18-Jul-2017 13:25:26 Remote agent on host buildserver-2.os.ncsa.edu simple 18-Jul-2017 13:25:26 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1 simple 18-Jul-2017 13:25:26 Executing build Clowder - pyclowder2 - geostreams - Default Job #24 (CATS-PYC26-JOB1-24) simple 18-Jul-2017 13:25:26 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 18-Jul-2017 13:25:26 Updating source code to revision: 30fef24e7566a682b2796f8b10b8843baa55bba3 simple 18-Jul-2017 13:25:26 Fetching 'refs/heads/geostreams' from 'ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git'. Will try to do a shallow fetch. simple 18-Jul-2017 13:25:26 Warning: Permanently added '[127.0.0.1]:39815' (RSA) to the list of known hosts. simple 18-Jul-2017 13:25:26 From ssh://127.0.0.1:39815/cats/pyclowder2 simple 18-Jul-2017 13:25:26 + 3705a7c...30fef24 geostreams -> geostreams (forced update) simple 18-Jul-2017 13:25:26 Checking out revision 30fef24e7566a682b2796f8b10b8843baa55bba3. simple 18-Jul-2017 13:25:26 Already on 'geostreams' simple 18-Jul-2017 13:25:26 Updated source code to revision: 30fef24e7566a682b2796f8b10b8843baa55bba3 simple 18-Jul-2017 13:25:26 Finished task 'Checkout Default Repository' with result: Success simple 18-Jul-2017 13:25:26 Running pre-build action: VCS Version Collector simple 18-Jul-2017 13:25:26 Starting task 'pytest' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 18-Jul-2017 13:25:26 Beginning to execute external process for build 'Clowder - pyclowder2 - geostreams - Default Job #24 (CATS-PYC26-JOB1-24)'\n ... running command line: \n/home/bamboo/bamboo-agent-home/temp/CATS-PYC26-JOB1-24-ScriptBuildTask-6980825388456409895.sh\n ... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=geostreams\nbamboo_capability_system_builder_node_Node_js_v6_9_1=/home/bamboo/node-v6.9.1/bin/node\nbamboo_capability_system_builder_command_npm_6=/home/bamboo/node-v6.9.1/bin/npm\nbamboo_capability_system_builder_command_buckminster_4_3=/home/bamboo/buckminster-4.3/buckminster\nbamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster\nbamboo_planRepository_1_branchDisplayName=geostreams\nbamboo_repository_revision_number=30fef24e7566a682b2796f8b10b8843baa55bba3\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC26-JOB1-24\nbamboo_repository_127172662_previous_revision_number=3705a7cdcb2ad236ea49479e1ee7c20ea32c1f21\nbamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build\nbamboo_planRepository_1_name=pyclowder2\nbamboo_repository_127172662_branch_name=geostreams\nbamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1\nbamboo_buildKey=CATS-PYC26-JOB1\nbamboo_capability_system_os=linux\nbamboo_repository_127172662_git_branch=geostreams\nbamboo_shortPlanName=geostreams\nbamboo_repository_127172662_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git\nbamboo_repository_127172662_revision_number=30fef24e7566a682b2796f8b10b8843baa55bba3\nbamboo_planRepository_name=pyclowder2\nbamboo_buildNumber=24\nbamboo_repository_127172662_name=pyclowder2\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC26-JOB1-24\nbamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git\nbamboo_agentId=140673028\nbamboo_planName=Clowder - pyclowder2 - geostreams\nbamboo_shortPlanKey=PYC26\nbamboo_capability_system_builder_command_sbt_0_13=/home/bamboo/sbt-0.13.2/bin/sbt\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_builder_node_Node_js_v0_10_28=/home/bamboo/node-v0.10.28/bin/node\nbamboo_planRepository_revision=30fef24e7566a682b2796f8b10b8843baa55bba3\nbamboo_repository_previous_revision_number=3705a7cdcb2ad236ea49479e1ee7c20ea32c1f21\nbamboo_buildTimeStamp=2017-07-18T13:25:26.314-05:00\nbamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm\nbamboo_planRepository_previousRevision=3705a7cdcb2ad236ea49479e1ee7c20ea32c1f21\nbamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1\nbamboo_buildResultKey=CATS-PYC26-JOB1-24\nbamboo_repository_git_branch=geostreams\nbamboo_repository_branch_name=geostreams\nbamboo_buildPlanName=Clowder - pyclowder2 - geostreams - Default Job\nbamboo_planRepository_1_revision=30fef24e7566a682b2796f8b10b8843baa55bba3\nbamboo_capability_system_builder_command_python3=/usr/bin/python3\nbamboo_repository_name=pyclowder2\nbamboo_repository_127172662_git_username=\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_capability_system_builder_command_grunt=/home/bamboo/node-v0.10.28/bin/grunt\nbamboo_planRepository_branch=geostreams\nbamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=3705a7cdcb2ad236ea49479e1ee7c20ea32c1f21\nbamboo_repository_git_username=\nbamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13\nbamboo_planRepository_branchDisplayName=geostreams\nbamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=geostreams\nbamboo_capability_system_builder_command_python2_7=/usr/bin/python2.7\nbamboo_capability_system_hostname=buildserver-1\nbamboo_capability_system_jdk_JDK=/home/bamboo/jdk1.8.0_66\nbamboo_capability_system_software_mongo=/usr/bin/mongo\nbamboo_plan_storageTag=plan-126976103\nbamboo_capability_system_software_rabbitmq=/usr/sbin/rabbitmqctl\nbamboo_capability_system_builder_command_casperjs=/home/bamboo/node-v0.10.28/bin/casperjs\nbamboo_planRepository_type=bbserver\nbamboo_planRepository_1_username=\nbamboo_capability_system_jdk_JDK_1_8_0_66=/home/bamboo/jdk1.8.0_66\nbamboo_repository_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git\nbamboo_capability_system_builder_node_Node_js=/home/bamboo/node-v0.10.28/bin/node\nbamboo_capability_system_builder_ant_Ant=/home/bamboo/apache-ant-1.9.4\nbamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/apache-maven-3.3.9\nbamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1\nbamboo_planKey=CATS-PYC26\nbamboo_planRepository_1_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/home/bamboo/jdk1.8.0_66\nbamboo_capability_system_jdk_JDK_1_6=/home/bamboo/jdk1.6.0_41\nbamboo_capability_system_builder_command_mkcrx=/home/bamboo/mkcrx/mkcrx.sh\nbamboo_capability_system_jdk_JDK_1_7=/home/bamboo/jdk1.7.0_60\nbamboo_planRepository_1_branchName=geostreams\n build 18-Jul-2017 13:25:27 New python executable in /tmp/virtualenv/pyclowder2/bin/python2 build 18-Jul-2017 13:25:27 Also creating executable in /tmp/virtualenv/pyclowder2/bin/python build 18-Jul-2017 13:25:29 Installing setuptools, pkg_resources, pip, wheel...done. build 18-Jul-2017 13:25:29 Running virtualenv with interpreter /usr/bin/python2 build 18-Jul-2017 13:25:29 Collecting enum34==1.1.6 (from -r requirements.txt (line 1)) build 18-Jul-2017 13:25:30 Using cached enum34-1.1.6-py2-none-any.whl build 18-Jul-2017 13:25:30 Collecting et-xmlfile==1.0.1 (from -r requirements.txt (line 2)) build 18-Jul-2017 13:25:30 Collecting jdcal==1.3 (from -r requirements.txt (line 3)) build 18-Jul-2017 13:25:30 Collecting openpyxl==2.4.1 (from -r requirements.txt (line 4)) build 18-Jul-2017 13:25:30 Collecting pika==0.10.0 (from -r requirements.txt (line 5)) build 18-Jul-2017 13:25:30 Using cached pika-0.10.0-py2.py3-none-any.whl build 18-Jul-2017 13:25:30 Collecting python-dateutil==2.6.0 (from -r requirements.txt (line 6)) build 18-Jul-2017 13:25:30 Using cached python_dateutil-2.6.0-py2.py3-none-any.whl build 18-Jul-2017 13:25:30 Collecting pytz==2016.10 (from -r requirements.txt (line 7)) build 18-Jul-2017 13:25:30 Using cached pytz-2016.10-py2.py3-none-any.whl build 18-Jul-2017 13:25:30 Collecting PyYAML==3.11 (from -r requirements.txt (line 8)) build 18-Jul-2017 13:25:30 Collecting requests==2.10.0 (from -r requirements.txt (line 9)) build 18-Jul-2017 13:25:30 Using cached requests-2.10.0-py2.py3-none-any.whl build 18-Jul-2017 13:25:30 Collecting six==1.10.0 (from -r requirements.txt (line 10)) build 18-Jul-2017 13:25:30 Using cached six-1.10.0-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting wheel==0.24.0 (from -r requirements.txt (line 11)) build 18-Jul-2017 13:25:31 Using cached wheel-0.24.0-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting pytest==3.0.3 (from -r requirements.txt (line 12)) build 18-Jul-2017 13:25:31 Using cached pytest-3.0.3-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 13)) build 18-Jul-2017 13:25:31 Collecting pytest-capturelog==0.7 (from -r requirements.txt (line 14)) build 18-Jul-2017 13:25:31 Collecting urllib3==1.14 (from -r requirements.txt (line 15)) build 18-Jul-2017 13:25:31 Using cached urllib3-1.14-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 12)) build 18-Jul-2017 13:25:31 Using cached py-1.4.34-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 13)) build 18-Jul-2017 13:25:31 Using cached pep8-1.7.0-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 13)) build 18-Jul-2017 13:25:31 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 13)) build 18-Jul-2017 13:25:31 Using cached execnet-1.4.1-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 13)) build 18-Jul-2017 13:25:31 Using cached apipkg-1.4-py2.py3-none-any.whl build 18-Jul-2017 13:25:31 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 build 18-Jul-2017 13:25:32 Found existing installation: wheel 0.30.0a0 build 18-Jul-2017 13:25:32 Uninstalling wheel-0.30.0a0: build 18-Jul-2017 13:25:32 Successfully uninstalled wheel-0.30.0a0 build 18-Jul-2017 13:25:32 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 build 18-Jul-2017 13:25:33 ============================= test session starts ============================== build 18-Jul-2017 13:25:33 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0 build 18-Jul-2017 13:25:33 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1, inifile: setup.cfg build 18-Jul-2017 13:25:33 plugins: pep8-1.0.6, capturelog-0.7 build 18-Jul-2017 13:25:33 collected 40 items build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 setup.py . build 18-Jul-2017 13:25:33 docs/source/conf.py F build 18-Jul-2017 13:25:33 pyclowder/__init__.py . build 18-Jul-2017 13:25:33 pyclowder/client.py F build 18-Jul-2017 13:25:33 pyclowder/collections.py . build 18-Jul-2017 13:25:33 pyclowder/connectors.py . build 18-Jul-2017 13:25:33 pyclowder/datasets.py . build 18-Jul-2017 13:25:33 pyclowder/extractors.py . build 18-Jul-2017 13:25:33 pyclowder/files.py . build 18-Jul-2017 13:25:33 pyclowder/sections.py . build 18-Jul-2017 13:25:33 pyclowder/utils.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/__init__.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/cache.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/csv.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/datapoints.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/datasets.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/geocode-convert.py F build 18-Jul-2017 13:25:33 pyclowder/geostreams/geocode_convert.py F build 18-Jul-2017 13:25:33 pyclowder/geostreams/map_names.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/sensors.py F build 18-Jul-2017 13:25:33 pyclowder/geostreams/streams.py . build 18-Jul-2017 13:25:33 pyclowder/geostreams/time_transformers.py . build 18-Jul-2017 13:25:33 sample-extractors/echo/echo.py . build 18-Jul-2017 13:25:33 sample-extractors/wordcount/wordcount.py . build 18-Jul-2017 13:25:33 tests/__init__.py . build 18-Jul-2017 13:25:33 tests/conftest.py F build 18-Jul-2017 13:25:33 tests/test_datapoints.py FF build 18-Jul-2017 13:25:33 tests/test_geostreams.py .FFF build 18-Jul-2017 13:25:33 tests/test_sensors.py .FFF build 18-Jul-2017 13:25:33 tests/test_streams.py FFFF build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/test-reports/results.xml build 18-Jul-2017 13:25:33 =================================== FAILURES =================================== build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:34:5: E128 continuation line under-indented for visual indent build 18-Jul-2017 13:25:33 'sphinx.ext.doctest', build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:35:5: E128 continuation line under-indented for visual indent build 18-Jul-2017 13:25:33 'sphinx.ext.viewcode', build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:36:5: E128 continuation line under-indented for visual indent build 18-Jul-2017 13:25:33 'sphinx.ext.githubpages'] build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/docs/source/conf.py:159:1: W391 blank line at end of file build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:145:121: E501 line too long (137 > 120 characters) build 18-Jul-2017 13:25:33 return requests.post(url, params=params, data=json.dumps(content), headers=self.headers, auth=(self.username, self.password)) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/client.py:163:121: E501 line too long (127 > 120 characters) build 18-Jul-2017 13:25:33 return requests.post(url, params=params, files={"File": open(filename, 'rb')}, auth=(self.username, self.password)) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:5:1: E302 expected 2 blank lines, found 1 build 18-Jul-2017 13:25:33 def dms2dec(dms): build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:33: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:35: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:53: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:55: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:73: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:75: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:104: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:106: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:121: E501 line too long (157 > 120 characters) build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:124: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:126: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:144: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:8:146: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 dec = 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])) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode-convert.py:10:15: W292 no newline at end of file build 18-Jul-2017 13:25:33 return dec build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:6:1: E302 expected 2 blank lines, found 0 build 18-Jul-2017 13:25:33 def dms2dec(dms): build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:38: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:40: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:58: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:60: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:78: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:80: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:109: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:111: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:121: E501 line too long (175 > 120 characters) build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:129: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:131: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:149: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:7:151: E251 unexpected spaces around keyword / parameter equals build 18-Jul-2017 13:25:33 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()) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/geocode_convert.py:9:26: E231 missing whitespace after ',' build 18-Jul-2017 13:25:33 return [float(dec[0]),float(dec[1])] build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/pyclowder/geostreams/sensors.py:69:12: E111 indentation is not a multiple of four build 18-Jul-2017 13:25:33 return self.client.post("/geostreams/sensors", sensor) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/conftest.py:14:1: E302 expected 2 blank lines, found 1 build 18-Jul-2017 13:25:33 @pytest.fixture(scope="module") build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_datapoints.py:11:39: W292 no newline at end of file build 18-Jul-2017 13:25:33 assert response.status_code != 200 build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 _____________________ test_datapoints_count_by_sensor_get ______________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_datapoints_count_by_sensor_get(caplog, host, key): build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 client = DatapointsApi(host=host, key=key) build 18-Jul-2017 13:25:33 response = client.datapoints_count_by_sensor_get(950) build 18-Jul-2017 13:25:33 > sensors = response.text build 18-Jul-2017 13:25:33 E AttributeError: 'NoneType' object has no attribute 'text' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_datapoints.py:9: AttributeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 datapoints.py 41 DEBUG Counting datapoints by sensor build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 datapoints.py 45 ERROR Error counting datapoints by sensor 950: not enough arguments for format string build 18-Jul-2017 13:25:33 _________________________________ test_version _________________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_version(caplog, host, key): build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 client = ClowderClient(host=host, key=key) build 18-Jul-2017 13:25:33 > version = client.version() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_geostreams.py:10: build 18-Jul-2017 13:25:33 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 18-Jul-2017 13:25:33 pyclowder/client.py:46: in version build 18-Jul-2017 13:25:33 r = requests.get(url) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:71: in get build 18-Jul-2017 13:25:33 return request('get', url, params=params, **kwargs) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:57: in request build 18-Jul-2017 13:25:33 return session.request(method=method, url=url, **kwargs) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:475: in request build 18-Jul-2017 13:25:33 resp = self.send(prep, **send_kwargs) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:585: in send build 18-Jul-2017 13:25:33 r = adapter.send(request, **kwargs) build 18-Jul-2017 13:25:33 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 self = build 18-Jul-2017 13:25:33 request = , stream = False build 18-Jul-2017 13:25:33 timeout = build 18-Jul-2017 13:25:33 verify = True, cert = None, proxies = OrderedDict() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None): build 18-Jul-2017 13:25:33 """Sends PreparedRequest object. Returns Response object. build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 :param request: The :class:`PreparedRequest ` being sent. build 18-Jul-2017 13:25:33 :param stream: (optional) Whether to stream the request content. build 18-Jul-2017 13:25:33 :param timeout: (optional) How long to wait for the server to send build 18-Jul-2017 13:25:33 data before giving up, as a float, or a :ref:`(connect timeout, build 18-Jul-2017 13:25:33 read timeout) ` tuple. build 18-Jul-2017 13:25:33 :type timeout: float or tuple build 18-Jul-2017 13:25:33 :param verify: (optional) Whether to verify SSL certificates. build 18-Jul-2017 13:25:33 :param cert: (optional) Any user-provided SSL certificate to be trusted. build 18-Jul-2017 13:25:33 :param proxies: (optional) The proxies dictionary to apply to the request. build 18-Jul-2017 13:25:33 """ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 conn = self.get_connection(request.url, proxies) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 self.cert_verify(conn, request.url, verify, cert) build 18-Jul-2017 13:25:33 url = self.request_url(request, proxies) build 18-Jul-2017 13:25:33 self.add_headers(request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 chunked = not (request.body is None or 'Content-Length' in request.headers) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 if isinstance(timeout, tuple): build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 connect, read = timeout build 18-Jul-2017 13:25:33 timeout = TimeoutSauce(connect=connect, read=read) build 18-Jul-2017 13:25:33 except ValueError as e: build 18-Jul-2017 13:25:33 # this may raise a string formatting error. build 18-Jul-2017 13:25:33 err = ("Invalid timeout {0}. Pass a (connect, read) " build 18-Jul-2017 13:25:33 "timeout tuple, or a single float to set " build 18-Jul-2017 13:25:33 "both timeouts to the same value".format(timeout)) build 18-Jul-2017 13:25:33 raise ValueError(err) build 18-Jul-2017 13:25:33 else: build 18-Jul-2017 13:25:33 timeout = TimeoutSauce(connect=timeout, read=timeout) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 if not chunked: build 18-Jul-2017 13:25:33 resp = conn.urlopen( build 18-Jul-2017 13:25:33 method=request.method, build 18-Jul-2017 13:25:33 url=url, build 18-Jul-2017 13:25:33 body=request.body, build 18-Jul-2017 13:25:33 headers=request.headers, build 18-Jul-2017 13:25:33 redirect=False, build 18-Jul-2017 13:25:33 assert_same_host=False, build 18-Jul-2017 13:25:33 preload_content=False, build 18-Jul-2017 13:25:33 decode_content=False, build 18-Jul-2017 13:25:33 retries=self.max_retries, build 18-Jul-2017 13:25:33 timeout=timeout build 18-Jul-2017 13:25:33 ) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 # Send the request. build 18-Jul-2017 13:25:33 else: build 18-Jul-2017 13:25:33 if hasattr(conn, 'proxy_pool'): build 18-Jul-2017 13:25:33 conn = conn.proxy_pool build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 low_conn.putrequest(request.method, build 18-Jul-2017 13:25:33 url, build 18-Jul-2017 13:25:33 skip_accept_encoding=True) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 for header, value in request.headers.items(): build 18-Jul-2017 13:25:33 low_conn.putheader(header, value) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 low_conn.endheaders() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 for i in request.body: build 18-Jul-2017 13:25:33 low_conn.send(hex(len(i))[2:].encode('utf-8')) build 18-Jul-2017 13:25:33 low_conn.send(b'\r\n') build 18-Jul-2017 13:25:33 low_conn.send(i) build 18-Jul-2017 13:25:33 low_conn.send(b'\r\n') build 18-Jul-2017 13:25:33 low_conn.send(b'0\r\n\r\n') build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 # Receive the response from the server build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 # For Python 2.7+ versions, use buffering of HTTP build 18-Jul-2017 13:25:33 # responses build 18-Jul-2017 13:25:33 r = low_conn.getresponse(buffering=True) build 18-Jul-2017 13:25:33 except TypeError: build 18-Jul-2017 13:25:33 # For compatibility with Python 2.6 versions and back build 18-Jul-2017 13:25:33 r = low_conn.getresponse() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 resp = HTTPResponse.from_httplib( build 18-Jul-2017 13:25:33 r, build 18-Jul-2017 13:25:33 pool=conn, build 18-Jul-2017 13:25:33 connection=low_conn, build 18-Jul-2017 13:25:33 preload_content=False, build 18-Jul-2017 13:25:33 decode_content=False build 18-Jul-2017 13:25:33 ) build 18-Jul-2017 13:25:33 except: build 18-Jul-2017 13:25:33 # If we hit any problems here, clean up the connection. build 18-Jul-2017 13:25:33 # Then, reraise so that we can handle the actual exception. build 18-Jul-2017 13:25:33 low_conn.close() build 18-Jul-2017 13:25:33 raise build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 except (ProtocolError, socket.error) as err: build 18-Jul-2017 13:25:33 raise ConnectionError(err, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 except MaxRetryError as e: build 18-Jul-2017 13:25:33 if isinstance(e.reason, ConnectTimeoutError): build 18-Jul-2017 13:25:33 # TODO: Remove this in 3.0.0: see #2811 build 18-Jul-2017 13:25:33 if not isinstance(e.reason, NewConnectionError): build 18-Jul-2017 13:25:33 raise ConnectTimeout(e, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 if isinstance(e.reason, ResponseError): build 18-Jul-2017 13:25:33 raise RetryError(e, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 if isinstance(e.reason, _ProxyError): build 18-Jul-2017 13:25:33 raise ProxyError(e, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 > raise ConnectionError(e, request=request) build 18-Jul-2017 13:25:33 E ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/api/version (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/adapters.py:467: ConnectionError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 client.py 45 DEBUG GET http://localhost:9000/clowder/api/version build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 _______________________________ test_get_sensors _______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_get_sensors(caplog, host, key): build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 client = SensorsApi(host=host, key=key) build 18-Jul-2017 13:25:33 response = client.sensors_get() build 18-Jul-2017 13:25:33 > sensors = response.json() build 18-Jul-2017 13:25:33 E AttributeError: 'NoneType' object has no attribute 'json' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_geostreams.py:19: AttributeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 sensors.py 27 DEBUG Getting all sensors build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 sensors.py 31 ERROR Error retrieving sensor list: not enough arguments for format string build 18-Jul-2017 13:25:33 ____________________________ test_raise_for_status _____________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_raise_for_status(caplog, host, key): build 18-Jul-2017 13:25:33 client = ClowderClient(host=host, key=key) build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 > client.get_json("this_path_does_not_exist") build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_geostreams.py:27: build 18-Jul-2017 13:25:33 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 18-Jul-2017 13:25:33 pyclowder/client.py:68: in get_json build 18-Jul-2017 13:25:33 r = requests.get(url, headers=self.headers) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:71: in get build 18-Jul-2017 13:25:33 return request('get', url, params=params, **kwargs) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/api.py:57: in request build 18-Jul-2017 13:25:33 return session.request(method=method, url=url, **kwargs) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:475: in request build 18-Jul-2017 13:25:33 resp = self.send(prep, **send_kwargs) build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/sessions.py:585: in send build 18-Jul-2017 13:25:33 r = adapter.send(request, **kwargs) build 18-Jul-2017 13:25:33 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 self = build 18-Jul-2017 13:25:33 request = , stream = False build 18-Jul-2017 13:25:33 timeout = build 18-Jul-2017 13:25:33 verify = True, cert = None, proxies = OrderedDict() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None): build 18-Jul-2017 13:25:33 """Sends PreparedRequest object. Returns Response object. build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 :param request: The :class:`PreparedRequest ` being sent. build 18-Jul-2017 13:25:33 :param stream: (optional) Whether to stream the request content. build 18-Jul-2017 13:25:33 :param timeout: (optional) How long to wait for the server to send build 18-Jul-2017 13:25:33 data before giving up, as a float, or a :ref:`(connect timeout, build 18-Jul-2017 13:25:33 read timeout) ` tuple. build 18-Jul-2017 13:25:33 :type timeout: float or tuple build 18-Jul-2017 13:25:33 :param verify: (optional) Whether to verify SSL certificates. build 18-Jul-2017 13:25:33 :param cert: (optional) Any user-provided SSL certificate to be trusted. build 18-Jul-2017 13:25:33 :param proxies: (optional) The proxies dictionary to apply to the request. build 18-Jul-2017 13:25:33 """ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 conn = self.get_connection(request.url, proxies) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 self.cert_verify(conn, request.url, verify, cert) build 18-Jul-2017 13:25:33 url = self.request_url(request, proxies) build 18-Jul-2017 13:25:33 self.add_headers(request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 chunked = not (request.body is None or 'Content-Length' in request.headers) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 if isinstance(timeout, tuple): build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 connect, read = timeout build 18-Jul-2017 13:25:33 timeout = TimeoutSauce(connect=connect, read=read) build 18-Jul-2017 13:25:33 except ValueError as e: build 18-Jul-2017 13:25:33 # this may raise a string formatting error. build 18-Jul-2017 13:25:33 err = ("Invalid timeout {0}. Pass a (connect, read) " build 18-Jul-2017 13:25:33 "timeout tuple, or a single float to set " build 18-Jul-2017 13:25:33 "both timeouts to the same value".format(timeout)) build 18-Jul-2017 13:25:33 raise ValueError(err) build 18-Jul-2017 13:25:33 else: build 18-Jul-2017 13:25:33 timeout = TimeoutSauce(connect=timeout, read=timeout) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 if not chunked: build 18-Jul-2017 13:25:33 resp = conn.urlopen( build 18-Jul-2017 13:25:33 method=request.method, build 18-Jul-2017 13:25:33 url=url, build 18-Jul-2017 13:25:33 body=request.body, build 18-Jul-2017 13:25:33 headers=request.headers, build 18-Jul-2017 13:25:33 redirect=False, build 18-Jul-2017 13:25:33 assert_same_host=False, build 18-Jul-2017 13:25:33 preload_content=False, build 18-Jul-2017 13:25:33 decode_content=False, build 18-Jul-2017 13:25:33 retries=self.max_retries, build 18-Jul-2017 13:25:33 timeout=timeout build 18-Jul-2017 13:25:33 ) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 # Send the request. build 18-Jul-2017 13:25:33 else: build 18-Jul-2017 13:25:33 if hasattr(conn, 'proxy_pool'): build 18-Jul-2017 13:25:33 conn = conn.proxy_pool build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 low_conn.putrequest(request.method, build 18-Jul-2017 13:25:33 url, build 18-Jul-2017 13:25:33 skip_accept_encoding=True) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 for header, value in request.headers.items(): build 18-Jul-2017 13:25:33 low_conn.putheader(header, value) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 low_conn.endheaders() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 for i in request.body: build 18-Jul-2017 13:25:33 low_conn.send(hex(len(i))[2:].encode('utf-8')) build 18-Jul-2017 13:25:33 low_conn.send(b'\r\n') build 18-Jul-2017 13:25:33 low_conn.send(i) build 18-Jul-2017 13:25:33 low_conn.send(b'\r\n') build 18-Jul-2017 13:25:33 low_conn.send(b'0\r\n\r\n') build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 # Receive the response from the server build 18-Jul-2017 13:25:33 try: build 18-Jul-2017 13:25:33 # For Python 2.7+ versions, use buffering of HTTP build 18-Jul-2017 13:25:33 # responses build 18-Jul-2017 13:25:33 r = low_conn.getresponse(buffering=True) build 18-Jul-2017 13:25:33 except TypeError: build 18-Jul-2017 13:25:33 # For compatibility with Python 2.6 versions and back build 18-Jul-2017 13:25:33 r = low_conn.getresponse() build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 resp = HTTPResponse.from_httplib( build 18-Jul-2017 13:25:33 r, build 18-Jul-2017 13:25:33 pool=conn, build 18-Jul-2017 13:25:33 connection=low_conn, build 18-Jul-2017 13:25:33 preload_content=False, build 18-Jul-2017 13:25:33 decode_content=False build 18-Jul-2017 13:25:33 ) build 18-Jul-2017 13:25:33 except: build 18-Jul-2017 13:25:33 # If we hit any problems here, clean up the connection. build 18-Jul-2017 13:25:33 # Then, reraise so that we can handle the actual exception. build 18-Jul-2017 13:25:33 low_conn.close() build 18-Jul-2017 13:25:33 raise build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 except (ProtocolError, socket.error) as err: build 18-Jul-2017 13:25:33 raise ConnectionError(err, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 except MaxRetryError as e: build 18-Jul-2017 13:25:33 if isinstance(e.reason, ConnectTimeoutError): build 18-Jul-2017 13:25:33 # TODO: Remove this in 3.0.0: see #2811 build 18-Jul-2017 13:25:33 if not isinstance(e.reason, NewConnectionError): build 18-Jul-2017 13:25:33 raise ConnectTimeout(e, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 if isinstance(e.reason, ResponseError): build 18-Jul-2017 13:25:33 raise RetryError(e, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 if isinstance(e.reason, _ProxyError): build 18-Jul-2017 13:25:33 raise ProxyError(e, request=request) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 > raise ConnectionError(e, request=request) build 18-Jul-2017 13:25:33 E ConnectionError: HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /clowder/apithis_path_does_not_exist (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/requests/adapters.py:467: ConnectionError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 ______________________________ test_sensors_post _______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_sensors_post(caplog, host, key): build 18-Jul-2017 13:25:33 global sensor_id build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 client = SensorsApi(host=host, key=key) build 18-Jul-2017 13:25:33 sensor_json = client.sensor_create_json("Test Sensor", 40.1149202, -88.2270582, 0, "", "ER") build 18-Jul-2017 13:25:33 response = client.sensor_post(sensor_json) build 18-Jul-2017 13:25:33 > body = response.json() build 18-Jul-2017 13:25:33 E AttributeError: 'NoneType' object has no attribute 'json' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_sensors.py:13: AttributeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 sensors.py 67 DEBUG Adding sensor build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 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(': Failed to establish a new connection: [Errno 111] Connection refused',)) build 18-Jul-2017 13:25:33 _______________________________ test_sensors_get _______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_sensors_get(caplog, host, key): build 18-Jul-2017 13:25:33 global sensor_id build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 client = SensorsApi(host=host, key=key) build 18-Jul-2017 13:25:33 response = client.sensor_get(sensor_id) build 18-Jul-2017 13:25:33 > sensor = response.json() build 18-Jul-2017 13:25:33 E AttributeError: 'NoneType' object has no attribute 'json' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_sensors.py:24: AttributeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 sensors.py 40 DEBUG Getting sensor build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 sensors.py 44 ERROR Error retrieving sensor : not enough arguments for format string build 18-Jul-2017 13:25:33 _____________________________ test_sensors_delete ______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_sensors_delete(caplog, host, key): build 18-Jul-2017 13:25:33 global sensor_id build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 client = SensorsApi(host=host, key=key) build 18-Jul-2017 13:25:33 response = client.sensor_delete(sensor_id) build 18-Jul-2017 13:25:33 > sensor = response.json() build 18-Jul-2017 13:25:33 E AttributeError: 'NoneType' object has no attribute 'json' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_sensors.py:34: AttributeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 sensors.py 101 DEBUG Deleting sensor build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 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(': Failed to establish a new connection: [Errno 111] Connection refused',)) build 18-Jul-2017 13:25:33 __________________________________ PEP8-check __________________________________ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:8:1: E302 expected 2 blank lines, found 1 build 18-Jul-2017 13:25:33 def test_streams_post(caplog, host, key): build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:20:24: W291 trailing whitespace build 18-Jul-2017 13:25:33 assert "id" in body build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1/tests/test_streams.py:39:54: W291 trailing whitespace build 18-Jul-2017 13:25:33 response = stream_client.stream_delete(stream_id) build 18-Jul-2017 13:25:33 ^ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 ______________________________ test_streams_post _______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_streams_post(caplog, host, key): build 18-Jul-2017 13:25:33 global sensor_id, stream_id build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 sensor_client = SensorsApi(host=host, key=key) build 18-Jul-2017 13:25:33 sensor_json = sensor_client.sensor_create_json("Test Sensor", 40.1149202, -88.2270582, 0, "", "ER") build 18-Jul-2017 13:25:33 sensor_body = sensor_client.sensor_post_json(sensor_json) build 18-Jul-2017 13:25:33 > sensor_id = sensor_body['id'] build 18-Jul-2017 13:25:33 E TypeError: 'NoneType' object has no attribute '__getitem__' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_streams.py:14: TypeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 sensors.py 80 DEBUG Adding or getting sensor build 18-Jul-2017 13:25:33 sensors.py 53 DEBUG Getting sensor Test Sensor build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 sensors.py 57 ERROR Error retrieving sensor Test Sensor: not enough arguments for format string build 18-Jul-2017 13:25:33 sensors.py 92 ERROR Error adding sensor Test Sensor: 'NoneType' object has no attribute 'json' build 18-Jul-2017 13:25:33 _______________________________ test_streams_get _______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_streams_get(caplog, host, key): build 18-Jul-2017 13:25:33 global sensor_id, stream_id build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 stream_client = StreamsApi(host=host, key=key) build 18-Jul-2017 13:25:33 > stream = stream_client.stream_get_by_name("Test Sensor") build 18-Jul-2017 13:25:33 E AttributeError: 'StreamsApi' object has no attribute 'stream_get_by_name' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_streams.py:27: AttributeError build 18-Jul-2017 13:25:33 _____________________________ test_streams_delete ______________________________ build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 caplog = build 18-Jul-2017 13:25:33 host = 'http://localhost:9000/clowder', key = 'r1ek3rs' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 def test_streams_delete(caplog, host, key): build 18-Jul-2017 13:25:33 global sensor_id, stream_id build 18-Jul-2017 13:25:33 caplog.setLevel(logging.DEBUG) build 18-Jul-2017 13:25:33 sensor_client = SensorsApi(host=host, key=key) build 18-Jul-2017 13:25:33 response = sensor_client.sensor_delete(sensor_id) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 stream_client = StreamsApi(host=host, key=key) build 18-Jul-2017 13:25:33 response = stream_client.stream_delete(stream_id) build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 > stream = response.json() build 18-Jul-2017 13:25:33 E AttributeError: 'NoneType' object has no attribute 'json' build 18-Jul-2017 13:25:33 build 18-Jul-2017 13:25:33 tests/test_streams.py:41: AttributeError build 18-Jul-2017 13:25:33 --------------------------------- Captured log --------------------------------- build 18-Jul-2017 13:25:33 sensors.py 101 DEBUG Deleting sensor build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 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(': Failed to establish a new connection: [Errno 111] Connection refused',)) build 18-Jul-2017 13:25:33 streams.py 90 DEBUG Deleting stream build 18-Jul-2017 13:25:33 connectionpool.py 213 INFO Starting new HTTP connection (1): localhost build 18-Jul-2017 13:25:33 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(': Failed to establish a new connection: [Errno 111] Connection refused',)) build 18-Jul-2017 13:25:33 ============================ pytest-warning summary ============================ build 18-Jul-2017 13:25:33 WI1 /tmp/virtualenv/pyclowder2/local/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument build 18-Jul-2017 13:25:33 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. build 18-Jul-2017 13:25:33 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. build 18-Jul-2017 13:25:33 =========== 18 failed, 22 passed, 3 pytest-warnings in 0.60 seconds ============ simple 18-Jul-2017 13:25:33 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/CATS-PYC26-JOB1-24-ScriptBuildTask-6980825388456409895.sh] was 1 while expected 0 simple 18-Jul-2017 13:25:33 Finished task 'pytest' with result: Failed simple 18-Jul-2017 13:25:33 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 18-Jul-2017 13:25:33 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC26-JOB1... simple 18-Jul-2017 13:25:33 Failing task since 18 failing test cases were found. simple 18-Jul-2017 13:25:33 Finished task 'test results' with result: Failed simple 18-Jul-2017 13:25:33 Running post build plugin 'Docker Container Cleanup' simple 18-Jul-2017 13:25:33 Running post build plugin 'NCover Results Collector' simple 18-Jul-2017 13:25:33 Running post build plugin 'Clover Results Collector' simple 18-Jul-2017 13:25:33 Running post build plugin 'npm Cache Cleanup' simple 18-Jul-2017 13:25:33 Running post build plugin 'Artifact Copier' simple 18-Jul-2017 13:25:33 Finalising the build... simple 18-Jul-2017 13:25:33 Stopping timer. simple 18-Jul-2017 13:25:33 Build CATS-PYC26-JOB1-24 completed. simple 18-Jul-2017 13:25:33 Running on server: post build plugin 'NCover Results Collector' simple 18-Jul-2017 13:25:33 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 18-Jul-2017 13:25:33 Running on server: post build plugin 'Clover Delta Calculator' simple 18-Jul-2017 13:25:33 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 18-Jul-2017 13:25:33 All post build plugins have finished simple 18-Jul-2017 13:25:33 Generating build results summary... simple 18-Jul-2017 13:25:33 Saving build results to disk... simple 18-Jul-2017 13:25:33 Logging substituted variables... simple 18-Jul-2017 13:25:33 Indexing build results... simple 18-Jul-2017 13:25:34 Finished building CATS-PYC26-JOB1-24.