Build: #2 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

10-Oct-2017 13:28:15 Build BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #2 (BD-BDSWARM12-JOB1-2) started building on agent buildserver-3.os.ncsa.edu
10-Oct-2017 13:28:15 Remote agent on host buildserver-3.os.ncsa.edu
10-Oct-2017 13:28:15 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1
10-Oct-2017 13:28:15 Executing build BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #2 (BD-BDSWARM12-JOB1-2)
10-Oct-2017 13:28:15 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
10-Oct-2017 13:28:15 Updating source code to revision: b6e697787b952aa5839408e8a645857d631860f4
10-Oct-2017 13:28:15 Fetching 'refs/heads/BD-1825-create-nose-unit-tests-for-deploy' from 'ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git'.
10-Oct-2017 13:28:15 Warning: Permanently added '[127.0.0.1]:35778' (RSA) to the list of known hosts.
10-Oct-2017 13:28:15 Checking out revision b6e697787b952aa5839408e8a645857d631860f4.
10-Oct-2017 13:28:15 Previous HEAD position was 73682ae... enable to tagg on specified extractors or converters
10-Oct-2017 13:28:15 Switched to a new branch 'BD-1825-create-nose-unit-tests-for-deploy'
10-Oct-2017 13:28:15 Branch BD-1825-create-nose-unit-tests-for-deploy set up to track remote branch BD-1825-create-nose-unit-tests-for-deploy from origin.
10-Oct-2017 13:28:15 Updated source code to revision: b6e697787b952aa5839408e8a645857d631860f4
10-Oct-2017 13:28:15 Finished task 'Checkout Default Repository' with result: Success
10-Oct-2017 13:28:15 Running pre-build action: VCS Version Collector
10-Oct-2017 13:28:15 Starting task 'pep8' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Oct-2017 13:28:15
Beginning to execute external process for build 'BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #2 (BD-BDSWARM12-JOB1-2)'
... running command line:
/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-2-ScriptBuildTask-2844698029960054485.sh
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=BD-1825-create-nose-unit-tests-for-deploy
bamboo_capability_system_builder_node_Node_js_v6_9_1=/home/bamboo/node-v6.9.1/bin/node
bamboo_capability_system_builder_command_npm_6=/home/bamboo/node-v6.9.1/bin/npm
bamboo_capability_system_builder_command_buckminster_4_3=/home/bamboo/buckminster-4.3/buckminster
bamboo_capability_system_builder_command_buckminster_4_2=/home/bamboo/buckminster-4.2/buckminster
bamboo_planRepository_1_branchDisplayName=BD-1825-create-nose-unit-tests-for-deploy
bamboo_repository_revision_number=b6e697787b952aa5839408e8a645857d631860f4
bamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-2
bamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build
bamboo_planRepository_1_name=BD Swarm
bamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1
bamboo_buildKey=BD-BDSWARM12-JOB1
bamboo_capability_system_os=linux
bamboo_shortPlanName=BD-1825-create-nose-unit-tests-for-deploy
bamboo_planRepository_name=BD Swarm
bamboo_repository_149553217_branch_name=BD-1825-create-nose-unit-tests-for-deploy
bamboo_buildNumber=2
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-2
bamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git
bamboo_repository_149553217_git_branch=BD-1825-create-nose-unit-tests-for-deploy
bamboo_agentId=143032321
bamboo_planName=BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy
bamboo_shortPlanKey=BDSWARM12
bamboo_capability_system_builder_command_sbt_0_13=/home/bamboo/sbt-0.13.2/bin/sbt
bamboo_shortJobKey=JOB1
bamboo_capability_system_builder_node_Node_js_v0_10_28=/home/bamboo/node-v0.10.28/bin/node
bamboo_repository_149553217_revision_number=b6e697787b952aa5839408e8a645857d631860f4
bamboo_planRepository_revision=b6e697787b952aa5839408e8a645857d631860f4
bamboo_repository_previous_revision_number=73682ae937b3ca7ea4ec5262f53c288fa7b281ce
bamboo_buildTimeStamp=2017-10-10T13:21:47.448-05:00
bamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm
bamboo_planRepository_previousRevision=73682ae937b3ca7ea4ec5262f53c288fa7b281ce
bamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1
bamboo_buildResultKey=BD-BDSWARM12-JOB1-2
bamboo_repository_git_branch=BD-1825-create-nose-unit-tests-for-deploy
bamboo_repository_branch_name=BD-1825-create-nose-unit-tests-for-deploy
bamboo_buildPlanName=BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job
bamboo_planRepository_1_revision=b6e697787b952aa5839408e8a645857d631860f4
bamboo_capability_system_builder_command_python3=/usr/bin/python3
bamboo_repository_name=BD Swarm
bamboo_buildFailed=false
bamboo_repository_149553217_git_username=
bamboo_repository_149553217_name=BD Swarm
bamboo_capability_system_docker_executable=/usr/bin/docker
bamboo_capability_system_builder_command_grunt=/home/bamboo/node-v0.10.28/bin/grunt
bamboo_repository_149553217_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git
bamboo_planRepository_branch=BD-1825-create-nose-unit-tests-for-deploy
bamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=73682ae937b3ca7ea4ec5262f53c288fa7b281ce
bamboo_repository_git_username=
bamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13
bamboo_repository_149553217_previous_revision_number=73682ae937b3ca7ea4ec5262f53c288fa7b281ce
bamboo_planRepository_branchDisplayName=BD-1825-create-nose-unit-tests-for-deploy
bamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=BD-1825-create-nose-unit-tests-for-deploy
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-149356673
bamboo_capability_system_software_rabbitmq=/usr/sbin/rabbitmqctl
bamboo_capability_system_builder_command_casperjs=/home/bamboo/node-v0.10.28/bin/casperjs
bamboo_planRepository_type=bbserver
bamboo_planRepository_1_username=
bamboo_capability_system_jdk_JDK_1_8_0_66=/home/bamboo/jdk1.8.0_66
bamboo_repository_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git
bamboo_capability_system_builder_node_Node_js=/home/bamboo/node-v0.10.28/bin/node
bamboo_capability_system_builder_ant_Ant=/home/bamboo/apache-ant-1.9.4
bamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/apache-maven-3.3.9
bamboo_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1
bamboo_planKey=BD-BDSWARM12
bamboo_planRepository_1_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.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=BD-1825-create-nose-unit-tests-for-deploy
10-Oct-2017 13:28:15 New python executable in /tmp/virtualenv/bd-swarm/bin/python2
10-Oct-2017 13:28:15 Also creating executable in /tmp/virtualenv/bd-swarm/bin/python
10-Oct-2017 13:28:17 Installing setuptools, pkg_resources, pip, wheel...done.
10-Oct-2017 13:28:17 Running virtualenv with interpreter /usr/bin/python2
10-Oct-2017 13:28:18 Collecting wheel==0.24.0 (from -r requirements.txt (line 1))
10-Oct-2017 13:28:18   Using cached wheel-0.24.0-py2.py3-none-any.whl
10-Oct-2017 13:28:18 Collecting pytest==3.0.3 (from -r requirements.txt (line 2))
10-Oct-2017 13:28:18   Using cached pytest-3.0.3-py2.py3-none-any.whl
10-Oct-2017 13:28:18 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 3))
10-Oct-2017 13:28:18 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 2))
10-Oct-2017 13:28:18   Using cached py-1.4.34-py2.py3-none-any.whl
10-Oct-2017 13:28:18 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 3))
10-Oct-2017 13:28:18   Using cached pep8-1.7.0-py2.py3-none-any.whl
10-Oct-2017 13:28:18 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 3))
10-Oct-2017 13:28:18 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3))
10-Oct-2017 13:28:18   Using cached execnet-1.4.1-py2.py3-none-any.whl
10-Oct-2017 13:28:18 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3))
10-Oct-2017 13:28:18   Using cached apipkg-1.4-py2.py3-none-any.whl
10-Oct-2017 13:28:18 Installing collected packages: wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8
10-Oct-2017 13:28:18   Found existing installation: wheel 0.30.0
10-Oct-2017 13:28:18     Uninstalling wheel-0.30.0:
10-Oct-2017 13:28:18       Successfully uninstalled wheel-0.30.0
10-Oct-2017 13:28:18 Successfully installed apipkg-1.4 execnet-1.4.1 pep8-1.7.0 py-1.4.34 pytest-3.0.3 pytest-cache-1.0 pytest-pep8-1.0.6 wheel-0.24.0
10-Oct-2017 13:28:19 ============================= test session starts ==============================
10-Oct-2017 13:28:19 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0
10-Oct-2017 13:28:19 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1, inifile: setup.cfg
10-Oct-2017 13:28:19 plugins: pep8-1.0.6
10-Oct-2017 13:28:19 collected 14 items / 1 errors
10-Oct-2017 13:28:19
10-Oct-2017 13:28:19 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/test-reports/results.xml
10-Oct-2017 13:28:19 ==================================== ERRORS ====================================
10-Oct-2017 13:28:19 ________________ ERROR collecting swarmstats/test_swarmstats.py ________________
10-Oct-2017 13:28:19 ImportError while importing test module '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/swarmstats/test_swarmstats.py'.
10-Oct-2017 13:28:19 Original error message:
10-Oct-2017 13:28:19 'No module named docker'
10-Oct-2017 13:28:19 Make sure your test modules/packages have valid Python names.
10-Oct-2017 13:28:19 !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
10-Oct-2017 13:28:19 =========================== 1 error in 0.10 seconds ============================
10-Oct-2017 13:28:19 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-2-ScriptBuildTask-2844698029960054485.sh] was 2 while expected 0
10-Oct-2017 13:28:19 Finished task 'pep8' with result: Failed
10-Oct-2017 13:28:19 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
10-Oct-2017 13:28:19 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1...
10-Oct-2017 13:28:19 Failing task since 1 failing test cases were found.
10-Oct-2017 13:28:19 Finished task 'test results' with result: Failed
10-Oct-2017 13:28:19 Running post build plugin 'Docker Container Cleanup'
10-Oct-2017 13:28:19 Running post build plugin 'NCover Results Collector'
10-Oct-2017 13:28:19 Running post build plugin 'Clover Results Collector'
10-Oct-2017 13:28:19 Running post build plugin 'npm Cache Cleanup'
10-Oct-2017 13:28:19 Running post build plugin 'Artifact Copier'
10-Oct-2017 13:28:19 Finalising the build...
10-Oct-2017 13:28:19 Stopping timer.
10-Oct-2017 13:28:19 Build BD-BDSWARM12-JOB1-2 completed.
10-Oct-2017 13:28:19 Running on server: post build plugin 'NCover Results Collector'
10-Oct-2017 13:28:19 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Oct-2017 13:28:19 Running on server: post build plugin 'Clover Delta Calculator'
10-Oct-2017 13:28:19 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Oct-2017 13:28:19 All post build plugins have finished
10-Oct-2017 13:28:19 Generating build results summary...
10-Oct-2017 13:28:19 Saving build results to disk...
10-Oct-2017 13:28:19 Logging substituted variables...
10-Oct-2017 13:28:19 Indexing build results...
10-Oct-2017 13:28:19 Finished building BD-BDSWARM12-JOB1-2.