simple 14-Dec-2021 15:48:39 Build FLARECAST - propertyservice - Default Job #700 (INFRA-PROP-JOB1-700) started building on agent Default Agent simple 14-Dec-2021 15:48:39 simple 14-Dec-2021 15:48:39 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 simple 14-Dec-2021 15:48:39 Executing build FLARECAST - propertyservice - Default Job #700 (INFRA-PROP-JOB1-700) simple 14-Dec-2021 15:48:39 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 14-Dec-2021 15:48:39 Build always requires a clean checkout simple 14-Dec-2021 15:48:39 Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1' simple 14-Dec-2021 15:48:39 Updating source code to revision: aa9ef15eb868d3fdff82c987106f590ecf03c8c6 simple 14-Dec-2021 15:48:39 Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'. simple 14-Dec-2021 15:48:39 Warning: Permanently added '[127.0.0.1]:43470' (RSA) to the list of known hosts. simple 14-Dec-2021 15:48:40 Checking out revision aa9ef15eb868d3fdff82c987106f590ecf03c8c6. simple 14-Dec-2021 15:48:40 Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'. simple 14-Dec-2021 15:48:40 Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'... simple 14-Dec-2021 15:48:40 Already on 'master' simple 14-Dec-2021 15:48:40 Your branch is up-to-date with 'origin/master'. simple 14-Dec-2021 15:48:40 Updated source code to revision: aa9ef15eb868d3fdff82c987106f590ecf03c8c6 simple 14-Dec-2021 15:48:40 Finished task 'Checkout Default Repository' with result: Success simple 14-Dec-2021 15:48:40 Running pre-build action: VCS Version Collector simple 14-Dec-2021 15:48:40 Running pre-build action: Sauce OnDemand Build Configurator simple 14-Dec-2021 15:48:40 Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 14-Dec-2021 15:48:40 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #700 (INFRA-PROP-JOB1-700)'\n ... running command line: \n/bin/sh ./build.sh\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_18776066_branch_name=master\nbamboo_repository_18776066_git_username=\nbamboo_repository_revision_number=aa9ef15eb868d3fdff82c987106f590ecf03c8c6\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-700\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=700\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-700\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_buildTimeStamp=2021-12-14T15:48:39.514+01:00\nbamboo_planRepository_previousRevision=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test\nbamboo_buildResultKey=INFRA-PROP-JOB1-700\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=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 14-Dec-2021 15:48:40 Sending build context to Docker daemon 184.3kB build 14-Dec-2021 15:48:40 build 14-Dec-2021 15:48:41 Step 1/8 : FROM flarecast/python-base build 14-Dec-2021 15:48:41 ---> d00b2217eaf4 build 14-Dec-2021 15:48:41 Step 2/8 : MAINTAINER i4Ds build 14-Dec-2021 15:48:41 ---> Using cache build 14-Dec-2021 15:48:41 ---> c6a02461f4cf build 14-Dec-2021 15:48:41 Step 3/8 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice" build 14-Dec-2021 15:48:41 ---> Using cache build 14-Dec-2021 15:48:41 ---> f0274c4dadf5 build 14-Dec-2021 15:48:41 Step 4/8 : RUN pip install --no-cache-dir svgwrite numpy scipy build 14-Dec-2021 15:48:41 ---> Using cache build 14-Dec-2021 15:48:41 ---> 4c095035dbd6 build 14-Dec-2021 15:48:41 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-Dec-2021 15:48:41 ---> Using cache build 14-Dec-2021 15:48:41 ---> dbf6abb6f2a6 build 14-Dec-2021 15:48:41 Step 6/8 : WORKDIR /service/ build 14-Dec-2021 15:48:41 ---> Using cache build 14-Dec-2021 15:48:41 ---> 2634afbec63e build 14-Dec-2021 15:48:41 Step 7/8 : COPY ./main.py /service/main.py build 14-Dec-2021 15:48:41 ---> Using cache build 14-Dec-2021 15:48:41 ---> 3540026d705a build 14-Dec-2021 15:48:41 Step 8/8 : COPY ./propertyservice /service/propertyservice build 14-Dec-2021 15:48:41 ---> 599ec8010a29 build 14-Dec-2021 15:48:41 Removing intermediate container d42a50d0d06f build 14-Dec-2021 15:48:41 Successfully built 599ec8010a29 build 14-Dec-2021 15:48:41 Successfully tagged flarecast/propertyservice:latest simple 14-Dec-2021 15:48:42 Finished task 'Build' with result: Success simple 14-Dec-2021 15:48:42 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 14-Dec-2021 15:48:42 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #700 (INFRA-PROP-JOB1-700)'\n ... running command line: \n/bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-700-ScriptBuildTask-2477635919392815882.sh\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_18776066_branch_name=master\nbamboo_repository_18776066_git_username=\nbamboo_repository_revision_number=aa9ef15eb868d3fdff82c987106f590ecf03c8c6\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-700\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=700\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-700\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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_buildTimeStamp=2021-12-14T15:48:39.514+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-700\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=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 14-Dec-2021 15:48:43 Traceback (most recent call last): build 14-Dec-2021 15:48:43 File "./setup_docker_env.py", line 32, in build 14-Dec-2021 15:48:43 labels={"eu.flarecast.testing": "1"} build 14-Dec-2021 15:48:43 File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 116, in create_container error 14-Dec-2021 15:48:43 Traceback (most recent call last): build 14-Dec-2021 15:48:43 return self.create_container_from_config(config, name) build 14-Dec-2021 15:48:43 File "/usr/local/lib/python2.7/dist-packages/docker/api/container.py", line 127, in create_container_from_config error 14-Dec-2021 15:48:43 File "./setup_docker_env.py", line 51, in build 14-Dec-2021 15:48:43 return self._result(res, True) error 14-Dec-2021 15:48:43 docker_client.stop(dbservice) build 14-Dec-2021 15:48:43 File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 146, in _result build 14-Dec-2021 15:48:43 self._raise_for_status(response) error 14-Dec-2021 15:48:43 NameError: name 'dbservice' is not defined build 14-Dec-2021 15:48:43 File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 141, in _raise_for_status build 14-Dec-2021 15:48:43 raise errors.NotFound(e, response, explanation=explanation) build 14-Dec-2021 15:48:43 NotFound: 404 Client Error: Not Found ("No such image: flarecast/postgres:latest") build 14-Dec-2021 15:48:43 build 14-Dec-2021 15:48:44 ============================= test session starts ============================== build 14-Dec-2021 15:48:44 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Dec-2021 15:48:44 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Dec-2021 15:48:44 plugins: pep8-1.0.6 build 14-Dec-2021 15:48:45 collected 3 items build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 dataset_tests.py EEE build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 ==================================== ERRORS ==================================== build 14-Dec-2021 15:48:45 ______________ ERROR at setup of DatasetTests.test_1_add_datasets ______________ build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 self = build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 @classmethod build 14-Dec-2021 15:48:45 def setUpClass(self): build 14-Dec-2021 15:48:45 super(DatasetTests, self).setUpClass() build 14-Dec-2021 15:48:45 > resp = get_request(self.service_url + self.__GET_DATASETS) build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 dataset_tests.py:16: build 14-Dec-2021 15:48:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:45 util.py:30: in get_request build 14-Dec-2021 15:48:45 r = requests.get(url, params=params) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get build 14-Dec-2021 15:48:45 return request('get', url, params=params, **kwargs) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:45 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:45 prep = self.prepare_request(req) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:45 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:45 self.prepare_url(url, params) build 14-Dec-2021 15:48:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 self = build 14-Dec-2021 15:48:45 url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' build 14-Dec-2021 15:48:45 params = OrderedDict() build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 def prepare_url(self, url, params): build 14-Dec-2021 15:48:45 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:45 #: Accept objects that have string representations. build 14-Dec-2021 15:48:45 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:45 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:45 #: on python 3.x. build 14-Dec-2021 15:48:45 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:45 if isinstance(url, bytes): build 14-Dec-2021 15:48:45 url = url.decode('utf8') build 14-Dec-2021 15:48:45 else: build 14-Dec-2021 15:48:45 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Remove leading whitespaces from url build 14-Dec-2021 15:48:45 url = url.lstrip() build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:45 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:45 # handles RFC 3986 only. build 14-Dec-2021 15:48:45 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:45 self.url = url build 14-Dec-2021 15:48:45 return build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:45 try: build 14-Dec-2021 15:48:45 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:45 except LocationParseError as e: build 14-Dec-2021 15:48:45 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:45 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:45 ___________ ERROR at setup of DatasetTests.test_2_add_dataset_twice ____________ build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 self = build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 @classmethod build 14-Dec-2021 15:48:45 def setUpClass(self): build 14-Dec-2021 15:48:45 super(DatasetTests, self).setUpClass() build 14-Dec-2021 15:48:45 > resp = get_request(self.service_url + self.__GET_DATASETS) build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 dataset_tests.py:16: build 14-Dec-2021 15:48:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:45 util.py:30: in get_request build 14-Dec-2021 15:48:45 r = requests.get(url, params=params) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get build 14-Dec-2021 15:48:45 return request('get', url, params=params, **kwargs) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:45 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:45 prep = self.prepare_request(req) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:45 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:45 self.prepare_url(url, params) build 14-Dec-2021 15:48:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 self = build 14-Dec-2021 15:48:45 url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' build 14-Dec-2021 15:48:45 params = OrderedDict() build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 def prepare_url(self, url, params): build 14-Dec-2021 15:48:45 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:45 #: Accept objects that have string representations. build 14-Dec-2021 15:48:45 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:45 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:45 #: on python 3.x. build 14-Dec-2021 15:48:45 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:45 if isinstance(url, bytes): build 14-Dec-2021 15:48:45 url = url.decode('utf8') build 14-Dec-2021 15:48:45 else: build 14-Dec-2021 15:48:45 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Remove leading whitespaces from url build 14-Dec-2021 15:48:45 url = url.lstrip() build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:45 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:45 # handles RFC 3986 only. build 14-Dec-2021 15:48:45 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:45 self.url = url build 14-Dec-2021 15:48:45 return build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:45 try: build 14-Dec-2021 15:48:45 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:45 except LocationParseError as e: build 14-Dec-2021 15:48:45 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:45 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:45 ______________ ERROR at setup of DatasetTests.test_3_get_dataset _______________ build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 self = build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 @classmethod build 14-Dec-2021 15:48:45 def setUpClass(self): build 14-Dec-2021 15:48:45 super(DatasetTests, self).setUpClass() build 14-Dec-2021 15:48:45 > resp = get_request(self.service_url + self.__GET_DATASETS) build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 dataset_tests.py:16: build 14-Dec-2021 15:48:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:45 util.py:30: in get_request build 14-Dec-2021 15:48:45 r = requests.get(url, params=params) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get build 14-Dec-2021 15:48:45 return request('get', url, params=params, **kwargs) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:45 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:45 prep = self.prepare_request(req) build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:45 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:45 self.prepare_url(url, params) build 14-Dec-2021 15:48:45 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 self = build 14-Dec-2021 15:48:45 url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' build 14-Dec-2021 15:48:45 params = OrderedDict() build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 def prepare_url(self, url, params): build 14-Dec-2021 15:48:45 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:45 #: Accept objects that have string representations. build 14-Dec-2021 15:48:45 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:45 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:45 #: on python 3.x. build 14-Dec-2021 15:48:45 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:45 if isinstance(url, bytes): build 14-Dec-2021 15:48:45 url = url.decode('utf8') build 14-Dec-2021 15:48:45 else: build 14-Dec-2021 15:48:45 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Remove leading whitespaces from url build 14-Dec-2021 15:48:45 url = url.lstrip() build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:45 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:45 # handles RFC 3986 only. build 14-Dec-2021 15:48:45 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:45 self.url = url build 14-Dec-2021 15:48:45 return build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:45 try: build 14-Dec-2021 15:48:45 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:45 except LocationParseError as e: build 14-Dec-2021 15:48:45 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:45 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:45 build 14-Dec-2021 15:48:45 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:45 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_dataset_tests.xml build 14-Dec-2021 15:48:45 =========================== 3 error in 1.33 seconds ============================ build 14-Dec-2021 15:48:45 ============================= test session starts ============================== build 14-Dec-2021 15:48:45 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Dec-2021 15:48:45 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Dec-2021 15:48:45 plugins: pep8-1.0.6 build 14-Dec-2021 15:48:47 collected 4 items build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 property_group_tests.py EEEE build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 ==================================== ERRORS ==================================== build 14-Dec-2021 15:48:47 _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 @classmethod build 14-Dec-2021 15:48:47 def setUpClass(self): build 14-Dec-2021 15:48:47 super(PropertyGroupTests, self).setUpClass() build 14-Dec-2021 15:48:47 post_request( build 14-Dec-2021 15:48:47 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:47 TEST_DATASETS, build 14-Dec-2021 15:48:47 > self.auth_token build 14-Dec-2021 15:48:47 ) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 property_group_tests.py:22: build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 util.py:9: in post_request build 14-Dec-2021 15:48:47 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:47 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:47 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:47 prep = self.prepare_request(req) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:47 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:47 self.prepare_url(url, params) build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:47 params = OrderedDict() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 def prepare_url(self, url, params): build 14-Dec-2021 15:48:47 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:47 #: Accept objects that have string representations. build 14-Dec-2021 15:48:47 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:47 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:47 #: on python 3.x. build 14-Dec-2021 15:48:47 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:47 if isinstance(url, bytes): build 14-Dec-2021 15:48:47 url = url.decode('utf8') build 14-Dec-2021 15:48:47 else: build 14-Dec-2021 15:48:47 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Remove leading whitespaces from url build 14-Dec-2021 15:48:47 url = url.lstrip() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:47 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:47 # handles RFC 3986 only. build 14-Dec-2021 15:48:47 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:47 self.url = url build 14-Dec-2021 15:48:47 return build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:47 try: build 14-Dec-2021 15:48:47 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:47 except LocationParseError as e: build 14-Dec-2021 15:48:47 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:47 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:47 _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 @classmethod build 14-Dec-2021 15:48:47 def setUpClass(self): build 14-Dec-2021 15:48:47 super(PropertyGroupTests, self).setUpClass() build 14-Dec-2021 15:48:47 post_request( build 14-Dec-2021 15:48:47 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:47 TEST_DATASETS, build 14-Dec-2021 15:48:47 > self.auth_token build 14-Dec-2021 15:48:47 ) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 property_group_tests.py:22: build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 util.py:9: in post_request build 14-Dec-2021 15:48:47 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:47 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:47 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:47 prep = self.prepare_request(req) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:47 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:47 self.prepare_url(url, params) build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:47 params = OrderedDict() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 def prepare_url(self, url, params): build 14-Dec-2021 15:48:47 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:47 #: Accept objects that have string representations. build 14-Dec-2021 15:48:47 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:47 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:47 #: on python 3.x. build 14-Dec-2021 15:48:47 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:47 if isinstance(url, bytes): build 14-Dec-2021 15:48:47 url = url.decode('utf8') build 14-Dec-2021 15:48:47 else: build 14-Dec-2021 15:48:47 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Remove leading whitespaces from url build 14-Dec-2021 15:48:47 url = url.lstrip() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:47 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:47 # handles RFC 3986 only. build 14-Dec-2021 15:48:47 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:47 self.url = url build 14-Dec-2021 15:48:47 return build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:47 try: build 14-Dec-2021 15:48:47 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:47 except LocationParseError as e: build 14-Dec-2021 15:48:47 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:47 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:47 _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 @classmethod build 14-Dec-2021 15:48:47 def setUpClass(self): build 14-Dec-2021 15:48:47 super(PropertyGroupTests, self).setUpClass() build 14-Dec-2021 15:48:47 post_request( build 14-Dec-2021 15:48:47 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:47 TEST_DATASETS, build 14-Dec-2021 15:48:47 > self.auth_token build 14-Dec-2021 15:48:47 ) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 property_group_tests.py:22: build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 util.py:9: in post_request build 14-Dec-2021 15:48:47 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:47 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:47 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:47 prep = self.prepare_request(req) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:47 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:47 self.prepare_url(url, params) build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:47 params = OrderedDict() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 def prepare_url(self, url, params): build 14-Dec-2021 15:48:47 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:47 #: Accept objects that have string representations. build 14-Dec-2021 15:48:47 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:47 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:47 #: on python 3.x. build 14-Dec-2021 15:48:47 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:47 if isinstance(url, bytes): build 14-Dec-2021 15:48:47 url = url.decode('utf8') build 14-Dec-2021 15:48:47 else: build 14-Dec-2021 15:48:47 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Remove leading whitespaces from url build 14-Dec-2021 15:48:47 url = url.lstrip() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:47 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:47 # handles RFC 3986 only. build 14-Dec-2021 15:48:47 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:47 self.url = url build 14-Dec-2021 15:48:47 return build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:47 try: build 14-Dec-2021 15:48:47 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:47 except LocationParseError as e: build 14-Dec-2021 15:48:47 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:47 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:47 ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 @classmethod build 14-Dec-2021 15:48:47 def setUpClass(self): build 14-Dec-2021 15:48:47 super(PropertyGroupTests, self).setUpClass() build 14-Dec-2021 15:48:47 post_request( build 14-Dec-2021 15:48:47 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:47 TEST_DATASETS, build 14-Dec-2021 15:48:47 > self.auth_token build 14-Dec-2021 15:48:47 ) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 property_group_tests.py:22: build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 util.py:9: in post_request build 14-Dec-2021 15:48:47 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:47 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:47 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:47 prep = self.prepare_request(req) build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:47 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:47 self.prepare_url(url, params) build 14-Dec-2021 15:48:47 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 self = build 14-Dec-2021 15:48:47 url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:47 params = OrderedDict() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 def prepare_url(self, url, params): build 14-Dec-2021 15:48:47 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:47 #: Accept objects that have string representations. build 14-Dec-2021 15:48:47 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:47 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:47 #: on python 3.x. build 14-Dec-2021 15:48:47 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:47 if isinstance(url, bytes): build 14-Dec-2021 15:48:47 url = url.decode('utf8') build 14-Dec-2021 15:48:47 else: build 14-Dec-2021 15:48:47 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Remove leading whitespaces from url build 14-Dec-2021 15:48:47 url = url.lstrip() build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:47 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:47 # handles RFC 3986 only. build 14-Dec-2021 15:48:47 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:47 self.url = url build 14-Dec-2021 15:48:47 return build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:47 try: build 14-Dec-2021 15:48:47 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:47 except LocationParseError as e: build 14-Dec-2021 15:48:47 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:47 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:47 build 14-Dec-2021 15:48:47 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:47 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml build 14-Dec-2021 15:48:47 =========================== 4 error in 1.59 seconds ============================ build 14-Dec-2021 15:48:48 ============================= test session starts ============================== build 14-Dec-2021 15:48:48 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Dec-2021 15:48:48 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Dec-2021 15:48:48 plugins: pep8-1.0.6 build 14-Dec-2021 15:48:48 build 14-Dec-2021 15:48:48 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml build 14-Dec-2021 15:48:48 =============================== in 0.00 seconds =============================== error 14-Dec-2021 15:48:48 ERROR: file not found: property_tests.py build 14-Dec-2021 15:48:48 ============================= test session starts ============================== build 14-Dec-2021 15:48:48 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Dec-2021 15:48:48 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Dec-2021 15:48:48 plugins: pep8-1.0.6 build 14-Dec-2021 15:48:48 build 14-Dec-2021 15:48:48 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml build 14-Dec-2021 15:48:48 =============================== in 0.00 seconds =============================== error 14-Dec-2021 15:48:48 ERROR: file not found: property_type_tests.py build 14-Dec-2021 15:48:49 ============================= test session starts ============================== build 14-Dec-2021 15:48:49 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Dec-2021 15:48:49 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: build 14-Dec-2021 15:48:49 plugins: pep8-1.0.6 build 14-Dec-2021 15:48:50 collected 3 items build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 link_tests.py EEE build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 ==================================== ERRORS ==================================== build 14-Dec-2021 15:48:50 _________________ ERROR at setup of LinkTests.test_1_add_links _________________ build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 self = build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 @classmethod build 14-Dec-2021 15:48:50 def setUpClass(self): build 14-Dec-2021 15:48:50 super(LinkTests, self).setUpClass() build 14-Dec-2021 15:48:50 post_request( build 14-Dec-2021 15:48:50 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:50 TEST_DATASETS, build 14-Dec-2021 15:48:50 > self.auth_token build 14-Dec-2021 15:48:50 ) build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 link_tests.py:26: build 14-Dec-2021 15:48:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:50 util.py:9: in post_request build 14-Dec-2021 15:48:50 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:50 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:50 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:50 prep = self.prepare_request(req) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:50 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:50 self.prepare_url(url, params) build 14-Dec-2021 15:48:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 self = build 14-Dec-2021 15:48:50 url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:50 params = OrderedDict() build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 def prepare_url(self, url, params): build 14-Dec-2021 15:48:50 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:50 #: Accept objects that have string representations. build 14-Dec-2021 15:48:50 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:50 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:50 #: on python 3.x. build 14-Dec-2021 15:48:50 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:50 if isinstance(url, bytes): build 14-Dec-2021 15:48:50 url = url.decode('utf8') build 14-Dec-2021 15:48:50 else: build 14-Dec-2021 15:48:50 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Remove leading whitespaces from url build 14-Dec-2021 15:48:50 url = url.lstrip() build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:50 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:50 # handles RFC 3986 only. build 14-Dec-2021 15:48:50 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:50 self.url = url build 14-Dec-2021 15:48:50 return build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:50 try: build 14-Dec-2021 15:48:50 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:50 except LocationParseError as e: build 14-Dec-2021 15:48:50 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:50 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:50 _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________ build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 self = build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 @classmethod build 14-Dec-2021 15:48:50 def setUpClass(self): build 14-Dec-2021 15:48:50 super(LinkTests, self).setUpClass() build 14-Dec-2021 15:48:50 post_request( build 14-Dec-2021 15:48:50 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:50 TEST_DATASETS, build 14-Dec-2021 15:48:50 > self.auth_token build 14-Dec-2021 15:48:50 ) build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 link_tests.py:26: build 14-Dec-2021 15:48:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:50 util.py:9: in post_request build 14-Dec-2021 15:48:50 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:50 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:50 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:50 prep = self.prepare_request(req) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:50 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:50 self.prepare_url(url, params) build 14-Dec-2021 15:48:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 self = build 14-Dec-2021 15:48:50 url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:50 params = OrderedDict() build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 def prepare_url(self, url, params): build 14-Dec-2021 15:48:50 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:50 #: Accept objects that have string representations. build 14-Dec-2021 15:48:50 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:50 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:50 #: on python 3.x. build 14-Dec-2021 15:48:50 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:50 if isinstance(url, bytes): build 14-Dec-2021 15:48:50 url = url.decode('utf8') build 14-Dec-2021 15:48:50 else: build 14-Dec-2021 15:48:50 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Remove leading whitespaces from url build 14-Dec-2021 15:48:50 url = url.lstrip() build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:50 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:50 # handles RFC 3986 only. build 14-Dec-2021 15:48:50 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:50 self.url = url build 14-Dec-2021 15:48:50 return build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:50 try: build 14-Dec-2021 15:48:50 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:50 except LocationParseError as e: build 14-Dec-2021 15:48:50 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:50 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:50 ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________ build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 self = build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 @classmethod build 14-Dec-2021 15:48:50 def setUpClass(self): build 14-Dec-2021 15:48:50 super(LinkTests, self).setUpClass() build 14-Dec-2021 15:48:50 post_request( build 14-Dec-2021 15:48:50 self.service_url + self.__ADD_DATASETS, build 14-Dec-2021 15:48:50 TEST_DATASETS, build 14-Dec-2021 15:48:50 > self.auth_token build 14-Dec-2021 15:48:50 ) build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 link_tests.py:26: build 14-Dec-2021 15:48:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:50 util.py:9: in post_request build 14-Dec-2021 15:48:50 r = requests.post(url, json=payload, headers=headers) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post build 14-Dec-2021 15:48:50 return request('post', url, data=data, json=json, **kwargs) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request build 14-Dec-2021 15:48:50 return session.request(method=method, url=url, **kwargs) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request build 14-Dec-2021 15:48:50 prep = self.prepare_request(req) build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request build 14-Dec-2021 15:48:50 hooks=merge_hooks(request.hooks, self.hooks), build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare build 14-Dec-2021 15:48:50 self.prepare_url(url, params) build 14-Dec-2021 15:48:50 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 self = build 14-Dec-2021 15:48:50 url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' build 14-Dec-2021 15:48:50 params = OrderedDict() build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 def prepare_url(self, url, params): build 14-Dec-2021 15:48:50 """Prepares the given HTTP URL.""" build 14-Dec-2021 15:48:50 #: Accept objects that have string representations. build 14-Dec-2021 15:48:50 #: We're unable to blindly call unicode/str functions build 14-Dec-2021 15:48:50 #: as this will include the bytestring indicator (b'') build 14-Dec-2021 15:48:50 #: on python 3.x. build 14-Dec-2021 15:48:50 #: https://github.com/requests/requests/pull/2238 build 14-Dec-2021 15:48:50 if isinstance(url, bytes): build 14-Dec-2021 15:48:50 url = url.decode('utf8') build 14-Dec-2021 15:48:50 else: build 14-Dec-2021 15:48:50 url = unicode(url) if is_py2 else str(url) build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Remove leading whitespaces from url build 14-Dec-2021 15:48:50 url = url.lstrip() build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Don't do any URL preparation for non-HTTP schemes like `mailto`, build 14-Dec-2021 15:48:50 # `data` etc to work around exceptions from `url_parse`, which build 14-Dec-2021 15:48:50 # handles RFC 3986 only. build 14-Dec-2021 15:48:50 if ':' in url and not url.lower().startswith('http'): build 14-Dec-2021 15:48:50 self.url = url build 14-Dec-2021 15:48:50 return build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 # Support for unicode domain names and paths. build 14-Dec-2021 15:48:50 try: build 14-Dec-2021 15:48:50 scheme, auth, host, port, path, query, fragment = parse_url(url) build 14-Dec-2021 15:48:50 except LocationParseError as e: build 14-Dec-2021 15:48:50 > raise InvalidURL(*e.args) build 14-Dec-2021 15:48:50 E InvalidURL: Failed to parse: --junitxml:.. build 14-Dec-2021 15:48:50 build 14-Dec-2021 15:48:50 /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL build 14-Dec-2021 15:48:50 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml build 14-Dec-2021 15:48:50 =========================== 3 error in 1.32 seconds ============================ simple 14-Dec-2021 15:48:52 Finished task 'Run tests' with result: Success simple 14-Dec-2021 15:48:52 Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' command 14-Dec-2021 15:48:52 Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #700 (INFRA-PROP-JOB1-700)'\n ... running command line: \n/usr/local/bin/py.test --pep8 -m pep8 --junitxml pep8_results.xml\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_18776066_branch_name=master\nbamboo_repository_18776066_git_username=\nbamboo_repository_revision_number=aa9ef15eb868d3fdff82c987106f590ecf03c8c6\nbamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-700\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=700\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-700\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-700-ScriptBuildTask-2477635919392815882.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=5c35903adebef676798a3698612d5e55dfe0ed82\nbamboo_buildTimeStamp=2021-12-14T15:48:39.514+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-700\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=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 14-Dec-2021 15:48:52 ============================= test session starts ============================== build 14-Dec-2021 15:48:52 platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 build 14-Dec-2021 15:48:52 rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: build 14-Dec-2021 15:48:52 plugins: pep8-1.0.6 build 14-Dec-2021 15:48:52 collected 21 items build 14-Dec-2021 15:48:52 build 14-Dec-2021 15:48:52 main.py . build 14-Dec-2021 15:48:52 propertyservice/__init__.py . build 14-Dec-2021 15:48:52 propertyservice/config.py . build 14-Dec-2021 15:48:52 propertyservice/sirql_util.py . build 14-Dec-2021 15:48:52 propertyservice/util.py . build 14-Dec-2021 15:48:52 propertyservice/data/__init__.py . build 14-Dec-2021 15:48:52 propertyservice/data/property_dao.py . build 14-Dec-2021 15:48:52 propertyservice/routes/__init__.py . build 14-Dec-2021 15:48:52 propertyservice/routes/analysis.py . build 14-Dec-2021 15:48:52 propertyservice/routes/dataset.py . build 14-Dec-2021 15:48:52 propertyservice/routes/link.py . build 14-Dec-2021 15:48:52 propertyservice/routes/property_group.py F build 14-Dec-2021 15:48:52 propertyservice/routes/property_types.py . build 14-Dec-2021 15:48:53 propertyservice/routes/summary.py . build 14-Dec-2021 15:48:53 tests/base_test_case.py . build 14-Dec-2021 15:48:53 tests/cleanup_docker_env.py . build 14-Dec-2021 15:48:53 tests/dataset_tests.py . build 14-Dec-2021 15:48:53 tests/link_tests.py . build 14-Dec-2021 15:48:53 tests/property_group_tests.py . build 14-Dec-2021 15:48:53 tests/setup_docker_env.py . build 14-Dec-2021 15:48:53 tests/util.py . build 14-Dec-2021 15:48:53 build 14-Dec-2021 15:48:53 =================================== FAILURES =================================== build 14-Dec-2021 15:48:53 __________________________________ PEP8-check __________________________________ build 14-Dec-2021 15:48:53 /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-Dec-2021 15:48:53 if property_type_id == None: build 14-Dec-2021 15:48:53 ^ build 14-Dec-2021 15:48:53 /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-Dec-2021 15:48:53 where={"id": properties[0]["fk_property_group"]} build 14-Dec-2021 15:48:53 ^ build 14-Dec-2021 15:48:53 build 14-Dec-2021 15:48:53 generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml build 14-Dec-2021 15:48:53 ===================== 1 failed, 20 passed in 0.40 seconds ====================== simple 14-Dec-2021 15:48:53 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-Dec-2021 15:48:53 Finished task 'Pep8 tests' with result: Failed simple 14-Dec-2021 15:48:53 Running post build plugin 'NCover Results Collector' simple 14-Dec-2021 15:48:53 Running post build plugin 'Artifact Copier' simple 14-Dec-2021 15:48:53 Running post build plugin 'Sauce OnDemand Post Runner' simple 14-Dec-2021 15:48:53 Running post build plugin 'npm Cache Cleanup' simple 14-Dec-2021 15:48:53 Running post build plugin 'Clover Results Collector' simple 14-Dec-2021 15:48:53 Running post build plugin 'Docker Container Cleanup' simple 14-Dec-2021 15:48:53 Finalising the build... simple 14-Dec-2021 15:48:53 Stopping timer. simple 14-Dec-2021 15:48:53 Build INFRA-PROP-JOB1-700 completed. simple 14-Dec-2021 15:48:53 Running on server: post build plugin 'NCover Results Collector' simple 14-Dec-2021 15:48:53 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 14-Dec-2021 15:48:53 Running on server: post build plugin 'Clover Delta Calculator' simple 14-Dec-2021 15:48:53 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 14-Dec-2021 15:48:53 All post build plugins have finished simple 14-Dec-2021 15:48:53 Generating build results summary... simple 14-Dec-2021 15:48:53 Saving build results to disk... simple 14-Dec-2021 15:48:53 Logging substituted variables... simple 14-Dec-2021 15:48:53 Indexing build results... simple 14-Dec-2021 15:48:53 Finished building INFRA-PROP-JOB1-700.