simple 23-May-2016 06:09:33 Build FLARECAST - propertyservice - Default Job #307 (INFRA-PROP-JOB1-307) started building on agent Default Agent simple 23-May-2016 06:09:33 simple 23-May-2016 06:09:33 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 23-May-2016 06:09:33 Executing build FLARECAST - propertyservice - Default Job #307 (INFRA-PROP-JOB1-307) simple 23-May-2016 06:09:33 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 23-May-2016 06:09:33 Updating source code to revision: 9f85c636db43c57251b3f48b65e075399e9bf582 simple 23-May-2016 06:09:34 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/fe/propertyservice.git'. simple 23-May-2016 06:09:34 Warning: Permanently added '[127.0.0.1]:32964' (RSA) to the list of known hosts. simple 23-May-2016 06:09:35 Checking out revision 9f85c636db43c57251b3f48b65e075399e9bf582. simple 23-May-2016 06:09:35 HEAD is now at 9f85c63... cleaned dockerfile simple 23-May-2016 06:09:35 Updated source code to revision: 9f85c636db43c57251b3f48b65e075399e9bf582 simple 23-May-2016 06:09:35 Finished task 'Checkout Default Repository' with result: Success simple 23-May-2016 06:09:35 Running pre-build action: VCS Version Collector simple 23-May-2016 06:09:35 Running pre-build action: Sauce OnDemand Build Configurator simple 23-May-2016 06:09:36 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 23-May-2016 06:09:36 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #307 (INFRA-PROP-JOB1-307)'\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_dependency_parent_0=INFRA-BASE-271\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-307\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=307\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-307\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=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_buildTimeStamp=2016-05-23T06:08:55.614+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-307\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=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\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 23-May-2016 06:09:36 Sending build context to Docker daemon 179.2 kB build 23-May-2016 06:09:36 build 23-May-2016 06:09:36 Step 1 : FROM flarecast/python-base build 23-May-2016 06:09:36 ---> 48f5b73589e6 build 23-May-2016 06:09:36 Step 2 : MAINTAINER i4Ds build 23-May-2016 06:09:36 ---> Using cache build 23-May-2016 06:09:36 ---> 863a997d076b build 23-May-2016 06:09:36 Step 3 : COPY . ./property_service build 23-May-2016 06:09:38 ---> 6ca39045f8ec build 23-May-2016 06:09:38 Removing intermediate container 21c3534dd989 build 23-May-2016 06:09:38 Step 4 : WORKDIR ./property_service build 23-May-2016 06:09:38 ---> Running in e84d2338188f build 23-May-2016 06:09:38 ---> e39194d91e7c build 23-May-2016 06:09:38 Removing intermediate container e84d2338188f build 23-May-2016 06:09:38 Step 5 : LABEL eu.flarecast.type "system" build 23-May-2016 06:09:38 ---> Running in f1d4a7613502 build 23-May-2016 06:09:39 ---> e65e9a8e3bf6 build 23-May-2016 06:09:39 Removing intermediate container f1d4a7613502 build 23-May-2016 06:09:39 Step 6 : LABEL eu.flarecast.name "propertyservice" build 23-May-2016 06:09:39 ---> Running in 361fb24b22b5 build 23-May-2016 06:09:39 ---> 31f97e4b7524 build 23-May-2016 06:09:39 Removing intermediate container 361fb24b22b5 build 23-May-2016 06:09:39 Step 7 : CMD uwsgi --http :8002 -w main -p 16 build 23-May-2016 06:09:39 ---> Running in 1d92a1e3297d build 23-May-2016 06:09:39 ---> 184a5cfd2713 build 23-May-2016 06:09:39 Removing intermediate container 1d92a1e3297d build 23-May-2016 06:09:39 Successfully built 184a5cfd2713 simple 23-May-2016 06:09:39 Finished task 'Build' with result: Success simple 23-May-2016 06:09:39 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 23-May-2016 06:09:39 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #307 (INFRA-PROP-JOB1-307)'\n ... running command line: \n/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-307-ScriptBuildTask-2476243775889823880.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_dependency_parent_0=INFRA-BASE-271\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-307\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=307\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-307\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=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_buildTimeStamp=2016-05-23T06:08:55.614+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-307\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=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\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 23-May-2016 06:10:20 ============================= test session starts ============================== build 23-May-2016 06:10:20 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:10:20 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 23-May-2016 06:10:20 plugins: pep8-1.0.6 build 23-May-2016 06:10:20 collected 4 items build 23-May-2016 06:10:20 build 23-May-2016 06:10:23 provenance_tests.py FFFF build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 =================================== FAILURES =================================== build 23-May-2016 06:10:23 ________________ ProvenanceTests.test_add_multiple_provenances _________________ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 self = build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 def test_add_multiple_provenances(self): build 23-May-2016 06:10:23 > result = self.client.insert_provenances(TEST_PROVENANCES) build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 provenance_tests.py:15: build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:66: in insert_provenances build 23-May-2016 06:10:23 return self.__post_request(url, provenance_list) build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 url = 'http://localhost:8002/provenance/bulk' build 23-May-2016 06:10:23 payload = ['test_prov1', 'test_prov2'] build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 @staticmethod build 23-May-2016 06:10:23 def __post_request(url, payload): build 23-May-2016 06:10:23 headers = {'Content-Type': 'application/json'} build 23-May-2016 06:10:23 r = requests.post(url, json=payload, headers=headers) build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 if r.status_code != 200: build 23-May-2016 06:10:23 > raise RestException(r) build 23-May-2016 06:10:23 E RestException: { build 23-May-2016 06:10:23 E "status": 500, build 23-May-2016 06:10:23 E "type": "about:blank", build 23-May-2016 06:10:23 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 23-May-2016 06:10:23 E "title": "Internal Server Error" build 23-May-2016 06:10:23 E } build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 23-May-2016 06:10:23 ___________________ ProvenanceTests.test_add_one_provenance ____________________ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 self = build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 def test_add_one_provenance(self): build 23-May-2016 06:10:23 > result = self.client.add_provenance(TEST_PROVENANCE) build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 provenance_tests.py:11: build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance build 23-May-2016 06:10:23 return self.__post_request(url, name) build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 url = 'http://localhost:8002/provenance', payload = 'test_prov' build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 @staticmethod build 23-May-2016 06:10:23 def __post_request(url, payload): build 23-May-2016 06:10:23 headers = {'Content-Type': 'application/json'} build 23-May-2016 06:10:23 r = requests.post(url, json=payload, headers=headers) build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 if r.status_code != 200: build 23-May-2016 06:10:23 > raise RestException(r) build 23-May-2016 06:10:23 E RestException: { build 23-May-2016 06:10:23 E "status": 500, build 23-May-2016 06:10:23 E "type": "about:blank", build 23-May-2016 06:10:23 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 23-May-2016 06:10:23 E "title": "Internal Server Error" build 23-May-2016 06:10:23 E } build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 23-May-2016 06:10:23 __________________ ProvenanceTests.test_add_provenance_twice ___________________ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 self = build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 def test_add_provenance_twice(self): build 23-May-2016 06:10:23 > result = self.client.add_provenance(TEST_PROVENANCE) build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 provenance_tests.py:19: build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:76: in add_provenance build 23-May-2016 06:10:23 return self.__post_request(url, name) build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 url = 'http://localhost:8002/provenance', payload = 'test_prov' build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 @staticmethod build 23-May-2016 06:10:23 def __post_request(url, payload): build 23-May-2016 06:10:23 headers = {'Content-Type': 'application/json'} build 23-May-2016 06:10:23 r = requests.post(url, json=payload, headers=headers) build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 if r.status_code != 200: build 23-May-2016 06:10:23 > raise RestException(r) build 23-May-2016 06:10:23 E RestException: { build 23-May-2016 06:10:23 E "status": 500, build 23-May-2016 06:10:23 E "type": "about:blank", build 23-May-2016 06:10:23 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 23-May-2016 06:10:23 E "title": "Internal Server Error" build 23-May-2016 06:10:23 E } build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 23-May-2016 06:10:23 _____________________ ProvenanceTests.test_get_provenance ______________________ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 self = build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 def test_get_provenance(self): build 23-May-2016 06:10:23 > result = self.client.get_provenances() build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 provenance_tests.py:23: build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:168: in get_provenances build 23-May-2016 06:10:23 return self.__get_request(url) build 23-May-2016 06:10:23 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 url = 'http://localhost:8002/provenance/list' build 23-May-2016 06:10:23 build 23-May-2016 06:10:23 @staticmethod build 23-May-2016 06:10:23 def __get_request(url): build 23-May-2016 06:10:23 r = requests.get(url) build 23-May-2016 06:10:24 build 23-May-2016 06:10:24 if r.status_code != 200: build 23-May-2016 06:10:24 > raise RestException(r) build 23-May-2016 06:10:24 E RestException: { build 23-May-2016 06:10:24 E "status": 500, build 23-May-2016 06:10:24 E "type": "about:blank", build 23-May-2016 06:10:24 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 23-May-2016 06:10:24 E "title": "Internal Server Error" build 23-May-2016 06:10:24 E } build 23-May-2016 06:10:24 build 23-May-2016 06:10:24 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:214: RestException build 23-May-2016 06:10:24 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_provenance_tests.xml build 23-May-2016 06:10:24 =========================== 4 failed in 2.71 seconds =========================== build 23-May-2016 06:10:24 ============================= test session starts ============================== build 23-May-2016 06:10:24 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:10:24 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 23-May-2016 06:10:24 plugins: pep8-1.0.6 build 23-May-2016 06:10:24 collected 2 items build 23-May-2016 06:10:24 build 23-May-2016 06:10:32 property_group_tests.py FF build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 =================================== FAILURES =================================== build 23-May-2016 06:10:32 _____________ PropertyGroupTests.test_add_multiple_property_groups _____________ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 self = build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 def test_add_multiple_property_groups(self): build 23-May-2016 06:10:32 result = self.client.insert_regions( build 23-May-2016 06:10:32 TEST_PROVENANCE, build 23-May-2016 06:10:32 > [TEST_PGT_OBJECT, TEST_PGT_OBJECT_WITH_DATA] build 23-May-2016 06:10:32 ) build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 property_group_tests.py:23: build 23-May-2016 06:10:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:32 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:51: in insert_regions build 23-May-2016 06:10:32 return self.__post_request(url, property_groups) build 23-May-2016 06:10:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 url = 'http://localhost:8002/region/test_prov/bulk' build 23-May-2016 06:10:32 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 23-May-2016 06:10:32 build 23-May-2016 06:10:32 @staticmethod build 23-May-2016 06:10:32 def __post_request(url, payload): build 23-May-2016 06:10:32 headers = {'Content-Type': 'application/json'} build 23-May-2016 06:10:32 r = requests.post(url, json=payload, headers=headers) build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 if r.status_code != 200: build 23-May-2016 06:10:32 > raise RestException(r) build 23-May-2016 06:10:32 E RestException: { build 23-May-2016 06:10:32 E "status": 500, build 23-May-2016 06:10:32 E "type": "about:blank", build 23-May-2016 06:10:32 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 23-May-2016 06:10:32 E "title": "Internal Server Error" build 23-May-2016 06:10:32 E } build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 23-May-2016 06:10:32 ________________ PropertyGroupTests.test_add_one_property_group ________________ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 self = build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 def test_add_one_property_group(self): build 23-May-2016 06:10:32 result = self.client.add_region( build 23-May-2016 06:10:32 TEST_PROVENANCE, build 23-May-2016 06:10:32 > time_start=TEST_PGT_TIME_START build 23-May-2016 06:10:32 ) build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 property_group_tests.py:16: build 23-May-2016 06:10:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:32 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:83: in add_region build 23-May-2016 06:10:32 return self.__post_request(url, group) build 23-May-2016 06:10:32 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 url = 'http://localhost:8002/region/test_prov' build 23-May-2016 06:10:32 payload = {'time_start': '2002-01-01T00:00:00Z'} build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 @staticmethod build 23-May-2016 06:10:32 def __post_request(url, payload): build 23-May-2016 06:10:32 headers = {'Content-Type': 'application/json'} build 23-May-2016 06:10:32 r = requests.post(url, json=payload, headers=headers) build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 if r.status_code != 200: build 23-May-2016 06:10:32 > raise RestException(r) build 23-May-2016 06:10:32 E RestException: { build 23-May-2016 06:10:32 E "status": 500, build 23-May-2016 06:10:32 E "type": "about:blank", build 23-May-2016 06:10:32 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 23-May-2016 06:10:32 E "title": "Internal Server Error" build 23-May-2016 06:10:32 E } build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 /home/bamboo/.local/lib/python2.7/site-packages/flarecast/utils/property_service_client.py:196: RestException build 23-May-2016 06:10:32 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml build 23-May-2016 06:10:32 =========================== 2 failed in 8.46 seconds =========================== build 23-May-2016 06:10:32 ============================= test session starts ============================== build 23-May-2016 06:10:32 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:10:32 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 23-May-2016 06:10:32 plugins: pep8-1.0.6 build 23-May-2016 06:10:32 collected 4 items build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 property_tests.py FFFs build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 =================================== FAILURES =================================== build 23-May-2016 06:10:32 __________________ PropertyTests.test_add_multiple_properties __________________ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 self = build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 def setUp(self): build 23-May-2016 06:10:32 super(PropertyTests, self).setUp() build 23-May-2016 06:10:32 data = self.client.get_properties(TEST_PROVENANCE) build 23-May-2016 06:10:32 > self.flarecast_id = data[0]['fc_id'] build 23-May-2016 06:10:32 E IndexError: list index out of range build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 property_tests.py:15: IndexError build 23-May-2016 06:10:32 _______ PropertyTests.test_add_multiple_properties_from_other_provenance _______ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 self = build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 def setUp(self): build 23-May-2016 06:10:32 super(PropertyTests, self).setUp() build 23-May-2016 06:10:32 data = self.client.get_properties(TEST_PROVENANCE) build 23-May-2016 06:10:32 > self.flarecast_id = data[0]['fc_id'] build 23-May-2016 06:10:32 E IndexError: list index out of range build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 property_tests.py:15: IndexError build 23-May-2016 06:10:32 _____________________ PropertyTests.test_add_one_property ______________________ build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 self = build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 def setUp(self): build 23-May-2016 06:10:32 super(PropertyTests, self).setUp() build 23-May-2016 06:10:32 data = self.client.get_properties(TEST_PROVENANCE) build 23-May-2016 06:10:32 > self.flarecast_id = data[0]['fc_id'] build 23-May-2016 06:10:32 E IndexError: list index out of range build 23-May-2016 06:10:32 build 23-May-2016 06:10:32 property_tests.py:15: IndexError build 23-May-2016 06:10:32 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml build 23-May-2016 06:10:32 ===================== 3 failed, 1 skipped in 0.28 seconds ====================== build 23-May-2016 06:10:33 ============================= test session starts ============================== build 23-May-2016 06:10:33 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:10:33 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 23-May-2016 06:10:33 plugins: pep8-1.0.6 build 23-May-2016 06:10:33 collected 0 items build 23-May-2016 06:10:41 build 23-May-2016 06:10:41 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml build 23-May-2016 06:10:41 =============================== in 8.75 seconds =============================== build 23-May-2016 06:10:42 ============================= test session starts ============================== build 23-May-2016 06:10:42 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:10:42 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 23-May-2016 06:10:42 plugins: pep8-1.0.6 build 23-May-2016 06:10:42 collected 2 items build 23-May-2016 06:10:42 build 23-May-2016 06:10:44 link_tests.py Fs build 23-May-2016 06:10:44 build 23-May-2016 06:10:44 =================================== FAILURES =================================== build 23-May-2016 06:10:44 ___________________________ LinkTests.test_add_link ____________________________ build 23-May-2016 06:10:44 build 23-May-2016 06:10:44 self = build 23-May-2016 06:10:44 build 23-May-2016 06:10:44 def test_add_link(self): build 23-May-2016 06:10:44 > result = self.client.add_link(self.flarecast_ids[0], build 23-May-2016 06:10:44 self.flarecast_ids[1], build 23-May-2016 06:10:44 'test link', build 23-May-2016 06:10:44 'test description') build 23-May-2016 06:10:44 E IndexError: list index out of range build 23-May-2016 06:10:44 build 23-May-2016 06:10:44 link_tests.py:18: IndexError build 23-May-2016 06:10:44 ----------------------------- Captured stdout call ----------------------------- build 23-May-2016 06:10:44 [] build 23-May-2016 06:10:44 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml build 23-May-2016 06:10:44 ===================== 1 failed, 1 skipped in 2.78 seconds ====================== build 23-May-2016 06:10:45 ============================= test session starts ============================== build 23-May-2016 06:10:45 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:10:45 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 23-May-2016 06:10:45 plugins: pep8-1.0.6 build 23-May-2016 06:10:45 collected 0 items build 23-May-2016 06:10:50 build 23-May-2016 06:10:50 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_query_tests.xml build 23-May-2016 06:10:50 =============================== in 5.70 seconds =============================== simple 23-May-2016 06:11:29 Finished task 'Run tests' with result: Success simple 23-May-2016 06:11:29 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 23-May-2016 06:11:29 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #307 (INFRA-PROP-JOB1-307)'\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_dependency_parent_0=INFRA-BASE-271\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-307\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=307\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-307\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-307-ScriptBuildTask-2476243775889823880.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=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_previous_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_buildTimeStamp=2016-05-23T06:08:55.614+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-307\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=9f85c636db43c57251b3f48b65e075399e9bf582\nbamboo_repository_name=propertyservice\nbamboo_repository_2785292_git_branch=master\nbamboo_repository_2785292_revision_number=9f85c636db43c57251b3f48b65e075399e9bf582\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 23-May-2016 06:11:29 ============================= test session starts ============================== build 23-May-2016 06:11:29 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 23-May-2016 06:11:29 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: build 23-May-2016 06:11:29 plugins: pep8-1.0.6 build 23-May-2016 06:11:29 collected 27 items build 23-May-2016 06:11:29 build 23-May-2016 06:11:29 main.py . build 23-May-2016 06:11:29 propertyservice/__init__.py . build 23-May-2016 06:11:29 propertyservice/config.py . build 23-May-2016 06:11:29 propertyservice/util.py . build 23-May-2016 06:11:29 propertyservice/data/__init__.py . build 23-May-2016 06:11:29 propertyservice/data/extended_queries.py . build 23-May-2016 06:11:29 propertyservice/data/property_db_data_source.py . build 23-May-2016 06:11:29 propertyservice/data/property_db_query_engine.py . build 23-May-2016 06:11:29 propertyservice/data/type_evaluator.py . build 23-May-2016 06:11:29 propertyservice/routes/__init__.py . build 23-May-2016 06:11:29 propertyservice/routes/link.py . build 23-May-2016 06:11:29 propertyservice/routes/property.py . build 23-May-2016 06:11:29 propertyservice/routes/property_group.py . build 23-May-2016 06:11:29 propertyservice/routes/property_type.py . build 23-May-2016 06:11:29 propertyservice/routes/provenance.py . build 23-May-2016 06:11:29 propertyservice/routes/query.py . build 23-May-2016 06:11:29 propertyservice/routes/query_builder.py . build 23-May-2016 06:11:29 tests/__init__.py . build 23-May-2016 06:11:29 tests/base_test_case.py . build 23-May-2016 06:11:29 tests/cleanup_docker_env.py . build 23-May-2016 06:11:29 tests/link_tests.py . build 23-May-2016 06:11:29 tests/property_group_tests.py . build 23-May-2016 06:11:29 tests/property_tests.py . build 23-May-2016 06:11:29 tests/property_type_tests.py . build 23-May-2016 06:11:29 tests/provenance_tests.py . build 23-May-2016 06:11:29 tests/query_tests.py . build 23-May-2016 06:11:29 tests/setup_docker_env.py . build 23-May-2016 06:11:29 build 23-May-2016 06:11:29 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml build 23-May-2016 06:11:29 ========================== 27 passed in 0.18 seconds =========================== simple 23-May-2016 06:11:30 Finished task 'Pep8 tests' with result: Success simple 23-May-2016 06:11:30 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 23-May-2016 06:11:30 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1... simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./main.py was ignored because it was modified (2016-04-18 17:06:46.000) before task started (2016-05-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 File /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/./tests was ignored because it was modified (2016-04-18 17:07:54.000) before task started (2016-05-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 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-23 06:09:33.932) simple 23-May-2016 06:11:30 Failing task since 10 failing test cases were found. simple 23-May-2016 06:11:30 Finished task 'Parse pytest output' with result: Failed simple 23-May-2016 06:11:30 Running post build plugin 'NCover Results Collector' simple 23-May-2016 06:11:30 Running post build plugin 'Artifact Copier' simple 23-May-2016 06:11:30 Running post build plugin 'Sauce OnDemand Post Runner' simple 23-May-2016 06:11:30 Running post build plugin 'npm Cache Cleanup' simple 23-May-2016 06:11:30 Running post build plugin 'Clover Results Collector' simple 23-May-2016 06:11:30 Running post build plugin 'Docker Container Cleanup' simple 23-May-2016 06:11:30 Finalising the build... simple 23-May-2016 06:11:30 Stopping timer. simple 23-May-2016 06:11:30 Build INFRA-PROP-JOB1-307 completed. simple 23-May-2016 06:11:30 Running on server: post build plugin 'NCover Results Collector' simple 23-May-2016 06:11:30 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 23-May-2016 06:11:30 Running on server: post build plugin 'Clover Delta Calculator' simple 23-May-2016 06:11:30 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 23-May-2016 06:11:30 All post build plugins have finished simple 23-May-2016 06:11:30 Generating build results summary... simple 23-May-2016 06:11:30 Saving build results to disk... simple 23-May-2016 06:11:30 Logging substituted variables... simple 23-May-2016 06:11:30 Indexing build results... simple 23-May-2016 06:11:30 Finished building INFRA-PROP-JOB1-307.