Next Generation of pyClowder

Build: #1 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

23-Jul-2018 16:15:20 Build Clowder - pyclowder2 - boxhack - Default Job #1 (CATS-PYC280-JOB1-1) started building on agent buildserver-3.os.ncsa.edu
23-Jul-2018 16:15:20 Remote agent on host buildserver-3.os.ncsa.edu
23-Jul-2018 16:15:20 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1
23-Jul-2018 16:15:20 Executing build Clowder - pyclowder2 - boxhack - Default Job #1 (CATS-PYC280-JOB1-1)
23-Jul-2018 16:15:20 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
23-Jul-2018 16:15:20 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1
23-Jul-2018 16:15:20 Updating source code to revision: e0c65f933fdc8177d8ca154223527a6590eb6d12
23-Jul-2018 16:15:20 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/.git'.
23-Jul-2018 16:15:20 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/.git/
23-Jul-2018 16:15:20 Fetching 'refs/heads/boxhack' from 'ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git'. Will try to do a shallow fetch.
23-Jul-2018 16:15:20 Warning: Permanently added '[127.0.0.1]:38003' (RSA) to the list of known hosts.
23-Jul-2018 16:15:20 From ssh://127.0.0.1:38003/cats/pyclowder2
23-Jul-2018 16:15:20 * [new branch]      boxhack    -> boxhack
23-Jul-2018 16:15:20 Checking out revision e0c65f933fdc8177d8ca154223527a6590eb6d12.
23-Jul-2018 16:15:21 Switched to branch 'boxhack'
23-Jul-2018 16:15:21 Updated source code to revision: e0c65f933fdc8177d8ca154223527a6590eb6d12
23-Jul-2018 16:15:21 Finished task 'Checkout Default Repository' with result: Success
23-Jul-2018 16:15:21 Running pre-build action: VCS Version Collector
23-Jul-2018 16:15:21 Starting task 'pytest' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Jul-2018 16:15:21
Beginning to execute external process for build 'Clowder - pyclowder2 - boxhack - Default Job #1 (CATS-PYC280-JOB1-1)'
... running command line:
/home/bamboo/bamboo-agent-home/temp/CATS-PYC280-JOB1-1-ScriptBuildTask-4525019491942288737.sh
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=boxhack
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_node_Node_js_v6_9_1=/home/bamboo/node-v6.9.1/bin/node
bamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster
bamboo_planRepository_1_branchDisplayName=boxhack
bamboo_repository_revision_number=e0c65f933fdc8177d8ca154223527a6590eb6d12
bamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC280-JOB1-1
bamboo_repository_162758672_git_branch=boxhack
bamboo_repository_162758672_git_username=
bamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build
bamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1
bamboo_planRepository_1_name=pyclowder2
bamboo_buildKey=CATS-PYC280-JOB1
bamboo_capability_system_os=linux
bamboo_shortPlanName=boxhack
bamboo_planRepository_name=pyclowder2
bamboo_buildNumber=1
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC280-JOB1-1
bamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_agentId=143032321
bamboo_planName=Clowder - pyclowder2 - boxhack
bamboo_shortPlanKey=PYC280
bamboo_capability_system_builder_command_sbt_0_13=/home/bamboo/sbt-0.13.2/bin/sbt
bamboo_capability_system_builder_node_Node_js_v0_10_28=/home/bamboo/node-v0.10.28/bin/node
bamboo_shortJobKey=JOB1
bamboo_planRepository_revision=e0c65f933fdc8177d8ca154223527a6590eb6d12
bamboo_repository_162758672_name=pyclowder2
bamboo_buildTimeStamp=2018-07-23T16:15:20.502-05:00
bamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm
bamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1
bamboo_repository_git_branch=boxhack
bamboo_buildResultKey=CATS-PYC280-JOB1-1
bamboo_repository_branch_name=boxhack
bamboo_repository_162758672_revision_number=e0c65f933fdc8177d8ca154223527a6590eb6d12
bamboo_buildPlanName=Clowder - pyclowder2 - boxhack - Default Job
bamboo_planRepository_1_revision=e0c65f933fdc8177d8ca154223527a6590eb6d12
bamboo_capability_system_builder_command_python3=/usr/bin/python3
bamboo_repository_name=pyclowder2
bamboo_repository_162758672_branch_name=boxhack
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=boxhack
bamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_repository_git_username=
bamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13
bamboo_planRepository_branchDisplayName=boxhack
bamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=boxhack
bamboo_capability_system_builder_command_python2_7=/usr/bin/python2.7
bamboo_capability_system_hostname=buildserver-1
bamboo_repository_162758672_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_capability_system_jdk_JDK=/home/bamboo/jdk1.8.0_66
bamboo_capability_system_software_mongo=/usr/bin/mongo
bamboo_plan_storageTag=plan-162562079
bamboo_hg_cache_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/_hg-repositories-cache
bamboo_capability_system_builder_command_casperjs=/home/bamboo/node-v0.10.28/bin/casperjs
bamboo_capability_system_software_rabbitmq=/usr/sbin/rabbitmqctl
bamboo_capability_system_jdk_JDK_1_8_0_66=/home/bamboo/jdk1.8.0_66
bamboo_planRepository_1_username=
bamboo_planRepository_type=bbserver
bamboo_git_cache_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache
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_tmp_directory=/home/bamboo/bamboo-agent-home/temp
bamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1
bamboo_planKey=CATS-PYC280
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_planRepository_1_branchName=boxhack
23-Jul-2018 16:15:21 New python executable in /tmp/virtualenv/pyclowder2/bin/python2
23-Jul-2018 16:15:21 Also creating executable in /tmp/virtualenv/pyclowder2/bin/python
23-Jul-2018 16:15:23 Installing setuptools, pkg_resources, pip, wheel...done.
23-Jul-2018 16:15:23 Running virtualenv with interpreter /usr/bin/python2
23-Jul-2018 16:15:24 Collecting enum34==1.1.6 (from -r requirements.txt (line 1))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
23-Jul-2018 16:15:24 Collecting pika==0.11.2 (from -r requirements.txt (line 2))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/76/b4/0ada6918ac79ce4d8d45d0ba436ee21a1ef685047fb1dde4d2de0178b327/pika-0.11.2-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting PyYAML==3.12 (from -r requirements.txt (line 3))
23-Jul-2018 16:15:24 Collecting requests==2.18.4 (from -r requirements.txt (line 4))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting wheel==0.24.0 (from -r requirements.txt (line 5))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/e8/14/eaaac12b0432c984a27ad0050a5a0bedc6135df35a0f5f1f35228faf12d4/wheel-0.24.0-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting urllib3==1.22 (from -r requirements.txt (line 6))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting pytest==3.0.3 (from -r requirements.txt (line 7))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/a4/e9/bf75a9a91c4a545bad262937d1defa90d95ac912118a706406e21aef889a/pytest-3.0.3-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 8))
23-Jul-2018 16:15:24 Collecting certifi>=2017.4.17 (from requests==2.18.4->-r requirements.txt (line 4))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting chardet<3.1.0,>=3.0.2 (from requests==2.18.4->-r requirements.txt (line 4))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting idna<2.7,>=2.5 (from requests==2.18.4->-r requirements.txt (line 4))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 7))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/f3/bd/83369ff2dee18f22f27d16b78dd651e8939825af5f8b0b83c38729069962/py-1.5.4-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 8))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/42/3f/669429ce58de2c22d8d2c542752e137ec4b9885fff398d3eceb1a7f5acb4/pep8-1.7.1-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 8))
23-Jul-2018 16:15:24 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 8))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/f9/76/3343e69a2a1602052f587898934e5fea395d22310d39c07955596597227c/execnet-1.5.0-py2.py3-none-any.whl
23-Jul-2018 16:15:24 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 8))
23-Jul-2018 16:15:24   Using cached https://files.pythonhosted.org/packages/67/08/4815a09603fc800209431bec5b8bd2acf2f95abdfb558a44a42507fb94da/apipkg-1.5-py2.py3-none-any.whl
23-Jul-2018 16:15:25 Installing collected packages: enum34, pika, PyYAML, certifi, chardet, idna, urllib3, requests, wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8
23-Jul-2018 16:15:25   Found existing installation: wheel 0.31.1
23-Jul-2018 16:15:25     Uninstalling wheel-0.31.1:
23-Jul-2018 16:15:25       Successfully uninstalled wheel-0.31.1
23-Jul-2018 16:15:25 Successfully installed PyYAML-3.12 apipkg-1.5 certifi-2018.4.16 chardet-3.0.4 enum34-1.1.6 execnet-1.5.0 idna-2.6 pep8-1.7.1 pika-0.11.2 py-1.5.4 pytest-3.0.3 pytest-cache-1.0 pytest-pep8-1.0.6 requests-2.18.4 urllib3-1.22 wheel-0.24.0
23-Jul-2018 16:15:26 ============================= test session starts ==============================
23-Jul-2018 16:15:26 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.5.4, pluggy-0.4.0
23-Jul-2018 16:15:26 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1, inifile: setup.cfg
23-Jul-2018 16:15:26 plugins: pep8-1.0.6
23-Jul-2018 16:15:26 collected 16 items
23-Jul-2018 16:15:26
23-Jul-2018 16:15:26 setup.py .
23-Jul-2018 16:15:26 docs/source/conf.py .
23-Jul-2018 16:15:26 pyclowder/__init__.py .
23-Jul-2018 16:15:26 pyclowder/client.py .
23-Jul-2018 16:15:26 pyclowder/collections.py .
23-Jul-2018 16:15:26 pyclowder/connectors.py .
23-Jul-2018 16:15:26 pyclowder/datasets.py .
23-Jul-2018 16:15:26 pyclowder/extractors.py .
23-Jul-2018 16:15:26 pyclowder/files.py F
23-Jul-2018 16:15:26 pyclowder/geostreams.py .
23-Jul-2018 16:15:26 pyclowder/sections.py .
23-Jul-2018 16:15:26 pyclowder/utils.py .
23-Jul-2018 16:15:26 sample-extractors/binary-preview/binary_extractor.py .
23-Jul-2018 16:15:26 sample-extractors/echo/echo.py .
23-Jul-2018 16:15:26 sample-extractors/wordcount/wordcount.py .
23-Jul-2018 16:15:26 tests/clientTest.py .
23-Jul-2018 16:15:26
23-Jul-2018 16:15:26 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/test-reports/results.xml
23-Jul-2018 16:15:26 =================================== FAILURES ===================================
23-Jul-2018 16:15:26 __________________________________ PEP8-check __________________________________
23-Jul-2018 16:15:26 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/pyclowder/files.py:207:1: E302 expected 2 blank lines, found 1
23-Jul-2018 16:15:26 def upload_metadata(connector, host, metadataTemplate, key, fileid, metadata):
23-Jul-2018 16:15:26 ^
23-Jul-2018 16:15:26 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/pyclowder/files.py:214:26: E231 missing whitespace after ','
23-Jul-2018 16:15:26     r = requests.post(url,data=data,headers=headers)
23-Jul-2018 16:15:26                          ^
23-Jul-2018 16:15:26 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/pyclowder/files.py:214:36: E231 missing whitespace after ','
23-Jul-2018 16:15:26     r = requests.post(url,data=data,headers=headers)
23-Jul-2018 16:15:26                                    ^
23-Jul-2018 16:15:26 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1/pyclowder/files.py:224:1: E302 expected 2 blank lines, found 1
23-Jul-2018 16:15:26 def upload_preview(connector, host, key, fileid, previewfile, previewmetadata, preview_mimetype=None):
23-Jul-2018 16:15:26 ^
23-Jul-2018 16:15:26
23-Jul-2018 16:15:26 ===================== 1 failed, 15 passed in 0.34 seconds ======================
23-Jul-2018 16:15:26 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/CATS-PYC280-JOB1-1-ScriptBuildTask-4525019491942288737.sh] was 1 while expected 0
23-Jul-2018 16:15:26 Finished task 'pytest' with result: Failed
23-Jul-2018 16:15:26 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
23-Jul-2018 16:15:26 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC280-JOB1...
23-Jul-2018 16:15:26 Failing task since 1 failing test cases were found.
23-Jul-2018 16:15:26 Finished task 'test results' with result: Failed
23-Jul-2018 16:15:26 Running post build plugin 'Docker Container Cleanup'
23-Jul-2018 16:15:26 Running post build plugin 'NCover Results Collector'
23-Jul-2018 16:15:26 Running post build plugin 'Clover Results Collector'
23-Jul-2018 16:15:26 Running post build plugin 'npm Cache Cleanup'
23-Jul-2018 16:15:26 Running post build plugin 'Artifact Copier'
23-Jul-2018 16:15:26 Finalising the build...
23-Jul-2018 16:15:26 Stopping timer.
23-Jul-2018 16:15:26 Build CATS-PYC280-JOB1-1 completed.
23-Jul-2018 16:15:26 Running on server: post build plugin 'NCover Results Collector'
23-Jul-2018 16:15:26 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Jul-2018 16:15:26 Running on server: post build plugin 'Clover Delta Calculator'
23-Jul-2018 16:15:26 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Jul-2018 16:15:26 All post build plugins have finished
23-Jul-2018 16:15:26 Generating build results summary...
23-Jul-2018 16:15:26 Saving build results to disk...
23-Jul-2018 16:15:26 Logging substituted variables...
23-Jul-2018 16:15:27 Indexing build results...
23-Jul-2018 16:15:27 Finished building CATS-PYC280-JOB1-1.