simple 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 simple 10-Oct-2017 13:28:15 Remote agent on host buildserver-3.os.ncsa.edu simple 10-Oct-2017 13:28:15 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1 simple 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) simple 10-Oct-2017 13:28:15 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 10-Oct-2017 13:28:15 Updating source code to revision: b6e697787b952aa5839408e8a645857d631860f4 simple 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'. simple 10-Oct-2017 13:28:15 Warning: Permanently added '[127.0.0.1]:35778' (RSA) to the list of known hosts. simple 10-Oct-2017 13:28:15 Checking out revision b6e697787b952aa5839408e8a645857d631860f4. simple 10-Oct-2017 13:28:15 Previous HEAD position was 73682ae... enable to tagg on specified extractors or converters simple 10-Oct-2017 13:28:15 Switched to a new branch 'BD-1825-create-nose-unit-tests-for-deploy' simple 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. simple 10-Oct-2017 13:28:15 Updated source code to revision: b6e697787b952aa5839408e8a645857d631860f4 simple 10-Oct-2017 13:28:15 Finished task 'Checkout Default Repository' with result: Success simple 10-Oct-2017 13:28:15 Running pre-build action: VCS Version Collector simple 10-Oct-2017 13:28:15 Starting task 'pep8' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 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)'\n ... running command line: \n/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-2-ScriptBuildTask-2844698029960054485.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=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-2\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=2\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-2\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=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_planRepository_revision=b6e697787b952aa5839408e8a645857d631860f4\nbamboo_repository_previous_revision_number=73682ae937b3ca7ea4ec5262f53c288fa7b281ce\nbamboo_buildTimeStamp=2017-10-10T13:21:47.448-05:00\nbamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm\nbamboo_planRepository_previousRevision=73682ae937b3ca7ea4ec5262f53c288fa7b281ce\nbamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1\nbamboo_buildResultKey=BD-BDSWARM12-JOB1-2\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=b6e697787b952aa5839408e8a645857d631860f4\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=73682ae937b3ca7ea4ec5262f53c288fa7b281ce\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=73682ae937b3ca7ea4ec5262f53c288fa7b281ce\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 10-Oct-2017 13:28:15 New python executable in /tmp/virtualenv/bd-swarm/bin/python2 build 10-Oct-2017 13:28:15 Also creating executable in /tmp/virtualenv/bd-swarm/bin/python build 10-Oct-2017 13:28:17 Installing setuptools, pkg_resources, pip, wheel...done. build 10-Oct-2017 13:28:17 Running virtualenv with interpreter /usr/bin/python2 build 10-Oct-2017 13:28:18 Collecting wheel==0.24.0 (from -r requirements.txt (line 1)) build 10-Oct-2017 13:28:18 Using cached wheel-0.24.0-py2.py3-none-any.whl build 10-Oct-2017 13:28:18 Collecting pytest==3.0.3 (from -r requirements.txt (line 2)) build 10-Oct-2017 13:28:18 Using cached pytest-3.0.3-py2.py3-none-any.whl build 10-Oct-2017 13:28:18 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 3)) build 10-Oct-2017 13:28:18 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 2)) build 10-Oct-2017 13:28:18 Using cached py-1.4.34-py2.py3-none-any.whl build 10-Oct-2017 13:28:18 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 10-Oct-2017 13:28:18 Using cached pep8-1.7.0-py2.py3-none-any.whl build 10-Oct-2017 13:28:18 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 10-Oct-2017 13:28:18 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 10-Oct-2017 13:28:18 Using cached execnet-1.4.1-py2.py3-none-any.whl build 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)) build 10-Oct-2017 13:28:18 Using cached apipkg-1.4-py2.py3-none-any.whl build 10-Oct-2017 13:28:18 Installing collected packages: wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8 build 10-Oct-2017 13:28:18 Found existing installation: wheel 0.30.0 build 10-Oct-2017 13:28:18 Uninstalling wheel-0.30.0: build 10-Oct-2017 13:28:18 Successfully uninstalled wheel-0.30.0 build 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 build 10-Oct-2017 13:28:19 ============================= test session starts ============================== build 10-Oct-2017 13:28:19 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0 build 10-Oct-2017 13:28:19 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1, inifile: setup.cfg build 10-Oct-2017 13:28:19 plugins: pep8-1.0.6 build 10-Oct-2017 13:28:19 collected 14 items / 1 errors build 10-Oct-2017 13:28:19 build 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 build 10-Oct-2017 13:28:19 ==================================== ERRORS ==================================== build 10-Oct-2017 13:28:19 ________________ ERROR collecting swarmstats/test_swarmstats.py ________________ build 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'. build 10-Oct-2017 13:28:19 Original error message: build 10-Oct-2017 13:28:19 'No module named docker' build 10-Oct-2017 13:28:19 Make sure your test modules/packages have valid Python names. build 10-Oct-2017 13:28:19 !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! build 10-Oct-2017 13:28:19 =========================== 1 error in 0.10 seconds ============================ simple 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 simple 10-Oct-2017 13:28:19 Finished task 'pep8' with result: Failed simple 10-Oct-2017 13:28:19 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 10-Oct-2017 13:28:19 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1... simple 10-Oct-2017 13:28:19 Failing task since 1 failing test cases were found. simple 10-Oct-2017 13:28:19 Finished task 'test results' with result: Failed simple 10-Oct-2017 13:28:19 Running post build plugin 'Docker Container Cleanup' simple 10-Oct-2017 13:28:19 Running post build plugin 'NCover Results Collector' simple 10-Oct-2017 13:28:19 Running post build plugin 'Clover Results Collector' simple 10-Oct-2017 13:28:19 Running post build plugin 'npm Cache Cleanup' simple 10-Oct-2017 13:28:19 Running post build plugin 'Artifact Copier' simple 10-Oct-2017 13:28:19 Finalising the build... simple 10-Oct-2017 13:28:19 Stopping timer. simple 10-Oct-2017 13:28:19 Build BD-BDSWARM12-JOB1-2 completed. simple 10-Oct-2017 13:28:19 Running on server: post build plugin 'NCover Results Collector' simple 10-Oct-2017 13:28:19 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 10-Oct-2017 13:28:19 Running on server: post build plugin 'Clover Delta Calculator' simple 10-Oct-2017 13:28:19 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 10-Oct-2017 13:28:19 All post build plugins have finished simple 10-Oct-2017 13:28:19 Generating build results summary... simple 10-Oct-2017 13:28:19 Saving build results to disk... simple 10-Oct-2017 13:28:19 Logging substituted variables... simple 10-Oct-2017 13:28:19 Indexing build results... simple 10-Oct-2017 13:28:19 Finished building BD-BDSWARM12-JOB1-2.