simple 28-Sep-2016 16:39:18 Build FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429) started building on agent Default Agent simple 28-Sep-2016 16:39:18 simple 28-Sep-2016 16:39:19 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 28-Sep-2016 16:39:19 Cleaning directory /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 28-Sep-2016 16:39:19 Executing build FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429) simple 28-Sep-2016 16:39:19 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 28-Sep-2016 16:39:19 Build always requires a clean checkout simple 28-Sep-2016 16:39:19 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1' simple 28-Sep-2016 16:39:19 Updating source code to revision: f576c86956af35d81d5a6ea5970aecd809913ee5 simple 28-Sep-2016 16:39:20 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'. simple 28-Sep-2016 16:39:20 Warning: Permanently added '[127.0.0.1]:46038' (RSA) to the list of known hosts. simple 28-Sep-2016 16:39:23 Checking out revision f576c86956af35d81d5a6ea5970aecd809913ee5. simple 28-Sep-2016 16:39:23 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'. simple 28-Sep-2016 16:39:23 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'... simple 28-Sep-2016 16:39:24 Your branch is up-to-date with 'origin/master'. simple 28-Sep-2016 16:39:24 Already on 'master' simple 28-Sep-2016 16:39:24 Updated source code to revision: f576c86956af35d81d5a6ea5970aecd809913ee5 simple 28-Sep-2016 16:39:24 Finished task 'Checkout Default Repository' with result: Success simple 28-Sep-2016 16:39:24 Running pre-build action: VCS Version Collector simple 28-Sep-2016 16:39:24 Running pre-build action: Sauce OnDemand Build Configurator simple 28-Sep-2016 16:39:25 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 28-Sep-2016 16:39:25 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)'\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_18776066_branch_name=master\nbamboo_repository_18776066_git_username=\nbamboo_repository_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429\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_repository_18776066_name=propertyservice\nbamboo_shortPlanName=propertyservice\nbamboo_planRepository_name=propertyservice\nbamboo_buildNumber=429\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-429\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_agentId=131073\nbamboo_planName=FLARECAST - propertyservice\nbamboo_shortPlanKey=PROP\nbamboo_repository_18776066_git_branch=master\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_buildTimeStamp=2016-09-28T16:39:16.587+02:00\nbamboo_planRepository_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-429\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=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_18776066_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_name=propertyservice\nbamboo_dependenciesDisabled=false\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=f576c86956af35d81d5a6ea5970aecd809913ee5\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_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=sstachelski\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_repository_18776066_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\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/infra/propertyservice.git\nbamboo_planRepository_username=\nbamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 28-Sep-2016 16:39:25 Sending build context to Docker daemon 137.7 kB build 28-Sep-2016 16:39:25 build 28-Sep-2016 16:39:25 Step 1 : FROM flarecast/python-base build 28-Sep-2016 16:39:25 ---> 9d03e4986289 build 28-Sep-2016 16:39:25 Step 2 : MAINTAINER i4Ds build 28-Sep-2016 16:39:25 ---> Using cache build 28-Sep-2016 16:39:25 ---> 7e380828575f build 28-Sep-2016 16:39:25 Step 3 : COPY . ./property_service build 28-Sep-2016 16:39:25 ---> fdbbf9cae6f6 build 28-Sep-2016 16:39:25 Removing intermediate container e4118b834f6d build 28-Sep-2016 16:39:25 Step 4 : WORKDIR ./property_service build 28-Sep-2016 16:39:25 ---> Running in 5e5bab9f6d52 build 28-Sep-2016 16:39:25 ---> 12eb60c28be9 build 28-Sep-2016 16:39:25 Removing intermediate container 5e5bab9f6d52 build 28-Sep-2016 16:39:25 Step 5 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice" build 28-Sep-2016 16:39:26 ---> Running in 565b7ed7c2bd build 28-Sep-2016 16:39:26 ---> be35b077215b build 28-Sep-2016 16:39:26 Removing intermediate container 565b7ed7c2bd build 28-Sep-2016 16:39:26 Step 6 : CMD uwsgi --http :8002 -w main -p 16 build 28-Sep-2016 16:39:26 ---> Running in 1998304b3d8c build 28-Sep-2016 16:39:26 ---> 1c0b45ad3468 build 28-Sep-2016 16:39:26 Removing intermediate container 1998304b3d8c build 28-Sep-2016 16:39:26 Successfully built 1c0b45ad3468 simple 28-Sep-2016 16:39:26 Finished task 'Build' with result: Success simple 28-Sep-2016 16:39:26 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 28-Sep-2016 16:39:26 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)'\n ... running command line: \n/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-429-ScriptBuildTask-3552207617315373880.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_18776066_branch_name=master\nbamboo_repository_18776066_git_username=\nbamboo_repository_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429\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_repository_18776066_name=propertyservice\nbamboo_shortPlanName=propertyservice\nbamboo_planRepository_name=propertyservice\nbamboo_buildNumber=429\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-429\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_agentId=131073\nbamboo_planName=FLARECAST - propertyservice\nbamboo_shortPlanKey=PROP\nbamboo_repository_18776066_git_branch=master\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_buildTimeStamp=2016-09-28T16:39:16.587+02:00\nbamboo_planRepository_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5\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-429\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=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_18776066_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_name=propertyservice\nbamboo_dependenciesDisabled=false\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=f576c86956af35d81d5a6ea5970aecd809913ee5\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_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=sstachelski\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_repository_18776066_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\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/infra/propertyservice.git\nbamboo_planRepository_username=\nbamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 28-Sep-2016 16:39:51 ============================= test session starts ============================== build 28-Sep-2016 16:39:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:39:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 28-Sep-2016 16:39:51 plugins: pep8-1.0.6 build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_provenance_tests.xml build 28-Sep-2016 16:39:51 =============================== in 0.00 seconds =============================== error 28-Sep-2016 16:39:51 ERROR: file not found: provenance_tests.py build 28-Sep-2016 16:39:51 ============================= test session starts ============================== build 28-Sep-2016 16:39:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:39:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 28-Sep-2016 16:39:51 plugins: pep8-1.0.6 build 28-Sep-2016 16:39:51 collected 4 items build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 property_group_tests.py EEEE build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 ==================================== ERRORS ==================================== build 28-Sep-2016 16:39:51 _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 self = build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 @classmethod build 28-Sep-2016 16:39:51 def setUpClass(self): build 28-Sep-2016 16:39:51 super(PropertyGroupTests, self).setUpClass() build 28-Sep-2016 16:39:51 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 property_group_tests.py:20: build 28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 def post_request(url, payload): build 28-Sep-2016 16:39:51 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:51 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 if r.status_code != 200: build 28-Sep-2016 16:39:51 > raise RestException(r) build 28-Sep-2016 16:39:51 E RestException: { build 28-Sep-2016 16:39:51 E "status": 500, build 28-Sep-2016 16:39:51 E "type": "about:blank", build 28-Sep-2016 16:39:51 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 28-Sep-2016 16:39:51 E "title": "Internal Server Error" build 28-Sep-2016 16:39:51 E } build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 util.py:12: RestException build 28-Sep-2016 16:39:51 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 self = build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 @classmethod build 28-Sep-2016 16:39:51 def setUpClass(self): build 28-Sep-2016 16:39:51 super(PropertyGroupTests, self).setUpClass() build 28-Sep-2016 16:39:51 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 property_group_tests.py:20: build 28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 def post_request(url, payload): build 28-Sep-2016 16:39:51 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:51 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 if r.status_code != 200: build 28-Sep-2016 16:39:51 > raise RestException(r) build 28-Sep-2016 16:39:51 E RestException: { build 28-Sep-2016 16:39:51 E "status": 500, build 28-Sep-2016 16:39:51 E "type": "about:blank", build 28-Sep-2016 16:39:51 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 28-Sep-2016 16:39:51 E "title": "Internal Server Error" build 28-Sep-2016 16:39:51 E } build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 util.py:12: RestException build 28-Sep-2016 16:39:51 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 self = build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 @classmethod build 28-Sep-2016 16:39:51 def setUpClass(self): build 28-Sep-2016 16:39:51 super(PropertyGroupTests, self).setUpClass() build 28-Sep-2016 16:39:51 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 property_group_tests.py:20: build 28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 def post_request(url, payload): build 28-Sep-2016 16:39:51 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:51 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 if r.status_code != 200: build 28-Sep-2016 16:39:51 > raise RestException(r) build 28-Sep-2016 16:39:51 E RestException: { build 28-Sep-2016 16:39:51 E "status": 500, build 28-Sep-2016 16:39:51 E "type": "about:blank", build 28-Sep-2016 16:39:51 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 28-Sep-2016 16:39:51 E "title": "Internal Server Error" build 28-Sep-2016 16:39:51 E } build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 util.py:12: RestException build 28-Sep-2016 16:39:51 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 self = build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 @classmethod build 28-Sep-2016 16:39:51 def setUpClass(self): build 28-Sep-2016 16:39:51 super(PropertyGroupTests, self).setUpClass() build 28-Sep-2016 16:39:51 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 property_group_tests.py:20: build 28-Sep-2016 16:39:51 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:51 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 def post_request(url, payload): build 28-Sep-2016 16:39:51 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:51 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 if r.status_code != 200: build 28-Sep-2016 16:39:51 > raise RestException(r) build 28-Sep-2016 16:39:51 E RestException: { build 28-Sep-2016 16:39:51 E "status": 500, build 28-Sep-2016 16:39:51 E "type": "about:blank", build 28-Sep-2016 16:39:51 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 28-Sep-2016 16:39:51 E "title": "Internal Server Error" build 28-Sep-2016 16:39:51 E } build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 util.py:12: RestException build 28-Sep-2016 16:39:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml build 28-Sep-2016 16:39:51 =========================== 4 error in 0.12 seconds ============================ build 28-Sep-2016 16:39:51 ============================= test session starts ============================== build 28-Sep-2016 16:39:51 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:39:51 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 28-Sep-2016 16:39:51 plugins: pep8-1.0.6 build 28-Sep-2016 16:39:51 collected 0 items build 28-Sep-2016 16:39:51 build 28-Sep-2016 16:39:51 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml build 28-Sep-2016 16:39:51 =============================== in 0.04 seconds =============================== build 28-Sep-2016 16:39:52 ============================= test session starts ============================== build 28-Sep-2016 16:39:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:39:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 28-Sep-2016 16:39:52 plugins: pep8-1.0.6 build 28-Sep-2016 16:39:52 collected 0 items build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml build 28-Sep-2016 16:39:52 =============================== in 0.18 seconds =============================== build 28-Sep-2016 16:39:52 ============================= test session starts ============================== build 28-Sep-2016 16:39:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:39:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 28-Sep-2016 16:39:52 plugins: pep8-1.0.6 build 28-Sep-2016 16:39:52 collected 3 items build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 link_tests.py EEE build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 ==================================== ERRORS ==================================== build 28-Sep-2016 16:39:52 _________________ ERROR at setup of LinkTests.test_1_add_links _________________ build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 self = build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 @classmethod build 28-Sep-2016 16:39:52 def setUpClass(self): build 28-Sep-2016 16:39:52 super(LinkTests, self).setUpClass() build 28-Sep-2016 16:39:52 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 link_tests.py:24: build 28-Sep-2016 16:39:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:52 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 def post_request(url, payload): build 28-Sep-2016 16:39:52 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:52 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 if r.status_code != 200: build 28-Sep-2016 16:39:52 > raise RestException(r) build 28-Sep-2016 16:39:52 E RestException: { build 28-Sep-2016 16:39:52 E "status": 500, build 28-Sep-2016 16:39:52 E "type": "about:blank", build 28-Sep-2016 16:39:52 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 28-Sep-2016 16:39:52 E "title": "Internal Server Error" build 28-Sep-2016 16:39:52 E } build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 util.py:12: RestException build 28-Sep-2016 16:39:52 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________ build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 self = build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 @classmethod build 28-Sep-2016 16:39:52 def setUpClass(self): build 28-Sep-2016 16:39:52 super(LinkTests, self).setUpClass() build 28-Sep-2016 16:39:52 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 link_tests.py:24: build 28-Sep-2016 16:39:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:52 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 def post_request(url, payload): build 28-Sep-2016 16:39:52 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:52 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 if r.status_code != 200: build 28-Sep-2016 16:39:52 > raise RestException(r) build 28-Sep-2016 16:39:52 E RestException: { build 28-Sep-2016 16:39:52 E "status": 500, build 28-Sep-2016 16:39:52 E "type": "about:blank", build 28-Sep-2016 16:39:52 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 28-Sep-2016 16:39:52 E "title": "Internal Server Error" build 28-Sep-2016 16:39:52 E } build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 util.py:12: RestException build 28-Sep-2016 16:39:52 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________ build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 self = build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 @classmethod build 28-Sep-2016 16:39:52 def setUpClass(self): build 28-Sep-2016 16:39:52 super(LinkTests, self).setUpClass() build 28-Sep-2016 16:39:52 > post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS) build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 link_tests.py:24: build 28-Sep-2016 16:39:52 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 url = 'http://localhost:8002/dataset/bulk' build 28-Sep-2016 16:39:52 payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}] build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 def post_request(url, payload): build 28-Sep-2016 16:39:52 headers = {'Content-Type': 'application/json'} build 28-Sep-2016 16:39:52 r = requests.post(url, json=payload, headers=headers) build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 if r.status_code != 200: build 28-Sep-2016 16:39:52 > raise RestException(r) build 28-Sep-2016 16:39:52 E RestException: { build 28-Sep-2016 16:39:52 E "status": 500, build 28-Sep-2016 16:39:52 E "type": "about:blank", build 28-Sep-2016 16:39:52 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 28-Sep-2016 16:39:52 E "title": "Internal Server Error" build 28-Sep-2016 16:39:52 E } build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 util.py:12: RestException build 28-Sep-2016 16:39:52 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml build 28-Sep-2016 16:39:52 =========================== 3 error in 0.08 seconds ============================ build 28-Sep-2016 16:39:52 ============================= test session starts ============================== build 28-Sep-2016 16:39:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:39:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 28-Sep-2016 16:39:52 plugins: pep8-1.0.6 build 28-Sep-2016 16:39:52 build 28-Sep-2016 16:39:52 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_query_tests.xml build 28-Sep-2016 16:39:52 =============================== in 0.05 seconds =============================== error 28-Sep-2016 16:39:52 ERROR: file not found: query_tests.py simple 28-Sep-2016 16:40:06 Finished task 'Run tests' with result: Success simple 28-Sep-2016 16:40:06 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 28-Sep-2016 16:40:06 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #429 (INFRA-PROP-JOB1-429)'\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_18776066_branch_name=master\nbamboo_repository_18776066_git_username=\nbamboo_repository_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-429\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_repository_18776066_name=propertyservice\nbamboo_shortPlanName=propertyservice\nbamboo_planRepository_name=propertyservice\nbamboo_buildNumber=429\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-429\nbamboo_planRepository_repositoryUrl=ssh://git@localhost:7999/infra/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-429-ScriptBuildTask-3552207617315373880.sh\nbamboo_shortPlanKey=PROP\nbamboo_repository_18776066_git_branch=master\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_buildTimeStamp=2016-09-28T16:39:16.587+02:00\nbamboo_planRepository_previousRevision=f576c86956af35d81d5a6ea5970aecd809913ee5\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-429\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=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_18776066_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\nbamboo_repository_name=propertyservice\nbamboo_dependenciesDisabled=false\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=f576c86956af35d81d5a6ea5970aecd809913ee5\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_planRepository_type=stash-rep\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=sstachelski\nbamboo_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_repository_18776066_previous_revision_number=f576c86956af35d81d5a6ea5970aecd809913ee5\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/infra/propertyservice.git\nbamboo_planRepository_username=\nbamboo_repository_18776066_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 28-Sep-2016 16:40:06 ============================= test session starts ============================== build 28-Sep-2016 16:40:06 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 28-Sep-2016 16:40:06 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: build 28-Sep-2016 16:40:06 plugins: pep8-1.0.6 build 28-Sep-2016 16:40:06 collected 21 items build 28-Sep-2016 16:40:06 build 28-Sep-2016 16:40:06 main.py . build 28-Sep-2016 16:40:06 propertyservice/__init__.py . build 28-Sep-2016 16:40:06 propertyservice/config.py . build 28-Sep-2016 16:40:06 propertyservice/sirql_util.py . build 28-Sep-2016 16:40:06 propertyservice/util.py . build 28-Sep-2016 16:40:06 propertyservice/data/__init__.py . build 28-Sep-2016 16:40:06 propertyservice/data/property_dao.py . build 28-Sep-2016 16:40:06 propertyservice/routes/__init__.py . build 28-Sep-2016 16:40:06 propertyservice/routes/dataset.py . build 28-Sep-2016 16:40:06 propertyservice/routes/link.py . build 28-Sep-2016 16:40:06 propertyservice/routes/property_group.py . build 28-Sep-2016 16:40:06 tests/__init__.py . build 28-Sep-2016 16:40:06 tests/base_test_case.py . build 28-Sep-2016 16:40:06 tests/cleanup_docker_env.py . build 28-Sep-2016 16:40:06 tests/dataset_tests.py . build 28-Sep-2016 16:40:06 tests/link_tests.py . build 28-Sep-2016 16:40:06 tests/property_group_tests.py . build 28-Sep-2016 16:40:06 tests/property_tests.py . build 28-Sep-2016 16:40:06 tests/property_type_tests.py . build 28-Sep-2016 16:40:06 tests/setup_docker_env.py . build 28-Sep-2016 16:40:06 tests/util.py . build 28-Sep-2016 16:40:06 build 28-Sep-2016 16:40:06 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml build 28-Sep-2016 16:40:06 ========================== 21 passed in 0.14 seconds =========================== simple 28-Sep-2016 16:40:06 Finished task 'Pep8 tests' with result: Success simple 28-Sep-2016 16:40:06 Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 28-Sep-2016 16:40:06 Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1... simple 28-Sep-2016 16:40:07 Failing task since 7 failing test cases were found. simple 28-Sep-2016 16:40:07 Finished task 'Parse pytest output' with result: Failed simple 28-Sep-2016 16:40:07 Running post build plugin 'NCover Results Collector' simple 28-Sep-2016 16:40:07 Running post build plugin 'Artifact Copier' simple 28-Sep-2016 16:40:07 Running post build plugin 'Sauce OnDemand Post Runner' simple 28-Sep-2016 16:40:07 Running post build plugin 'npm Cache Cleanup' simple 28-Sep-2016 16:40:07 Running post build plugin 'Clover Results Collector' simple 28-Sep-2016 16:40:07 Running post build plugin 'Docker Container Cleanup' simple 28-Sep-2016 16:40:07 Finalising the build... simple 28-Sep-2016 16:40:07 Stopping timer. simple 28-Sep-2016 16:40:07 Build INFRA-PROP-JOB1-429 completed. simple 28-Sep-2016 16:40:07 Running on server: post build plugin 'NCover Results Collector' simple 28-Sep-2016 16:40:07 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 28-Sep-2016 16:40:07 Running on server: post build plugin 'Clover Delta Calculator' simple 28-Sep-2016 16:40:07 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 28-Sep-2016 16:40:07 All post build plugins have finished simple 28-Sep-2016 16:40:07 Generating build results summary... simple 28-Sep-2016 16:40:08 Saving build results to disk... simple 28-Sep-2016 16:40:08 Logging substituted variables... simple 28-Sep-2016 16:40:08 Indexing build results... simple 28-Sep-2016 16:40:08 Finished building INFRA-PROP-JOB1-429.