simple 26-May-2016 16:51:10 Build FLARECAST - propertyservice - Default Job #311 (INFRA-PROP-JOB1-311) started building on agent Default Agent simple 26-May-2016 16:51:10 simple 26-May-2016 16:51:10 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 26-May-2016 16:51:10 Executing build FLARECAST - propertyservice - Default Job #311 (INFRA-PROP-JOB1-311) simple 26-May-2016 16:51:10 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 26-May-2016 16:51:10 Updating source code to revision: 29f574bff0cb1e24b46f786b77581c82ca1aba56 simple 26-May-2016 16:51:10 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/fe/propertyservice.git'. simple 26-May-2016 16:51:10 Warning: Permanently added '[127.0.0.1]:32964' (RSA) to the list of known hosts. simple 26-May-2016 16:51:11 Checking out revision 29f574bff0cb1e24b46f786b77581c82ca1aba56. simple 26-May-2016 16:51:11 Previous HEAD position was 9f85c63... cleaned dockerfile simple 26-May-2016 16:51:11 HEAD is now at 29f574b... fixed connexion none-type validation problem simple 26-May-2016 16:51:12 Updated source code to revision: 29f574bff0cb1e24b46f786b77581c82ca1aba56 simple 26-May-2016 16:51:12 Finished task 'Checkout Default Repository' with result: Success simple 26-May-2016 16:51:12 Running pre-build action: VCS Version Collector simple 26-May-2016 16:51:12 Running pre-build action: Sauce OnDemand Build Configurator simple 26-May-2016 16:51:12 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 26-May-2016 16:51:12 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #311 (INFRA-PROP-JOB1-311)'\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-311\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=311\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-311\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_buildTimeStamp=2016-05-26T16:51:10.557+02:00\nbamboo_planRepository_previousRevision=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_2785292_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-311\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\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=9f85c636db43c57251b3f48b65e075399e9bf582\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 26-May-2016 16:51:12 Sending build context to Docker daemon 251.9 kB build 26-May-2016 16:51:12 build 26-May-2016 16:51:12 Step 1 : FROM flarecast/python-base build 26-May-2016 16:51:12 ---> 980236448f7a build 26-May-2016 16:51:12 Step 2 : MAINTAINER i4Ds build 26-May-2016 16:51:12 ---> Using cache build 26-May-2016 16:51:12 ---> 4aa172dbb333 build 26-May-2016 16:51:12 Step 3 : COPY . ./property_service build 26-May-2016 16:51:13 ---> 5c4e38a85ed9 build 26-May-2016 16:51:13 Removing intermediate container e3d66225bf08 build 26-May-2016 16:51:13 Step 4 : WORKDIR ./property_service build 26-May-2016 16:51:13 ---> Running in 409717aa8636 build 26-May-2016 16:51:14 ---> ddc8c84bd75f build 26-May-2016 16:51:14 Removing intermediate container 409717aa8636 build 26-May-2016 16:51:14 Step 5 : LABEL eu.flarecast.type "system" build 26-May-2016 16:51:14 ---> Running in 6abeccfc7d62 build 26-May-2016 16:51:14 ---> f997636bcde0 build 26-May-2016 16:51:14 Removing intermediate container 6abeccfc7d62 build 26-May-2016 16:51:14 Step 6 : LABEL eu.flarecast.name "propertyservice" build 26-May-2016 16:51:16 ---> Running in b9cd23d3ab44 build 26-May-2016 16:51:16 ---> f20385178482 build 26-May-2016 16:51:16 Removing intermediate container b9cd23d3ab44 build 26-May-2016 16:51:16 Step 7 : CMD uwsgi --http :8002 -w main -p 16 build 26-May-2016 16:51:18 ---> Running in f905dbb2a76d build 26-May-2016 16:51:19 ---> 5df245753839 build 26-May-2016 16:51:19 Removing intermediate container f905dbb2a76d build 26-May-2016 16:51:19 Successfully built 5df245753839 simple 26-May-2016 16:51:19 Finished task 'Build' with result: Success simple 26-May-2016 16:51:19 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 26-May-2016 16:51:20 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #311 (INFRA-PROP-JOB1-311)'\n ... running command line: \n/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-311-ScriptBuildTask-4886708740835645663.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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-311\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=311\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-311\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_buildTimeStamp=2016-05-26T16:51:10.557+02:00\nbamboo_planRepository_previousRevision=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_2785292_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\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-311\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\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=9f85c636db43c57251b3f48b65e075399e9bf582\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 26-May-2016 16:52:01 ============================= test session starts ============================== build 26-May-2016 16:52:01 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:01 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 26-May-2016 16:52:01 plugins: pep8-1.0.6 build 26-May-2016 16:52:02 collected 4 items build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 provenance_tests.py FFFF build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 =================================== FAILURES =================================== build 26-May-2016 16:52:02 ________________ ProvenanceTests.test_add_multiple_provenances _________________ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 self = build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 def test_add_multiple_provenances(self): build 26-May-2016 16:52:02 > result = self.client.insert_provenances(TEST_PROVENANCES) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 provenance_tests.py:15: build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:66: in insert_provenances build 26-May-2016 16:52:02 return self.__post_request(url, provenance_list) build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 url = 'http://localhost:8002/provenance/bulk' build 26-May-2016 16:52:02 payload = ['test_prov1', 'test_prov2'] build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 @staticmethod build 26-May-2016 16:52:02 def __post_request(url, payload): build 26-May-2016 16:52:02 headers = {'Content-Type': 'application/json'} build 26-May-2016 16:52:02 r = requests.post(url, json=payload, headers=headers) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 if r.status_code != 200: build 26-May-2016 16:52:02 > raise RestException(r) build 26-May-2016 16:52:02 E RestException: { build 26-May-2016 16:52:02 E "status": 500, build 26-May-2016 16:52:02 E "type": "about:blank", build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 E "title": "Internal Server Error" build 26-May-2016 16:52:02 E } build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 26-May-2016 16:52:02 ___________________ ProvenanceTests.test_add_one_provenance ____________________ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 self = build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 def test_add_one_provenance(self): build 26-May-2016 16:52:02 > result = self.client.add_provenance(TEST_PROVENANCE) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 provenance_tests.py:11: build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance build 26-May-2016 16:52:02 return self.__post_request(url, name) build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 url = 'http://localhost:8002/provenance', payload = 'test_prov' build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 @staticmethod build 26-May-2016 16:52:02 def __post_request(url, payload): build 26-May-2016 16:52:02 headers = {'Content-Type': 'application/json'} build 26-May-2016 16:52:02 r = requests.post(url, json=payload, headers=headers) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 if r.status_code != 200: build 26-May-2016 16:52:02 > raise RestException(r) build 26-May-2016 16:52:02 E RestException: { build 26-May-2016 16:52:02 E "status": 500, build 26-May-2016 16:52:02 E "type": "about:blank", build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 E "title": "Internal Server Error" build 26-May-2016 16:52:02 E } build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 26-May-2016 16:52:02 __________________ ProvenanceTests.test_add_provenance_twice ___________________ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 self = build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 def test_add_provenance_twice(self): build 26-May-2016 16:52:02 > result = self.client.add_provenance(TEST_PROVENANCE) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 provenance_tests.py:19: build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance build 26-May-2016 16:52:02 return self.__post_request(url, name) build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 url = 'http://localhost:8002/provenance', payload = 'test_prov' build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 @staticmethod build 26-May-2016 16:52:02 def __post_request(url, payload): build 26-May-2016 16:52:02 headers = {'Content-Type': 'application/json'} build 26-May-2016 16:52:02 r = requests.post(url, json=payload, headers=headers) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 if r.status_code != 200: build 26-May-2016 16:52:02 > raise RestException(r) build 26-May-2016 16:52:02 E RestException: { build 26-May-2016 16:52:02 E "status": 500, build 26-May-2016 16:52:02 E "type": "about:blank", build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 E "title": "Internal Server Error" build 26-May-2016 16:52:02 E } build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 26-May-2016 16:52:02 _____________________ ProvenanceTests.test_get_provenance ______________________ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 self = build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 def test_get_provenance(self): build 26-May-2016 16:52:02 > result = self.client.get_provenances() build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 provenance_tests.py:23: build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:168: in get_provenances build 26-May-2016 16:52:02 return self.__get_request(url) build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 url = 'http://localhost:8002/provenance/list' build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 @staticmethod build 26-May-2016 16:52:02 def __get_request(url): build 26-May-2016 16:52:02 r = requests.get(url) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 if r.status_code != 200: build 26-May-2016 16:52:02 > raise RestException(r) build 26-May-2016 16:52:02 E RestException: { build 26-May-2016 16:52:02 E "status": 500, build 26-May-2016 16:52:02 E "type": "about:blank", build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 E "title": "Internal Server Error" build 26-May-2016 16:52:02 E } build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:02 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_provenance_tests.xml build 26-May-2016 16:52:02 =========================== 4 failed in 0.17 seconds =========================== build 26-May-2016 16:52:02 ============================= test session starts ============================== build 26-May-2016 16:52:02 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:02 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 26-May-2016 16:52:02 plugins: pep8-1.0.6 build 26-May-2016 16:52:02 collected 2 items build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 property_group_tests.py FF build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 =================================== FAILURES =================================== build 26-May-2016 16:52:02 _____________ PropertyGroupTests.test_add_multiple_property_groups _____________ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 self = build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 def test_add_multiple_property_groups(self): build 26-May-2016 16:52:02 result = self.client.insert_regions( build 26-May-2016 16:52:02 TEST_PROVENANCE, build 26-May-2016 16:52:02 > [TEST_PGT_OBJECT, TEST_PGT_OBJECT_WITH_DATA] build 26-May-2016 16:52:02 ) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 property_group_tests.py:23: build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:51: in insert_regions build 26-May-2016 16:52:02 return self.__post_request(url, property_groups) build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 url = 'http://localhost:8002/region/test_prov/bulk' build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 build 26-May-2016 16:52:02 @staticmethod build 26-May-2016 16:52:02 def __post_request(url, payload): build 26-May-2016 16:52:02 headers = {'Content-Type': 'application/json'} build 26-May-2016 16:52:02 r = requests.post(url, json=payload, headers=headers) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 if r.status_code != 200: build 26-May-2016 16:52:02 > raise RestException(r) build 26-May-2016 16:52:02 E RestException: { build 26-May-2016 16:52:02 E "status": 500, build 26-May-2016 16:52:02 E "type": "about:blank", build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 E "title": "Internal Server Error" build 26-May-2016 16:52:02 E } build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 26-May-2016 16:52:02 ________________ PropertyGroupTests.test_add_one_property_group ________________ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 self = build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 def test_add_one_property_group(self): build 26-May-2016 16:52:02 result = self.client.add_region( build 26-May-2016 16:52:02 TEST_PROVENANCE, build 26-May-2016 16:52:02 > time_start=TEST_PGT_TIME_START build 26-May-2016 16:52:02 ) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 property_group_tests.py:16: build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:83: in add_region build 26-May-2016 16:52:02 return self.__post_request(url, group) build 26-May-2016 16:52:02 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 url = 'http://localhost:8002/region/test_prov' build 26-May-2016 16:52:02 payload = {'time_start': '2002-01-01T00:00:00Z'} build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 @staticmethod build 26-May-2016 16:52:02 def __post_request(url, payload): build 26-May-2016 16:52:02 headers = {'Content-Type': 'application/json'} build 26-May-2016 16:52:02 r = requests.post(url, json=payload, headers=headers) build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 if r.status_code != 200: build 26-May-2016 16:52:02 > raise RestException(r) build 26-May-2016 16:52:02 E RestException: { build 26-May-2016 16:52:02 E "status": 500, build 26-May-2016 16:52:02 E "type": "about:blank", build 26-May-2016 16:52:02 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 26-May-2016 16:52:02 E "title": "Internal Server Error" build 26-May-2016 16:52:02 E } build 26-May-2016 16:52:02 build 26-May-2016 16:52:02 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 26-May-2016 16:52:02 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml build 26-May-2016 16:52:02 =========================== 2 failed in 0.27 seconds =========================== build 26-May-2016 16:52:02 ============================= test session starts ============================== build 26-May-2016 16:52:02 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:02 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 26-May-2016 16:52:02 plugins: pep8-1.0.6 build 26-May-2016 16:52:02 collected 4 items build 26-May-2016 16:52:02 build 26-May-2016 16:52:03 property_tests.py FFFs build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 =================================== FAILURES =================================== build 26-May-2016 16:52:03 __________________ PropertyTests.test_add_multiple_properties __________________ build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 self = build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 def setUp(self): build 26-May-2016 16:52:03 super(PropertyTests, self).setUp() build 26-May-2016 16:52:03 > data = self.client.get_properties(TEST_PROVENANCE) build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 property_tests.py:14: build 26-May-2016 16:52:03 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:03 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:03 return self.__get_request(url) build 26-May-2016 16:52:03 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 url = 'http://localhost:8002/property/test_prov/list' build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 @staticmethod build 26-May-2016 16:52:03 def __get_request(url): build 26-May-2016 16:52:03 r = requests.get(url) build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 if r.status_code != 200: build 26-May-2016 16:52:03 > raise RestException(r) build 26-May-2016 16:52:03 E RestException: { build 26-May-2016 16:52:03 E "status": 500, build 26-May-2016 16:52:03 E "type": "about:blank", build 26-May-2016 16:52:03 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 26-May-2016 16:52:03 E "title": "Internal Server Error" build 26-May-2016 16:52:03 E } build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:03 _______ PropertyTests.test_add_multiple_properties_from_other_provenance _______ build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 self = build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 def setUp(self): build 26-May-2016 16:52:03 super(PropertyTests, self).setUp() build 26-May-2016 16:52:03 > data = self.client.get_properties(TEST_PROVENANCE) build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 property_tests.py:14: build 26-May-2016 16:52:03 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:03 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:03 return self.__get_request(url) build 26-May-2016 16:52:03 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 url = 'http://localhost:8002/property/test_prov/list' build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 @staticmethod build 26-May-2016 16:52:03 def __get_request(url): build 26-May-2016 16:52:03 r = requests.get(url) build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 if r.status_code != 200: build 26-May-2016 16:52:03 > raise RestException(r) build 26-May-2016 16:52:03 E RestException: { build 26-May-2016 16:52:03 E "status": 500, build 26-May-2016 16:52:03 E "type": "about:blank", build 26-May-2016 16:52:03 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 26-May-2016 16:52:03 E "title": "Internal Server Error" build 26-May-2016 16:52:03 E } build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:03 _____________________ PropertyTests.test_add_one_property ______________________ build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 self = build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 def setUp(self): build 26-May-2016 16:52:03 super(PropertyTests, self).setUp() build 26-May-2016 16:52:03 > data = self.client.get_properties(TEST_PROVENANCE) build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 property_tests.py:14: build 26-May-2016 16:52:03 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:03 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:03 return self.__get_request(url) build 26-May-2016 16:52:03 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 url = 'http://localhost:8002/property/test_prov/list' build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 @staticmethod build 26-May-2016 16:52:03 def __get_request(url): build 26-May-2016 16:52:03 r = requests.get(url) build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 if r.status_code != 200: build 26-May-2016 16:52:03 > raise RestException(r) build 26-May-2016 16:52:03 E RestException: { build 26-May-2016 16:52:03 E "status": 500, build 26-May-2016 16:52:03 E "type": "about:blank", build 26-May-2016 16:52:03 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 26-May-2016 16:52:03 E "title": "Internal Server Error" build 26-May-2016 16:52:03 E } build 26-May-2016 16:52:03 build 26-May-2016 16:52:03 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:03 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml build 26-May-2016 16:52:03 ===================== 3 failed, 1 skipped in 0.11 seconds ====================== build 26-May-2016 16:52:03 ============================= test session starts ============================== build 26-May-2016 16:52:03 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:03 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 26-May-2016 16:52:03 plugins: pep8-1.0.6 build 26-May-2016 16:52:03 collected 0 items build 26-May-2016 16:52:05 build 26-May-2016 16:52:05 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml build 26-May-2016 16:52:05 =============================== in 2.43 seconds =============================== build 26-May-2016 16:52:06 ============================= test session starts ============================== build 26-May-2016 16:52:06 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:06 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 26-May-2016 16:52:06 plugins: pep8-1.0.6 build 26-May-2016 16:52:06 collected 2 items build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 link_tests.py Fs build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 =================================== FAILURES =================================== build 26-May-2016 16:52:06 ___________________________ LinkTests.test_add_link ____________________________ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 self = build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 def setUp(self): build 26-May-2016 16:52:06 super(LinkTests, self).setUp() build 26-May-2016 16:52:06 > data = self.client.get_properties(TEST_PROVENANCE) build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 link_tests.py:13: build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:06 return self.__get_request(url) build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 url = 'http://localhost:8002/property/test_prov/list' build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 @staticmethod build 26-May-2016 16:52:06 def __get_request(url): build 26-May-2016 16:52:06 r = requests.get(url) build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 if r.status_code != 200: build 26-May-2016 16:52:06 > raise RestException(r) build 26-May-2016 16:52:06 E RestException: { build 26-May-2016 16:52:06 E "status": 500, build 26-May-2016 16:52:06 E "type": "about:blank", build 26-May-2016 16:52:06 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 26-May-2016 16:52:06 E "title": "Internal Server Error" build 26-May-2016 16:52:06 E } build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:06 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml build 26-May-2016 16:52:06 ===================== 1 failed, 1 skipped in 0.10 seconds ====================== build 26-May-2016 16:52:06 ============================= test session starts ============================== build 26-May-2016 16:52:06 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:06 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 26-May-2016 16:52:06 plugins: pep8-1.0.6 build 26-May-2016 16:52:06 collected 3 items build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 query_tests.py FFF build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 =================================== FAILURES =================================== build 26-May-2016 16:52:06 ___________________ QueryTests.test_get_all_property_groups ____________________ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 self = build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 def test_get_all_property_groups(self): build 26-May-2016 16:52:06 > groups = self.client.get_properties(TEST_PROVENANCE) build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 query_tests.py:17: build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:06 return self.__get_request(url) build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 url = 'http://localhost:8002/property/test_prov/list' build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 @staticmethod build 26-May-2016 16:52:06 def __get_request(url): build 26-May-2016 16:52:06 r = requests.get(url) build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 if r.status_code != 200: build 26-May-2016 16:52:06 > raise RestException(r) build 26-May-2016 16:52:06 E RestException: { build 26-May-2016 16:52:06 E "status": 500, build 26-May-2016 16:52:06 E "type": "about:blank", build 26-May-2016 16:52:06 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 26-May-2016 16:52:06 E "title": "Internal Server Error" build 26-May-2016 16:52:06 E } build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:06 _______________ QueryTests.test_get_all_property_groups_with_eq ________________ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 self = build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 def test_get_all_property_groups_with_eq(self): build 26-May-2016 16:52:06 groups = self.client.get_properties(TEST_PROVENANCE, build 26-May-2016 16:52:06 > 'test1=eq(500)') build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 query_tests.py:27: build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:06 return self.__get_request(url) build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 url = 'http://localhost:8002/property/test_prov/list?test1=eq(500)' build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 @staticmethod build 26-May-2016 16:52:06 def __get_request(url): build 26-May-2016 16:52:06 r = requests.get(url) build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 if r.status_code != 200: build 26-May-2016 16:52:06 > raise RestException(r) build 26-May-2016 16:52:06 E RestException: { build 26-May-2016 16:52:06 E "status": 500, build 26-May-2016 16:52:06 E "type": "about:blank", build 26-May-2016 16:52:06 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 26-May-2016 16:52:06 E "title": "Internal Server Error" build 26-May-2016 16:52:06 E } build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:06 ______________ QueryTests.test_get_all_property_groups_with_name _______________ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 self = build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 def test_get_all_property_groups_with_name(self): build 26-May-2016 16:52:06 groups = self.client.get_properties(TEST_PROVENANCE, build 26-May-2016 16:52:06 > 'name=exists()') build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 query_tests.py:22: build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:113: in get_properties build 26-May-2016 16:52:06 return self.__get_request(url) build 26-May-2016 16:52:06 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 url = 'http://localhost:8002/property/test_prov/list?name=exists()' build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 @staticmethod build 26-May-2016 16:52:06 def __get_request(url): build 26-May-2016 16:52:06 r = requests.get(url) build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 if r.status_code != 200: build 26-May-2016 16:52:06 > raise RestException(r) build 26-May-2016 16:52:06 E RestException: { build 26-May-2016 16:52:06 E "status": 500, build 26-May-2016 16:52:06 E "type": "about:blank", build 26-May-2016 16:52:06 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 26-May-2016 16:52:06 E "title": "Internal Server Error" build 26-May-2016 16:52:06 E } build 26-May-2016 16:52:06 build 26-May-2016 16:52:06 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 26-May-2016 16:52:06 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_query_tests.xml build 26-May-2016 16:52:06 =========================== 3 failed in 0.55 seconds =========================== simple 26-May-2016 16:52:20 Finished task 'Run tests' with result: Success simple 26-May-2016 16:52:20 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 26-May-2016 16:52:20 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #311 (INFRA-PROP-JOB1-311)'\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-311\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=311\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-311\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-311-ScriptBuildTask-4886708740835645663.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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_buildTimeStamp=2016-05-26T16:51:10.557+02:00\nbamboo_planRepository_previousRevision=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_2785292_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\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-311\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=29f574bff0cb1e24b46f786b77581c82ca1aba56\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=29f574bff0cb1e24b46f786b77581c82ca1aba56\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=9f85c636db43c57251b3f48b65e075399e9bf582\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 26-May-2016 16:52:20 ============================= test session starts ============================== build 26-May-2016 16:52:20 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 26-May-2016 16:52:20 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: build 26-May-2016 16:52:20 plugins: pep8-1.0.6 build 26-May-2016 16:52:20 collected 27 items build 26-May-2016 16:52:20 build 26-May-2016 16:52:20 main.py . build 26-May-2016 16:52:20 propertyservice/__init__.py . build 26-May-2016 16:52:20 propertyservice/config.py . build 26-May-2016 16:52:20 propertyservice/util.py . build 26-May-2016 16:52:20 propertyservice/data/__init__.py . build 26-May-2016 16:52:20 propertyservice/data/extended_queries.py . build 26-May-2016 16:52:20 propertyservice/data/property_db_data_source.py . build 26-May-2016 16:52:20 propertyservice/data/property_db_query_engine.py . build 26-May-2016 16:52:20 propertyservice/data/type_evaluator.py . build 26-May-2016 16:52:20 propertyservice/routes/__init__.py . build 26-May-2016 16:52:20 propertyservice/routes/link.py . build 26-May-2016 16:52:20 propertyservice/routes/property.py . build 26-May-2016 16:52:20 propertyservice/routes/property_group.py . build 26-May-2016 16:52:20 propertyservice/routes/property_type.py . build 26-May-2016 16:52:20 propertyservice/routes/provenance.py . build 26-May-2016 16:52:20 propertyservice/routes/query.py . build 26-May-2016 16:52:20 propertyservice/routes/query_builder.py . build 26-May-2016 16:52:20 tests/__init__.py . build 26-May-2016 16:52:20 tests/base_test_case.py . build 26-May-2016 16:52:20 tests/cleanup_docker_env.py . build 26-May-2016 16:52:20 tests/link_tests.py . build 26-May-2016 16:52:20 tests/property_group_tests.py . build 26-May-2016 16:52:20 tests/property_tests.py . build 26-May-2016 16:52:20 tests/property_type_tests.py . build 26-May-2016 16:52:20 tests/provenance_tests.py . build 26-May-2016 16:52:20 tests/query_tests.py . build 26-May-2016 16:52:20 tests/setup_docker_env.py . build 26-May-2016 16:52:20 build 26-May-2016 16:52:20 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml build 26-May-2016 16:52:20 ========================== 27 passed in 0.20 seconds =========================== simple 26-May-2016 16:52:20 Finished task 'Pep8 tests' with result: Success simple 26-May-2016 16:52:20 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 26-May-2016 16:52:20 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1... simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./propertyservice was ignored because it was modified (2016-04-18 17:06:46.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./run_parallel.sh was ignored because it was modified (2016-04-18 17:06:46.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./.cache was ignored because it was modified (2016-04-18 17:08:21.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./README.md was ignored because it was modified (2016-04-18 17:06:46.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./Dockerfile was ignored because it was modified (2016-04-20 15:54:33.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./build.sh was ignored because it was modified (2016-04-18 17:41:17.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./requirements.txt was ignored because it was modified (2016-04-18 17:06:46.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./.gitignore was ignored because it was modified (2016-04-18 17:06:46.000) before task started (2016-05-26 16:51:10.744) simple 26-May-2016 16:52:20 Failing task since 13 failing test cases were found. simple 26-May-2016 16:52:20 Finished task 'Parse pytest output' with result: Failed simple 26-May-2016 16:52:20 Running post build plugin 'NCover Results Collector' simple 26-May-2016 16:52:20 Running post build plugin 'Artifact Copier' simple 26-May-2016 16:52:20 Running post build plugin 'Sauce OnDemand Post Runner' simple 26-May-2016 16:52:20 Running post build plugin 'npm Cache Cleanup' simple 26-May-2016 16:52:20 Running post build plugin 'Clover Results Collector' simple 26-May-2016 16:52:20 Running post build plugin 'Docker Container Cleanup' simple 26-May-2016 16:52:20 Finalising the build... simple 26-May-2016 16:52:20 Stopping timer. simple 26-May-2016 16:52:20 Build INFRA-PROP-JOB1-311 completed. simple 26-May-2016 16:52:20 Running on server: post build plugin 'NCover Results Collector' simple 26-May-2016 16:52:21 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 26-May-2016 16:52:21 Running on server: post build plugin 'Clover Delta Calculator' simple 26-May-2016 16:52:21 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 26-May-2016 16:52:21 All post build plugins have finished simple 26-May-2016 16:52:21 Generating build results summary... simple 26-May-2016 16:52:22 Saving build results to disk... simple 26-May-2016 16:52:22 Logging substituted variables... simple 26-May-2016 16:52:22 Indexing build results... simple 26-May-2016 16:52:22 Finished building INFRA-PROP-JOB1-311.