simple 14-Jun-2016 16:44:08 Build FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336) started building on agent Default Agent simple 14-Jun-2016 16:44:08 simple 14-Jun-2016 16:44:08 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 14-Jun-2016 16:44:08 Executing build FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336) simple 14-Jun-2016 16:44:08 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 14-Jun-2016 16:44:08 Build always requires a clean checkout simple 14-Jun-2016 16:44:08 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1' simple 14-Jun-2016 16:44:08 Updating source code to revision: d20f090072f34556f50399560b7c82212a0bc8c1 simple 14-Jun-2016 16:44:08 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/fe/propertyservice.git'. simple 14-Jun-2016 16:44:08 Warning: Permanently added '[127.0.0.1]:43770' (RSA) to the list of known hosts. simple 14-Jun-2016 16:44:08 Checking out revision d20f090072f34556f50399560b7c82212a0bc8c1. simple 14-Jun-2016 16:44:08 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'. simple 14-Jun-2016 16:44:08 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'... simple 14-Jun-2016 16:44:08 Already on 'master' simple 14-Jun-2016 16:44:08 Your branch is up-to-date with 'origin/master'. simple 14-Jun-2016 16:44:09 Updated source code to revision: d20f090072f34556f50399560b7c82212a0bc8c1 simple 14-Jun-2016 16:44:09 Finished task 'Checkout Default Repository' with result: Success simple 14-Jun-2016 16:44:09 Running pre-build action: VCS Version Collector simple 14-Jun-2016 16:44:09 Running pre-build action: Sauce OnDemand Build Configurator simple 14-Jun-2016 16:44:09 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 14-Jun-2016 16:44:09 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)'\n ... running command line: \n/bin/sh ./build.sh\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336\nbamboo_planRepository_1_name=propertyservice\nbamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\nbamboo_buildKey=INFRA-PROP-JOB1\nbamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose\nbamboo_shortPlanName=propertyservice\nbamboo_planRepository_name=propertyservice\nbamboo_buildNumber=336\nbamboo_shortJobName=Default Job\nbamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run\nbamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336\nbamboo_repository_2785292_branch_name=master\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_agentId=131073\nbamboo_planName=FLARECAST - propertyservice\nbamboo_shortPlanKey=PROP\nbamboo_repository_2785292_git_username=\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_repository_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_buildTimeStamp=2016-06-14T16:44:08.101+02:00\nbamboo_planRepository_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_2785292_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-336\nbamboo_capability_system_builder_command_Docker=/usr/bin/docker\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=FLARECAST - propertyservice - Default Job\nbamboo_planRepository_1_revision=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_git_username=\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_repository_2785292_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_2785292_name=propertyservice\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\nbamboo_planKey=INFRA-PROP\nbamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 14-Jun-2016 16:44:09 Sending build context to Docker daemon 137.2 kB build 14-Jun-2016 16:44:09 build 14-Jun-2016 16:44:09 Step 1 : FROM flarecast/python-base build 14-Jun-2016 16:44:09 ---> 5c7faa181ba0 build 14-Jun-2016 16:44:09 Step 2 : MAINTAINER i4Ds build 14-Jun-2016 16:44:09 ---> Using cache build 14-Jun-2016 16:44:09 ---> 55de58b1f047 build 14-Jun-2016 16:44:09 Step 3 : COPY . ./property_service build 14-Jun-2016 16:44:09 ---> 7bfd5fa10d2d build 14-Jun-2016 16:44:09 Removing intermediate container a9e1b62f0c50 build 14-Jun-2016 16:44:09 Step 4 : WORKDIR ./property_service build 14-Jun-2016 16:44:10 ---> Running in a5f3b57e8a8e build 14-Jun-2016 16:44:10 ---> f49cb5e69c55 build 14-Jun-2016 16:44:10 Removing intermediate container a5f3b57e8a8e build 14-Jun-2016 16:44:10 Step 5 : LABEL eu.flarecast.type "system" build 14-Jun-2016 16:44:11 ---> Running in 4cc1b50d3bbf build 14-Jun-2016 16:44:11 ---> 03540929b45a build 14-Jun-2016 16:44:11 Removing intermediate container 4cc1b50d3bbf build 14-Jun-2016 16:44:11 Step 6 : LABEL eu.flarecast.name "propertyservice" build 14-Jun-2016 16:44:11 ---> Running in f94beb349760 build 14-Jun-2016 16:44:11 ---> 5c5a9c972a4c build 14-Jun-2016 16:44:11 Removing intermediate container f94beb349760 build 14-Jun-2016 16:44:11 Step 7 : CMD uwsgi --http :8002 -w main -p 16 build 14-Jun-2016 16:44:11 ---> Running in 7365384d99be build 14-Jun-2016 16:44:11 ---> 28977723af77 build 14-Jun-2016 16:44:11 Removing intermediate container 7365384d99be build 14-Jun-2016 16:44:11 Successfully built 28977723af77 simple 14-Jun-2016 16:44:11 Finished task 'Build' with result: Success simple 14-Jun-2016 16:44:11 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 14-Jun-2016 16:44:11 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)'\n ... running command line: \n/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-336-ScriptBuildTask-2226835238021434536.sh\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336\nbamboo_planRepository_1_name=propertyservice\nbamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\nbamboo_buildKey=INFRA-PROP-JOB1\nbamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose\nbamboo_shortPlanName=propertyservice\nbamboo_planRepository_name=propertyservice\nbamboo_buildNumber=336\nbamboo_shortJobName=Default Job\nbamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run\nbamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336\nbamboo_repository_2785292_branch_name=master\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_agentId=131073\nbamboo_planName=FLARECAST - propertyservice\nbamboo_shortPlanKey=PROP\nbamboo_repository_2785292_git_username=\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_repository_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_buildTimeStamp=2016-06-14T16:44:08.101+02:00\nbamboo_planRepository_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_2785292_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_2=/bin/sh ./build.sh\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-336\nbamboo_capability_system_builder_command_Docker=/usr/bin/docker\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=FLARECAST - propertyservice - Default Job\nbamboo_planRepository_1_revision=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_git_username=\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_repository_2785292_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_2785292_name=propertyservice\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\nbamboo_planKey=INFRA-PROP\nbamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 14-Jun-2016 16:44:34 ============================= test session starts ============================== build 14-Jun-2016 16:44:34 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:34 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Jun-2016 16:44:34 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:34 collected 4 items build 14-Jun-2016 16:44:34 build 14-Jun-2016 16:44:35 provenance_tests.py FFFF build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 =================================== FAILURES =================================== build 14-Jun-2016 16:44:35 ________________ ProvenanceTests.test_add_multiple_provenances _________________ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 self = build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 def test_add_multiple_provenances(self): build 14-Jun-2016 16:44:35 > result = self.client.insert_provenances(TEST_PROVENANCES) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 provenance_tests.py:15: build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:66: in insert_provenances build 14-Jun-2016 16:44:35 return self.__post_request(url, provenance_list) build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 url = 'http://localhost:8002/provenance/bulk' build 14-Jun-2016 16:44:35 payload = ['test_prov1', 'test_prov2'] build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 @staticmethod build 14-Jun-2016 16:44:35 def __post_request(url, payload): build 14-Jun-2016 16:44:35 headers = {'Content-Type': 'application/json'} build 14-Jun-2016 16:44:35 r = requests.post(url, json=payload, headers=headers) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 if r.status_code != 200: build 14-Jun-2016 16:44:35 > raise RestException(r) build 14-Jun-2016 16:44:35 E RestException: { build 14-Jun-2016 16:44:35 E "status": 500, build 14-Jun-2016 16:44:35 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:35 E "title": "Internal Server Error" build 14-Jun-2016 16:44:35 E } build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 14-Jun-2016 16:44:35 ___________________ ProvenanceTests.test_add_one_provenance ____________________ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 self = build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 def test_add_one_provenance(self): build 14-Jun-2016 16:44:35 > result = self.client.add_provenance(TEST_PROVENANCE) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 provenance_tests.py:11: build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance build 14-Jun-2016 16:44:35 return self.__post_request(url, name) build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 url = 'http://localhost:8002/provenance', payload = 'test_prov' build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 @staticmethod build 14-Jun-2016 16:44:35 def __post_request(url, payload): build 14-Jun-2016 16:44:35 headers = {'Content-Type': 'application/json'} build 14-Jun-2016 16:44:35 r = requests.post(url, json=payload, headers=headers) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 if r.status_code != 200: build 14-Jun-2016 16:44:35 > raise RestException(r) build 14-Jun-2016 16:44:35 E RestException: { build 14-Jun-2016 16:44:35 E "status": 500, build 14-Jun-2016 16:44:35 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:35 E "title": "Internal Server Error" build 14-Jun-2016 16:44:35 E } build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 14-Jun-2016 16:44:35 __________________ ProvenanceTests.test_add_provenance_twice ___________________ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 self = build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 def test_add_provenance_twice(self): build 14-Jun-2016 16:44:35 > result = self.client.add_provenance(TEST_PROVENANCE) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 provenance_tests.py:19: build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance build 14-Jun-2016 16:44:35 return self.__post_request(url, name) build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 url = 'http://localhost:8002/provenance', payload = 'test_prov' build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 @staticmethod build 14-Jun-2016 16:44:35 def __post_request(url, payload): build 14-Jun-2016 16:44:35 headers = {'Content-Type': 'application/json'} build 14-Jun-2016 16:44:35 r = requests.post(url, json=payload, headers=headers) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 if r.status_code != 200: build 14-Jun-2016 16:44:35 > raise RestException(r) build 14-Jun-2016 16:44:35 E RestException: { build 14-Jun-2016 16:44:35 E "status": 500, build 14-Jun-2016 16:44:35 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:35 E "title": "Internal Server Error" build 14-Jun-2016 16:44:35 E } build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 14-Jun-2016 16:44:35 _____________________ ProvenanceTests.test_get_provenance ______________________ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 self = build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 def test_get_provenance(self): build 14-Jun-2016 16:44:35 result = self.client.get_provenances() build 14-Jun-2016 16:44:35 > self.assertEqual(3, len(result)) build 14-Jun-2016 16:44:35 E AssertionError: 3 != 0 build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 provenance_tests.py:24: AssertionError build 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 build 14-Jun-2016 16:44:35 =========================== 4 failed in 1.18 seconds =========================== build 14-Jun-2016 16:44:35 ============================= test session starts ============================== build 14-Jun-2016 16:44:35 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:35 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Jun-2016 16:44:35 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:35 collected 2 items build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 property_group_tests.py FF build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 =================================== FAILURES =================================== build 14-Jun-2016 16:44:35 _____________ PropertyGroupTests.test_add_multiple_property_groups _____________ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 self = build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 def test_add_multiple_property_groups(self): build 14-Jun-2016 16:44:35 result = self.client.insert_regions( build 14-Jun-2016 16:44:35 TEST_PROVENANCE, build 14-Jun-2016 16:44:35 > [TEST_PGT_OBJECT, TEST_PGT_OBJECT_WITH_DATA] build 14-Jun-2016 16:44:35 ) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 property_group_tests.py:23: build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:51: in insert_regions build 14-Jun-2016 16:44:35 return self.__post_request(url, property_groups) build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 url = 'http://localhost:8002/region/test_prov/bulk' build 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, ...}] build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 @staticmethod build 14-Jun-2016 16:44:35 def __post_request(url, payload): build 14-Jun-2016 16:44:35 headers = {'Content-Type': 'application/json'} build 14-Jun-2016 16:44:35 r = requests.post(url, json=payload, headers=headers) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 if r.status_code != 200: build 14-Jun-2016 16:44:35 > raise RestException(r) build 14-Jun-2016 16:44:35 E RestException: { build 14-Jun-2016 16:44:35 E "status": 500, build 14-Jun-2016 16:44:35 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:35 E "title": "Internal Server Error" build 14-Jun-2016 16:44:35 E } build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 14-Jun-2016 16:44:35 ________________ PropertyGroupTests.test_add_one_property_group ________________ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 self = build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 def test_add_one_property_group(self): build 14-Jun-2016 16:44:35 result = self.client.add_region( build 14-Jun-2016 16:44:35 TEST_PROVENANCE, build 14-Jun-2016 16:44:35 > time_start=TEST_PGT_TIME_START build 14-Jun-2016 16:44:35 ) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 property_group_tests.py:16: build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:83: in add_region build 14-Jun-2016 16:44:35 return self.__post_request(url, group) build 14-Jun-2016 16:44:35 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 url = 'http://localhost:8002/region/test_prov' build 14-Jun-2016 16:44:35 payload = {'time_start': '2002-01-01T00:00:00Z'} build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 @staticmethod build 14-Jun-2016 16:44:35 def __post_request(url, payload): build 14-Jun-2016 16:44:35 headers = {'Content-Type': 'application/json'} build 14-Jun-2016 16:44:35 r = requests.post(url, json=payload, headers=headers) build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 if r.status_code != 200: build 14-Jun-2016 16:44:35 > raise RestException(r) build 14-Jun-2016 16:44:35 E RestException: { build 14-Jun-2016 16:44:35 E "status": 500, build 14-Jun-2016 16:44:35 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:35 E "title": "Internal Server Error" build 14-Jun-2016 16:44:35 E } build 14-Jun-2016 16:44:35 build 14-Jun-2016 16:44:35 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 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 build 14-Jun-2016 16:44:35 =========================== 2 failed in 0.14 seconds =========================== build 14-Jun-2016 16:44:36 ============================= test session starts ============================== build 14-Jun-2016 16:44:36 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:36 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Jun-2016 16:44:36 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:36 collected 4 items build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 property_tests.py FFFs build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 =================================== FAILURES =================================== build 14-Jun-2016 16:44:36 __________________ PropertyTests.test_add_multiple_properties __________________ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 self = build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 def setUp(self): build 14-Jun-2016 16:44:36 super(PropertyTests, self).setUp() build 14-Jun-2016 16:44:36 > data = self.client.get_properties(TEST_PROVENANCE) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 property_tests.py:14: build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:36 return self.__get_request(url) build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list' build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 @staticmethod build 14-Jun-2016 16:44:36 def __get_request(url): build 14-Jun-2016 16:44:36 r = requests.get(url) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 if r.status_code != 200: build 14-Jun-2016 16:44:36 > raise RestException(r) build 14-Jun-2016 16:44:36 E RestException: { build 14-Jun-2016 16:44:36 E "status": 500, build 14-Jun-2016 16:44:36 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:36 E "title": "Internal Server Error" build 14-Jun-2016 16:44:36 E } build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 14-Jun-2016 16:44:36 _______ PropertyTests.test_add_multiple_properties_from_other_provenance _______ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 self = build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 def setUp(self): build 14-Jun-2016 16:44:36 super(PropertyTests, self).setUp() build 14-Jun-2016 16:44:36 > data = self.client.get_properties(TEST_PROVENANCE) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 property_tests.py:14: build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:36 return self.__get_request(url) build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list' build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 @staticmethod build 14-Jun-2016 16:44:36 def __get_request(url): build 14-Jun-2016 16:44:36 r = requests.get(url) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 if r.status_code != 200: build 14-Jun-2016 16:44:36 > raise RestException(r) build 14-Jun-2016 16:44:36 E RestException: { build 14-Jun-2016 16:44:36 E "status": 500, build 14-Jun-2016 16:44:36 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:36 E "title": "Internal Server Error" build 14-Jun-2016 16:44:36 E } build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 14-Jun-2016 16:44:36 _____________________ PropertyTests.test_add_one_property ______________________ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 self = build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 def setUp(self): build 14-Jun-2016 16:44:36 super(PropertyTests, self).setUp() build 14-Jun-2016 16:44:36 > data = self.client.get_properties(TEST_PROVENANCE) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 property_tests.py:14: build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:36 return self.__get_request(url) build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list' build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 @staticmethod build 14-Jun-2016 16:44:36 def __get_request(url): build 14-Jun-2016 16:44:36 r = requests.get(url) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 if r.status_code != 200: build 14-Jun-2016 16:44:36 > raise RestException(r) build 14-Jun-2016 16:44:36 E RestException: { build 14-Jun-2016 16:44:36 E "status": 500, build 14-Jun-2016 16:44:36 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:36 E "title": "Internal Server Error" build 14-Jun-2016 16:44:36 E } build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 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 build 14-Jun-2016 16:44:36 ===================== 3 failed, 1 skipped in 0.16 seconds ====================== build 14-Jun-2016 16:44:36 ============================= test session starts ============================== build 14-Jun-2016 16:44:36 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:36 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Jun-2016 16:44:36 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:36 collected 0 items build 14-Jun-2016 16:44:36 build 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 build 14-Jun-2016 16:44:36 =============================== in 0.05 seconds =============================== build 14-Jun-2016 16:44:36 ============================= test session starts ============================== build 14-Jun-2016 16:44:36 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:36 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Jun-2016 16:44:36 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:36 collected 2 items build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 link_tests.py Fs build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 =================================== FAILURES =================================== build 14-Jun-2016 16:44:36 ___________________________ LinkTests.test_add_link ____________________________ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 self = build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 def setUp(self): build 14-Jun-2016 16:44:36 super(LinkTests, self).setUp() build 14-Jun-2016 16:44:36 > data = self.client.get_properties(TEST_PROVENANCE) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 link_tests.py:13: build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:36 return self.__get_request(url) build 14-Jun-2016 16:44:36 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 url = 'http://localhost:8002/property/test_prov/list' build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 @staticmethod build 14-Jun-2016 16:44:36 def __get_request(url): build 14-Jun-2016 16:44:36 r = requests.get(url) build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 if r.status_code != 200: build 14-Jun-2016 16:44:36 > raise RestException(r) build 14-Jun-2016 16:44:36 E RestException: { build 14-Jun-2016 16:44:36 E "status": 500, build 14-Jun-2016 16:44:36 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:36 E "title": "Internal Server Error" build 14-Jun-2016 16:44:36 E } build 14-Jun-2016 16:44:36 build 14-Jun-2016 16:44:36 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 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 build 14-Jun-2016 16:44:36 ===================== 1 failed, 1 skipped in 0.09 seconds ====================== build 14-Jun-2016 16:44:37 ============================= test session starts ============================== build 14-Jun-2016 16:44:37 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:37 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Jun-2016 16:44:37 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:37 collected 3 items build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 query_tests.py FFF build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 =================================== FAILURES =================================== build 14-Jun-2016 16:44:37 ___________________ QueryTests.test_get_all_property_groups ____________________ build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 self = build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 def test_get_all_property_groups(self): build 14-Jun-2016 16:44:37 > groups = self.client.get_properties(TEST_PROVENANCE) build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 query_tests.py:17: build 14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:37 return self.__get_request(url) build 14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 url = 'http://localhost:8002/property/test_prov/list' build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 @staticmethod build 14-Jun-2016 16:44:37 def __get_request(url): build 14-Jun-2016 16:44:37 r = requests.get(url) build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 if r.status_code != 200: build 14-Jun-2016 16:44:37 > raise RestException(r) build 14-Jun-2016 16:44:37 E RestException: { build 14-Jun-2016 16:44:37 E "status": 500, build 14-Jun-2016 16:44:37 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:37 E "title": "Internal Server Error" build 14-Jun-2016 16:44:37 E } build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 14-Jun-2016 16:44:37 _______________ QueryTests.test_get_all_property_groups_with_eq ________________ build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 self = build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 def test_get_all_property_groups_with_eq(self): build 14-Jun-2016 16:44:37 groups = self.client.get_properties(TEST_PROVENANCE, build 14-Jun-2016 16:44:37 > 'test1=eq(500)') build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 query_tests.py:27: build 14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:37 return self.__get_request(url) build 14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 url = 'http://localhost:8002/property/test_prov/list?test1=eq(500)' build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 @staticmethod build 14-Jun-2016 16:44:37 def __get_request(url): build 14-Jun-2016 16:44:37 r = requests.get(url) build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 if r.status_code != 200: build 14-Jun-2016 16:44:37 > raise RestException(r) build 14-Jun-2016 16:44:37 E RestException: { build 14-Jun-2016 16:44:37 E "status": 500, build 14-Jun-2016 16:44:37 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:37 E "title": "Internal Server Error" build 14-Jun-2016 16:44:37 E } build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 14-Jun-2016 16:44:37 ______________ QueryTests.test_get_all_property_groups_with_name _______________ build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 self = build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 def test_get_all_property_groups_with_name(self): build 14-Jun-2016 16:44:37 groups = self.client.get_properties(TEST_PROVENANCE, build 14-Jun-2016 16:44:37 > 'name=exists()') build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 query_tests.py:22: build 14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 14-Jun-2016 16:44:37 return self.__get_request(url) build 14-Jun-2016 16:44:37 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 url = 'http://localhost:8002/property/test_prov/list?name=exists()' build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 @staticmethod build 14-Jun-2016 16:44:37 def __get_request(url): build 14-Jun-2016 16:44:37 r = requests.get(url) build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 if r.status_code != 200: build 14-Jun-2016 16:44:37 > raise RestException(r) build 14-Jun-2016 16:44:37 E RestException: { build 14-Jun-2016 16:44:37 E "status": 500, build 14-Jun-2016 16:44:37 E "type": "about:blank", build 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.", build 14-Jun-2016 16:44:37 E "title": "Internal Server Error" build 14-Jun-2016 16:44:37 E } build 14-Jun-2016 16:44:37 build 14-Jun-2016 16:44:37 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 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 build 14-Jun-2016 16:44:37 =========================== 3 failed in 0.14 seconds =========================== simple 14-Jun-2016 16:44:38 Finished task 'Run tests' with result: Success simple 14-Jun-2016 16:44:38 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 14-Jun-2016 16:44:38 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #336 (INFRA-PROP-JOB1-336)'\n ... running command line: \n/usr/local/bin/py.test --pep8 -m pep8 --junitxml pep8_results.xml\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336\nbamboo_planRepository_1_name=propertyservice\nbamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\nbamboo_buildKey=INFRA-PROP-JOB1\nbamboo_capability_system_builder_command_Docker_Compose=/usr/local/bin/docker-compose\nbamboo_shortPlanName=propertyservice\nbamboo_planRepository_name=propertyservice\nbamboo_buildNumber=336\nbamboo_shortJobName=Default Job\nbamboo_capability_system_builder_command_Virtual_Frambuffer_run=/usr/bin/xvfb-run\nbamboo_buildResultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-336\nbamboo_repository_2785292_branch_name=master\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_agentId=131073\nbamboo_planName=FLARECAST - propertyservice\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_7=/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-336-ScriptBuildTask-2226835238021434536.sh\nbamboo_shortPlanKey=PROP\nbamboo_repository_2785292_git_username=\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_repository_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_buildTimeStamp=2016-06-14T16:44:08.101+02:00\nbamboo_planRepository_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_2785292_previous_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_2=/bin/sh ./build.sh\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-336\nbamboo_capability_system_builder_command_Docker=/usr/bin/docker\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=FLARECAST - propertyservice - Default Job\nbamboo_planRepository_1_revision=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=d20f090072f34556f50399560b7c82212a0bc8c1\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_git_username=\nbamboo_planRepository_1_type=stash-rep\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_repository_2785292_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_repository_2785292_name=propertyservice\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\nbamboo_planKey=INFRA-PROP\nbamboo_planRepository_1_repositoryUrl=ssh://git@localhost:7999/fe/propertyservice.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 14-Jun-2016 16:44:38 ============================= test session starts ============================== build 14-Jun-2016 16:44:38 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Jun-2016 16:44:38 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: build 14-Jun-2016 16:44:38 plugins: pep8-1.0.6 build 14-Jun-2016 16:44:39 collected 27 items build 14-Jun-2016 16:44:39 build 14-Jun-2016 16:44:39 main.py . build 14-Jun-2016 16:44:39 propertyservice/__init__.py . build 14-Jun-2016 16:44:39 propertyservice/config.py . build 14-Jun-2016 16:44:39 propertyservice/util.py . build 14-Jun-2016 16:44:39 propertyservice/data/__init__.py . build 14-Jun-2016 16:44:39 propertyservice/data/extended_queries.py . build 14-Jun-2016 16:44:39 propertyservice/data/property_db_data_source.py . build 14-Jun-2016 16:44:39 propertyservice/data/property_db_query_engine.py . build 14-Jun-2016 16:44:39 propertyservice/data/type_evaluator.py . build 14-Jun-2016 16:44:39 propertyservice/routes/__init__.py . build 14-Jun-2016 16:44:39 propertyservice/routes/link.py . build 14-Jun-2016 16:44:39 propertyservice/routes/property.py . build 14-Jun-2016 16:44:39 propertyservice/routes/property_group.py . build 14-Jun-2016 16:44:39 propertyservice/routes/property_type.py . build 14-Jun-2016 16:44:39 propertyservice/routes/provenance.py . build 14-Jun-2016 16:44:39 propertyservice/routes/query.py . build 14-Jun-2016 16:44:39 propertyservice/routes/query_builder.py . build 14-Jun-2016 16:44:39 tests/__init__.py . build 14-Jun-2016 16:44:39 tests/base_test_case.py . build 14-Jun-2016 16:44:39 tests/cleanup_docker_env.py . build 14-Jun-2016 16:44:39 tests/link_tests.py . build 14-Jun-2016 16:44:39 tests/property_group_tests.py . build 14-Jun-2016 16:44:39 tests/property_tests.py . build 14-Jun-2016 16:44:39 tests/property_type_tests.py . build 14-Jun-2016 16:44:39 tests/provenance_tests.py . build 14-Jun-2016 16:44:39 tests/query_tests.py . build 14-Jun-2016 16:44:39 tests/setup_docker_env.py . build 14-Jun-2016 16:44:39 build 14-Jun-2016 16:44:39 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml build 14-Jun-2016 16:44:39 ========================== 27 passed in 0.17 seconds =========================== simple 14-Jun-2016 16:44:39 Finished task 'Pep8 tests' with result: Success simple 14-Jun-2016 16:44:39 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 14-Jun-2016 16:44:39 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1... simple 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) simple 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) simple 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) simple 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) simple 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) simple 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) simple 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) simple 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) simple 14-Jun-2016 16:44:39 Failing task since 13 failing test cases were found. simple 14-Jun-2016 16:44:39 Finished task 'Parse pytest output' with result: Failed simple 14-Jun-2016 16:44:39 Running post build plugin 'NCover Results Collector' simple 14-Jun-2016 16:44:39 Running post build plugin 'Artifact Copier' simple 14-Jun-2016 16:44:39 Running post build plugin 'Sauce OnDemand Post Runner' simple 14-Jun-2016 16:44:39 Running post build plugin 'npm Cache Cleanup' simple 14-Jun-2016 16:44:39 Running post build plugin 'Clover Results Collector' simple 14-Jun-2016 16:44:39 Running post build plugin 'Docker Container Cleanup' simple 14-Jun-2016 16:44:39 Finalising the build... simple 14-Jun-2016 16:44:39 Stopping timer. simple 14-Jun-2016 16:44:39 Build INFRA-PROP-JOB1-336 completed. simple 14-Jun-2016 16:44:39 Running on server: post build plugin 'NCover Results Collector' simple 14-Jun-2016 16:44:39 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 14-Jun-2016 16:44:39 Running on server: post build plugin 'Clover Delta Calculator' simple 14-Jun-2016 16:44:39 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 14-Jun-2016 16:44:39 All post build plugins have finished simple 14-Jun-2016 16:44:39 Generating build results summary... simple 14-Jun-2016 16:44:39 Saving build results to disk... simple 14-Jun-2016 16:44:39 Logging substituted variables... simple 14-Jun-2016 16:44:39 Indexing build results... simple 14-Jun-2016 16:44:39 Finished building INFRA-PROP-JOB1-336.