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