Build: #591 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

03-Jul-2017 14:33:43 Build FLARECAST - propertyservice - Default Job #591 (INFRA-PROP-JOB1-591) started building on agent Default Agent
03-Jul-2017 14:33:43
03-Jul-2017 14:33:43 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
03-Jul-2017 14:33:43 Executing build FLARECAST - propertyservice - Default Job #591 (INFRA-PROP-JOB1-591)
03-Jul-2017 14:33:43 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
03-Jul-2017 14:33:43 Build always requires a clean checkout
03-Jul-2017 14:33:43 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'
03-Jul-2017 14:33:43 Updating source code to revision: 959d7b45f1b4bf8b79849a5797919217e2caa5e9
03-Jul-2017 14:33:44 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'.
03-Jul-2017 14:33:44 Warning: Permanently added '[127.0.0.1]:40699' (RSA) to the list of known hosts.
03-Jul-2017 14:33:45 Checking out revision 959d7b45f1b4bf8b79849a5797919217e2caa5e9.
03-Jul-2017 14:33:45 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'.
03-Jul-2017 14:33:45 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'...
03-Jul-2017 14:33:45 Already on 'master'
03-Jul-2017 14:33:45 Your branch is up-to-date with 'origin/master'.
03-Jul-2017 14:33:46 Updated source code to revision: 959d7b45f1b4bf8b79849a5797919217e2caa5e9
03-Jul-2017 14:33:46 Finished task 'Checkout Default Repository' with result: Success
03-Jul-2017 14:33:46 Running pre-build action: VCS Version Collector
03-Jul-2017 14:33:46 Running pre-build action: Sauce OnDemand Build Configurator
03-Jul-2017 14:33:46 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
03-Jul-2017 14:33:46
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #591 (INFRA-PROP-JOB1-591)'
... 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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-591
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=591
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-591
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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_previous_revision_number=ee769326475073be297db5e98eb985857f871aa2
bamboo_buildTimeStamp=2017-07-03T14:33:40.327+02:00
bamboo_planRepository_previousRevision=ee769326475073be297db5e98eb985857f871aa2
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-591
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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_18776066_revision_number=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_name=propertyservice
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=ee769326475073be297db5e98eb985857f871aa2
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_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=ee769326475073be297db5e98eb985857f871aa2
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
03-Jul-2017 14:33:46 Sending build context to Docker daemon   169 kB
03-Jul-2017 14:33:46
03-Jul-2017 14:33:46 Step 1 : FROM flarecast/python-base
03-Jul-2017 14:33:46 ---> 75794d93664c
03-Jul-2017 14:33:46 Step 2 : MAINTAINER i4Ds
03-Jul-2017 14:33:46 ---> Using cache
03-Jul-2017 14:33:46 ---> 0b725a7ce991
03-Jul-2017 14:33:46 Step 3 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice"
03-Jul-2017 14:33:46 ---> Using cache
03-Jul-2017 14:33:46 ---> eb095f5567a7
03-Jul-2017 14:33:46 Step 4 : RUN pip install --no-cache-dir svgwrite numpy scipy
03-Jul-2017 14:33:46 ---> Using cache
03-Jul-2017 14:33:46 ---> c9122de44ab1
03-Jul-2017 14:33:46 Step 5 : CMD uwsgi --http :8002 --http-timeout 6000 --http-headers-timeout 6000 --http-connect-timeout 6000 --harakiri 6000 -w main -p 16
03-Jul-2017 14:33:46 ---> Using cache
03-Jul-2017 14:33:46 ---> 9bbae10c22b9
03-Jul-2017 14:33:46 Step 6 : WORKDIR /service/
03-Jul-2017 14:33:46 ---> Using cache
03-Jul-2017 14:33:46 ---> 2d3204bcd483
03-Jul-2017 14:33:46 Step 7 : COPY ./main.py /service/main.py
03-Jul-2017 14:33:47 ---> 57b233bb1873
03-Jul-2017 14:33:47 Removing intermediate container 34cc03547d68
03-Jul-2017 14:33:47 Step 8 : COPY ./propertyservice /service/propertyservice
03-Jul-2017 14:33:48 ---> 52e3c2a8d108
03-Jul-2017 14:33:48 Removing intermediate container 4506e9226983
03-Jul-2017 14:33:48 Successfully built 52e3c2a8d108
03-Jul-2017 14:33:48 Finished task 'Build' with result: Success
03-Jul-2017 14:33:48 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
03-Jul-2017 14:33:48
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #591 (INFRA-PROP-JOB1-591)'
... running command line:
/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-591-ScriptBuildTask-8056139776460405802.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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-591
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=591
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-591
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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_previous_revision_number=ee769326475073be297db5e98eb985857f871aa2
bamboo_buildTimeStamp=2017-07-03T14:33:40.327+02:00
bamboo_planRepository_previousRevision=ee769326475073be297db5e98eb985857f871aa2
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-591
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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_18776066_revision_number=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_name=propertyservice
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=ee769326475073be297db5e98eb985857f871aa2
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_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=ee769326475073be297db5e98eb985857f871aa2
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
03-Jul-2017 14:34:19 ============================= test session starts ==============================
03-Jul-2017 14:34:19 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
03-Jul-2017 14:34:19 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
03-Jul-2017 14:34:19 plugins: pep8-1.0.6
03-Jul-2017 14:34:19 collected 3 items
03-Jul-2017 14:34:19
03-Jul-2017 14:35:57 dataset_tests.py FFFE
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 ==================================== ERRORS ====================================
03-Jul-2017 14:35:57 _____________ ERROR at teardown of DatasetTests.test_3_get_dataset _____________
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 self = <class 'tests.dataset_tests.DatasetTests'>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     @classmethod
03-Jul-2017 14:35:57     def tearDownClass(self):
03-Jul-2017 14:35:57         delete_request(
03-Jul-2017 14:35:57             (self.service_url + self.__DELETE_DATASET) %
03-Jul-2017 14:35:57 >           (TEST_DATASETS[0]["name"])
03-Jul-2017 14:35:57         )
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 dataset_tests.py:38:
03-Jul-2017 14:35:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 url = 'http://localhost:8002/dataset/test_ds1'
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def delete_request(url):
03-Jul-2017 14:35:57         r = requests.delete(url)
03-Jul-2017 14:35:57    
03-Jul-2017 14:35:57         if r.status_code != 200:
03-Jul-2017 14:35:57 >           raise Exception(r)
03-Jul-2017 14:35:57 E           Exception: <Response [500]>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 util.py:20: Exception
03-Jul-2017 14:35:57 =================================== FAILURES ===================================
03-Jul-2017 14:35:57 _______________________ DatasetTests.test_1_add_datasets _______________________
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 self = <tests.dataset_tests.DatasetTests testMethod=test_1_add_datasets>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def test_1_add_datasets(self):
03-Jul-2017 14:35:57         result = post_request(
03-Jul-2017 14:35:57 >           self.service_url + self.__ADD_DATASETS, TEST_DATASETS
03-Jul-2017 14:35:57         )
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 dataset_tests.py:20:
03-Jul-2017 14:35:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:35:57 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def post_request(url, payload):
03-Jul-2017 14:35:57         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:35:57         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:35:57    
03-Jul-2017 14:35:57         if r.status_code != 200:
03-Jul-2017 14:35:57 >           raise Exception(r)
03-Jul-2017 14:35:57 E           Exception: <Response [500]>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 util.py:11: Exception
03-Jul-2017 14:35:57 ____________________ DatasetTests.test_2_add_dataset_twice _____________________
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 self = <tests.dataset_tests.DatasetTests testMethod=test_2_add_dataset_twice>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def test_2_add_dataset_twice(self):
03-Jul-2017 14:35:57         result = post_request(
03-Jul-2017 14:35:57 >           self.service_url + self.__ADD_DATASETS, [TEST_DATASETS[0]]
03-Jul-2017 14:35:57         )
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 dataset_tests.py:26:
03-Jul-2017 14:35:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:35:57 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}]
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def post_request(url, payload):
03-Jul-2017 14:35:57         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:35:57         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:35:57    
03-Jul-2017 14:35:57         if r.status_code != 200:
03-Jul-2017 14:35:57 >           raise Exception(r)
03-Jul-2017 14:35:57 E           Exception: <Response [500]>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 util.py:11: Exception
03-Jul-2017 14:35:57 _______________________ DatasetTests.test_3_get_dataset ________________________
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 self = <tests.dataset_tests.DatasetTests testMethod=test_3_get_dataset>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def test_3_get_dataset(self):
03-Jul-2017 14:35:57 >       result = get_request(self.service_url + self.__GET_DATASETS)
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 dataset_tests.py:31:
03-Jul-2017 14:35:57 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 url = 'http://localhost:8002/dataset/list', params = {}
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57     def get_request(url, params={}):
03-Jul-2017 14:35:57         r = requests.get(url, params=params)
03-Jul-2017 14:35:57    
03-Jul-2017 14:35:57         if r.status_code != 200:
03-Jul-2017 14:35:57 >           raise Exception(r)
03-Jul-2017 14:35:57 E           Exception: <Response [500]>
03-Jul-2017 14:35:57
03-Jul-2017 14:35:57 util.py:29: Exception
03-Jul-2017 14:35:57 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_dataset_tests.xml
03-Jul-2017 14:35:57 ====================== 3 failed, 1 error in 98.55 seconds ======================
03-Jul-2017 14:35:58 ============================= test session starts ==============================
03-Jul-2017 14:35:58 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
03-Jul-2017 14:35:58 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
03-Jul-2017 14:35:58 plugins: pep8-1.0.6
03-Jul-2017 14:35:58 collected 4 items
03-Jul-2017 14:35:58
03-Jul-2017 14:36:00 property_group_tests.py EEEE
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 ==================================== ERRORS ====================================
03-Jul-2017 14:36:00 _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 self = <class 'tests.property_group_tests.PropertyGroupTests'>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     @classmethod
03-Jul-2017 14:36:00     def setUpClass(self):
03-Jul-2017 14:36:00         super(PropertyGroupTests, self).setUpClass()
03-Jul-2017 14:36:00 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 property_group_tests.py:20:
03-Jul-2017 14:36:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:00 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     def post_request(url, payload):
03-Jul-2017 14:36:00         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:00         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:00    
03-Jul-2017 14:36:00         if r.status_code != 200:
03-Jul-2017 14:36:00 >           raise Exception(r)
03-Jul-2017 14:36:00 E           Exception: <Response [500]>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 util.py:11: Exception
03-Jul-2017 14:36:00 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 self = <class 'tests.property_group_tests.PropertyGroupTests'>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     @classmethod
03-Jul-2017 14:36:00     def setUpClass(self):
03-Jul-2017 14:36:00         super(PropertyGroupTests, self).setUpClass()
03-Jul-2017 14:36:00 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 property_group_tests.py:20:
03-Jul-2017 14:36:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:00 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     def post_request(url, payload):
03-Jul-2017 14:36:00         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:00         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:00    
03-Jul-2017 14:36:00         if r.status_code != 200:
03-Jul-2017 14:36:00 >           raise Exception(r)
03-Jul-2017 14:36:00 E           Exception: <Response [500]>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 util.py:11: Exception
03-Jul-2017 14:36:00 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 self = <class 'tests.property_group_tests.PropertyGroupTests'>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     @classmethod
03-Jul-2017 14:36:00     def setUpClass(self):
03-Jul-2017 14:36:00         super(PropertyGroupTests, self).setUpClass()
03-Jul-2017 14:36:00 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 property_group_tests.py:20:
03-Jul-2017 14:36:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:00 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     def post_request(url, payload):
03-Jul-2017 14:36:00         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:00         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:00    
03-Jul-2017 14:36:00         if r.status_code != 200:
03-Jul-2017 14:36:00 >           raise Exception(r)
03-Jul-2017 14:36:00 E           Exception: <Response [500]>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 util.py:11: Exception
03-Jul-2017 14:36:00 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 self = <class 'tests.property_group_tests.PropertyGroupTests'>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     @classmethod
03-Jul-2017 14:36:00     def setUpClass(self):
03-Jul-2017 14:36:00         super(PropertyGroupTests, self).setUpClass()
03-Jul-2017 14:36:00 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 property_group_tests.py:20:
03-Jul-2017 14:36:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:00 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00     def post_request(url, payload):
03-Jul-2017 14:36:00         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:00         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:00    
03-Jul-2017 14:36:00         if r.status_code != 200:
03-Jul-2017 14:36:00 >           raise Exception(r)
03-Jul-2017 14:36:00 E           Exception: <Response [500]>
03-Jul-2017 14:36:00
03-Jul-2017 14:36:00 util.py:11: Exception
03-Jul-2017 14:36:00 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml
03-Jul-2017 14:36:00 =========================== 4 error in 2.30 seconds ============================
03-Jul-2017 14:36:01 ============================= test session starts ==============================
03-Jul-2017 14:36:01 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
03-Jul-2017 14:36:01 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
03-Jul-2017 14:36:01 plugins: pep8-1.0.6
03-Jul-2017 14:36:01 collected 0 items
03-Jul-2017 14:36:01
03-Jul-2017 14:36:01 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml
03-Jul-2017 14:36:01 ===============================  in 0.17 seconds ===============================
03-Jul-2017 14:36:02 ============================= test session starts ==============================
03-Jul-2017 14:36:02 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
03-Jul-2017 14:36:02 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
03-Jul-2017 14:36:02 plugins: pep8-1.0.6
03-Jul-2017 14:36:02 collected 0 items
03-Jul-2017 14:36:02
03-Jul-2017 14:36:02 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml
03-Jul-2017 14:36:02 ===============================  in 0.76 seconds ===============================
03-Jul-2017 14:36:03 ============================= test session starts ==============================
03-Jul-2017 14:36:03 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
03-Jul-2017 14:36:03 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
03-Jul-2017 14:36:03 plugins: pep8-1.0.6
03-Jul-2017 14:36:03 collected 3 items
03-Jul-2017 14:36:03
03-Jul-2017 14:36:06 link_tests.py EEE
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 ==================================== ERRORS ====================================
03-Jul-2017 14:36:06 _________________ ERROR at setup of LinkTests.test_1_add_links _________________
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 self = <class 'tests.link_tests.LinkTests'>
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06     @classmethod
03-Jul-2017 14:36:06     def setUpClass(self):
03-Jul-2017 14:36:06         super(LinkTests, self).setUpClass()
03-Jul-2017 14:36:06 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 link_tests.py:24:
03-Jul-2017 14:36:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:06 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06     def post_request(url, payload):
03-Jul-2017 14:36:06         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:06         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:06    
03-Jul-2017 14:36:06         if r.status_code != 200:
03-Jul-2017 14:36:06 >           raise Exception(r)
03-Jul-2017 14:36:06 E           Exception: <Response [500]>
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 util.py:11: Exception
03-Jul-2017 14:36:06 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 self = <class 'tests.link_tests.LinkTests'>
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06     @classmethod
03-Jul-2017 14:36:06     def setUpClass(self):
03-Jul-2017 14:36:06         super(LinkTests, self).setUpClass()
03-Jul-2017 14:36:06 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 link_tests.py:24:
03-Jul-2017 14:36:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:06 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06     def post_request(url, payload):
03-Jul-2017 14:36:06         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:06         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:06    
03-Jul-2017 14:36:06         if r.status_code != 200:
03-Jul-2017 14:36:06 >           raise Exception(r)
03-Jul-2017 14:36:06 E           Exception: <Response [500]>
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 util.py:11: Exception
03-Jul-2017 14:36:06 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 self = <class 'tests.link_tests.LinkTests'>
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06     @classmethod
03-Jul-2017 14:36:06     def setUpClass(self):
03-Jul-2017 14:36:06         super(LinkTests, self).setUpClass()
03-Jul-2017 14:36:06 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 link_tests.py:24:
03-Jul-2017 14:36:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 url = 'http://localhost:8002/dataset/bulk'
03-Jul-2017 14:36:06 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06     def post_request(url, payload):
03-Jul-2017 14:36:06         headers = {'Content-Type': 'application/json'}
03-Jul-2017 14:36:06         r = requests.post(url, json=payload, headers=headers)
03-Jul-2017 14:36:06    
03-Jul-2017 14:36:06         if r.status_code != 200:
03-Jul-2017 14:36:06 >           raise Exception(r)
03-Jul-2017 14:36:06 E           Exception: <Response [500]>
03-Jul-2017 14:36:06
03-Jul-2017 14:36:06 util.py:11: Exception
03-Jul-2017 14:36:06 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml
03-Jul-2017 14:36:06 =========================== 3 error in 3.15 seconds ============================
03-Jul-2017 14:36:08 Finished task 'Run tests' with result: Success
03-Jul-2017 14:36:08 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
03-Jul-2017 14:36:08
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #591 (INFRA-PROP-JOB1-591)'
... 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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-591
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=591
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-591
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-591-ScriptBuildTask-8056139776460405802.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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_previous_revision_number=ee769326475073be297db5e98eb985857f871aa2
bamboo_buildTimeStamp=2017-07-03T14:33:40.327+02:00
bamboo_planRepository_previousRevision=ee769326475073be297db5e98eb985857f871aa2
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-591
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=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_18776066_revision_number=959d7b45f1b4bf8b79849a5797919217e2caa5e9
bamboo_repository_name=propertyservice
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=ee769326475073be297db5e98eb985857f871aa2
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_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git
bamboo_repository_18776066_previous_revision_number=ee769326475073be297db5e98eb985857f871aa2
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
03-Jul-2017 14:36:09 ============================= test session starts ==============================
03-Jul-2017 14:36:09 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
03-Jul-2017 14:36:09 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile:
03-Jul-2017 14:36:09 plugins: pep8-1.0.6
03-Jul-2017 14:36:09 collected 24 items
03-Jul-2017 14:36:09
03-Jul-2017 14:36:09 main.py .
03-Jul-2017 14:36:09 make_readonly_api.py .
03-Jul-2017 14:36:09 propertyservice/__init__.py .
03-Jul-2017 14:36:09 propertyservice/config.py .
03-Jul-2017 14:36:09 propertyservice/sirql_util.py .
03-Jul-2017 14:36:09 propertyservice/util.py .
03-Jul-2017 14:36:09 propertyservice/data/__init__.py .
03-Jul-2017 14:36:09 propertyservice/data/property_dao.py .
03-Jul-2017 14:36:09 propertyservice/routes/__init__.py .
03-Jul-2017 14:36:09 propertyservice/routes/dataset.py .
03-Jul-2017 14:36:09 propertyservice/routes/link.py .
03-Jul-2017 14:36:09 propertyservice/routes/property_group.py .
03-Jul-2017 14:36:09 propertyservice/routes/property_types.py .
03-Jul-2017 14:36:10 propertyservice/routes/summary.py .
03-Jul-2017 14:36:10 tests/__init__.py .
03-Jul-2017 14:36:10 tests/base_test_case.py .
03-Jul-2017 14:36:10 tests/cleanup_docker_env.py .
03-Jul-2017 14:36:10 tests/dataset_tests.py .
03-Jul-2017 14:36:10 tests/link_tests.py .
03-Jul-2017 14:36:10 tests/property_group_tests.py .
03-Jul-2017 14:36:10 tests/property_tests.py .
03-Jul-2017 14:36:10 tests/property_type_tests.py .
03-Jul-2017 14:36:10 tests/setup_docker_env.py .
03-Jul-2017 14:36:10 tests/util.py .
03-Jul-2017 14:36:10
03-Jul-2017 14:36:10 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml
03-Jul-2017 14:36:10 ========================== 24 passed in 0.72 seconds ===========================
03-Jul-2017 14:36:10 Finished task 'Pep8 tests' with result: Success
03-Jul-2017 14:36:10 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
03-Jul-2017 14:36:10 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1...
03-Jul-2017 14:36:10 Failing task since 10 failing test cases were found.
03-Jul-2017 14:36:10 Finished task 'Parse pytest output' with result: Failed
03-Jul-2017 14:36:10 Running post build plugin 'NCover Results Collector'
03-Jul-2017 14:36:10 Running post build plugin 'Artifact Copier'
03-Jul-2017 14:36:10 Running post build plugin 'Sauce OnDemand Post Runner'
03-Jul-2017 14:36:10 Running post build plugin 'npm Cache Cleanup'
03-Jul-2017 14:36:11 Running post build plugin 'Clover Results Collector'
03-Jul-2017 14:36:11 Running post build plugin 'Docker Container Cleanup'
03-Jul-2017 14:36:11 Finalising the build...
03-Jul-2017 14:36:11 Stopping timer.
03-Jul-2017 14:36:11 Build INFRA-PROP-JOB1-591 completed.
03-Jul-2017 14:36:11 Running on server: post build plugin 'NCover Results Collector'
03-Jul-2017 14:36:11 Running on server: post build plugin 'Build Hanging Detection Configuration'
03-Jul-2017 14:36:11 Running on server: post build plugin 'Clover Delta Calculator'
03-Jul-2017 14:36:11 Running on server: post build plugin 'Maven Dependencies Postprocessor'
03-Jul-2017 14:36:11 All post build plugins have finished
03-Jul-2017 14:36:11 Generating build results summary...
03-Jul-2017 14:36:12 Saving build results to disk...
03-Jul-2017 14:36:12 Logging substituted variables...
03-Jul-2017 14:36:13 Indexing build results...
03-Jul-2017 14:36:13 Finished building INFRA-PROP-JOB1-591.