simple 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 simple 12-Oct-2017 13:38:23 Remote agent on host buildserver-3.os.ncsa.edu simple 12-Oct-2017 13:38:23 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1 simple 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) simple 12-Oct-2017 13:38:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 12-Oct-2017 13:38:23 Updating source code to revision: 9f8d99c83f9d6d8809ee67628ebaf1d0293eda00 simple 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'. simple 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/ simple 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'. simple 12-Oct-2017 13:39:59 Warning: Permanently added '[127.0.0.1]:37254' (RSA) to the list of known hosts. simple 12-Oct-2017 13:40:16 From ssh://127.0.0.1:37254/bd/bd-swarm simple 12-Oct-2017 13:40:16 * [new branch] BD-1825-create-nose-unit-tests-for-deploy -> BD-1825-create-nose-unit-tests-for-deploy simple 12-Oct-2017 13:40:16 Checking out revision 9f8d99c83f9d6d8809ee67628ebaf1d0293eda00. simple 12-Oct-2017 13:40:16 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/.git'. simple 12-Oct-2017 13:40:16 Cloning into '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1'... simple 12-Oct-2017 13:40:16 done. simple 12-Oct-2017 13:40:16 Switched to a new branch 'BD-1825-create-nose-unit-tests-for-deploy' simple 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. simple 12-Oct-2017 13:40:16 Updated source code to revision: 9f8d99c83f9d6d8809ee67628ebaf1d0293eda00 simple 12-Oct-2017 13:40:16 Finished task 'Checkout Default Repository' with result: Success simple 12-Oct-2017 13:40:16 Running pre-build action: VCS Version Collector simple 12-Oct-2017 13:40:16 Starting task 'pep8' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 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)'\n ... running command line: \n/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-3-ScriptBuildTask-5106545625539656921.sh\n ... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=BD-1825-create-nose-unit-tests-for-deploy\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=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_repository_revision_number=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-3\nbamboo_capability_system_builder_command_sphinx=/usr/bin/sphinx-build\nbamboo_planRepository_1_name=BD Swarm\nbamboo_build_working_directory=/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1\nbamboo_buildKey=BD-BDSWARM12-JOB1\nbamboo_capability_system_os=linux\nbamboo_shortPlanName=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_planRepository_name=BD Swarm\nbamboo_repository_149553217_branch_name=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_buildNumber=3\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-3\nbamboo_planRepository_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git\nbamboo_repository_149553217_git_branch=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_agentId=143032321\nbamboo_planName=BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy\nbamboo_shortPlanKey=BDSWARM12\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_repository_149553217_revision_number=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\nbamboo_planRepository_revision=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\nbamboo_repository_previous_revision_number=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_buildTimeStamp=2017-10-12T13:38:23.076-05:00\nbamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm\nbamboo_planRepository_previousRevision=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1\nbamboo_buildResultKey=BD-BDSWARM12-JOB1-3\nbamboo_repository_git_branch=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_repository_branch_name=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_buildPlanName=BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job\nbamboo_planRepository_1_revision=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\nbamboo_capability_system_builder_command_python3=/usr/bin/python3\nbamboo_repository_name=BD Swarm\nbamboo_buildFailed=false\nbamboo_repository_149553217_git_username=\nbamboo_repository_149553217_name=BD Swarm\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_capability_system_builder_command_grunt=/home/bamboo/node-v0.10.28/bin/grunt\nbamboo_repository_149553217_git_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.git\nbamboo_planRepository_branch=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_agentWorkingDirectory=/home/bamboo/bamboo-agent-home/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_repository_git_username=\nbamboo_capability_system_builder_sbt_SBT_0_13_13=/home/bamboo/sbt-0.13.13\nbamboo_repository_149553217_previous_revision_number=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_planRepository_branchDisplayName=BD-1825-create-nose-unit-tests-for-deploy\nbamboo_capability_system_builder_command_phantomjs=/home/bamboo/phantomjs-1.9.8/bin/phantomjs\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=BD-1825-create-nose-unit-tests-for-deploy\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-149356673\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/bd/bd-swarm.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/BD-BDSWARM12-JOB1\nbamboo_planKey=BD-BDSWARM12\nbamboo_planRepository_1_repositoryUrl=ssh://git@opensource.ncsa.illinois.edu:7999/bd/bd-swarm.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=BD-1825-create-nose-unit-tests-for-deploy\n build 12-Oct-2017 13:40:18 New python executable in /tmp/virtualenv/bd-swarm/bin/python2 build 12-Oct-2017 13:40:18 Also creating executable in /tmp/virtualenv/bd-swarm/bin/python build 12-Oct-2017 13:40:21 Installing setuptools, pkg_resources, pip, wheel...done. build 12-Oct-2017 13:40:21 Running virtualenv with interpreter /usr/bin/python2 build 12-Oct-2017 13:40:22 Collecting wheel==0.24.0 (from -r requirements.txt (line 1)) build 12-Oct-2017 13:40:22 Using cached wheel-0.24.0-py2.py3-none-any.whl build 12-Oct-2017 13:40:22 Collecting pytest==3.0.3 (from -r requirements.txt (line 2)) build 12-Oct-2017 13:40:22 Using cached pytest-3.0.3-py2.py3-none-any.whl build 12-Oct-2017 13:40:22 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 3)) build 12-Oct-2017 13:40:22 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 2)) build 12-Oct-2017 13:40:22 Using cached py-1.4.34-py2.py3-none-any.whl build 12-Oct-2017 13:40:22 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 12-Oct-2017 13:40:22 Using cached pep8-1.7.0-py2.py3-none-any.whl build 12-Oct-2017 13:40:22 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 12-Oct-2017 13:40:22 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 12-Oct-2017 13:40:22 Using cached execnet-1.4.1-py2.py3-none-any.whl build 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)) build 12-Oct-2017 13:40:22 Using cached apipkg-1.4-py2.py3-none-any.whl build 12-Oct-2017 13:40:22 Installing collected packages: wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8 build 12-Oct-2017 13:40:22 Found existing installation: wheel 0.30.0 build 12-Oct-2017 13:40:22 Uninstalling wheel-0.30.0: build 12-Oct-2017 13:40:22 Successfully uninstalled wheel-0.30.0 build 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 build 12-Oct-2017 13:40:23 ============================= test session starts ============================== build 12-Oct-2017 13:40:23 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0 build 12-Oct-2017 13:40:23 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1, inifile: setup.cfg build 12-Oct-2017 13:40:23 plugins: pep8-1.0.6 build 12-Oct-2017 13:40:23 collected 17 items / 2 errors build 12-Oct-2017 13:40:23 build 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 build 12-Oct-2017 13:40:23 ==================================== ERRORS ==================================== build 12-Oct-2017 13:40:23 ____________ ERROR collecting swarmstats/unittest/test_blueprint.py ____________ build 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'. build 12-Oct-2017 13:40:23 Original error message: build 12-Oct-2017 13:40:23 'No module named mock' build 12-Oct-2017 13:40:23 Make sure your test modules/packages have valid Python names. build 12-Oct-2017 13:40:23 ______________ ERROR collecting swarmstats/unittest/test_swarm.py ______________ build 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'. build 12-Oct-2017 13:40:23 Original error message: build 12-Oct-2017 13:40:23 'No module named docker' build 12-Oct-2017 13:40:23 Make sure your test modules/packages have valid Python names. build 12-Oct-2017 13:40:23 !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! build 12-Oct-2017 13:40:23 =========================== 2 error in 0.11 seconds ============================ simple 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 simple 12-Oct-2017 13:40:23 Finished task 'pep8' with result: Failed simple 12-Oct-2017 13:40:23 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 12-Oct-2017 13:40:23 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1... simple 12-Oct-2017 13:40:23 Failing task since 2 failing test cases were found. simple 12-Oct-2017 13:40:23 Finished task 'test results' with result: Failed simple 12-Oct-2017 13:40:23 Running post build plugin 'Docker Container Cleanup' simple 12-Oct-2017 13:40:23 Running post build plugin 'NCover Results Collector' simple 12-Oct-2017 13:40:23 Running post build plugin 'Clover Results Collector' simple 12-Oct-2017 13:40:23 Running post build plugin 'npm Cache Cleanup' simple 12-Oct-2017 13:40:23 Running post build plugin 'Artifact Copier' simple 12-Oct-2017 13:40:23 Finalising the build... simple 12-Oct-2017 13:40:23 Stopping timer. simple 12-Oct-2017 13:40:23 Build BD-BDSWARM12-JOB1-3 completed. simple 12-Oct-2017 13:40:23 Running on server: post build plugin 'NCover Results Collector' simple 12-Oct-2017 13:40:23 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 12-Oct-2017 13:40:23 Running on server: post build plugin 'Clover Delta Calculator' simple 12-Oct-2017 13:40:23 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 12-Oct-2017 13:40:23 All post build plugins have finished simple 12-Oct-2017 13:40:23 Generating build results summary... simple 12-Oct-2017 13:40:23 Saving build results to disk... simple 12-Oct-2017 13:40:23 Logging substituted variables... simple 12-Oct-2017 13:40:23 Indexing build results... simple 12-Oct-2017 13:40:23 Finished building BD-BDSWARM12-JOB1-3.