simple 12-Oct-2017 14:01:25 Build BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #4 (BD-BDSWARM12-JOB1-4) started building on agent buildserver-2.os.ncsa.edu simple 12-Oct-2017 14:01:25 Remote agent on host buildserver-2.os.ncsa.edu simple 12-Oct-2017 14:01:25 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1 simple 12-Oct-2017 14:01:25 Executing build BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #4 (BD-BDSWARM12-JOB1-4) simple 12-Oct-2017 14:01:25 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 12-Oct-2017 14:01:25 Updating source code to revision: 92568accd61623ad44f6dc0e825ae36b9d72ba0d simple 12-Oct-2017 14:01:25 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache/040f66de579b87e6bc42f152b503857705386be5/.git'. simple 12-Oct-2017 14:01:25 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache/040f66de579b87e6bc42f152b503857705386be5/.git/ simple 12-Oct-2017 14:01:26 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 14:01:26 Warning: Permanently added '[127.0.0.1]:38720' (RSA) to the list of known hosts. simple 12-Oct-2017 14:01:27 From ssh://127.0.0.1:38720/bd/bd-swarm simple 12-Oct-2017 14:01:27 * [new branch] BD-1825-create-nose-unit-tests-for-deploy -> BD-1825-create-nose-unit-tests-for-deploy simple 12-Oct-2017 14:01:27 Checking out revision 92568accd61623ad44f6dc0e825ae36b9d72ba0d. simple 12-Oct-2017 14:01:27 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/.git'. simple 12-Oct-2017 14:01:27 Cloning into '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1'... simple 12-Oct-2017 14:01:27 done. simple 12-Oct-2017 14:01:27 Switched to a new branch 'BD-1825-create-nose-unit-tests-for-deploy' simple 12-Oct-2017 14:01:27 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 14:01:27 Updated source code to revision: 92568accd61623ad44f6dc0e825ae36b9d72ba0d simple 12-Oct-2017 14:01:27 Finished task 'Checkout Default Repository' with result: Success simple 12-Oct-2017 14:01:27 Running pre-build action: VCS Version Collector simple 12-Oct-2017 14:01:27 Starting task 'pep8' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 12-Oct-2017 14:01:27 Beginning to execute external process for build 'BrownDog - bd-swarm - BD-1825-create-nose-unit-tests-for-deploy - Default Job #4 (BD-BDSWARM12-JOB1-4)'\n ... running command line: \n/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-4-ScriptBuildTask-8481047783153999100.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=92568accd61623ad44f6dc0e825ae36b9d72ba0d\nbamboo_resultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-4\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=4\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=https://opensource.ncsa.illinois.edu/bamboo/browse/BD-BDSWARM12-JOB1-4\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=140673028\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=92568accd61623ad44f6dc0e825ae36b9d72ba0d\nbamboo_planRepository_revision=92568accd61623ad44f6dc0e825ae36b9d72ba0d\nbamboo_repository_previous_revision_number=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\nbamboo_buildTimeStamp=2017-10-12T14:01:25.054-05:00\nbamboo_capability_system_builder_command_npm=/home/bamboo/node-v0.10.28/bin/npm\nbamboo_planRepository_previousRevision=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\nbamboo_capability_system_builder_mvn2_Maven_2=/home/bamboo/apache-maven-2.2.1\nbamboo_buildResultKey=BD-BDSWARM12-JOB1-4\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=92568accd61623ad44f6dc0e825ae36b9d72ba0d\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=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\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=9f8d99c83f9d6d8809ee67628ebaf1d0293eda00\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 14:01:28 New python executable in /tmp/virtualenv/bd-swarm/bin/python2 build 12-Oct-2017 14:01:28 Also creating executable in /tmp/virtualenv/bd-swarm/bin/python build 12-Oct-2017 14:01:30 Installing setuptools, pkg_resources, pip, wheel...done. build 12-Oct-2017 14:01:30 Running virtualenv with interpreter /usr/bin/python2 build 12-Oct-2017 14:01:30 Collecting wheel==0.24.0 (from -r requirements.txt (line 1)) build 12-Oct-2017 14:01:30 Using cached wheel-0.24.0-py2.py3-none-any.whl build 12-Oct-2017 14:01:30 Collecting pytest==3.0.3 (from -r requirements.txt (line 2)) build 12-Oct-2017 14:01:31 Using cached pytest-3.0.3-py2.py3-none-any.whl build 12-Oct-2017 14:01:31 Collecting pytest-pep8==1.0.6 (from -r requirements.txt (line 3)) build 12-Oct-2017 14:01:31 Collecting docker==2.2.1 (from -r requirements.txt (line 4)) build 12-Oct-2017 14:01:31 Downloading docker-2.2.1-py2.py3-none-any.whl (107kB) build 12-Oct-2017 14:01:31 Collecting mock==2.0.0 (from -r requirements.txt (line 5)) build 12-Oct-2017 14:01:31 Downloading mock-2.0.0-py2.py3-none-any.whl (56kB) build 12-Oct-2017 14:01:31 Collecting py>=1.4.29 (from pytest==3.0.3->-r requirements.txt (line 2)) build 12-Oct-2017 14:01:31 Using cached py-1.4.34-py2.py3-none-any.whl build 12-Oct-2017 14:01:31 Collecting pep8>=1.3 (from pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 12-Oct-2017 14:01:31 Using cached pep8-1.7.0-py2.py3-none-any.whl build 12-Oct-2017 14:01:31 Collecting pytest-cache (from pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 12-Oct-2017 14:01:32 Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:32 Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz build 12-Oct-2017 14:01:32 Collecting six>=1.4.0 (from docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:32 Using cached six-1.11.0-py2.py3-none-any.whl build 12-Oct-2017 14:01:32 Collecting websocket-client>=0.32.0 (from docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:32 Downloading websocket_client-0.44.0-py2.py3-none-any.whl (199kB) build 12-Oct-2017 14:01:32 Collecting ipaddress>=1.0.16; python_version < "3.3" (from docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:32 Downloading ipaddress-1.0.18-py2-none-any.whl build 12-Oct-2017 14:01:32 Collecting docker-pycreds>=0.2.1 (from docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:32 Downloading docker_pycreds-0.2.1-py2.py3-none-any.whl build 12-Oct-2017 14:01:32 Collecting requests!=2.11.0,!=2.12.2,>=2.5.2 (from docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:32 Using cached requests-2.18.4-py2.py3-none-any.whl build 12-Oct-2017 14:01:32 Collecting funcsigs>=1; python_version < "3.3" (from mock==2.0.0->-r requirements.txt (line 5)) build 12-Oct-2017 14:01:32 Downloading funcsigs-1.0.2-py2.py3-none-any.whl build 12-Oct-2017 14:01:32 Collecting pbr>=0.11 (from mock==2.0.0->-r requirements.txt (line 5)) build 12-Oct-2017 14:01:33 Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB) build 12-Oct-2017 14:01:33 Collecting execnet>=1.1.dev1 (from pytest-cache->pytest-pep8==1.0.6->-r requirements.txt (line 3)) build 12-Oct-2017 14:01:33 Using cached execnet-1.4.1-py2.py3-none-any.whl build 12-Oct-2017 14:01:33 Collecting urllib3<1.23,>=1.21.1 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:33 Using cached urllib3-1.22-py2.py3-none-any.whl build 12-Oct-2017 14:01:33 Collecting idna<2.7,>=2.5 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:33 Using cached idna-2.6-py2.py3-none-any.whl build 12-Oct-2017 14:01:33 Collecting chardet<3.1.0,>=3.0.2 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:33 Using cached chardet-3.0.4-py2.py3-none-any.whl build 12-Oct-2017 14:01:33 Collecting certifi>=2017.4.17 (from requests!=2.11.0,!=2.12.2,>=2.5.2->docker==2.2.1->-r requirements.txt (line 4)) build 12-Oct-2017 14:01:33 Using cached certifi-2017.7.27.1-py2.py3-none-any.whl build 12-Oct-2017 14:01:33 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 14:01:33 Using cached apipkg-1.4-py2.py3-none-any.whl build 12-Oct-2017 14:01:33 Building wheels for collected packages: backports.ssl-match-hostname build 12-Oct-2017 14:01:33 Running setup.py bdist_wheel for backports.ssl-match-hostname: started build 12-Oct-2017 14:01:34 Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with status 'done' build 12-Oct-2017 14:01:34 Stored in directory: /home/bamboo/.cache/pip/wheels/5d/72/36/b2a31507b613967b728edc33378a5ff2ada0f62855b93c5ae1 build 12-Oct-2017 14:01:34 Successfully built backports.ssl-match-hostname build 12-Oct-2017 14:01:34 Installing collected packages: wheel, py, pytest, pep8, apipkg, execnet, pytest-cache, pytest-pep8, backports.ssl-match-hostname, six, websocket-client, ipaddress, docker-pycreds, urllib3, idna, chardet, certifi, requests, docker, funcsigs, pbr, mock build 12-Oct-2017 14:01:34 Found existing installation: wheel 0.30.0 build 12-Oct-2017 14:01:34 Uninstalling wheel-0.30.0: build 12-Oct-2017 14:01:34 Successfully uninstalled wheel-0.30.0 build 12-Oct-2017 14:01:34 Successfully installed apipkg-1.4 backports.ssl-match-hostname-3.5.0.1 certifi-2017.7.27.1 chardet-3.0.4 docker-2.2.1 docker-pycreds-0.2.1 execnet-1.4.1 funcsigs-1.0.2 idna-2.6 ipaddress-1.0.18 mock-2.0.0 pbr-3.1.1 pep8-1.7.0 py-1.4.34 pytest-3.0.3 pytest-cache-1.0 pytest-pep8-1.0.6 requests-2.18.4 six-1.11.0 urllib3-1.22 websocket-client-0.44.0 wheel-0.24.0 build 12-Oct-2017 14:01:35 ============================= test session starts ============================== build 12-Oct-2017 14:01:35 platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.34, pluggy-0.4.0 build 12-Oct-2017 14:01:35 rootdir: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1, inifile: setup.cfg build 12-Oct-2017 14:01:35 plugins: pep8-1.0.6 build 12-Oct-2017 14:01:35 collected 17 items / 2 errors build 12-Oct-2017 14:01:35 build 12-Oct-2017 14:01:35 generated xml file: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1/test-reports/results.xml build 12-Oct-2017 14:01:35 ==================================== ERRORS ==================================== build 12-Oct-2017 14:01:35 ____________ ERROR collecting swarmstats/unittest/test_blueprint.py ____________ build 12-Oct-2017 14:01:35 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 14:01:35 Original error message: build 12-Oct-2017 14:01:35 'No module named flask' build 12-Oct-2017 14:01:35 Make sure your test modules/packages have valid Python names. build 12-Oct-2017 14:01:35 ______________ ERROR collecting swarmstats/unittest/test_swarm.py ______________ build 12-Oct-2017 14:01:35 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 14:01:35 Original error message: build 12-Oct-2017 14:01:35 'No module named dateutil.parser' build 12-Oct-2017 14:01:35 Make sure your test modules/packages have valid Python names. build 12-Oct-2017 14:01:35 !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! build 12-Oct-2017 14:01:35 =========================== 2 error in 0.18 seconds ============================ simple 12-Oct-2017 14:01:35 Failing task since return code of [/home/bamboo/bamboo-agent-home/temp/BD-BDSWARM12-JOB1-4-ScriptBuildTask-8481047783153999100.sh] was 2 while expected 0 simple 12-Oct-2017 14:01:35 Finished task 'pep8' with result: Failed simple 12-Oct-2017 14:01:35 Starting task 'test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 12-Oct-2017 14:01:35 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/BD-BDSWARM12-JOB1... simple 12-Oct-2017 14:01:35 Failing task since 2 failing test cases were found. simple 12-Oct-2017 14:01:35 Finished task 'test results' with result: Failed simple 12-Oct-2017 14:01:35 Running post build plugin 'Docker Container Cleanup' simple 12-Oct-2017 14:01:35 Running post build plugin 'NCover Results Collector' simple 12-Oct-2017 14:01:35 Running post build plugin 'Clover Results Collector' simple 12-Oct-2017 14:01:35 Running post build plugin 'npm Cache Cleanup' simple 12-Oct-2017 14:01:35 Running post build plugin 'Artifact Copier' simple 12-Oct-2017 14:01:35 Finalising the build... simple 12-Oct-2017 14:01:35 Stopping timer. simple 12-Oct-2017 14:01:35 Build BD-BDSWARM12-JOB1-4 completed. simple 12-Oct-2017 14:01:35 Running on server: post build plugin 'NCover Results Collector' simple 12-Oct-2017 14:01:35 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 12-Oct-2017 14:01:35 Running on server: post build plugin 'Clover Delta Calculator' simple 12-Oct-2017 14:01:35 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 12-Oct-2017 14:01:35 All post build plugins have finished simple 12-Oct-2017 14:01:35 Generating build results summary... simple 12-Oct-2017 14:01:35 Saving build results to disk... simple 12-Oct-2017 14:01:35 Logging substituted variables... simple 12-Oct-2017 14:01:35 Indexing build results... simple 12-Oct-2017 14:01:35 Finished building BD-BDSWARM12-JOB1-4.