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