simple 03-Dec-2021 12:22:11 Build FLARECAST - propertyservice - Default Job #698 (INFRA-PROP-JOB1-698) started building on agent Default Agent simple 03-Dec-2021 12:22:11 simple 03-Dec-2021 12:22:11 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 03-Dec-2021 12:22:11 Executing build FLARECAST - propertyservice - Default Job #698 (INFRA-PROP-JOB1-698) simple 03-Dec-2021 12:22:11 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 03-Dec-2021 12:22:11 Build always requires a clean checkout simple 03-Dec-2021 12:22:11 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1' simple 03-Dec-2021 12:22:13 Updating source code to revision: 5c35903adebef676798a3698612d5e55dfe0ed82 simple 03-Dec-2021 12:22:14 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'. simple 03-Dec-2021 12:22:14 Warning: Permanently added '[127.0.0.1]:51520' (RSA) to the list of known hosts. simple 03-Dec-2021 12:22:16 Checking out revision 5c35903adebef676798a3698612d5e55dfe0ed82. simple 03-Dec-2021 12:22:16 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'. simple 03-Dec-2021 12:22:16 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'... simple 03-Dec-2021 12:22:21 Already on 'master' simple 03-Dec-2021 12:22:21 Your branch is up-to-date with 'origin/master'. simple 03-Dec-2021 12:22:21 Updated source code to revision: 5c35903adebef676798a3698612d5e55dfe0ed82 simple 03-Dec-2021 12:22:21 Finished task 'Checkout Default Repository' with result: Success simple 03-Dec-2021 12:22:21 Running pre-build action: VCS Version Collector simple 03-Dec-2021 12:22:21 Running pre-build action: Sauce OnDemand Build Configurator simple 03-Dec-2021 12:22:21 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 03-Dec-2021 12:22:21 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #698 (INFRA-PROP-JOB1-698)'\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_dependency_parent_0=INFRA-BASE-609\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-698\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=698\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-698\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_previous_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_buildTimeStamp=2021-12-03T12:17:16.294+01:00\nbamboo_planRepository_previousRevision=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-698\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_18776066_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_name=propertyservice\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=5c35903adebef676798a3698612d5e55dfe0ed82\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_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_repository_18776066_previous_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\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 03-Dec-2021 12:22:21 Sending build context to Docker daemon 184.3kB build 03-Dec-2021 12:22:21 build 03-Dec-2021 12:22:21 Step 1/8 : FROM flarecast/python-base build 03-Dec-2021 12:22:21 ---> d00b2217eaf4 build 03-Dec-2021 12:22:21 Step 2/8 : MAINTAINER i4Ds build 03-Dec-2021 12:22:21 ---> Using cache build 03-Dec-2021 12:22:21 ---> cf1b9e987fb7 build 03-Dec-2021 12:22:21 Step 3/8 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice" build 03-Dec-2021 12:22:22 ---> Running in 1c392c8ac8a7 build 03-Dec-2021 12:22:23 ---> 4f70008629e3 build 03-Dec-2021 12:22:23 Removing intermediate container 1c392c8ac8a7 build 03-Dec-2021 12:22:23 Step 4/8 : RUN pip install --no-cache-dir svgwrite numpy scipy build 03-Dec-2021 12:22:23 ---> Running in 7fd700f3bf10 build 03-Dec-2021 12:22:25 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support build 03-Dec-2021 12:22:26 Collecting svgwrite build 03-Dec-2021 12:22:26 Downloading svgwrite-1.3.1-py2.py3-none-any.whl (67 kB) build 03-Dec-2021 12:22:28 Collecting numpy build 03-Dec-2021 12:22:28 Downloading numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0 MB) build 03-Dec-2021 12:22:31 Collecting scipy build 03-Dec-2021 12:22:31 Downloading scipy-1.2.3-cp27-cp27mu-manylinux1_x86_64.whl (24.8 MB) build 03-Dec-2021 12:22:35 Collecting pyparsing>=2.0.1 build 03-Dec-2021 12:22:35 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) build 03-Dec-2021 12:22:36 Installing collected packages: pyparsing, svgwrite, numpy, scipy build 03-Dec-2021 12:22:48 Successfully installed numpy-1.16.6 pyparsing-2.4.7 scipy-1.2.3 svgwrite-1.3.1 build 03-Dec-2021 12:22:49 WARNING: You are using pip version 20.0.2; however, version 20.3.4 is available. build 03-Dec-2021 12:22:49 You should consider upgrading via the '/usr/local/bin/python2 -m pip install --upgrade pip' command. build 03-Dec-2021 12:22:58  ---> 548312229e16 build 03-Dec-2021 12:22:58 Removing intermediate container 7fd700f3bf10 build 03-Dec-2021 12:22:58 Step 5/8 : CMD uwsgi --http :8002 --http-timeout 6000 --http-headers-timeout 6000 --http-connect-timeout 6000 --harakiri 6000 -w main -p 16 build 03-Dec-2021 12:22:59 ---> Running in 8e56c68cff67 build 03-Dec-2021 12:22:59 ---> 76f271797a30 build 03-Dec-2021 12:22:59 Removing intermediate container 8e56c68cff67 build 03-Dec-2021 12:22:59 Step 6/8 : WORKDIR /service/ build 03-Dec-2021 12:23:02 ---> 3c52a17ac9eb build 03-Dec-2021 12:23:02 Removing intermediate container ecabe17486ef build 03-Dec-2021 12:23:02 Step 7/8 : COPY ./main.py /service/main.py build 03-Dec-2021 12:23:06 ---> c4e82bbe30b8 build 03-Dec-2021 12:23:06 Removing intermediate container e5b185b86eee build 03-Dec-2021 12:23:06 Step 8/8 : COPY ./propertyservice /service/propertyservice build 03-Dec-2021 12:23:10 ---> ed3b87a70017 build 03-Dec-2021 12:23:11 Removing intermediate container 5795784e6746 build 03-Dec-2021 12:23:11 Successfully built ed3b87a70017 build 03-Dec-2021 12:23:11 Successfully tagged flarecast/propertyservice:latest simple 03-Dec-2021 12:23:11 Finished task 'Build' with result: Success simple 03-Dec-2021 12:23:11 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 03-Dec-2021 12:23:12 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #698 (INFRA-PROP-JOB1-698)'\n ... running command line: \n/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-698-ScriptBuildTask-2246828358028407489.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_dependency_parent_0=INFRA-BASE-609\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-698\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=698\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-698\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_previous_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_buildTimeStamp=2021-12-03T12:17:16.294+01:00\nbamboo_planRepository_previousRevision=5c35903adebef676798a3698612d5e55dfe0ed82\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-698\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_18776066_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_name=propertyservice\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=5c35903adebef676798a3698612d5e55dfe0ed82\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_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_repository_18776066_previous_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\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 03-Dec-2021 12:23:17 Traceback (most recent call last): error 03-Dec-2021 12:23:17 Traceback (most recent call last): build 03-Dec-2021 12:23:17 File "./setup_docker_env.py", line 32, in error 03-Dec-2021 12:23:17 File "./setup_docker_env.py", line 51, in build 03-Dec-2021 12:23:17 labels={"eu.flarecast.testing": "1"} error 03-Dec-2021 12:23:17 docker_client.stop(dbservice) build 03-Dec-2021 12:23:17 File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 116, in create_container build 03-Dec-2021 12:23:17 return self.create_container_from_config(config, name) build 03-Dec-2021 12:23:17 File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 127, in create_container_from_config build 03-Dec-2021 12:23:17 return self._result(res, True) build 03-Dec-2021 12:23:17 File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 146, in _result build 03-Dec-2021 12:23:17 self._raise_for_status(response) build 03-Dec-2021 12:23:17 File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 141, in _raise_for_status error 03-Dec-2021 12:23:17 NameError: name 'dbservice' is not defined build 03-Dec-2021 12:23:17 raise errors.NotFound(e, response, explanation=explanation) build 03-Dec-2021 12:23:17 NotFound: 404 Client Error: Not Found ("No such image: flarecast/postgres:latest") build 03-Dec-2021 12:23:17 build 03-Dec-2021 12:23:17 ============================= test session starts ============================== build 03-Dec-2021 12:23:17 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 03-Dec-2021 12:23:17 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 03-Dec-2021 12:23:17 plugins: pep8-1.0.6 build 03-Dec-2021 12:23:19 collected 3 items build 03-Dec-2021 12:23:19 build 03-Dec-2021 12:23:20 dataset_tests.py EEE build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 ==================================== ERRORS ==================================== build 03-Dec-2021 12:23:20 ______________ ERROR at setup of DatasetTests.test_1_add_datasets ______________ build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 self = build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 @classmethod build 03-Dec-2021 12:23:20 def setUpClass(self): build 03-Dec-2021 12:23:20 super(DatasetTests, self).setUpClass() build 03-Dec-2021 12:23:20 > resp = get_request(self.service_url + self.__GET_DATASETS) build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 dataset_tests.py:16: build 03-Dec-2021 12:23:20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:20 util.py:30: in get_request build 03-Dec-2021 12:23:20 r = requests.get(url, params=params) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get build 03-Dec-2021 12:23:20 return request('get', url, params=params, **kwargs) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:20 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:20 prep = self.prepare_request(req) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:20 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:20 self.prepare_url(url, params) build 03-Dec-2021 12:23:20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 self = build 03-Dec-2021 12:23:20 url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' build 03-Dec-2021 12:23:20 params = OrderedDict() build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 def prepare_url(self, url, params): build 03-Dec-2021 12:23:20 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:20 #: Accept objects that have string representations. build 03-Dec-2021 12:23:20 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:20 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:20 #: on python 3.x. build 03-Dec-2021 12:23:20 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:20 if isinstance(url, bytes): build 03-Dec-2021 12:23:20 url = url.decode('utf8') build 03-Dec-2021 12:23:20 else: build 03-Dec-2021 12:23:20 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Remove leading whitespaces from url build 03-Dec-2021 12:23:20 url = url.lstrip() build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:20 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:20 # handles RFC 3986 only. build 03-Dec-2021 12:23:20 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:20 self.url = url build 03-Dec-2021 12:23:20 return build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:20 try: build 03-Dec-2021 12:23:20 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:20 except LocationParseError as e: build 03-Dec-2021 12:23:20 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:20 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:20 ___________ ERROR at setup of DatasetTests.test_2_add_dataset_twice ____________ build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 self = build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 @classmethod build 03-Dec-2021 12:23:20 def setUpClass(self): build 03-Dec-2021 12:23:20 super(DatasetTests, self).setUpClass() build 03-Dec-2021 12:23:20 > resp = get_request(self.service_url + self.__GET_DATASETS) build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 dataset_tests.py:16: build 03-Dec-2021 12:23:20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:20 util.py:30: in get_request build 03-Dec-2021 12:23:20 r = requests.get(url, params=params) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get build 03-Dec-2021 12:23:20 return request('get', url, params=params, **kwargs) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:20 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:20 prep = self.prepare_request(req) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:20 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:20 self.prepare_url(url, params) build 03-Dec-2021 12:23:20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 self = build 03-Dec-2021 12:23:20 url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' build 03-Dec-2021 12:23:20 params = OrderedDict() build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 def prepare_url(self, url, params): build 03-Dec-2021 12:23:20 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:20 #: Accept objects that have string representations. build 03-Dec-2021 12:23:20 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:20 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:20 #: on python 3.x. build 03-Dec-2021 12:23:20 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:20 if isinstance(url, bytes): build 03-Dec-2021 12:23:20 url = url.decode('utf8') build 03-Dec-2021 12:23:20 else: build 03-Dec-2021 12:23:20 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Remove leading whitespaces from url build 03-Dec-2021 12:23:20 url = url.lstrip() build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:20 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:20 # handles RFC 3986 only. build 03-Dec-2021 12:23:20 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:20 self.url = url build 03-Dec-2021 12:23:20 return build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:20 try: build 03-Dec-2021 12:23:20 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:20 except LocationParseError as e: build 03-Dec-2021 12:23:20 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:20 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:20 ______________ ERROR at setup of DatasetTests.test_3_get_dataset _______________ build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 self = build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 @classmethod build 03-Dec-2021 12:23:20 def setUpClass(self): build 03-Dec-2021 12:23:20 super(DatasetTests, self).setUpClass() build 03-Dec-2021 12:23:20 > resp = get_request(self.service_url + self.__GET_DATASETS) build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 dataset_tests.py:16: build 03-Dec-2021 12:23:20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:20 util.py:30: in get_request build 03-Dec-2021 12:23:20 r = requests.get(url, params=params) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get build 03-Dec-2021 12:23:20 return request('get', url, params=params, **kwargs) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:20 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:20 prep = self.prepare_request(req) build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:20 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:20 self.prepare_url(url, params) build 03-Dec-2021 12:23:20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 self = build 03-Dec-2021 12:23:20 url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' build 03-Dec-2021 12:23:20 params = OrderedDict() build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 def prepare_url(self, url, params): build 03-Dec-2021 12:23:20 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:20 #: Accept objects that have string representations. build 03-Dec-2021 12:23:20 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:20 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:20 #: on python 3.x. build 03-Dec-2021 12:23:20 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:20 if isinstance(url, bytes): build 03-Dec-2021 12:23:20 url = url.decode('utf8') build 03-Dec-2021 12:23:20 else: build 03-Dec-2021 12:23:20 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Remove leading whitespaces from url build 03-Dec-2021 12:23:20 url = url.lstrip() build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:20 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:20 # handles RFC 3986 only. build 03-Dec-2021 12:23:20 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:20 self.url = url build 03-Dec-2021 12:23:20 return build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:20 try: build 03-Dec-2021 12:23:20 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:20 except LocationParseError as e: build 03-Dec-2021 12:23:20 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:20 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:20 build 03-Dec-2021 12:23:20 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:20 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_dataset_tests.xml build 03-Dec-2021 12:23:20 =========================== 3 error in 2.44 seconds ============================ build 03-Dec-2021 12:23:21 ============================= test session starts ============================== build 03-Dec-2021 12:23:21 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 03-Dec-2021 12:23:21 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 03-Dec-2021 12:23:21 plugins: pep8-1.0.6 build 03-Dec-2021 12:23:22 collected 4 items build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 property_group_tests.py EEEE build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 ==================================== ERRORS ==================================== build 03-Dec-2021 12:23:22 _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 @classmethod build 03-Dec-2021 12:23:22 def setUpClass(self): build 03-Dec-2021 12:23:22 super(PropertyGroupTests, self).setUpClass() build 03-Dec-2021 12:23:22 post_request( build 03-Dec-2021 12:23:22 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:22 TEST_DATASETS, build 03-Dec-2021 12:23:22 > self.auth_token build 03-Dec-2021 12:23:22 ) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 property_group_tests.py:22: build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 util.py:9: in post_request build 03-Dec-2021 12:23:22 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:22 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:22 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:22 prep = self.prepare_request(req) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:22 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:22 self.prepare_url(url, params) build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:22 params = OrderedDict() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 def prepare_url(self, url, params): build 03-Dec-2021 12:23:22 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:22 #: Accept objects that have string representations. build 03-Dec-2021 12:23:22 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:22 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:22 #: on python 3.x. build 03-Dec-2021 12:23:22 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:22 if isinstance(url, bytes): build 03-Dec-2021 12:23:22 url = url.decode('utf8') build 03-Dec-2021 12:23:22 else: build 03-Dec-2021 12:23:22 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Remove leading whitespaces from url build 03-Dec-2021 12:23:22 url = url.lstrip() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:22 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:22 # handles RFC 3986 only. build 03-Dec-2021 12:23:22 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:22 self.url = url build 03-Dec-2021 12:23:22 return build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:22 try: build 03-Dec-2021 12:23:22 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:22 except LocationParseError as e: build 03-Dec-2021 12:23:22 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:22 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:22 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 @classmethod build 03-Dec-2021 12:23:22 def setUpClass(self): build 03-Dec-2021 12:23:22 super(PropertyGroupTests, self).setUpClass() build 03-Dec-2021 12:23:22 post_request( build 03-Dec-2021 12:23:22 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:22 TEST_DATASETS, build 03-Dec-2021 12:23:22 > self.auth_token build 03-Dec-2021 12:23:22 ) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 property_group_tests.py:22: build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 util.py:9: in post_request build 03-Dec-2021 12:23:22 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:22 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:22 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:22 prep = self.prepare_request(req) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:22 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:22 self.prepare_url(url, params) build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:22 params = OrderedDict() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 def prepare_url(self, url, params): build 03-Dec-2021 12:23:22 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:22 #: Accept objects that have string representations. build 03-Dec-2021 12:23:22 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:22 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:22 #: on python 3.x. build 03-Dec-2021 12:23:22 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:22 if isinstance(url, bytes): build 03-Dec-2021 12:23:22 url = url.decode('utf8') build 03-Dec-2021 12:23:22 else: build 03-Dec-2021 12:23:22 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Remove leading whitespaces from url build 03-Dec-2021 12:23:22 url = url.lstrip() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:22 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:22 # handles RFC 3986 only. build 03-Dec-2021 12:23:22 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:22 self.url = url build 03-Dec-2021 12:23:22 return build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:22 try: build 03-Dec-2021 12:23:22 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:22 except LocationParseError as e: build 03-Dec-2021 12:23:22 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:22 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:22 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 @classmethod build 03-Dec-2021 12:23:22 def setUpClass(self): build 03-Dec-2021 12:23:22 super(PropertyGroupTests, self).setUpClass() build 03-Dec-2021 12:23:22 post_request( build 03-Dec-2021 12:23:22 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:22 TEST_DATASETS, build 03-Dec-2021 12:23:22 > self.auth_token build 03-Dec-2021 12:23:22 ) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 property_group_tests.py:22: build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 util.py:9: in post_request build 03-Dec-2021 12:23:22 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:22 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:22 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:22 prep = self.prepare_request(req) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:22 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:22 self.prepare_url(url, params) build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:22 params = OrderedDict() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 def prepare_url(self, url, params): build 03-Dec-2021 12:23:22 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:22 #: Accept objects that have string representations. build 03-Dec-2021 12:23:22 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:22 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:22 #: on python 3.x. build 03-Dec-2021 12:23:22 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:22 if isinstance(url, bytes): build 03-Dec-2021 12:23:22 url = url.decode('utf8') build 03-Dec-2021 12:23:22 else: build 03-Dec-2021 12:23:22 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Remove leading whitespaces from url build 03-Dec-2021 12:23:22 url = url.lstrip() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:22 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:22 # handles RFC 3986 only. build 03-Dec-2021 12:23:22 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:22 self.url = url build 03-Dec-2021 12:23:22 return build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:22 try: build 03-Dec-2021 12:23:22 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:22 except LocationParseError as e: build 03-Dec-2021 12:23:22 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:22 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:22 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 @classmethod build 03-Dec-2021 12:23:22 def setUpClass(self): build 03-Dec-2021 12:23:22 super(PropertyGroupTests, self).setUpClass() build 03-Dec-2021 12:23:22 post_request( build 03-Dec-2021 12:23:22 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:22 TEST_DATASETS, build 03-Dec-2021 12:23:22 > self.auth_token build 03-Dec-2021 12:23:22 ) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 property_group_tests.py:22: build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 util.py:9: in post_request build 03-Dec-2021 12:23:22 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:22 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:22 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:22 prep = self.prepare_request(req) build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:22 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:22 self.prepare_url(url, params) build 03-Dec-2021 12:23:22 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 self = build 03-Dec-2021 12:23:22 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:22 params = OrderedDict() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 def prepare_url(self, url, params): build 03-Dec-2021 12:23:22 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:22 #: Accept objects that have string representations. build 03-Dec-2021 12:23:22 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:22 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:22 #: on python 3.x. build 03-Dec-2021 12:23:22 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:22 if isinstance(url, bytes): build 03-Dec-2021 12:23:22 url = url.decode('utf8') build 03-Dec-2021 12:23:22 else: build 03-Dec-2021 12:23:22 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Remove leading whitespaces from url build 03-Dec-2021 12:23:22 url = url.lstrip() build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:22 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:22 # handles RFC 3986 only. build 03-Dec-2021 12:23:22 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:22 self.url = url build 03-Dec-2021 12:23:22 return build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:22 try: build 03-Dec-2021 12:23:22 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:22 except LocationParseError as e: build 03-Dec-2021 12:23:22 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:22 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:22 build 03-Dec-2021 12:23:22 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:22 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml build 03-Dec-2021 12:23:22 =========================== 4 error in 1.70 seconds ============================ build 03-Dec-2021 12:23:23 ============================= test session starts ============================== build 03-Dec-2021 12:23:23 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 03-Dec-2021 12:23:23 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 03-Dec-2021 12:23:23 plugins: pep8-1.0.6 build 03-Dec-2021 12:23:23 build 03-Dec-2021 12:23:23 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml build 03-Dec-2021 12:23:23 =============================== in 0.00 seconds =============================== error 03-Dec-2021 12:23:23 ERROR: file not found: property_tests.py build 03-Dec-2021 12:23:24 ============================= test session starts ============================== build 03-Dec-2021 12:23:24 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 03-Dec-2021 12:23:24 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 03-Dec-2021 12:23:24 plugins: pep8-1.0.6 build 03-Dec-2021 12:23:24 build 03-Dec-2021 12:23:24 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml build 03-Dec-2021 12:23:24 =============================== in 0.00 seconds =============================== error 03-Dec-2021 12:23:24 ERROR: file not found: property_type_tests.py build 03-Dec-2021 12:23:25 ============================= test session starts ============================== build 03-Dec-2021 12:23:25 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 03-Dec-2021 12:23:25 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 03-Dec-2021 12:23:25 plugins: pep8-1.0.6 build 03-Dec-2021 12:23:26 collected 3 items build 03-Dec-2021 12:23:26 build 03-Dec-2021 12:23:27 link_tests.py EEE build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 ==================================== ERRORS ==================================== build 03-Dec-2021 12:23:27 _________________ ERROR at setup of LinkTests.test_1_add_links _________________ build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 self = build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 @classmethod build 03-Dec-2021 12:23:27 def setUpClass(self): build 03-Dec-2021 12:23:27 super(LinkTests, self).setUpClass() build 03-Dec-2021 12:23:27 post_request( build 03-Dec-2021 12:23:27 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:27 TEST_DATASETS, build 03-Dec-2021 12:23:27 > self.auth_token build 03-Dec-2021 12:23:27 ) build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 link_tests.py:26: build 03-Dec-2021 12:23:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:27 util.py:9: in post_request build 03-Dec-2021 12:23:27 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:27 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:27 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:27 prep = self.prepare_request(req) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:27 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:27 self.prepare_url(url, params) build 03-Dec-2021 12:23:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 self = build 03-Dec-2021 12:23:27 url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:27 params = OrderedDict() build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 def prepare_url(self, url, params): build 03-Dec-2021 12:23:27 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:27 #: Accept objects that have string representations. build 03-Dec-2021 12:23:27 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:27 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:27 #: on python 3.x. build 03-Dec-2021 12:23:27 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:27 if isinstance(url, bytes): build 03-Dec-2021 12:23:27 url = url.decode('utf8') build 03-Dec-2021 12:23:27 else: build 03-Dec-2021 12:23:27 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Remove leading whitespaces from url build 03-Dec-2021 12:23:27 url = url.lstrip() build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:27 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:27 # handles RFC 3986 only. build 03-Dec-2021 12:23:27 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:27 self.url = url build 03-Dec-2021 12:23:27 return build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:27 try: build 03-Dec-2021 12:23:27 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:27 except LocationParseError as e: build 03-Dec-2021 12:23:27 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:27 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:27 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________ build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 self = build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 @classmethod build 03-Dec-2021 12:23:27 def setUpClass(self): build 03-Dec-2021 12:23:27 super(LinkTests, self).setUpClass() build 03-Dec-2021 12:23:27 post_request( build 03-Dec-2021 12:23:27 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:27 TEST_DATASETS, build 03-Dec-2021 12:23:27 > self.auth_token build 03-Dec-2021 12:23:27 ) build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 link_tests.py:26: build 03-Dec-2021 12:23:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:27 util.py:9: in post_request build 03-Dec-2021 12:23:27 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:27 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:27 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:27 prep = self.prepare_request(req) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:27 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:27 self.prepare_url(url, params) build 03-Dec-2021 12:23:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 self = build 03-Dec-2021 12:23:27 url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:27 params = OrderedDict() build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 def prepare_url(self, url, params): build 03-Dec-2021 12:23:27 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:27 #: Accept objects that have string representations. build 03-Dec-2021 12:23:27 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:27 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:27 #: on python 3.x. build 03-Dec-2021 12:23:27 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:27 if isinstance(url, bytes): build 03-Dec-2021 12:23:27 url = url.decode('utf8') build 03-Dec-2021 12:23:27 else: build 03-Dec-2021 12:23:27 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Remove leading whitespaces from url build 03-Dec-2021 12:23:27 url = url.lstrip() build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:27 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:27 # handles RFC 3986 only. build 03-Dec-2021 12:23:27 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:27 self.url = url build 03-Dec-2021 12:23:27 return build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:27 try: build 03-Dec-2021 12:23:27 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:27 except LocationParseError as e: build 03-Dec-2021 12:23:27 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:27 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:27 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________ build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 self = build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 @classmethod build 03-Dec-2021 12:23:27 def setUpClass(self): build 03-Dec-2021 12:23:27 super(LinkTests, self).setUpClass() build 03-Dec-2021 12:23:27 post_request( build 03-Dec-2021 12:23:27 self.service_url + self.__ADD_DATASETS, build 03-Dec-2021 12:23:27 TEST_DATASETS, build 03-Dec-2021 12:23:27 > self.auth_token build 03-Dec-2021 12:23:27 ) build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 link_tests.py:26: build 03-Dec-2021 12:23:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:27 util.py:9: in post_request build 03-Dec-2021 12:23:27 r = requests.post(url, json=payload, headers=headers) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 03-Dec-2021 12:23:27 return request('post', url, data=data, json=json, **kwargs) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 03-Dec-2021 12:23:27 return session.request(method=method, url=url, **kwargs) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 03-Dec-2021 12:23:27 prep = self.prepare_request(req) build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 03-Dec-2021 12:23:27 hooks=merge_hooks(request.hooks, self.hooks), build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 03-Dec-2021 12:23:27 self.prepare_url(url, params) build 03-Dec-2021 12:23:27 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 self = build 03-Dec-2021 12:23:27 url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' build 03-Dec-2021 12:23:27 params = OrderedDict() build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 def prepare_url(self, url, params): build 03-Dec-2021 12:23:27 """Prepares the given HTTP URL.""" build 03-Dec-2021 12:23:27 #: Accept objects that have string representations. build 03-Dec-2021 12:23:27 #: We're unable to blindly call unicode/str functions build 03-Dec-2021 12:23:27 #: as this will include the bytestring indicator (b'') build 03-Dec-2021 12:23:27 #: on python 3.x. build 03-Dec-2021 12:23:27 #: https://github.com/requests/requests/pull/2238 build 03-Dec-2021 12:23:27 if isinstance(url, bytes): build 03-Dec-2021 12:23:27 url = url.decode('utf8') build 03-Dec-2021 12:23:27 else: build 03-Dec-2021 12:23:27 url = unicode(url) if is_py2 else str(url) build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Remove leading whitespaces from url build 03-Dec-2021 12:23:27 url = url.lstrip() build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 03-Dec-2021 12:23:27 # `data` etc to work around exceptions from `url_parse`, which build 03-Dec-2021 12:23:27 # handles RFC 3986 only. build 03-Dec-2021 12:23:27 if ':' in url and not url.lower().startswith('http'): build 03-Dec-2021 12:23:27 self.url = url build 03-Dec-2021 12:23:27 return build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 # Support for unicode domain names and paths. build 03-Dec-2021 12:23:27 try: build 03-Dec-2021 12:23:27 scheme, auth, host, port, path, query, fragment = parse_url(url) build 03-Dec-2021 12:23:27 except LocationParseError as e: build 03-Dec-2021 12:23:27 > raise InvalidURL(*e.args) build 03-Dec-2021 12:23:27 E InvalidURL: Failed to parse: --junitxml:.. build 03-Dec-2021 12:23:27 build 03-Dec-2021 12:23:27 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 03-Dec-2021 12:23:27 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml build 03-Dec-2021 12:23:27 =========================== 3 error in 1.57 seconds ============================ simple 03-Dec-2021 12:23:28 Finished task 'Run tests' with result: Success simple 03-Dec-2021 12:23:28 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 03-Dec-2021 12:23:28 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #698 (INFRA-PROP-JOB1-698)'\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_dependency_parent_0=INFRA-BASE-609\nbamboo_dependency_parent_total=1\nbamboo_repository_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-698\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=698\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-698\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-698-ScriptBuildTask-2246828358028407489.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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_previous_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_buildTimeStamp=2021-12-03T12:17:16.294+01:00\nbamboo_planRepository_previousRevision=5c35903adebef676798a3698612d5e55dfe0ed82\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-698\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_18776066_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_repository_name=propertyservice\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=5c35903adebef676798a3698612d5e55dfe0ed82\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_repository_git_repositoryUrl=ssh://git@localhost:7999/infra/propertyservice.git\nbamboo_repository_18776066_previous_revision_number=5c35903adebef676798a3698612d5e55dfe0ed82\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 03-Dec-2021 12:23:29 ============================= test session starts ============================== build 03-Dec-2021 12:23:29 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 03-Dec-2021 12:23:29 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: build 03-Dec-2021 12:23:29 plugins: pep8-1.0.6 build 03-Dec-2021 12:23:29 collected 21 items build 03-Dec-2021 12:23:29 build 03-Dec-2021 12:23:29 main.py . build 03-Dec-2021 12:23:29 propertyservice/__init__.py . build 03-Dec-2021 12:23:29 propertyservice/config.py . build 03-Dec-2021 12:23:29 propertyservice/sirql_util.py . build 03-Dec-2021 12:23:29 propertyservice/util.py . build 03-Dec-2021 12:23:29 propertyservice/data/__init__.py . build 03-Dec-2021 12:23:29 propertyservice/data/property_dao.py . build 03-Dec-2021 12:23:29 propertyservice/routes/__init__.py . build 03-Dec-2021 12:23:29 propertyservice/routes/analysis.py . build 03-Dec-2021 12:23:29 propertyservice/routes/dataset.py . build 03-Dec-2021 12:23:29 propertyservice/routes/link.py . build 03-Dec-2021 12:23:29 propertyservice/routes/property_group.py F build 03-Dec-2021 12:23:29 propertyservice/routes/property_types.py . build 03-Dec-2021 12:23:29 propertyservice/routes/summary.py . build 03-Dec-2021 12:23:29 tests/base_test_case.py . build 03-Dec-2021 12:23:29 tests/cleanup_docker_env.py . build 03-Dec-2021 12:23:29 tests/dataset_tests.py . build 03-Dec-2021 12:23:29 tests/link_tests.py . build 03-Dec-2021 12:23:29 tests/property_group_tests.py . build 03-Dec-2021 12:23:29 tests/setup_docker_env.py . build 03-Dec-2021 12:23:29 tests/util.py . build 03-Dec-2021 12:23:29 build 03-Dec-2021 12:23:29 =================================== FAILURES =================================== build 03-Dec-2021 12:23:29 __________________________________ PEP8-check __________________________________ build 03-Dec-2021 12:23:29 /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/propertyservice/routes/property_group.py:238:41: E711 comparison to None should be 'if cond is None:' build 03-Dec-2021 12:23:29 if property_type_id == None: build 03-Dec-2021 12:23:29 ^ build 03-Dec-2021 12:23:29 /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/propertyservice/routes/property_group.py:285:80: E501 line too long (80 > 79 characters) build 03-Dec-2021 12:23:29 where={"id": properties[0]["fk_property_group"]} build 03-Dec-2021 12:23:29 ^ build 03-Dec-2021 12:23:29 build 03-Dec-2021 12:23:29 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml build 03-Dec-2021 12:23:29 ===================== 1 failed, 20 passed in 0.67 seconds ====================== simple 03-Dec-2021 12:23:30 Failing task since return code of [/usr/local/bin/py.test --pep8 -m pep8 --junitxml pep8_results.xml] was 1 while expected 0 simple 03-Dec-2021 12:23:30 Finished task 'Pep8 tests' with result: Failed simple 03-Dec-2021 12:23:30 Running post build plugin 'NCover Results Collector' simple 03-Dec-2021 12:23:30 Running post build plugin 'Artifact Copier' simple 03-Dec-2021 12:23:30 Running post build plugin 'Sauce OnDemand Post Runner' simple 03-Dec-2021 12:23:30 Running post build plugin 'npm Cache Cleanup' simple 03-Dec-2021 12:23:30 Running post build plugin 'Clover Results Collector' simple 03-Dec-2021 12:23:30 Running post build plugin 'Docker Container Cleanup' simple 03-Dec-2021 12:23:30 Finalising the build... simple 03-Dec-2021 12:23:30 Stopping timer. simple 03-Dec-2021 12:23:30 Build INFRA-PROP-JOB1-698 completed. simple 03-Dec-2021 12:23:30 Running on server: post build plugin 'NCover Results Collector' simple 03-Dec-2021 12:23:30 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 03-Dec-2021 12:23:30 Running on server: post build plugin 'Clover Delta Calculator' simple 03-Dec-2021 12:23:30 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 03-Dec-2021 12:23:30 All post build plugins have finished simple 03-Dec-2021 12:23:30 Generating build results summary... simple 03-Dec-2021 12:23:30 Saving build results to disk... simple 03-Dec-2021 12:23:30 Logging substituted variables... simple 03-Dec-2021 12:23:30 Indexing build results... simple 03-Dec-2021 12:23:30 Finished building INFRA-PROP-JOB1-698.