Next Generation of pyClowder

Build: #14 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

30-Nov-2018 11:19:33 Build Clowder - pyclowder2 - clowder-clients-clean - Default Job #14 (CATS-PYC267-JOB1-14) started building on agent buildserver-3.os.ncsa.edu
30-Nov-2018 11:19:33 Remote agent on host buildserver-3.os.ncsa.edu
30-Nov-2018 11:19:33 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1
30-Nov-2018 11:19:33 Executing build Clowder - pyclowder2 - clowder-clients-clean - Default Job #14 (CATS-PYC267-JOB1-14)
30-Nov-2018 11:19:33 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
30-Nov-2018 11:19:33 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1
30-Nov-2018 11:19:33 Updating source code to revision: 11109681d8b687cc1d7b55028e1ce83aebeb40e1
30-Nov-2018 11:19:33 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/.git'.
30-Nov-2018 11:19:33 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/.git/
30-Nov-2018 11:20:40 Fetching 'refs/heads/clowder-clients-clean' from 'ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git'. Will try to do a shallow fetch.
30-Nov-2018 11:20:40 Warning: Permanently added '[127.0.0.1]:34512' (RSA) to the list of known hosts.
30-Nov-2018 11:20:40 From ssh://127.0.0.1:34512/cats/pyclowder2
30-Nov-2018 11:20:40 * [new branch]      clowder-clients-clean -> clowder-clients-clean
30-Nov-2018 11:20:40 Checking out revision 11109681d8b687cc1d7b55028e1ce83aebeb40e1.
30-Nov-2018 11:20:40 fatal: reference is not a tree: 11109681d8b687cc1d7b55028e1ce83aebeb40e1
30-Nov-2018 11:20:40 Checkout to revision 11109681d8b687cc1d7b55028e1ce83aebeb40e1 has failed.
30-Nov-2018 11:20:40 Warning: failed to checkout source code to directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1', trying to recover...
30-Nov-2018 11:20:40 Cleaned source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1'...
30-Nov-2018 11:20:40 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/.git'.
30-Nov-2018 11:20:40 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/.git/
30-Nov-2018 11:20:40 Fetching 'refs/heads/clowder-clients-clean' from 'ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git'.
30-Nov-2018 11:20:40 Warning: Permanently added '[127.0.0.1]:34512' (RSA) to the list of known hosts.
30-Nov-2018 11:20:42 From ssh://127.0.0.1:34512/cats/pyclowder2
30-Nov-2018 11:20:42 * [new branch]      clowder-clients-clean -> clowder-clients-clean
30-Nov-2018 11:20:42 * [new tag]         2.0.2      -> 2.0.2
30-Nov-2018 11:20:42 Fetching to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1' completed, proceeding with checkout...
30-Nov-2018 11:20:42 Checking out revision 11109681d8b687cc1d7b55028e1ce83aebeb40e1.
30-Nov-2018 11:20:42 Note: checking out '11109681d8b687cc1d7b55028e1ce83aebeb40e1'.
30-Nov-2018 11:20:42
30-Nov-2018 11:20:42 You are in 'detached HEAD' state. You can look around, make experimental
30-Nov-2018 11:20:42 changes and commit them, and you can discard any commits you make in this
30-Nov-2018 11:20:42 state without impacting any branches by performing another checkout.
30-Nov-2018 11:20:42
30-Nov-2018 11:20:42 If you want to create a new branch to retain commits you create, you may
30-Nov-2018 11:20:42 do so (now or later) by using -b with the checkout command again. Example:
30-Nov-2018 11:20:42
30-Nov-2018 11:20:42   git checkout -b <new-branch-name>
30-Nov-2018 11:20:42
30-Nov-2018 11:20:42 HEAD is now at 1110968... all methods inside CollectionsApi
30-Nov-2018 11:20:42 Checkout completed, recover successful.
30-Nov-2018 11:20:42 Updated source code to revision: 11109681d8b687cc1d7b55028e1ce83aebeb40e1
30-Nov-2018 11:20:42 Finished task 'Checkout Default Repository' with result: Success
30-Nov-2018 11:20:42 Running pre-build action: VCS Version Collector
30-Nov-2018 11:20:42 Starting task 'pytest' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
30-Nov-2018 11:20:42
Beginning to execute external process for build 'Clowder - pyclowder2 - clowder-clients-clean - Default Job #14 (CATS-PYC267-JOB1-14)'
... running command line:
/home/bamboo/bamboo-agent-home/temp/CATS-PYC267-JOB1-14-ScriptBuildTask-1221249509520138944.sh
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=clowder-clients-clean
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_4=/home/bamboo/buckminster-4.4/buckminster
bamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster
bamboo_repository_157745170_git_branch=clowder-clients-clean
bamboo_planRepository_1_branchDisplayName=clowder-clients-clean
bamboo_repository_revision_number=11109681d8b687cc1d7b55028e1ce83aebeb40e1
bamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC267-JOB1-14
bamboo_repository_157745170_revision_number=11109681d8b687cc1d7b55028e1ce83aebeb40e1
bamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build
bamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1
bamboo_planRepository_1_name=pyclowder2
bamboo_buildKey=CATS-PYC267-JOB1
bamboo_capability_system_os=linux
bamboo_shortPlanName=clowder-clients-clean
bamboo_planRepository_name=pyclowder2
bamboo_buildNumber=14
bamboo_capability_system_builder_node_grunt_6=/home/bamboo/node-v6.9.1/bin/grunt
bamboo_repository_157745170_name=pyclowder2
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/CATS-PYC267-JOB1-14
bamboo_repository_157745170_previous_revision_number=e06ab410f381bd7c26944b3a9cb5beae885572bf
bamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_agentId=143032321
bamboo_planName=Clowder - pyclowder2 - clowder-clients-clean
bamboo_shortPlanKey=PYC267
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_repository_157745170_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/cats/pyclowder2.git
bamboo_planRepository_revision=11109681d8b687cc1d7b55028e1ce83aebeb40e1
bamboo_buildTimeStamp=2018-11-30T11:19:32.919-06:00
bamboo_repository_previous_revision_number=e06ab410f381bd7c26944b3a9cb5beae885572bf
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_planRepository_previousRevision=e06ab410f381bd7c26944b3a9cb5beae885572bf
bamboo_repository_git_branch=clowder-clients-clean
bamboo_buildResultKey=CATS-PYC267-JOB1-14
bamboo_repository_branch_name=clowder-clients-clean
bamboo_buildPlanName=Clowder - pyclowder2 - clowder-clients-clean - Default Job
bamboo_planRepository_1_revision=11109681d8b687cc1d7b55028e1ce83aebeb40e1
bamboo_capability_system_builder_command_python3=/usr/bin/python3
bamboo_repository_name=pyclowder2
bamboo_repository_157745170_branch_name=clowder-clients-clean
bamboo_repository_157745170_git_username=
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=clowder-clients-clean
bamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=e06ab410f381bd7c26944b3a9cb5beae885572bf
bamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13
bamboo_planRepository_branchDisplayName=clowder-clients-clean
bamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=clowder-clients-clean
bamboo_capability_system_builder_command_python2_7=/usr/bin/python2.7
bamboo_capability_system_hostname=buildserver-1
bamboo_capability_system_jdk_JDK=/home/bamboo/jdk1.8.0_66
bamboo_capability_system_software_mongo=/usr/bin/mongo
bamboo_plan_storageTag=plan-157548579
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-PYC267-JOB1
bamboo_planKey=CATS-PYC267
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=clowder-clients-clean
30-Nov-2018 11:20:43 New python executable in /tmp/virtualenv/pyclowder2/bin/python2
30-Nov-2018 11:20:43 Also creating executable in /tmp/virtualenv/pyclowder2/bin/python
30-Nov-2018 11:20:46 Installing setuptools, pkg_resources, pip, wheel...done.
30-Nov-2018 11:20:46 Running virtualenv with interpreter /usr/bin/python2
30-Nov-2018 11:20:46 Collecting enum34==1.1.6 (from -r requirements.txt (line 1))
30-Nov-2018 11:20:46   Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
30-Nov-2018 11:20:46 Collecting pika==0.10.0 (from -r requirements.txt (line 2))
30-Nov-2018 11:20:46   Using cached https://files.pythonhosted.org/packages/26/12/400cf0aca6b1ecf1f00dcd89b246e7a4c8558677304ba067167b8167e714/pika-0.10.0-py2.py3-none-any.whl
30-Nov-2018 11:20:46 Collecting PyYAML==3.11 (from -r requirements.txt (line 3))
30-Nov-2018 11:20:46 Collecting requests==2.10.0 (from -r requirements.txt (line 4))
30-Nov-2018 11:20:46   Using cached https://files.pythonhosted.org/packages/99/b4/63d99ba8e189c47d906b43bae18af4396e336f2b1bfec86af31efe2d2cb8/requests-2.10.0-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting wheel==0.24.0 (from -r requirements.txt (line 5))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/e8/14/eaaac12b0432c984a27ad0050a5a0bedc6135df35a0f5f1f35228faf12d4/wheel-0.24.0-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting pytest==3.0.3 (from -r requirements.txt (line 6))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/a4/e9/bf75a9a91c4a545bad262937d1defa90d95ac912118a706406e21aef889a/pytest-3.0.3-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 7))
30-Nov-2018 11:20:47 Collecting urllib3==1.14 (from -r requirements.txt (line 8))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/73/55/63deba73d82dfa39974ca3903110c3e3557ff8758a3a79482810915b385d/urllib3-1.14-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 6))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 7))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/42/3f/669429ce58de2c22d8d2c542752e137ec4b9885fff398d3eceb1a7f5acb4/pep8-1.7.1-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 7))
30-Nov-2018 11:20:47 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 7))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/f9/76/3343e69a2a1602052f587898934e5fea395d22310d39c07955596597227c/execnet-1.5.0-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 7))
30-Nov-2018 11:20:47   Using cached https://files.pythonhosted.org/packages/67/08/4815a09603fc800209431bec5b8bd2acf2f95abdfb558a44a42507fb94da/apipkg-1.5-py2.py3-none-any.whl
30-Nov-2018 11:20:47 Installing collected packages: enum34, pika, PyYAML, requests, wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8, urllib3
30-Nov-2018 11:20:47   Found existing installation: wheel 0.32.3
30-Nov-2018 11:20:47     Uninstalling wheel-0.32.3:
30-Nov-2018 11:20:47       Successfully uninstalled wheel-0.32.3
30-Nov-2018 11:20:48 Successfully installed PyYAML-3.11 apipkg-1.5 enum34-1.1.6 execnet-1.5.0 pep8-1.7.1 pika-0.10.0 py-1.7.0 pytest-3.0.3 pytest-cache-1.0 pytest-pep8-1.0.6 requests-2.10.0 urllib3-1.14 wheel-0.24.0
30-Nov-2018 11:20:48 ============================= test session starts ==============================
30-Nov-2018 11:20:48 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.7.0, pluggy-0.4.0
30-Nov-2018 11:20:48 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1, inifile: setup.cfg
30-Nov-2018 11:20:48 plugins: pep8-1.0.6
30-Nov-2018 11:20:48 collected 15 items
30-Nov-2018 11:20:48
30-Nov-2018 11:20:48 setup.py .
30-Nov-2018 11:20:48 docs/source/conf.py .
30-Nov-2018 11:20:48 pyclowder/__init__.py .
30-Nov-2018 11:20:48 pyclowder/client.py .
30-Nov-2018 11:20:48 pyclowder/collections.py F
30-Nov-2018 11:20:48 pyclowder/connectors.py .
30-Nov-2018 11:20:48 pyclowder/datasets.py .
30-Nov-2018 11:20:48 pyclowder/extractors.py .
30-Nov-2018 11:20:48 pyclowder/files.py F
30-Nov-2018 11:20:48 pyclowder/geostreams.py .
30-Nov-2018 11:20:48 pyclowder/sections.py .
30-Nov-2018 11:20:48 pyclowder/utils.py .
30-Nov-2018 11:20:48 sample-extractors/echo/echo.py .
30-Nov-2018 11:20:48 sample-extractors/wordcount/wordcount.py .
30-Nov-2018 11:20:48 tests/clientTest.py .
30-Nov-2018 11:20:48
30-Nov-2018 11:20:48 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/test-reports/results.xml
30-Nov-2018 11:20:48 =================================== FAILURES ===================================
30-Nov-2018 11:20:48 __________________________________ PEP8-check __________________________________
30-Nov-2018 11:20:48 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/pyclowder/collections.py:8:1: E302 expected 2 blank lines, found 1
30-Nov-2018 11:20:48 class CollectionsApi(object):
30-Nov-2018 11:20:48 ^
30-Nov-2018 11:20:48
30-Nov-2018 11:20:48 __________________________________ PEP8-check __________________________________
30-Nov-2018 11:20:48 /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1/pyclowder/files.py:31:1: E302 expected 2 blank lines, found 1
30-Nov-2018 11:20:48 class FilesApi(object):
30-Nov-2018 11:20:48 ^
30-Nov-2018 11:20:48
30-Nov-2018 11:20:48 ===================== 2 failed, 13 passed in 0.31 seconds ======================
30-Nov-2018 11:20:48 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/CATS-PYC267-JOB1-14-ScriptBuildTask-1221249509520138944.sh] was 1 while expected 0
30-Nov-2018 11:20:48 Finished task 'pytest' with result: Failed
30-Nov-2018 11:20:48 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
30-Nov-2018 11:20:48 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/CATS-PYC267-JOB1...
30-Nov-2018 11:20:48 Failing task since 2 failing test cases were found.
30-Nov-2018 11:20:48 Finished task 'test results' with result: Failed
30-Nov-2018 11:20:48 Running post build plugin 'Docker Container Cleanup'
30-Nov-2018 11:20:48 Running post build plugin 'NCover Results Collector'
30-Nov-2018 11:20:48 Running post build plugin 'Clover Results Collector'
30-Nov-2018 11:20:48 Running post build plugin 'npm Cache Cleanup'
30-Nov-2018 11:20:48 Running post build plugin 'Artifact Copier'
30-Nov-2018 11:20:48 Finalising the build...
30-Nov-2018 11:20:48 Stopping timer.
30-Nov-2018 11:20:48 Build CATS-PYC267-JOB1-14 completed.
30-Nov-2018 11:20:48 Running on server: post build plugin 'NCover Results Collector'
30-Nov-2018 11:20:48 Running on server: post build plugin 'Build Hanging Detection Configuration'
30-Nov-2018 11:20:48 Running on server: post build plugin 'Clover Delta Calculator'
30-Nov-2018 11:20:49 Running on server: post build plugin 'Maven Dependencies Postprocessor'
30-Nov-2018 11:20:49 All post build plugins have finished
30-Nov-2018 11:20:49 Generating build results summary...
30-Nov-2018 11:20:49 Saving build results to disk...
30-Nov-2018 11:20:49 Logging substituted variables...
30-Nov-2018 11:20:49 Indexing build results...
30-Nov-2018 11:20:49 Finished building CATS-PYC267-JOB1-14.