Build: #336 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

14-Jun-2016 16:44:08 Build FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336) started building on agent Default Agent
14-Jun-2016 16:44:08
14-Jun-2016 16:44:08 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1
14-Jun-2016 16:44:08 Executing build FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)
14-Jun-2016 16:44:08 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
14-Jun-2016 16:44:08 Build always requires a clean checkout
14-Jun-2016 16:44:08 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'
14-Jun-2016 16:44:08 Updating source code to revision: d20f090072f34556f50399560b7c82212a0bc8c1
14-Jun-2016 16:44:08 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/fe/propertyservice.git'.
14-Jun-2016 16:44:08 Warning: Permanently added '[127.0.0.1]:43770' (RSA) to the list of known hosts.
14-Jun-2016 16:44:08 Checking out revision d20f090072f34556f50399560b7c82212a0bc8c1.
14-Jun-2016 16:44:08 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'.
14-Jun-2016 16:44:08 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'...
14-Jun-2016 16:44:08 Already on 'master'
14-Jun-2016 16:44:08 Your branch is up-to-date with 'origin/master'.
14-Jun-2016 16:44:09 Updated source code to revision: d20f090072f34556f50399560b7c82212a0bc8c1
14-Jun-2016 16:44:09 Finished task 'Checkout Default Repository' with result: Success
14-Jun-2016 16:44:09 Running pre-build action: VCS Version Collector
14-Jun-2016 16:44:09 Running pre-build action: Sauce OnDemand Build Configurator
14-Jun-2016 16:44:09 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Jun-2016 16:44:09
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)'
... 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_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336
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_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=336
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-336
bamboo_repository_2785292_branch_name=master
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
bamboo_agentId=131073
bamboo_planName=FLARECAST - propertyservice
bamboo_shortPlanKey=PROP
bamboo_repository_2785292_git_username=
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_repository_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_buildTimeStamp=2016-06-14T16:44:08.101+02:00
bamboo_planRepository_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_repository_2785292_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test
bamboo_buildResultKey=INFRA-PROP-JOB1-336
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=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_repository_name=propertyservice
bamboo_repository_2785292_git_branch=master
bamboo_repository_2785292_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1
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=29f574bff0cb1e24b46f786b77581c82ca1aba56
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_repository_2785292_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_repository_2785292_name=propertyservice
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
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/fe/propertyservice.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
14-Jun-2016 16:44:09 Sending build context to Docker daemon 137.2 kB
14-Jun-2016 16:44:09
14-Jun-2016 16:44:09 Step 1 : FROM flarecast/python-base
14-Jun-2016 16:44:09 ---> 5c7faa181ba0
14-Jun-2016 16:44:09 Step 2 : MAINTAINER i4Ds
14-Jun-2016 16:44:09 ---> Using cache
14-Jun-2016 16:44:09 ---> 55de58b1f047
14-Jun-2016 16:44:09 Step 3 : COPY . ./property_service
14-Jun-2016 16:44:09 ---> 7bfd5fa10d2d
14-Jun-2016 16:44:09 Removing intermediate container a9e1b62f0c50
14-Jun-2016 16:44:09 Step 4 : WORKDIR ./property_service
14-Jun-2016 16:44:10 ---> Running in a5f3b57e8a8e
14-Jun-2016 16:44:10 ---> f49cb5e69c55
14-Jun-2016 16:44:10 Removing intermediate container a5f3b57e8a8e
14-Jun-2016 16:44:10 Step 5 : LABEL eu.flarecast.type "system"
14-Jun-2016 16:44:11 ---> Running in 4cc1b50d3bbf
14-Jun-2016 16:44:11 ---> 03540929b45a
14-Jun-2016 16:44:11 Removing intermediate container 4cc1b50d3bbf
14-Jun-2016 16:44:11 Step 6 : LABEL eu.flarecast.name "propertyservice"
14-Jun-2016 16:44:11 ---> Running in f94beb349760
14-Jun-2016 16:44:11 ---> 5c5a9c972a4c
14-Jun-2016 16:44:11 Removing intermediate container f94beb349760
14-Jun-2016 16:44:11 Step 7 : CMD uwsgi --http :8002 -w main -p 16
14-Jun-2016 16:44:11 ---> Running in 7365384d99be
14-Jun-2016 16:44:11 ---> 28977723af77
14-Jun-2016 16:44:11 Removing intermediate container 7365384d99be
14-Jun-2016 16:44:11 Successfully built 28977723af77
14-Jun-2016 16:44:11 Finished task 'Build' with result: Success
14-Jun-2016 16:44:11 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
14-Jun-2016 16:44:11
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)'
... running command line:
/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-336-ScriptBuildTask-2226835238021434536.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_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336
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_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=336
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-336
bamboo_repository_2785292_branch_name=master
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
bamboo_agentId=131073
bamboo_planName=FLARECAST - propertyservice
bamboo_shortPlanKey=PROP
bamboo_repository_2785292_git_username=
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_repository_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_buildTimeStamp=2016-06-14T16:44:08.101+02:00
bamboo_planRepository_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_repository_2785292_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56
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-336
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=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_repository_name=propertyservice
bamboo_repository_2785292_git_branch=master
bamboo_repository_2785292_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1
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=29f574bff0cb1e24b46f786b77581c82ca1aba56
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_repository_2785292_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_repository_2785292_name=propertyservice
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
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/fe/propertyservice.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
14-Jun-2016 16:44:34 ============================= test session starts ==============================
14-Jun-2016 16:44:34 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:34 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
14-Jun-2016 16:44:34 plugins: pep8-1.0.6
14-Jun-2016 16:44:34 collected 4 items
14-Jun-2016 16:44:34
14-Jun-2016 16:44:35 provenance_tests.py FFFF
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 =================================== FAILURES ===================================
14-Jun-2016 16:44:35 ________________ ProvenanceTests.test_add_multiple_provenances _________________
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 self = <tests.provenance_tests.ProvenanceTests testMethod=test_add_multiple_provenances>
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     def test_add_multiple_provenances(self):
14-Jun-2016 16:44:35 >       result = self.client.insert_provenances(TEST_PROVENANCES)
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 provenance_tests.py:15:
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:66: in insert_provenances
14-Jun-2016 16:44:35     return self.__post_request(url, provenance_list)
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 url = 'http://localhost:8002/provenance/bulk'
14-Jun-2016 16:44:35 payload = ['test_prov1', 'test_prov2']
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     @staticmethod
14-Jun-2016 16:44:35     def __post_request(url, payload):
14-Jun-2016 16:44:35         headers = {'Content-Type': 'application/json'}
14-Jun-2016 16:44:35         r = requests.post(url, json=payload, headers=headers)
14-Jun-2016 16:44:35    
14-Jun-2016 16:44:35         if r.status_code != 200:
14-Jun-2016 16:44:35 >           raise RestException(r)
14-Jun-2016 16:44:35 E           RestException: {
14-Jun-2016 16:44:35 E             "status": 500,
14-Jun-2016 16:44:35 E             "type": "about:blank",
14-Jun-2016 16:44:35 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.",
14-Jun-2016 16:44:35 E             "title": "Internal Server Error"
14-Jun-2016 16:44:35 E           }
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException
14-Jun-2016 16:44:35 ___________________ ProvenanceTests.test_add_one_provenance ____________________
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 self = <tests.provenance_tests.ProvenanceTests testMethod=test_add_one_provenance>
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     def test_add_one_provenance(self):
14-Jun-2016 16:44:35 >       result = self.client.add_provenance(TEST_PROVENANCE)
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 provenance_tests.py:11:
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance
14-Jun-2016 16:44:35     return self.__post_request(url, name)
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 url = 'http://localhost:8002/provenance', payload = 'test_prov'
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     @staticmethod
14-Jun-2016 16:44:35     def __post_request(url, payload):
14-Jun-2016 16:44:35         headers = {'Content-Type': 'application/json'}
14-Jun-2016 16:44:35         r = requests.post(url, json=payload, headers=headers)
14-Jun-2016 16:44:35    
14-Jun-2016 16:44:35         if r.status_code != 200:
14-Jun-2016 16:44:35 >           raise RestException(r)
14-Jun-2016 16:44:35 E           RestException: {
14-Jun-2016 16:44:35 E             "status": 500,
14-Jun-2016 16:44:35 E             "type": "about:blank",
14-Jun-2016 16:44:35 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.",
14-Jun-2016 16:44:35 E             "title": "Internal Server Error"
14-Jun-2016 16:44:35 E           }
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException
14-Jun-2016 16:44:35 __________________ ProvenanceTests.test_add_provenance_twice ___________________
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 self = <tests.provenance_tests.ProvenanceTests testMethod=test_add_provenance_twice>
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     def test_add_provenance_twice(self):
14-Jun-2016 16:44:35 >       result = self.client.add_provenance(TEST_PROVENANCE)
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 provenance_tests.py:19:
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance
14-Jun-2016 16:44:35     return self.__post_request(url, name)
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 url = 'http://localhost:8002/provenance', payload = 'test_prov'
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     @staticmethod
14-Jun-2016 16:44:35     def __post_request(url, payload):
14-Jun-2016 16:44:35         headers = {'Content-Type': 'application/json'}
14-Jun-2016 16:44:35         r = requests.post(url, json=payload, headers=headers)
14-Jun-2016 16:44:35    
14-Jun-2016 16:44:35         if r.status_code != 200:
14-Jun-2016 16:44:35 >           raise RestException(r)
14-Jun-2016 16:44:35 E           RestException: {
14-Jun-2016 16:44:35 E             "status": 500,
14-Jun-2016 16:44:35 E             "type": "about:blank",
14-Jun-2016 16:44:35 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.",
14-Jun-2016 16:44:35 E             "title": "Internal Server Error"
14-Jun-2016 16:44:35 E           }
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException
14-Jun-2016 16:44:35 _____________________ ProvenanceTests.test_get_provenance ______________________
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 self = <tests.provenance_tests.ProvenanceTests testMethod=test_get_provenance>
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     def test_get_provenance(self):
14-Jun-2016 16:44:35         result = self.client.get_provenances()
14-Jun-2016 16:44:35 >       self.assertEqual(3, len(result))
14-Jun-2016 16:44:35 E       AssertionError: 3 != 0
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 provenance_tests.py:24: AssertionError
14-Jun-2016 16:44:35 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_provenance_tests.xml
14-Jun-2016 16:44:35 =========================== 4 failed in 1.18 seconds ===========================
14-Jun-2016 16:44:35 ============================= test session starts ==============================
14-Jun-2016 16:44:35 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:35 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
14-Jun-2016 16:44:35 plugins: pep8-1.0.6
14-Jun-2016 16:44:35 collected 2 items
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 property_group_tests.py FF
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 =================================== FAILURES ===================================
14-Jun-2016 16:44:35 _____________ PropertyGroupTests.test_add_multiple_property_groups _____________
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 self = <tests.property_group_tests.PropertyGroupTests testMethod=test_add_multiple_property_groups>
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     def test_add_multiple_property_groups(self):
14-Jun-2016 16:44:35         result = self.client.insert_regions(
14-Jun-2016 16:44:35             TEST_PROVENANCE,
14-Jun-2016 16:44:35 >           [TEST_PGT_OBJECT, TEST_PGT_OBJECT_WITH_DATA]
14-Jun-2016 16:44:35         )
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 property_group_tests.py:23:
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:51: in insert_regions
14-Jun-2016 16:44:35     return self.__post_request(url, property_groups)
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 url = 'http://localhost:8002/region/test_prov/bulk'
14-Jun-2016 16:44:35 payload = [{'lat_hg': -10, 'long_carr': 10, 'long_hg': 20, 'nar': 500, ...}, {'data': {'test1': 500, 'test2': 'hello world', 'test3': {'name': 'simple data'}, 'test4': None}, 'lat_hg': -10, 'long_carr': 10, 'long_hg': 20, ...}]
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     @staticmethod
14-Jun-2016 16:44:35     def __post_request(url, payload):
14-Jun-2016 16:44:35         headers = {'Content-Type': 'application/json'}
14-Jun-2016 16:44:35         r = requests.post(url, json=payload, headers=headers)
14-Jun-2016 16:44:35    
14-Jun-2016 16:44:35         if r.status_code != 200:
14-Jun-2016 16:44:35 >           raise RestException(r)
14-Jun-2016 16:44:35 E           RestException: {
14-Jun-2016 16:44:35 E             "status": 500,
14-Jun-2016 16:44:35 E             "type": "about:blank",
14-Jun-2016 16:44:35 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.",
14-Jun-2016 16:44:35 E             "title": "Internal Server Error"
14-Jun-2016 16:44:35 E           }
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException
14-Jun-2016 16:44:35 ________________ PropertyGroupTests.test_add_one_property_group ________________
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 self = <tests.property_group_tests.PropertyGroupTests testMethod=test_add_one_property_group>
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     def test_add_one_property_group(self):
14-Jun-2016 16:44:35         result = self.client.add_region(
14-Jun-2016 16:44:35             TEST_PROVENANCE,
14-Jun-2016 16:44:35 >           time_start=TEST_PGT_TIME_START
14-Jun-2016 16:44:35         )
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 property_group_tests.py:16:
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:83: in add_region
14-Jun-2016 16:44:35     return self.__post_request(url, group)
14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 url = 'http://localhost:8002/region/test_prov'
14-Jun-2016 16:44:35 payload = {'time_start': '2002-01-01T00:00:00Z'}
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35     @staticmethod
14-Jun-2016 16:44:35     def __post_request(url, payload):
14-Jun-2016 16:44:35         headers = {'Content-Type': 'application/json'}
14-Jun-2016 16:44:35         r = requests.post(url, json=payload, headers=headers)
14-Jun-2016 16:44:35    
14-Jun-2016 16:44:35         if r.status_code != 200:
14-Jun-2016 16:44:35 >           raise RestException(r)
14-Jun-2016 16:44:35 E           RestException: {
14-Jun-2016 16:44:35 E             "status": 500,
14-Jun-2016 16:44:35 E             "type": "about:blank",
14-Jun-2016 16:44:35 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.",
14-Jun-2016 16:44:35 E             "title": "Internal Server Error"
14-Jun-2016 16:44:35 E           }
14-Jun-2016 16:44:35
14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException
14-Jun-2016 16:44:35 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml
14-Jun-2016 16:44:35 =========================== 2 failed in 0.14 seconds ===========================
14-Jun-2016 16:44:36 ============================= test session starts ==============================
14-Jun-2016 16:44:36 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:36 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
14-Jun-2016 16:44:36 plugins: pep8-1.0.6
14-Jun-2016 16:44:36 collected 4 items
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 property_tests.py FFFs
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 =================================== FAILURES ===================================
14-Jun-2016 16:44:36 __________________ PropertyTests.test_add_multiple_properties __________________
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 self = <tests.property_tests.PropertyTests testMethod=test_add_multiple_properties>
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     def setUp(self):
14-Jun-2016 16:44:36         super(PropertyTests, self).setUp()
14-Jun-2016 16:44:36 >       data = self.client.get_properties(TEST_PROVENANCE)
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 property_tests.py:14:
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:36     return self.__get_request(url)
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list'
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     @staticmethod
14-Jun-2016 16:44:36     def __get_request(url):
14-Jun-2016 16:44:36         r = requests.get(url)
14-Jun-2016 16:44:36    
14-Jun-2016 16:44:36         if r.status_code != 200:
14-Jun-2016 16:44:36 >           raise RestException(r)
14-Jun-2016 16:44:36 E           RestException: {
14-Jun-2016 16:44:36 E             "status": 500,
14-Jun-2016 16:44:36 E             "type": "about:blank",
14-Jun-2016 16:44:36 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.",
14-Jun-2016 16:44:36 E             "title": "Internal Server Error"
14-Jun-2016 16:44:36 E           }
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:36 _______ PropertyTests.test_add_multiple_properties_from_other_provenance _______
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 self = <tests.property_tests.PropertyTests testMethod=test_add_multiple_properties_from_other_provenance>
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     def setUp(self):
14-Jun-2016 16:44:36         super(PropertyTests, self).setUp()
14-Jun-2016 16:44:36 >       data = self.client.get_properties(TEST_PROVENANCE)
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 property_tests.py:14:
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:36     return self.__get_request(url)
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list'
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     @staticmethod
14-Jun-2016 16:44:36     def __get_request(url):
14-Jun-2016 16:44:36         r = requests.get(url)
14-Jun-2016 16:44:36    
14-Jun-2016 16:44:36         if r.status_code != 200:
14-Jun-2016 16:44:36 >           raise RestException(r)
14-Jun-2016 16:44:36 E           RestException: {
14-Jun-2016 16:44:36 E             "status": 500,
14-Jun-2016 16:44:36 E             "type": "about:blank",
14-Jun-2016 16:44:36 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.",
14-Jun-2016 16:44:36 E             "title": "Internal Server Error"
14-Jun-2016 16:44:36 E           }
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:36 _____________________ PropertyTests.test_add_one_property ______________________
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 self = <tests.property_tests.PropertyTests testMethod=test_add_one_property>
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     def setUp(self):
14-Jun-2016 16:44:36         super(PropertyTests, self).setUp()
14-Jun-2016 16:44:36 >       data = self.client.get_properties(TEST_PROVENANCE)
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 property_tests.py:14:
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:36     return self.__get_request(url)
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list'
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     @staticmethod
14-Jun-2016 16:44:36     def __get_request(url):
14-Jun-2016 16:44:36         r = requests.get(url)
14-Jun-2016 16:44:36    
14-Jun-2016 16:44:36         if r.status_code != 200:
14-Jun-2016 16:44:36 >           raise RestException(r)
14-Jun-2016 16:44:36 E           RestException: {
14-Jun-2016 16:44:36 E             "status": 500,
14-Jun-2016 16:44:36 E             "type": "about:blank",
14-Jun-2016 16:44:36 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.",
14-Jun-2016 16:44:36 E             "title": "Internal Server Error"
14-Jun-2016 16:44:36 E           }
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:36 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml
14-Jun-2016 16:44:36 ===================== 3 failed, 1 skipped in 0.16 seconds ======================
14-Jun-2016 16:44:36 ============================= test session starts ==============================
14-Jun-2016 16:44:36 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:36 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
14-Jun-2016 16:44:36 plugins: pep8-1.0.6
14-Jun-2016 16:44:36 collected 0 items
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml
14-Jun-2016 16:44:36 ===============================  in 0.05 seconds ===============================
14-Jun-2016 16:44:36 ============================= test session starts ==============================
14-Jun-2016 16:44:36 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:36 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
14-Jun-2016 16:44:36 plugins: pep8-1.0.6
14-Jun-2016 16:44:36 collected 2 items
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 link_tests.py Fs
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 =================================== FAILURES ===================================
14-Jun-2016 16:44:36 ___________________________ LinkTests.test_add_link ____________________________
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 self = <tests.link_tests.LinkTests testMethod=test_add_link>
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     def setUp(self):
14-Jun-2016 16:44:36         super(LinkTests, self).setUp()
14-Jun-2016 16:44:36 >       data = self.client.get_properties(TEST_PROVENANCE)
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 link_tests.py:13:
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:36     return self.__get_request(url)
14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list'
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36     @staticmethod
14-Jun-2016 16:44:36     def __get_request(url):
14-Jun-2016 16:44:36         r = requests.get(url)
14-Jun-2016 16:44:36    
14-Jun-2016 16:44:36         if r.status_code != 200:
14-Jun-2016 16:44:36 >           raise RestException(r)
14-Jun-2016 16:44:36 E           RestException: {
14-Jun-2016 16:44:36 E             "status": 500,
14-Jun-2016 16:44:36 E             "type": "about:blank",
14-Jun-2016 16:44:36 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.",
14-Jun-2016 16:44:36 E             "title": "Internal Server Error"
14-Jun-2016 16:44:36 E           }
14-Jun-2016 16:44:36
14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:36 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml
14-Jun-2016 16:44:36 ===================== 1 failed, 1 skipped in 0.09 seconds ======================
14-Jun-2016 16:44:37 ============================= test session starts ==============================
14-Jun-2016 16:44:37 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:37 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile:
14-Jun-2016 16:44:37 plugins: pep8-1.0.6
14-Jun-2016 16:44:37 collected 3 items
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 query_tests.py FFF
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 =================================== FAILURES ===================================
14-Jun-2016 16:44:37 ___________________ QueryTests.test_get_all_property_groups ____________________
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 self = <tests.query_tests.QueryTests testMethod=test_get_all_property_groups>
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37     def test_get_all_property_groups(self):
14-Jun-2016 16:44:37 >       groups = self.client.get_properties(TEST_PROVENANCE)
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 query_tests.py:17:
14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:37     return self.__get_request(url)
14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 url = 'http://localhost:8002/property/test_prov/list'
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37     @staticmethod
14-Jun-2016 16:44:37     def __get_request(url):
14-Jun-2016 16:44:37         r = requests.get(url)
14-Jun-2016 16:44:37    
14-Jun-2016 16:44:37         if r.status_code != 200:
14-Jun-2016 16:44:37 >           raise RestException(r)
14-Jun-2016 16:44:37 E           RestException: {
14-Jun-2016 16:44:37 E             "status": 500,
14-Jun-2016 16:44:37 E             "type": "about:blank",
14-Jun-2016 16:44:37 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.",
14-Jun-2016 16:44:37 E             "title": "Internal Server Error"
14-Jun-2016 16:44:37 E           }
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:37 _______________ QueryTests.test_get_all_property_groups_with_eq ________________
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 self = <tests.query_tests.QueryTests testMethod=test_get_all_property_groups_with_eq>
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37     def test_get_all_property_groups_with_eq(self):
14-Jun-2016 16:44:37         groups = self.client.get_properties(TEST_PROVENANCE,
14-Jun-2016 16:44:37 >                                           'test1=eq(500)')
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 query_tests.py:27:
14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:37     return self.__get_request(url)
14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 url = 'http://localhost:8002/property/test_prov/list?test1=eq(500)'
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37     @staticmethod
14-Jun-2016 16:44:37     def __get_request(url):
14-Jun-2016 16:44:37         r = requests.get(url)
14-Jun-2016 16:44:37    
14-Jun-2016 16:44:37         if r.status_code != 200:
14-Jun-2016 16:44:37 >           raise RestException(r)
14-Jun-2016 16:44:37 E           RestException: {
14-Jun-2016 16:44:37 E             "status": 500,
14-Jun-2016 16:44:37 E             "type": "about:blank",
14-Jun-2016 16:44:37 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.",
14-Jun-2016 16:44:37 E             "title": "Internal Server Error"
14-Jun-2016 16:44:37 E           }
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:37 ______________ QueryTests.test_get_all_property_groups_with_name _______________
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 self = <tests.query_tests.QueryTests testMethod=test_get_all_property_groups_with_name>
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37     def test_get_all_property_groups_with_name(self):
14-Jun-2016 16:44:37         groups = self.client.get_properties(TEST_PROVENANCE,
14-Jun-2016 16:44:37 >                                           'name=exists()')
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 query_tests.py:22:
14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties
14-Jun-2016 16:44:37     return self.__get_request(url)
14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 url = 'http://localhost:8002/property/test_prov/list?name=exists()'
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37     @staticmethod
14-Jun-2016 16:44:37     def __get_request(url):
14-Jun-2016 16:44:37         r = requests.get(url)
14-Jun-2016 16:44:37    
14-Jun-2016 16:44:37         if r.status_code != 200:
14-Jun-2016 16:44:37 >           raise RestException(r)
14-Jun-2016 16:44:37 E           RestException: {
14-Jun-2016 16:44:37 E             "status": 500,
14-Jun-2016 16:44:37 E             "type": "about:blank",
14-Jun-2016 16:44:37 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.",
14-Jun-2016 16:44:37 E             "title": "Internal Server Error"
14-Jun-2016 16:44:37 E           }
14-Jun-2016 16:44:37
14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException
14-Jun-2016 16:44:37 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_query_tests.xml
14-Jun-2016 16:44:37 =========================== 3 failed in 0.14 seconds ===========================
14-Jun-2016 16:44:38 Finished task 'Run tests' with result: Success
14-Jun-2016 16:44:38 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
14-Jun-2016 16:44:38
Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)'
... 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_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336
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_shortPlanName=propertyservice
bamboo_planRepository_name=propertyservice
bamboo_buildNumber=336
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-336
bamboo_repository_2785292_branch_name=master
bamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/fe/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-336-ScriptBuildTask-2226835238021434536.sh
bamboo_shortPlanKey=PROP
bamboo_repository_2785292_git_username=
bamboo_shortJobKey=JOB1
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_repository_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_buildTimeStamp=2016-06-14T16:44:08.101+02:00
bamboo_planRepository_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56
bamboo_repository_2785292_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56
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-336
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=d20f090072f34556f50399560b7c82212a0bc8c1
bamboo_repository_name=propertyservice
bamboo_repository_2785292_git_branch=master
bamboo_repository_2785292_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1
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=29f574bff0cb1e24b46f786b77581c82ca1aba56
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_repository_2785292_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
bamboo_planRepository_type=stash-rep
bamboo_planRepository_1_username=
bamboo_repository_2785292_name=propertyservice
bamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git
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/fe/propertyservice.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
14-Jun-2016 16:44:38 ============================= test session starts ==============================
14-Jun-2016 16:44:38 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
14-Jun-2016 16:44:38 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile:
14-Jun-2016 16:44:38 plugins: pep8-1.0.6
14-Jun-2016 16:44:39 collected 27 items
14-Jun-2016 16:44:39
14-Jun-2016 16:44:39 main.py .
14-Jun-2016 16:44:39 propertyservice/__init__.py .
14-Jun-2016 16:44:39 propertyservice/config.py .
14-Jun-2016 16:44:39 propertyservice/util.py .
14-Jun-2016 16:44:39 propertyservice/data/__init__.py .
14-Jun-2016 16:44:39 propertyservice/data/extended_queries.py .
14-Jun-2016 16:44:39 propertyservice/data/property_db_data_source.py .
14-Jun-2016 16:44:39 propertyservice/data/property_db_query_engine.py .
14-Jun-2016 16:44:39 propertyservice/data/type_evaluator.py .
14-Jun-2016 16:44:39 propertyservice/routes/__init__.py .
14-Jun-2016 16:44:39 propertyservice/routes/link.py .
14-Jun-2016 16:44:39 propertyservice/routes/property.py .
14-Jun-2016 16:44:39 propertyservice/routes/property_group.py .
14-Jun-2016 16:44:39 propertyservice/routes/property_type.py .
14-Jun-2016 16:44:39 propertyservice/routes/provenance.py .
14-Jun-2016 16:44:39 propertyservice/routes/query.py .
14-Jun-2016 16:44:39 propertyservice/routes/query_builder.py .
14-Jun-2016 16:44:39 tests/__init__.py .
14-Jun-2016 16:44:39 tests/base_test_case.py .
14-Jun-2016 16:44:39 tests/cleanup_docker_env.py .
14-Jun-2016 16:44:39 tests/link_tests.py .
14-Jun-2016 16:44:39 tests/property_group_tests.py .
14-Jun-2016 16:44:39 tests/property_tests.py .
14-Jun-2016 16:44:39 tests/property_type_tests.py .
14-Jun-2016 16:44:39 tests/provenance_tests.py .
14-Jun-2016 16:44:39 tests/query_tests.py .
14-Jun-2016 16:44:39 tests/setup_docker_env.py .
14-Jun-2016 16:44:39
14-Jun-2016 16:44:39 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml
14-Jun-2016 16:44:39 ========================== 27 passed in 0.17 seconds ===========================
14-Jun-2016 16:44:39 Finished task 'Pep8 tests' with result: Success
14-Jun-2016 16:44:39 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
14-Jun-2016 16:44:39 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1...
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./propertyservice was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./run_parallel.sh was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./main.py was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./README.md was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./Dockerfile was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./build.sh was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./requirements.txt was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./.gitignore was ignored because it was modified (2016-06-14 16:44:08.000) before task started (2016-06-14 16:44:08.180)
14-Jun-2016 16:44:39 Failing task since 13 failing test cases were found.
14-Jun-2016 16:44:39 Finished task 'Parse pytest output' with result: Failed
14-Jun-2016 16:44:39 Running post build plugin 'NCover Results Collector'
14-Jun-2016 16:44:39 Running post build plugin 'Artifact Copier'
14-Jun-2016 16:44:39 Running post build plugin 'Sauce OnDemand Post Runner'
14-Jun-2016 16:44:39 Running post build plugin 'npm Cache Cleanup'
14-Jun-2016 16:44:39 Running post build plugin 'Clover Results Collector'
14-Jun-2016 16:44:39 Running post build plugin 'Docker Container Cleanup'
14-Jun-2016 16:44:39 Finalising the build...
14-Jun-2016 16:44:39 Stopping timer.
14-Jun-2016 16:44:39 Build INFRA-PROP-JOB1-336 completed.
14-Jun-2016 16:44:39 Running on server: post build plugin 'NCover Results Collector'
14-Jun-2016 16:44:39 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Jun-2016 16:44:39 Running on server: post build plugin 'Clover Delta Calculator'
14-Jun-2016 16:44:39 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Jun-2016 16:44:39 All post build plugins have finished
14-Jun-2016 16:44:39 Generating build results summary...
14-Jun-2016 16:44:39 Saving build results to disk...
14-Jun-2016 16:44:39 Logging substituted variables...
14-Jun-2016 16:44:39 Indexing build results...
14-Jun-2016 16:44:39 Finished building INFRA-PROP-JOB1-336.