Build: #663 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

09-Aug-2017 14:57:02 Build FLARECAST - propertyservice - Default Job #663 (INFRA-PROP-JOB1-663) started building on agent Default Agent
09-Aug-2017 14:57:02
09-Aug-2017 14:57:02 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
09-Aug-2017 14:57:02 Executing build FLARECAST - propertyservice - Default Job #663 (INFRA-PROP-JOB1-663)
09-Aug-2017 14:57:02 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
09-Aug-2017 14:57:02 Build always requires a clean checkout
09-Aug-2017 14:57:02 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'
09-Aug-2017 14:57:02 Updating source code to revision: 2243c535cba8ec933b7c32bb1bb2953253546757
09-Aug-2017 14:57:03 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'.
09-Aug-2017 14:57:03 Warning: Permanently added '[127.0.0.1]:43343' (RSA) to the list of known hosts.
09-Aug-2017 14:57:04 Checking out revision 2243c535cba8ec933b7c32bb1bb2953253546757.
09-Aug-2017 14:57:04 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'.
09-Aug-2017 14:57:04 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'...
09-Aug-2017 14:57:04 Already on 'master'
09-Aug-2017 14:57:04 Your branch is up-to-date with 'origin/master'.
09-Aug-2017 14:57:04 Updated source code to revision: 2243c535cba8ec933b7c32bb1bb2953253546757
09-Aug-2017 14:57:04 Finished task 'Checkout Default Repository' with result: Success
09-Aug-2017 14:57:04 Running pre-build action: VCS Version Collector
09-Aug-2017 14:57:04 Running pre-build action: Sauce OnDemand Build Configurator
09-Aug-2017 14:57:04 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
09-Aug-2017 14:57:04
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #663 (INFRA-PROP-JOB1-663)'
... 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_dependency_parent_0=INFRA-BASE-574
bamboo_dependency_parent_total=1
bamboo_repository_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-663
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=663
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-663
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=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_previous_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_buildTimeStamp=2017-08-09T14:56:12.311+02:00
bamboo_planRepository_previousRevision=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-663
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=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_18776066_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
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=2243c535cba8ec933b7c32bb1bb2953253546757
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=2243c535cba8ec933b7c32bb1bb2953253546757
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
09-Aug-2017 14:57:04 Sending build context to Docker daemon 182.8 kB
09-Aug-2017 14:57:04
09-Aug-2017 14:57:04 Step 1 : FROM flarecast/python-base
09-Aug-2017 14:57:04 ---> fc3b3bb49592
09-Aug-2017 14:57:04 Step 2 : MAINTAINER i4Ds
09-Aug-2017 14:57:04 ---> Using cache
09-Aug-2017 14:57:04 ---> 2442ebbb6047
09-Aug-2017 14:57:04 Step 3 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice"
09-Aug-2017 14:57:05 ---> Running in 710d3b8c2f84
09-Aug-2017 14:57:05 ---> 033c1ac2f924
09-Aug-2017 14:57:05 Removing intermediate container 710d3b8c2f84
09-Aug-2017 14:57:05 Step 4 : RUN pip install --no-cache-dir svgwrite numpy scipy
09-Aug-2017 14:57:05 ---> Running in c352df02ea3a
09-Aug-2017 14:57:06 Collecting svgwrite
09-Aug-2017 14:57:06   Downloading svgwrite-1.1.11-py2.py3-none-any.whl (64kB)
09-Aug-2017 14:57:07 Collecting numpy
09-Aug-2017 14:57:07   Downloading numpy-1.13.1-cp27-cp27mu-manylinux1_x86_64.whl (16.6MB)
09-Aug-2017 14:57:09 Collecting scipy
09-Aug-2017 14:57:09   Downloading scipy-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB)
09-Aug-2017 14:57:13 Collecting pyparsing>=2.0.1 (from svgwrite)
09-Aug-2017 14:57:13   Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
09-Aug-2017 14:57:13 Installing collected packages: pyparsing, svgwrite, numpy, scipy
09-Aug-2017 14:57:19 Successfully installed numpy-1.13.1 pyparsing-2.2.0 scipy-0.19.1 svgwrite-1.1.11
09-Aug-2017 14:57:25 ---> fef37edfd652
09-Aug-2017 14:57:25 Removing intermediate container c352df02ea3a
09-Aug-2017 14:57:25 Step 5 : CMD uwsgi --http :8002 --http-timeout 6000 --http-headers-timeout 6000 --http-connect-timeout 6000 --harakiri 6000 -w main -p 16
09-Aug-2017 14:57:26 ---> Running in 71e95f2d3795
09-Aug-2017 14:57:26 ---> ddc78abc9754
09-Aug-2017 14:57:26 Removing intermediate container 71e95f2d3795
09-Aug-2017 14:57:26 Step 6 : WORKDIR /service/
09-Aug-2017 14:57:26 ---> Running in e1205a3e3193
09-Aug-2017 14:57:26 ---> 3a77bb5c1d6b
09-Aug-2017 14:57:26 Removing intermediate container e1205a3e3193
09-Aug-2017 14:57:26 Step 7 : COPY ./main.py /service/main.py
09-Aug-2017 14:57:26 ---> a536eec3a15f
09-Aug-2017 14:57:26 Removing intermediate container eb7c978b9f18
09-Aug-2017 14:57:26 Step 8 : COPY ./propertyservice /service/propertyservice
09-Aug-2017 14:57:26 ---> 99109a1d7af2
09-Aug-2017 14:57:26 Removing intermediate container f8b4a0eff42e
09-Aug-2017 14:57:26 Successfully built 99109a1d7af2
09-Aug-2017 14:57:26 Finished task 'Build' with result: Success
09-Aug-2017 14:57:26 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
09-Aug-2017 14:57:26
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #663 (INFRA-PROP-JOB1-663)'
... running command line:
/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-663-ScriptBuildTask-3927576787353016811.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_dependency_parent_0=INFRA-BASE-574
bamboo_dependency_parent_total=1
bamboo_repository_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-663
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=663
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-663
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=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_previous_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_buildTimeStamp=2017-08-09T14:56:12.311+02:00
bamboo_planRepository_previousRevision=2243c535cba8ec933b7c32bb1bb2953253546757
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-663
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=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_18776066_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
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=2243c535cba8ec933b7c32bb1bb2953253546757
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=2243c535cba8ec933b7c32bb1bb2953253546757
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
09-Aug-2017 14:57:49 ============================= test session starts ==============================
09-Aug-2017 14:57:49 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
09-Aug-2017 14:57:49 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
09-Aug-2017 14:57:49 plugins: pep8-1.0.6
09-Aug-2017 14:57:49 collected 3 items
09-Aug-2017 14:57:49
09-Aug-2017 14:57:50 dataset_tests.py FFFE
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 ==================================== ERRORS ====================================
09-Aug-2017 14:57:50 _____________ ERROR at teardown of DatasetTests.test_3_get_dataset _____________
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <class 'tests.dataset_tests.DatasetTests'>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     @classmethod
09-Aug-2017 14:57:50     def tearDownClass(self):
09-Aug-2017 14:57:50         delete_request(
09-Aug-2017 14:57:50             (self.service_url + self.__DELETE_DATASET) %
09-Aug-2017 14:57:50 >           (TEST_DATASETS[0]["name"])
09-Aug-2017 14:57:50         )
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 dataset_tests.py:38:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/test_ds1'
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def delete_request(url):
09-Aug-2017 14:57:50         r = requests.delete(url)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:20: Exception
09-Aug-2017 14:57:50 =================================== FAILURES ===================================
09-Aug-2017 14:57:50 _______________________ DatasetTests.test_1_add_datasets _______________________
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <tests.dataset_tests.DatasetTests testMethod=test_1_add_datasets>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def test_1_add_datasets(self):
09-Aug-2017 14:57:50         result = post_request(
09-Aug-2017 14:57:50 >           self.service_url + self.__ADD_DATASETS, TEST_DATASETS
09-Aug-2017 14:57:50         )
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 dataset_tests.py:20:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:50 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def post_request(url, payload):
09-Aug-2017 14:57:50         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:50         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:11: Exception
09-Aug-2017 14:57:50 ____________________ DatasetTests.test_2_add_dataset_twice _____________________
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <tests.dataset_tests.DatasetTests testMethod=test_2_add_dataset_twice>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def test_2_add_dataset_twice(self):
09-Aug-2017 14:57:50         result = post_request(
09-Aug-2017 14:57:50 >           self.service_url + self.__ADD_DATASETS, [TEST_DATASETS[0]]
09-Aug-2017 14:57:50         )
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 dataset_tests.py:26:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:50 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def post_request(url, payload):
09-Aug-2017 14:57:50         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:50         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:11: Exception
09-Aug-2017 14:57:50 _______________________ DatasetTests.test_3_get_dataset ________________________
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <tests.dataset_tests.DatasetTests testMethod=test_3_get_dataset>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def test_3_get_dataset(self):
09-Aug-2017 14:57:50 >       result = get_request(self.service_url + self.__GET_DATASETS)
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 dataset_tests.py:31:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/list', params = {}
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def get_request(url, params={}):
09-Aug-2017 14:57:50         r = requests.get(url, params=params)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:29: Exception
09-Aug-2017 14:57:50 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_dataset_tests.xml
09-Aug-2017 14:57:50 ====================== 3 failed, 1 error in 0.17 seconds =======================
09-Aug-2017 14:57:50 ============================= test session starts ==============================
09-Aug-2017 14:57:50 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
09-Aug-2017 14:57:50 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
09-Aug-2017 14:57:50 plugins: pep8-1.0.6
09-Aug-2017 14:57:50 collected 4 items
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 property_group_tests.py EEEE
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 ==================================== ERRORS ====================================
09-Aug-2017 14:57:50 _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <class 'tests.property_group_tests.PropertyGroupTests'>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     @classmethod
09-Aug-2017 14:57:50     def setUpClass(self):
09-Aug-2017 14:57:50         super(PropertyGroupTests, self).setUpClass()
09-Aug-2017 14:57:50 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 property_group_tests.py:20:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:50 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def post_request(url, payload):
09-Aug-2017 14:57:50         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:50         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:11: Exception
09-Aug-2017 14:57:50 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <class 'tests.property_group_tests.PropertyGroupTests'>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     @classmethod
09-Aug-2017 14:57:50     def setUpClass(self):
09-Aug-2017 14:57:50         super(PropertyGroupTests, self).setUpClass()
09-Aug-2017 14:57:50 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 property_group_tests.py:20:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:50 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def post_request(url, payload):
09-Aug-2017 14:57:50         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:50         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:11: Exception
09-Aug-2017 14:57:50 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <class 'tests.property_group_tests.PropertyGroupTests'>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     @classmethod
09-Aug-2017 14:57:50     def setUpClass(self):
09-Aug-2017 14:57:50         super(PropertyGroupTests, self).setUpClass()
09-Aug-2017 14:57:50 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 property_group_tests.py:20:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:50 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def post_request(url, payload):
09-Aug-2017 14:57:50         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:50         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:11: Exception
09-Aug-2017 14:57:50 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 self = <class 'tests.property_group_tests.PropertyGroupTests'>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     @classmethod
09-Aug-2017 14:57:50     def setUpClass(self):
09-Aug-2017 14:57:50         super(PropertyGroupTests, self).setUpClass()
09-Aug-2017 14:57:50 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 property_group_tests.py:20:
09-Aug-2017 14:57:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:50 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50     def post_request(url, payload):
09-Aug-2017 14:57:50         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:50         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:50    
09-Aug-2017 14:57:50         if r.status_code != 200:
09-Aug-2017 14:57:50 >           raise Exception(r)
09-Aug-2017 14:57:50 E           Exception: <Response [500]>
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 util.py:11: Exception
09-Aug-2017 14:57:50 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml
09-Aug-2017 14:57:50 =========================== 4 error in 0.12 seconds ============================
09-Aug-2017 14:57:50 ============================= test session starts ==============================
09-Aug-2017 14:57:50 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
09-Aug-2017 14:57:50 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
09-Aug-2017 14:57:50 plugins: pep8-1.0.6
09-Aug-2017 14:57:50 collected 0 items
09-Aug-2017 14:57:50
09-Aug-2017 14:57:50 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml
09-Aug-2017 14:57:50 ===============================  in 0.08 seconds ===============================
09-Aug-2017 14:57:51 ============================= test session starts ==============================
09-Aug-2017 14:57:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
09-Aug-2017 14:57:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
09-Aug-2017 14:57:51 plugins: pep8-1.0.6
09-Aug-2017 14:57:51 collected 0 items
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml
09-Aug-2017 14:57:51 ===============================  in 0.13 seconds ===============================
09-Aug-2017 14:57:51 ============================= test session starts ==============================
09-Aug-2017 14:57:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
09-Aug-2017 14:57:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
09-Aug-2017 14:57:51 plugins: pep8-1.0.6
09-Aug-2017 14:57:51 collected 3 items
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 link_tests.py EEE
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 ==================================== ERRORS ====================================
09-Aug-2017 14:57:51 _________________ ERROR at setup of LinkTests.test_1_add_links _________________
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 self = <class 'tests.link_tests.LinkTests'>
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51     @classmethod
09-Aug-2017 14:57:51     def setUpClass(self):
09-Aug-2017 14:57:51         super(LinkTests, self).setUpClass()
09-Aug-2017 14:57:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 link_tests.py:24:
09-Aug-2017 14:57:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51     def post_request(url, payload):
09-Aug-2017 14:57:51         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:51         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:51    
09-Aug-2017 14:57:51         if r.status_code != 200:
09-Aug-2017 14:57:51 >           raise Exception(r)
09-Aug-2017 14:57:51 E           Exception: <Response [500]>
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 util.py:11: Exception
09-Aug-2017 14:57:51 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 self = <class 'tests.link_tests.LinkTests'>
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51     @classmethod
09-Aug-2017 14:57:51     def setUpClass(self):
09-Aug-2017 14:57:51         super(LinkTests, self).setUpClass()
09-Aug-2017 14:57:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 link_tests.py:24:
09-Aug-2017 14:57:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51     def post_request(url, payload):
09-Aug-2017 14:57:51         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:51         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:51    
09-Aug-2017 14:57:51         if r.status_code != 200:
09-Aug-2017 14:57:51 >           raise Exception(r)
09-Aug-2017 14:57:51 E           Exception: <Response [500]>
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 util.py:11: Exception
09-Aug-2017 14:57:51 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 self = <class 'tests.link_tests.LinkTests'>
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51     @classmethod
09-Aug-2017 14:57:51     def setUpClass(self):
09-Aug-2017 14:57:51         super(LinkTests, self).setUpClass()
09-Aug-2017 14:57:51 >       post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 link_tests.py:24:
09-Aug-2017 14:57:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 url = 'http://localhost:8002/dataset/bulk'
09-Aug-2017 14:57:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51     def post_request(url, payload):
09-Aug-2017 14:57:51         headers = {'Content-Type': 'application/json'}
09-Aug-2017 14:57:51         r = requests.post(url, json=payload, headers=headers)
09-Aug-2017 14:57:51    
09-Aug-2017 14:57:51         if r.status_code != 200:
09-Aug-2017 14:57:51 >           raise Exception(r)
09-Aug-2017 14:57:51 E           Exception: <Response [500]>
09-Aug-2017 14:57:51
09-Aug-2017 14:57:51 util.py:11: Exception
09-Aug-2017 14:57:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml
09-Aug-2017 14:57:51 =========================== 3 error in 0.16 seconds ============================
09-Aug-2017 14:58:06 Finished task 'Run tests' with result: Success
09-Aug-2017 14:58:06 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
09-Aug-2017 14:58:06
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #663 (INFRA-PROP-JOB1-663)'
... 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_dependency_parent_0=INFRA-BASE-574
bamboo_dependency_parent_total=1
bamboo_repository_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-663
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=663
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-663
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-663-ScriptBuildTask-3927576787353016811.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=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_previous_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_buildTimeStamp=2017-08-09T14:56:12.311+02:00
bamboo_planRepository_previousRevision=2243c535cba8ec933b7c32bb1bb2953253546757
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-663
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=2243c535cba8ec933b7c32bb1bb2953253546757
bamboo_repository_18776066_revision_number=2243c535cba8ec933b7c32bb1bb2953253546757
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=2243c535cba8ec933b7c32bb1bb2953253546757
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=2243c535cba8ec933b7c32bb1bb2953253546757
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
09-Aug-2017 14:58:07 ============================= test session starts ==============================
09-Aug-2017 14:58:07 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
09-Aug-2017 14:58:07 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile:
09-Aug-2017 14:58:07 plugins: pep8-1.0.6
09-Aug-2017 14:58:07 collected 24 items
09-Aug-2017 14:58:07
09-Aug-2017 14:58:07 main.py .
09-Aug-2017 14:58:07 propertyservice/__init__.py .
09-Aug-2017 14:58:07 propertyservice/config.py .
09-Aug-2017 14:58:07 propertyservice/sirql_util.py .
09-Aug-2017 14:58:07 propertyservice/util.py .
09-Aug-2017 14:58:07 propertyservice/data/__init__.py .
09-Aug-2017 14:58:07 propertyservice/data/property_dao.py .
09-Aug-2017 14:58:07 propertyservice/routes/__init__.py .
09-Aug-2017 14:58:07 propertyservice/routes/analysis.py .
09-Aug-2017 14:58:07 propertyservice/routes/dataset.py .
09-Aug-2017 14:58:07 propertyservice/routes/link.py .
09-Aug-2017 14:58:07 propertyservice/routes/property_group.py .
09-Aug-2017 14:58:07 propertyservice/routes/property_types.py .
09-Aug-2017 14:58:07 propertyservice/routes/summary.py .
09-Aug-2017 14:58:07 tests/__init__.py .
09-Aug-2017 14:58:07 tests/base_test_case.py .
09-Aug-2017 14:58:07 tests/cleanup_docker_env.py .
09-Aug-2017 14:58:07 tests/dataset_tests.py .
09-Aug-2017 14:58:07 tests/link_tests.py .
09-Aug-2017 14:58:07 tests/property_group_tests.py .
09-Aug-2017 14:58:07 tests/property_tests.py .
09-Aug-2017 14:58:07 tests/property_type_tests.py .
09-Aug-2017 14:58:07 tests/setup_docker_env.py .
09-Aug-2017 14:58:07 tests/util.py .
09-Aug-2017 14:58:07
09-Aug-2017 14:58:07 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml
09-Aug-2017 14:58:07 ========================== 24 passed in 0.31 seconds ===========================
09-Aug-2017 14:58:07 Finished task 'Pep8 tests' with result: Success
09-Aug-2017 14:58:07 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
09-Aug-2017 14:58:07 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1...
09-Aug-2017 14:58:07 Failing task since 10 failing test cases were found.
09-Aug-2017 14:58:07 Finished task 'Parse pytest output' with result: Failed
09-Aug-2017 14:58:07 Running post build plugin 'NCover Results Collector'
09-Aug-2017 14:58:07 Running post build plugin 'Artifact Copier'
09-Aug-2017 14:58:07 Running post build plugin 'Sauce OnDemand Post Runner'
09-Aug-2017 14:58:07 Running post build plugin 'npm Cache Cleanup'
09-Aug-2017 14:58:07 Running post build plugin 'Clover Results Collector'
09-Aug-2017 14:58:07 Running post build plugin 'Docker Container Cleanup'
09-Aug-2017 14:58:07 Finalising the build...
09-Aug-2017 14:58:07 Stopping timer.
09-Aug-2017 14:58:07 Build INFRA-PROP-JOB1-663 completed.
09-Aug-2017 14:58:07 Running on server: post build plugin 'NCover Results Collector'
09-Aug-2017 14:58:07 Running on server: post build plugin 'Build Hanging Detection Configuration'
09-Aug-2017 14:58:07 Running on server: post build plugin 'Clover Delta Calculator'
09-Aug-2017 14:58:07 Running on server: post build plugin 'Maven Dependencies Postprocessor'
09-Aug-2017 14:58:07 All post build plugins have finished
09-Aug-2017 14:58:07 Generating build results summary...
09-Aug-2017 14:58:07 Saving build results to disk...
09-Aug-2017 14:58:07 Logging substituted variables...
09-Aug-2017 14:58:08 Indexing build results...
09-Aug-2017 14:58:08 Finished building INFRA-PROP-JOB1-663.