Build: #3 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

12-Oct-2017 13:38:23 Build BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #3 (BD-BDSWARM12-JOB1-3) started building on agent buildserver-3.os.ncsa.edu
12-Oct-2017 13:38:23 Remote agent on host buildserver-3.os.ncsa.edu
12-Oct-2017 13:38:23 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1
12-Oct-2017 13:38:23 Executing build BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #3 (BD-BDSWARM12-JOB1-3)
12-Oct-2017 13:38:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
12-Oct-2017 13:38:23 Updating source code to revision: 9f8d99c83f9d6d8809ee67628ebaf1d0293eda00
12-Oct-2017 13:39:59 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache/040f66de579b87e6bc42f152b503857705386be5/.git'.
12-Oct-2017 13:39:59 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache/040f66de579b87e6bc42f152b503857705386be5/.git/
12-Oct-2017 13:39:59 Fetching 'refs/heads/BD-1825-create-nose-unit-tests-for-deploy' from 'ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git'.
12-Oct-2017 13:39:59 Warning: Permanently added '[127.0.0.1]:37254' (RSA) to the list of known hosts.
12-Oct-2017 13:40:16 From ssh://127.0.0.1:37254/bd/bd-swarm
12-Oct-2017 13:40:16 * [new branch]      BD-1825-create-nose-unit-tests-for-deploy -> BD-1825-create-nose-unit-tests-for-deploy
12-Oct-2017 13:40:16 Checking out revision 9f8d99c83f9d6d8809ee67628ebaf1d0293eda00.
12-Oct-2017 13:40:16 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/.git'.
12-Oct-2017 13:40:16 Cloning into '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1'...
12-Oct-2017 13:40:16 done.
12-Oct-2017 13:40:16 Switched to a new branch 'BD-1825-create-nose-unit-tests-for-deploy'
12-Oct-2017 13:40:16 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.
12-Oct-2017 13:40:16 Updated source code to revision: 9f8d99c83f9d6d8809ee67628ebaf1d0293eda00
12-Oct-2017 13:40:16 Finished task 'Checkout Default Repository' with result: Success
12-Oct-2017 13:40:16 Running pre-build action: VCS Version Collector
12-Oct-2017 13:40:16 Starting task 'pep8' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
12-Oct-2017 13:40:16
Beginning to execute external process for build 'BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #3 (BD-BDSWARM12-JOB1-3)'
... running command line:
/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-3-ScriptBuildTask-5106545625539656921.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=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00
bamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-3
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=3
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-3
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=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00
bamboo_planRepository_revision=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00
bamboo_repository_previous_revision_number=b6e697787b952aa5839408e8a645857d631860f4
bamboo_buildTimeStamp=2017-10-12T13:38:23.076-05:00
bamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm
bamboo_planRepository_previousRevision=b6e697787b952aa5839408e8a645857d631860f4
bamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1
bamboo_buildResultKey=BD-BDSWARM12-JOB1-3
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=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00
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=b6e697787b952aa5839408e8a645857d631860f4
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=b6e697787b952aa5839408e8a645857d631860f4
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
12-Oct-2017 13:40:18 New python executable in /tmp/virtualenv/bd-swarm/bin/python2
12-Oct-2017 13:40:18 Also creating executable in /tmp/virtualenv/bd-swarm/bin/python
12-Oct-2017 13:40:21 Installing setuptools, pkg_resources, pip, wheel...done.
12-Oct-2017 13:40:21 Running virtualenv with interpreter /usr/bin/python2
12-Oct-2017 13:40:22 Collecting wheel==0.24.0 (from -r requirements.txt (line 1))
12-Oct-2017 13:40:22   Using cached wheel-0.24.0-py2.py3-none-any.whl
12-Oct-2017 13:40:22 Collecting pytest==3.0.3 (from -r requirements.txt (line 2))
12-Oct-2017 13:40:22   Using cached pytest-3.0.3-py2.py3-none-any.whl
12-Oct-2017 13:40:22 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 3))
12-Oct-2017 13:40:22 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 2))
12-Oct-2017 13:40:22   Using cached py-1.4.34-py2.py3-none-any.whl
12-Oct-2017 13:40:22 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 3))
12-Oct-2017 13:40:22   Using cached pep8-1.7.0-py2.py3-none-any.whl
12-Oct-2017 13:40:22 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 3))
12-Oct-2017 13:40:22 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3))
12-Oct-2017 13:40:22   Using cached execnet-1.4.1-py2.py3-none-any.whl
12-Oct-2017 13:40:22 Collecting apipkg>=1.4 (from execnet>=1.1.dev1->pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3))
12-Oct-2017 13:40:22   Using cached apipkg-1.4-py2.py3-none-any.whl
12-Oct-2017 13:40:22 Installing collected packages: wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8
12-Oct-2017 13:40:22   Found existing installation: wheel 0.30.0
12-Oct-2017 13:40:22     Uninstalling wheel-0.30.0:
12-Oct-2017 13:40:22       Successfully uninstalled wheel-0.30.0
12-Oct-2017 13:40:23 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
12-Oct-2017 13:40:23 ============================= test session starts ==============================
12-Oct-2017 13:40:23 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0
12-Oct-2017 13:40:23 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1, inifile: setup.cfg
12-Oct-2017 13:40:23 plugins: pep8-1.0.6
12-Oct-2017 13:40:23 collected 17 items / 2 errors
12-Oct-2017 13:40:23
12-Oct-2017 13:40:23 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/test-reports/results.xml
12-Oct-2017 13:40:23 ==================================== ERRORS ====================================
12-Oct-2017 13:40:23 ____________ ERROR collecting swarmstats/unittest/test_blueprint.py ____________
12-Oct-2017 13:40:23 ImportError while importing test module '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/swarmstats/unittest/test_blueprint.py'.
12-Oct-2017 13:40:23 Original error message:
12-Oct-2017 13:40:23 'No module named mock'
12-Oct-2017 13:40:23 Make sure your test modules/packages have valid Python names.
12-Oct-2017 13:40:23 ______________ ERROR collecting swarmstats/unittest/test_swarm.py ______________
12-Oct-2017 13:40:23 ImportError while importing test module '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/swarmstats/unittest/test_swarm.py'.
12-Oct-2017 13:40:23 Original error message:
12-Oct-2017 13:40:23 'No module named docker'
12-Oct-2017 13:40:23 Make sure your test modules/packages have valid Python names.
12-Oct-2017 13:40:23 !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
12-Oct-2017 13:40:23 =========================== 2 error in 0.11 seconds ============================
12-Oct-2017 13:40:23 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-3-ScriptBuildTask-5106545625539656921.sh] was 2 while expected 0
12-Oct-2017 13:40:23 Finished task 'pep8' with result: Failed
12-Oct-2017 13:40:23 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
12-Oct-2017 13:40:23 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1...
12-Oct-2017 13:40:23 Failing task since 2 failing test cases were found.
12-Oct-2017 13:40:23 Finished task 'test results' with result: Failed
12-Oct-2017 13:40:23 Running post build plugin 'Docker Container Cleanup'
12-Oct-2017 13:40:23 Running post build plugin 'NCover Results Collector'
12-Oct-2017 13:40:23 Running post build plugin 'Clover Results Collector'
12-Oct-2017 13:40:23 Running post build plugin 'npm Cache Cleanup'
12-Oct-2017 13:40:23 Running post build plugin 'Artifact Copier'
12-Oct-2017 13:40:23 Finalising the build...
12-Oct-2017 13:40:23 Stopping timer.
12-Oct-2017 13:40:23 Build BD-BDSWARM12-JOB1-3 completed.
12-Oct-2017 13:40:23 Running on server: post build plugin 'NCover Results Collector'
12-Oct-2017 13:40:23 Running on server: post build plugin 'Build Hanging Detection Configuration'
12-Oct-2017 13:40:23 Running on server: post build plugin 'Clover Delta Calculator'
12-Oct-2017 13:40:23 Running on server: post build plugin 'Maven Dependencies Postprocessor'
12-Oct-2017 13:40:23 All post build plugins have finished
12-Oct-2017 13:40:23 Generating build results summary...
12-Oct-2017 13:40:23 Saving build results to disk...
12-Oct-2017 13:40:23 Logging substituted variables...
12-Oct-2017 13:40:23 Indexing build results...
12-Oct-2017 13:40:23 Finished building BD-BDSWARM12-JOB1-3.