Build: #429 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

28-Sep-2016 16:39:18 Build FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429) started building on agent Default Agent
28-Sep-2016 16:39:18
28-Sep-2016 16:39:19 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
28-Sep-2016 16:39:19 Cleaning directory /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
28-Sep-2016 16:39:19 Executing build FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)
28-Sep-2016 16:39:19 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
28-Sep-2016 16:39:19 Build always requires a clean checkout
28-Sep-2016 16:39:19 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'
28-Sep-2016 16:39:19 Updating source code to revision: f576c86956af35d81d5a6ea5970aecd809913ee5
28-Sep-2016 16:39:20 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'.
28-Sep-2016 16:39:20 Warning: Permanently added '[127.0.0.1]:46038' (RSA) to the list of known hosts.
28-Sep-2016 16:39:23 Checking out revision f576c86956af35d81d5a6ea5970aecd809913ee5.
28-Sep-2016 16:39:23 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'.
28-Sep-2016 16:39:23 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'...
28-Sep-2016 16:39:24 Your branch is up-to-date with 'origin/master'.
28-Sep-2016 16:39:24 Already on 'master'
28-Sep-2016 16:39:24 Updated source code to revision: f576c86956af35d81d5a6ea5970aecd809913ee5
28-Sep-2016 16:39:24 Finished task 'Checkout Default Repository' with result: Success
28-Sep-2016 16:39:24 Running pre-build action: VCS Version Collector
28-Sep-2016 16:39:24 Running pre-build action: Sauce OnDemand Build Configurator
28-Sep-2016 16:39:25 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Sep-2016 16:39:25
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)'
... running command line:
/bin/sh ./build.sh
... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_18776066_branch_name=master
bamboo_repository_18776066_git_username=
bamboo_repository_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429
bamboo_planRepository_1_name=propertyservice
bamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_buildKey=INFRA-PROP-JOB1
bamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose
bamboo_repository_18776066_name=propertyservice
bamboo_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=429
bamboo_shortJobName=Default Job
bamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run
bamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_agentId=131073
bamboo_planName=FLARECAST - propertyservice
bamboo_shortPlanKey=PROP
bamboo_repository_18776066_git_branch=master
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_buildTimeStamp=2016-09-28T16:39:16.587+02:00
bamboo_planRepository_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-429
bamboo_capability_system_builder_command_Docker=/usr/bin/docker
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=FLARECAST - propertyservice - Default Job
bamboo_planRepository_1_revision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_18776066_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_name=propertyservice
bamboo_dependenciesDisabled=false
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_git_username=
bamboo_planRepository_1_type=stash-rep
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_ManualBuildTriggerReason_userName=sstachelski
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_planKey=INFRA-PROP
bamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_planRepository_username=
bamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
28-Sep-2016 16:39:25 Sending build context to Docker daemon 137.7 kB
28-Sep-2016 16:39:25
28-Sep-2016 16:39:25 Step 1 : FROM flarecast/python-base
28-Sep-2016 16:39:25 ---> 9d03e4986289
28-Sep-2016 16:39:25 Step 2 : MAINTAINER i4Ds
28-Sep-2016 16:39:25 ---> Using cache
28-Sep-2016 16:39:25 ---> 7e380828575f
28-Sep-2016 16:39:25 Step 3 : COPY . ./property_service
28-Sep-2016 16:39:25 ---> fdbbf9cae6f6
28-Sep-2016 16:39:25 Removing intermediate container e4118b834f6d
28-Sep-2016 16:39:25 Step 4 : WORKDIR ./property_service
28-Sep-2016 16:39:25 ---> Running in 5e5bab9f6d52
28-Sep-2016 16:39:25 ---> 12eb60c28be9
28-Sep-2016 16:39:25 Removing intermediate container 5e5bab9f6d52
28-Sep-2016 16:39:25 Step 5 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice"
28-Sep-2016 16:39:26 ---> Running in 565b7ed7c2bd
28-Sep-2016 16:39:26 ---> be35b077215b
28-Sep-2016 16:39:26 Removing intermediate container 565b7ed7c2bd
28-Sep-2016 16:39:26 Step 6 : CMD uwsgi --http :8002 -w main -p 16
28-Sep-2016 16:39:26 ---> Running in 1998304b3d8c
28-Sep-2016 16:39:26 ---> 1c0b45ad3468
28-Sep-2016 16:39:26 Removing intermediate container 1998304b3d8c
28-Sep-2016 16:39:26 Successfully built 1c0b45ad3468
28-Sep-2016 16:39:26 Finished task 'Build' with result: Success
28-Sep-2016 16:39:26 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
28-Sep-2016 16:39:26
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)'
... running command line:
/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-429-ScriptBuildTask-3552207617315373880.sh
... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_18776066_branch_name=master
bamboo_repository_18776066_git_username=
bamboo_repository_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429
bamboo_planRepository_1_name=propertyservice
bamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_buildKey=INFRA-PROP-JOB1
bamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose
bamboo_repository_18776066_name=propertyservice
bamboo_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=429
bamboo_shortJobName=Default Job
bamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run
bamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_agentId=131073
bamboo_planName=FLARECAST - propertyservice
bamboo_shortPlanKey=PROP
bamboo_repository_18776066_git_branch=master
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_buildTimeStamp=2016-09-28T16:39:16.587+02:00
bamboo_planRepository_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_2=/bin/sh ./build.sh
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-429
bamboo_capability_system_builder_command_Docker=/usr/bin/docker
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=FLARECAST - propertyservice - Default Job
bamboo_planRepository_1_revision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_18776066_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_name=propertyservice
bamboo_dependenciesDisabled=false
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_git_username=
bamboo_planRepository_1_type=stash-rep
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_ManualBuildTriggerReason_userName=sstachelski
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_planKey=INFRA-PROP
bamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_planRepository_username=
bamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
28-Sep-2016 16:39:51 ============================= test session starts ==============================
28-Sep-2016 16:39:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:39:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
28-Sep-2016 16:39:51 plugins: pep8-1.0.6
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_provenance_tests.xml
28-Sep-2016 16:39:51 ===============================  in 0.00 seconds ===============================
28-Sep-2016 16:39:51 ERROR: file not found: provenance_tests.py
28-Sep-2016 16:39:51 ============================= test session starts ==============================
28-Sep-2016 16:39:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:39:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
28-Sep-2016 16:39:51 plugins: pep8-1.0.6
28-Sep-2016 16:39:51 collected 4 items
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 property_group_tests.py EEEE
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 ==================================== ERRORS ====================================
28-Sep-2016 16:39:51 _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 self = <class 'tests.property_group_tests.PropertyGroupTests'>
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     @classmethod
28-Sep-2016 16:39:51     def setUpClass(self):
28-Sep-2016 16:39:51         super(PropertyGroupTests, self).setUpClass()
28-Sep-2016 16:39:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 property_group_tests.py:20:
28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     def post_request(url, payload):
28-Sep-2016 16:39:51         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:51         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:51    
28-Sep-2016 16:39:51         if r.status_code != 200:
28-Sep-2016 16:39:51 >           raise RestException(r)
28-Sep-2016 16:39:51 E           RestException: {
28-Sep-2016 16:39:51 E             "status": 500,
28-Sep-2016 16:39:51 E             "type": "about:blank",
28-Sep-2016 16:39:51 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:51 E             "title": "Internal Server Error"
28-Sep-2016 16:39:51 E           }
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 util.py:12: RestException
28-Sep-2016 16:39:51 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 self = <class 'tests.property_group_tests.PropertyGroupTests'>
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     @classmethod
28-Sep-2016 16:39:51     def setUpClass(self):
28-Sep-2016 16:39:51         super(PropertyGroupTests, self).setUpClass()
28-Sep-2016 16:39:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 property_group_tests.py:20:
28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     def post_request(url, payload):
28-Sep-2016 16:39:51         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:51         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:51    
28-Sep-2016 16:39:51         if r.status_code != 200:
28-Sep-2016 16:39:51 >           raise RestException(r)
28-Sep-2016 16:39:51 E           RestException: {
28-Sep-2016 16:39:51 E             "status": 500,
28-Sep-2016 16:39:51 E             "type": "about:blank",
28-Sep-2016 16:39:51 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:51 E             "title": "Internal Server Error"
28-Sep-2016 16:39:51 E           }
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 util.py:12: RestException
28-Sep-2016 16:39:51 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 self = <class 'tests.property_group_tests.PropertyGroupTests'>
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     @classmethod
28-Sep-2016 16:39:51     def setUpClass(self):
28-Sep-2016 16:39:51         super(PropertyGroupTests, self).setUpClass()
28-Sep-2016 16:39:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 property_group_tests.py:20:
28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     def post_request(url, payload):
28-Sep-2016 16:39:51         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:51         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:51    
28-Sep-2016 16:39:51         if r.status_code != 200:
28-Sep-2016 16:39:51 >           raise RestException(r)
28-Sep-2016 16:39:51 E           RestException: {
28-Sep-2016 16:39:51 E             "status": 500,
28-Sep-2016 16:39:51 E             "type": "about:blank",
28-Sep-2016 16:39:51 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:51 E             "title": "Internal Server Error"
28-Sep-2016 16:39:51 E           }
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 util.py:12: RestException
28-Sep-2016 16:39:51 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 self = <class 'tests.property_group_tests.PropertyGroupTests'>
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     @classmethod
28-Sep-2016 16:39:51     def setUpClass(self):
28-Sep-2016 16:39:51         super(PropertyGroupTests, self).setUpClass()
28-Sep-2016 16:39:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 property_group_tests.py:20:
28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51     def post_request(url, payload):
28-Sep-2016 16:39:51         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:51         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:51    
28-Sep-2016 16:39:51         if r.status_code != 200:
28-Sep-2016 16:39:51 >           raise RestException(r)
28-Sep-2016 16:39:51 E           RestException: {
28-Sep-2016 16:39:51 E             "status": 500,
28-Sep-2016 16:39:51 E             "type": "about:blank",
28-Sep-2016 16:39:51 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:51 E             "title": "Internal Server Error"
28-Sep-2016 16:39:51 E           }
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 util.py:12: RestException
28-Sep-2016 16:39:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml
28-Sep-2016 16:39:51 =========================== 4 error in 0.12 seconds ============================
28-Sep-2016 16:39:51 ============================= test session starts ==============================
28-Sep-2016 16:39:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:39:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
28-Sep-2016 16:39:51 plugins: pep8-1.0.6
28-Sep-2016 16:39:51 collected 0 items
28-Sep-2016 16:39:51
28-Sep-2016 16:39:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml
28-Sep-2016 16:39:51 ===============================  in 0.04 seconds ===============================
28-Sep-2016 16:39:52 ============================= test session starts ==============================
28-Sep-2016 16:39:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:39:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
28-Sep-2016 16:39:52 plugins: pep8-1.0.6
28-Sep-2016 16:39:52 collected 0 items
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml
28-Sep-2016 16:39:52 ===============================  in 0.18 seconds ===============================
28-Sep-2016 16:39:52 ============================= test session starts ==============================
28-Sep-2016 16:39:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:39:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
28-Sep-2016 16:39:52 plugins: pep8-1.0.6
28-Sep-2016 16:39:52 collected 3 items
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 link_tests.py EEE
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 ==================================== ERRORS ====================================
28-Sep-2016 16:39:52 _________________ ERROR at setup of LinkTests.test_1_add_links _________________
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 self = <class 'tests.link_tests.LinkTests'>
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52     @classmethod
28-Sep-2016 16:39:52     def setUpClass(self):
28-Sep-2016 16:39:52         super(LinkTests, self).setUpClass()
28-Sep-2016 16:39:52 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 link_tests.py:24:
28-Sep-2016 16:39:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:52 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52     def post_request(url, payload):
28-Sep-2016 16:39:52         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:52         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:52    
28-Sep-2016 16:39:52         if r.status_code != 200:
28-Sep-2016 16:39:52 >           raise RestException(r)
28-Sep-2016 16:39:52 E           RestException: {
28-Sep-2016 16:39:52 E             "status": 500,
28-Sep-2016 16:39:52 E             "type": "about:blank",
28-Sep-2016 16:39:52 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:52 E             "title": "Internal Server Error"
28-Sep-2016 16:39:52 E           }
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 util.py:12: RestException
28-Sep-2016 16:39:52 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 self = <class 'tests.link_tests.LinkTests'>
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52     @classmethod
28-Sep-2016 16:39:52     def setUpClass(self):
28-Sep-2016 16:39:52         super(LinkTests, self).setUpClass()
28-Sep-2016 16:39:52 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 link_tests.py:24:
28-Sep-2016 16:39:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:52 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52     def post_request(url, payload):
28-Sep-2016 16:39:52         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:52         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:52    
28-Sep-2016 16:39:52         if r.status_code != 200:
28-Sep-2016 16:39:52 >           raise RestException(r)
28-Sep-2016 16:39:52 E           RestException: {
28-Sep-2016 16:39:52 E             "status": 500,
28-Sep-2016 16:39:52 E             "type": "about:blank",
28-Sep-2016 16:39:52 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:52 E             "title": "Internal Server Error"
28-Sep-2016 16:39:52 E           }
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 util.py:12: RestException
28-Sep-2016 16:39:52 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 self = <class 'tests.link_tests.LinkTests'>
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52     @classmethod
28-Sep-2016 16:39:52     def setUpClass(self):
28-Sep-2016 16:39:52         super(LinkTests, self).setUpClass()
28-Sep-2016 16:39:52 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 link_tests.py:24:
28-Sep-2016 16:39:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 url = 'http://localhost:8002/dataset/bulk'
28-Sep-2016 16:39:52 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52     def post_request(url, payload):
28-Sep-2016 16:39:52         headers = {'Content-Type': 'application/json'}
28-Sep-2016 16:39:52         r = requests.post(url, json=payload, headers=headers)
28-Sep-2016 16:39:52    
28-Sep-2016 16:39:52         if r.status_code != 200:
28-Sep-2016 16:39:52 >           raise RestException(r)
28-Sep-2016 16:39:52 E           RestException: {
28-Sep-2016 16:39:52 E             "status": 500,
28-Sep-2016 16:39:52 E             "type": "about:blank",
28-Sep-2016 16:39:52 E             "detail": "The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.",
28-Sep-2016 16:39:52 E             "title": "Internal Server Error"
28-Sep-2016 16:39:52 E           }
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 util.py:12: RestException
28-Sep-2016 16:39:52 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml
28-Sep-2016 16:39:52 =========================== 3 error in 0.08 seconds ============================
28-Sep-2016 16:39:52 ============================= test session starts ==============================
28-Sep-2016 16:39:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:39:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
28-Sep-2016 16:39:52 plugins: pep8-1.0.6
28-Sep-2016 16:39:52
28-Sep-2016 16:39:52 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_query_tests.xml
28-Sep-2016 16:39:52 ===============================  in 0.05 seconds ===============================
28-Sep-2016 16:39:52 ERROR: file not found: query_tests.py
28-Sep-2016 16:40:06 Finished task 'Run tests' with result: Success
28-Sep-2016 16:40:06 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
28-Sep-2016 16:40:06
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)'
... running command line:
/usr/local/bin/py.test --pep8 -m pep8 --junitxml pep8_results.xml
... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_18776066_branch_name=master
bamboo_repository_18776066_git_username=
bamboo_repository_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429
bamboo_planRepository_1_name=propertyservice
bamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_buildKey=INFRA-PROP-JOB1
bamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose
bamboo_repository_18776066_name=propertyservice
bamboo_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=429
bamboo_shortJobName=Default Job
bamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run
bamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_agentId=131073
bamboo_planName=FLARECAST - propertyservice
bamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_7=/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-429-ScriptBuildTask-3552207617315373880.sh
bamboo_shortPlanKey=PROP
bamboo_repository_18776066_git_branch=master
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_buildTimeStamp=2016-09-28T16:39:16.587+02:00
bamboo_planRepository_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_2=/bin/sh ./build.sh
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-429
bamboo_capability_system_builder_command_Docker=/usr/bin/docker
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=FLARECAST - propertyservice - Default Job
bamboo_planRepository_1_revision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_18776066_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_name=propertyservice
bamboo_dependenciesDisabled=false
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_repository_git_username=
bamboo_planRepository_1_type=stash-rep
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_ManualBuildTriggerReason_userName=sstachelski
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5
bamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
bamboo_planKey=INFRA-PROP
bamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_planRepository_username=
bamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
28-Sep-2016 16:40:06 ============================= test session starts ==============================
28-Sep-2016 16:40:06 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
28-Sep-2016 16:40:06 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile:
28-Sep-2016 16:40:06 plugins: pep8-1.0.6
28-Sep-2016 16:40:06 collected 21 items
28-Sep-2016 16:40:06
28-Sep-2016 16:40:06 main.py .
28-Sep-2016 16:40:06 propertyservice/__init__.py .
28-Sep-2016 16:40:06 propertyservice/config.py .
28-Sep-2016 16:40:06 propertyservice/sirql_util.py .
28-Sep-2016 16:40:06 propertyservice/util.py .
28-Sep-2016 16:40:06 propertyservice/data/__init__.py .
28-Sep-2016 16:40:06 propertyservice/data/property_dao.py .
28-Sep-2016 16:40:06 propertyservice/routes/__init__.py .
28-Sep-2016 16:40:06 propertyservice/routes/dataset.py .
28-Sep-2016 16:40:06 propertyservice/routes/link.py .
28-Sep-2016 16:40:06 propertyservice/routes/property_group.py .
28-Sep-2016 16:40:06 tests/__init__.py .
28-Sep-2016 16:40:06 tests/base_test_case.py .
28-Sep-2016 16:40:06 tests/cleanup_docker_env.py .
28-Sep-2016 16:40:06 tests/dataset_tests.py .
28-Sep-2016 16:40:06 tests/link_tests.py .
28-Sep-2016 16:40:06 tests/property_group_tests.py .
28-Sep-2016 16:40:06 tests/property_tests.py .
28-Sep-2016 16:40:06 tests/property_type_tests.py .
28-Sep-2016 16:40:06 tests/setup_docker_env.py .
28-Sep-2016 16:40:06 tests/util.py .
28-Sep-2016 16:40:06
28-Sep-2016 16:40:06 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml
28-Sep-2016 16:40:06 ========================== 21 passed in 0.14 seconds ===========================
28-Sep-2016 16:40:06 Finished task 'Pep8 tests' with result: Success
28-Sep-2016 16:40:06 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
28-Sep-2016 16:40:06 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1...
28-Sep-2016 16:40:07 Failing task since 7 failing test cases were found.
28-Sep-2016 16:40:07 Finished task 'Parse pytest output' with result: Failed
28-Sep-2016 16:40:07 Running post build plugin 'NCover Results Collector'
28-Sep-2016 16:40:07 Running post build plugin 'Artifact Copier'
28-Sep-2016 16:40:07 Running post build plugin 'Sauce OnDemand Post Runner'
28-Sep-2016 16:40:07 Running post build plugin 'npm Cache Cleanup'
28-Sep-2016 16:40:07 Running post build plugin 'Clover Results Collector'
28-Sep-2016 16:40:07 Running post build plugin 'Docker Container Cleanup'
28-Sep-2016 16:40:07 Finalising the build...
28-Sep-2016 16:40:07 Stopping timer.
28-Sep-2016 16:40:07 Build INFRA-PROP-JOB1-429 completed.
28-Sep-2016 16:40:07 Running on server: post build plugin 'NCover Results Collector'
28-Sep-2016 16:40:07 Running on server: post build plugin 'Build Hanging Detection Configuration'
28-Sep-2016 16:40:07 Running on server: post build plugin 'Clover Delta Calculator'
28-Sep-2016 16:40:07 Running on server: post build plugin 'Maven Dependencies Postprocessor'
28-Sep-2016 16:40:07 All post build plugins have finished
28-Sep-2016 16:40:07 Generating build results summary...
28-Sep-2016 16:40:08 Saving build results to disk...
28-Sep-2016 16:40:08 Logging substituted variables...
28-Sep-2016 16:40:08 Indexing build results...
28-Sep-2016 16:40:08 Finished building INFRA-PROP-JOB1-429.