simple 09-Sep-2017 17:30:06 Build Clowder - pyclowder2 - CATS-784-python3-compatible - Default Job #2 (CATS-PYC248-JOB1-2) started building on agent buildserver-3.os.ncsa.edu simple 09-Sep-2017 17:30:06 Remote agent on host buildserver-3.os.ncsa.edu simple 09-Sep-2017 17:30:06 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1 simple 09-Sep-2017 17:30:06 Executing build Clowder - pyclowder2 - CATS-784-python3-compatible - Default Job #2 (CATS-PYC248-JOB1-2) simple 09-Sep-2017 17:30:06 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 09-Sep-2017 17:30:06 Updating source code to revision: 68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065 simple 09-Sep-2017 17:30:38 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/.git'. simple 09-Sep-2017 17:30:38 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/.git/ simple 09-Sep-2017 17:30:39 Fetching 'refs/heads/CATS-784-python3-compatible' from 'ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git'. Will try to do a shallow fetch. simple 09-Sep-2017 17:30:39 Warning: Permanently added '[127.0.0.1]:42174' (RSA) to the list of known hosts. simple 09-Sep-2017 17:30:39 From ssh://127.0.0.1:42174/cats/pyclowder2 simple 09-Sep-2017 17:30:39 * [new branch] CATS-784-python3-compatible -> CATS-784-python3-compatible simple 09-Sep-2017 17:30:39 Checking out revision 68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065. simple 09-Sep-2017 17:30:39 Switched to branch 'CATS-784-python3-compatible' simple 09-Sep-2017 17:30:39 Updated source code to revision: 68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065 simple 09-Sep-2017 17:30:39 Finished task 'Checkout Default Repository' with result: Success simple 09-Sep-2017 17:30:39 Running pre-build action: VCS Version Collector simple 09-Sep-2017 17:30:39 Starting task 'pytest' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 09-Sep-2017 17:30:39 Beginning to execute external process for build 'Clowder - pyclowder2 - CATS-784-python3-compatible - Default Job #2 (CATS-PYC248-JOB1-2)'\n ... running command line: \n/home/bamboo/bamboo-agent-home/temp/CATS-PYC248-JOB1-2-ScriptBuildTask-5528726749916569130.sh\n ... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=CATS-784-python3-compatible\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=CATS-784-python3-compatible\nbamboo_repository_revision_number=68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC248-JOB1-2\nbamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build\nbamboo_planRepository_1_name=pyclowder2\nbamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1\nbamboo_buildKey=CATS-PYC248-JOB1\nbamboo_capability_system_os=linux\nbamboo_shortPlanName=CATS-784-python3-compatible\nbamboo_repository_148209759_previous_revision_number=ef3ff64803d13a9f87616673965d3087f9acb04b\nbamboo_repository_148209759_git_username=\nbamboo_repository_148209759_revision_number=68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065\nbamboo_planRepository_name=pyclowder2\nbamboo_buildNumber=2\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC248-JOB1-2\nbamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git\nbamboo_agentId=143032321\nbamboo_planName=Clowder - pyclowder2 - CATS-784-python3-compatible\nbamboo_shortPlanKey=PYC248\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=68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065\nbamboo_repository_previous_revision_number=ef3ff64803d13a9f87616673965d3087f9acb04b\nbamboo_buildTimeStamp=2017-09-09T17:30:06.477-05:00\nbamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm\nbamboo_planRepository_previousRevision=ef3ff64803d13a9f87616673965d3087f9acb04b\nbamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1\nbamboo_repository_148209759_name=pyclowder2\nbamboo_buildResultKey=CATS-PYC248-JOB1-2\nbamboo_repository_git_branch=CATS-784-python3-compatible\nbamboo_repository_branch_name=CATS-784-python3-compatible\nbamboo_buildPlanName=Clowder - pyclowder2 - CATS-784-python3-compatible - Default Job\nbamboo_repository_148209759_git_branch=CATS-784-python3-compatible\nbamboo_planRepository_1_revision=68e7f70bc1fc9865fe32c36cb9a2b9528bbf5065\nbamboo_capability_system_builder_command_python3=/usr/bin/python3\nbamboo_repository_name=pyclowder2\nbamboo_repository_148209759_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git\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=CATS-784-python3-compatible\nbamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=ef3ff64803d13a9f87616673965d3087f9acb04b\nbamboo_repository_git_username=\nbamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13\nbamboo_planRepository_branchDisplayName=CATS-784-python3-compatible\nbamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=CATS-784-python3-compatible\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-148013243\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-PYC248-JOB1\nbamboo_planKey=CATS-PYC248\nbamboo_repository_148209759_branch_name=CATS-784-python3-compatible\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=CATS-784-python3-compatible\n build 09-Sep-2017 17:30:40 New python executable in /tmp/virtualenv/pyclowder2/bin/python2 build 09-Sep-2017 17:30:40 Also creating executable in /tmp/virtualenv/pyclowder2/bin/python build 09-Sep-2017 17:30:43 Installing setuptools, pkg_resources, pip, wheel...done. build 09-Sep-2017 17:30:43 Running virtualenv with interpreter /usr/bin/python2 build 09-Sep-2017 17:30:44 Collecting enum34==1.1.6 (from -r requirements.txt (line 1)) build 09-Sep-2017 17:30:44 Using cached enum34-1.1.6-py2-none-any.whl build 09-Sep-2017 17:30:44 Collecting pika==0.10.0 (from -r requirements.txt (line 2)) build 09-Sep-2017 17:30:44 Using cached pika-0.10.0-py2.py3-none-any.whl build 09-Sep-2017 17:30:44 Collecting PyYAML==3.11 (from -r requirements.txt (line 3)) build 09-Sep-2017 17:30:44 Collecting requests==2.10.0 (from -r requirements.txt (line 4)) build 09-Sep-2017 17:30:44 Using cached requests-2.10.0-py2.py3-none-any.whl build 09-Sep-2017 17:30:44 Collecting wheel==0.24.0 (from -r requirements.txt (line 5)) build 09-Sep-2017 17:30:44 Using cached wheel-0.24.0-py2.py3-none-any.whl build 09-Sep-2017 17:30:44 Collecting pytest==3.0.3 (from -r requirements.txt (line 6)) build 09-Sep-2017 17:30:44 Using cached pytest-3.0.3-py2.py3-none-any.whl build 09-Sep-2017 17:30:44 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 7)) build 09-Sep-2017 17:30:44 Collecting urllib3==1.14 (from -r requirements.txt (line 8)) build 09-Sep-2017 17:30:44 Using cached urllib3-1.14-py2.py3-none-any.whl build 09-Sep-2017 17:30:45 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 6)) build 09-Sep-2017 17:30:45 Using cached py-1.4.34-py2.py3-none-any.whl build 09-Sep-2017 17:30:45 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 7)) build 09-Sep-2017 17:30:45 Using cached pep8-1.7.0-py2.py3-none-any.whl build 09-Sep-2017 17:30:45 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 7)) build 09-Sep-2017 17:30:45 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 7)) build 09-Sep-2017 17:30:45 Using cached execnet-1.4.1-py2.py3-none-any.whl build 09-Sep-2017 17:30:45 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 7)) build 09-Sep-2017 17:30:45 Using cached apipkg-1.4-py2.py3-none-any.whl build 09-Sep-2017 17:30:45 Installing collected packages: enum34, pika, PyYAML, requests, wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8, urllib3 build 09-Sep-2017 17:30:45 Found existing installation: wheel 0.30.0a0 build 09-Sep-2017 17:30:45 Uninstalling wheel-0.30.0a0: build 09-Sep-2017 17:30:45 Successfully uninstalled wheel-0.30.0a0 build 09-Sep-2017 17:30:45 Successfully installed PyYAML-3.11 apipkg-1.4 enum34-1.1.6 execnet-1.4.1 pep8-1.7.0 pika-0.10.0 py-1.4.34 pytest-3.0.3 pytest-cache-1.0 pytest-pep8-1.0.6 requests-2.10.0 urllib3-1.14 wheel-0.24.0 build 09-Sep-2017 17:30:46 ============================= test session starts ============================== build 09-Sep-2017 17:30:46 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0 build 09-Sep-2017 17:30:46 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1, inifile: setup.cfg build 09-Sep-2017 17:30:46 plugins: pep8-1.0.6 build 09-Sep-2017 17:30:46 collected 12 items build 09-Sep-2017 17:30:46 build 09-Sep-2017 17:30:46 setup.py . build 09-Sep-2017 17:30:46 pyclowder/__init__.py . build 09-Sep-2017 17:30:46 pyclowder/collections.py . build 09-Sep-2017 17:30:46 pyclowder/connectors.py . build 09-Sep-2017 17:30:46 pyclowder/datasets.py . build 09-Sep-2017 17:30:46 pyclowder/extractors.py F build 09-Sep-2017 17:30:46 pyclowder/files.py . build 09-Sep-2017 17:30:46 pyclowder/geostreams.py . build 09-Sep-2017 17:30:46 pyclowder/sections.py . build 09-Sep-2017 17:30:46 pyclowder/utils.py . build 09-Sep-2017 17:30:46 sample-extractors/echo/echo.py . build 09-Sep-2017 17:30:46 sample-extractors/wordcount/wordcount.py . build 09-Sep-2017 17:30:46 build 09-Sep-2017 17:30:46 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/test-reports/results.xml build 09-Sep-2017 17:30:46 =================================== FAILURES =================================== build 09-Sep-2017 17:30:46 __________________________________ PEP8-check __________________________________ build 09-Sep-2017 17:30:46 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/pyclowder/extractors.py:87:37: E128 continuation line under-indented for visual indent build 09-Sep-2017 17:30:46 default=None, action='append', build 09-Sep-2017 17:30:46 ^ build 09-Sep-2017 17:30:46 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/pyclowder/extractors.py:88:37: E128 continuation line under-indented for visual indent build 09-Sep-2017 17:30:46 help='pickle file that needs to be processed (only needed for HPC)') build 09-Sep-2017 17:30:46 ^ build 09-Sep-2017 17:30:46 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/pyclowder/extractors.py:91:37: E128 continuation line under-indented for visual indent build 09-Sep-2017 17:30:46 default=None, action='append', build 09-Sep-2017 17:30:46 ^ build 09-Sep-2017 17:30:46 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/pyclowder/extractors.py:92:37: E128 continuation line under-indented for visual indent build 09-Sep-2017 17:30:46 help='pickle file that needs to be processed (only needed for HPC)') build 09-Sep-2017 17:30:46 ^ build 09-Sep-2017 17:30:46 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1/pyclowder/extractors.py:143:44: E272 multiple spaces before keyword build 09-Sep-2017 17:30:46 if not self.args.nobind and sys.version_info.major == 2: build 09-Sep-2017 17:30:46 ^ build 09-Sep-2017 17:30:46 build 09-Sep-2017 17:30:46 ===================== 1 failed, 11 passed in 0.24 seconds ====================== simple 09-Sep-2017 17:30:46 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/CATS-PYC248-JOB1-2-ScriptBuildTask-5528726749916569130.sh] was 1 while expected 0 simple 09-Sep-2017 17:30:46 Finished task 'pytest' with result: Failed simple 09-Sep-2017 17:30:46 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 09-Sep-2017 17:30:46 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC248-JOB1... simple 09-Sep-2017 17:30:46 Failing task since 1 failing test cases were found. simple 09-Sep-2017 17:30:46 Finished task 'test results' with result: Failed simple 09-Sep-2017 17:30:46 Running post build plugin 'Docker Container Cleanup' simple 09-Sep-2017 17:30:46 Running post build plugin 'NCover Results Collector' simple 09-Sep-2017 17:30:46 Running post build plugin 'Clover Results Collector' simple 09-Sep-2017 17:30:46 Running post build plugin 'npm Cache Cleanup' simple 09-Sep-2017 17:30:46 Running post build plugin 'Artifact Copier' simple 09-Sep-2017 17:30:46 Finalising the build... simple 09-Sep-2017 17:30:46 Stopping timer. simple 09-Sep-2017 17:30:46 Build CATS-PYC248-JOB1-2 completed. simple 09-Sep-2017 17:30:46 Running on server: post build plugin 'NCover Results Collector' simple 09-Sep-2017 17:30:46 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 09-Sep-2017 17:30:46 Running on server: post build plugin 'Clover Delta Calculator' simple 09-Sep-2017 17:30:46 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 09-Sep-2017 17:30:46 All post build plugins have finished simple 09-Sep-2017 17:30:46 Generating build results summary... simple 09-Sep-2017 17:30:46 Saving build results to disk... simple 09-Sep-2017 17:30:46 Logging substituted variables... simple 09-Sep-2017 17:30:46 Indexing build results... simple 09-Sep-2017 17:30:46 Finished building CATS-PYC248-JOB1-2.