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