Build: #671 failed
Job: Default Job failed
Build log
The build generated 788 lines of output. Download or view full build log
| 18-Aug-2017 14:05:49 | Build FLARECAST - propertyservice - Default Job #671 (INFRA-PROP-JOB1-671) started building on agent Default Agent |
| 18-Aug-2017 14:05:49 | |
| 18-Aug-2017 14:05:49 | Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1 |
| 18-Aug-2017 14:05:49 | Executing build FLARECAST - propertyservice - Default Job #671 (INFRA-PROP-JOB1-671) |
| 18-Aug-2017 14:05:49 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
| 18-Aug-2017 14:05:49 | Build always requires a clean checkout |
| 18-Aug-2017 14:05:49 | Cleaning build directory '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1' |
| 18-Aug-2017 14:05:49 | Updating source code to revision: ff2e9b5023c36c46633c10fbd3f903b364a0953f |
| 18-Aug-2017 14:05:50 | Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/infra/propertyservice.git'. |
| 18-Aug-2017 14:05:50 | Warning: Permanently added '[127.0.0.1]:43343' (RSA) to the list of known hosts. |
| 18-Aug-2017 14:05:51 | Checking out revision ff2e9b5023c36c46633c10fbd3f903b364a0953f. |
| 18-Aug-2017 14:05:51 | Creating local git repository in '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/.git'. |
| 18-Aug-2017 14:05:51 | Cloning into '/var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1'... |
| 18-Aug-2017 14:05:51 | Already on 'master' |
| 18-Aug-2017 14:05:51 | Your branch is up-to-date with 'origin/master'. |
| 18-Aug-2017 14:05:51 | Updated source code to revision: ff2e9b5023c36c46633c10fbd3f903b364a0953f |
| 18-Aug-2017 14:05:51 | Finished task 'Checkout Default Repository' with result: Success |
| 18-Aug-2017 14:05:51 | Running pre-build action: VCS Version Collector |
| 18-Aug-2017 14:05:51 | Running pre-build action: Sauce OnDemand Build Configurator |
| 18-Aug-2017 14:05:51 | Starting task 'Build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
| 18-Aug-2017 14:05:51 | Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #671 (INFRA-PROP-JOB1-671)' ... 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-579 bamboo_dependency_parent_total=1 bamboo_repository_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-671 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=671 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-671 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_repository_previous_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_buildTimeStamp=2017-08-18T14:05:01.847+02:00 bamboo_planRepository_previousRevision=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_capability_system_builder_command_pytest=/usr/local/bin/py.test bamboo_buildResultKey=INFRA-PROP-JOB1-671 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_repository_18776066_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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 |
| 18-Aug-2017 14:05:51 | Sending build context to Docker daemon 180.7 kB |
| 18-Aug-2017 14:05:51 | |
| 18-Aug-2017 14:05:51 | Step 1 : FROM flarecast/python-base |
| 18-Aug-2017 14:05:51 | ---> 1b7af564ebf9 |
| 18-Aug-2017 14:05:51 | Step 2 : MAINTAINER i4Ds |
| 18-Aug-2017 14:05:51 | ---> Using cache |
| 18-Aug-2017 14:05:51 | ---> 3ced75645779 |
| 18-Aug-2017 14:05:51 | Step 3 : LABEL eu.flarecast.type "system" eu.flarecast.name "propertyservice" |
| 18-Aug-2017 14:05:51 | ---> Running in 9d960fa780e5 |
| 18-Aug-2017 14:05:51 | ---> 7932222ead6d |
| 18-Aug-2017 14:05:51 | Removing intermediate container 9d960fa780e5 |
| 18-Aug-2017 14:05:51 | Step 4 : RUN pip install --no-cache-dir svgwrite numpy scipy |
| 18-Aug-2017 14:05:51 | ---> Running in e2cdeda0e492 |
| 18-Aug-2017 14:05:53 | Collecting svgwrite |
| 18-Aug-2017 14:05:53 | Downloading svgwrite-1.1.11-py2.py3-none-any.whl (64kB) |
| 18-Aug-2017 14:05:53 | Collecting numpy |
| 18-Aug-2017 14:05:53 | Downloading numpy-1.13.1-cp27-cp27mu-manylinux1_x86_64.whl (16.6MB) |
| 18-Aug-2017 14:05:55 | Collecting scipy |
| 18-Aug-2017 14:05:55 | Downloading scipy-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB) |
| 18-Aug-2017 14:05:59 | Collecting pyparsing>=2.0.1 (from svgwrite) |
| 18-Aug-2017 14:05:59 | Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB) |
| 18-Aug-2017 14:06:00 | Installing collected packages: pyparsing, svgwrite, numpy, scipy |
| 18-Aug-2017 14:06:05 | Successfully installed numpy-1.13.1 pyparsing-2.2.0 scipy-0.19.1 svgwrite-1.1.11 |
| 18-Aug-2017 14:06:13 | ---> ea9a4445082f |
| 18-Aug-2017 14:06:13 | Removing intermediate container e2cdeda0e492 |
| 18-Aug-2017 14:06:13 | Step 5 : CMD uwsgi --http :8002 --http-timeout 6000 --http-headers-timeout 6000 --http-connect-timeout 6000 --harakiri 6000 -w main -p 16 |
| 18-Aug-2017 14:06:13 | ---> Running in dd691765f11d |
| 18-Aug-2017 14:06:14 | ---> 2f8fe2b0aad1 |
| 18-Aug-2017 14:06:14 | Removing intermediate container dd691765f11d |
| 18-Aug-2017 14:06:14 | Step 6 : WORKDIR /service/ |
| 18-Aug-2017 14:06:14 | ---> Running in de374caca5b0 |
| 18-Aug-2017 14:06:14 | ---> 1f8e4ed038d7 |
| 18-Aug-2017 14:06:14 | Removing intermediate container de374caca5b0 |
| 18-Aug-2017 14:06:14 | Step 7 : COPY ./main.py /service/main.py |
| 18-Aug-2017 14:06:14 | ---> 24a7d9c5fb2e |
| 18-Aug-2017 14:06:14 | Removing intermediate container 36a0c7442954 |
| 18-Aug-2017 14:06:14 | Step 8 : COPY ./propertyservice /service/propertyservice |
| 18-Aug-2017 14:06:14 | ---> f42b8a2a779e |
| 18-Aug-2017 14:06:14 | Removing intermediate container bb33c39b13cf |
| 18-Aug-2017 14:06:14 | Successfully built f42b8a2a779e |
| 18-Aug-2017 14:06:15 | Finished task 'Build' with result: Success |
| 18-Aug-2017 14:06:15 | Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
| 18-Aug-2017 14:06:15 | Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #671 (INFRA-PROP-JOB1-671)' ... running command line: /bin/sh /opt/atlassian/bamboo/temp/INFRA-PROP-JOB1-671-ScriptBuildTask-804954556118985046.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-579 bamboo_dependency_parent_total=1 bamboo_repository_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-671 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=671 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-671 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_repository_previous_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_buildTimeStamp=2017-08-18T14:05:01.847+02:00 bamboo_planRepository_previousRevision=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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-671 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_repository_18776066_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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 |
| 18-Aug-2017 14:06:37 | ============================= test session starts ============================== |
| 18-Aug-2017 14:06:37 | platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 |
| 18-Aug-2017 14:06:37 | rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: |
| 18-Aug-2017 14:06:37 | plugins: pep8-1.0.6 |
| 18-Aug-2017 14:06:37 | collected 3 items |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | dataset_tests.py EEE |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | ==================================== ERRORS ==================================== |
| 18-Aug-2017 14:06:37 | ______________ ERROR at setup of DatasetTests.test_1_add_datasets ______________ |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | self = <class 'dataset_tests.DatasetTests'> |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | @classmethod |
| 18-Aug-2017 14:06:37 | def setUpClass(self): |
| 18-Aug-2017 14:06:37 | super(DatasetTests, self).setUpClass() |
| 18-Aug-2017 14:06:37 | > resp = get_request(self.service_url + self.__GET_DATASETS) |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | dataset_tests.py:16: |
| 18-Aug-2017 14:06:37 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:37 | util.py:30: in get_request |
| 18-Aug-2017 14:06:37 | r = requests.get(url, params=params) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get |
| 18-Aug-2017 14:06:37 | return request('get', url, params=params, **kwargs) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:37 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:37 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:37 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:37 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:37 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | self = <PreparedRequest [GET]> |
| 18-Aug-2017 14:06:37 | url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' |
| 18-Aug-2017 14:06:37 | params = OrderedDict() |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:37 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:37 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:37 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:37 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:37 | #: on python 3.x. |
| 18-Aug-2017 14:06:37 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:37 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:37 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:37 | else: |
| 18-Aug-2017 14:06:37 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:37 | url = url.lstrip() |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:37 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:37 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:37 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:37 | self.url = url |
| 18-Aug-2017 14:06:37 | return |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:37 | try: |
| 18-Aug-2017 14:06:37 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:37 | except LocationParseError as e: |
| 18-Aug-2017 14:06:37 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:37 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:37 | ___________ ERROR at setup of DatasetTests.test_2_add_dataset_twice ____________ |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | self = <class 'dataset_tests.DatasetTests'> |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | @classmethod |
| 18-Aug-2017 14:06:37 | def setUpClass(self): |
| 18-Aug-2017 14:06:37 | super(DatasetTests, self).setUpClass() |
| 18-Aug-2017 14:06:37 | > resp = get_request(self.service_url + self.__GET_DATASETS) |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | dataset_tests.py:16: |
| 18-Aug-2017 14:06:37 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:37 | util.py:30: in get_request |
| 18-Aug-2017 14:06:37 | r = requests.get(url, params=params) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get |
| 18-Aug-2017 14:06:37 | return request('get', url, params=params, **kwargs) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:37 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:37 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:37 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:37 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:37 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | self = <PreparedRequest [GET]> |
| 18-Aug-2017 14:06:37 | url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' |
| 18-Aug-2017 14:06:37 | params = OrderedDict() |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:37 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:37 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:37 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:37 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:37 | #: on python 3.x. |
| 18-Aug-2017 14:06:37 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:37 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:37 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:37 | else: |
| 18-Aug-2017 14:06:37 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:37 | url = url.lstrip() |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:37 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:37 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:37 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:37 | self.url = url |
| 18-Aug-2017 14:06:37 | return |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:37 | try: |
| 18-Aug-2017 14:06:37 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:37 | except LocationParseError as e: |
| 18-Aug-2017 14:06:37 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:37 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:37 | ______________ ERROR at setup of DatasetTests.test_3_get_dataset _______________ |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | self = <class 'dataset_tests.DatasetTests'> |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | @classmethod |
| 18-Aug-2017 14:06:37 | def setUpClass(self): |
| 18-Aug-2017 14:06:37 | super(DatasetTests, self).setUpClass() |
| 18-Aug-2017 14:06:37 | > resp = get_request(self.service_url + self.__GET_DATASETS) |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | dataset_tests.py:16: |
| 18-Aug-2017 14:06:37 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:37 | util.py:30: in get_request |
| 18-Aug-2017 14:06:37 | r = requests.get(url, params=params) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:72: in get |
| 18-Aug-2017 14:06:37 | return request('get', url, params=params, **kwargs) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:37 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:37 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:37 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:37 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:37 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | self = <PreparedRequest [GET]> |
| 18-Aug-2017 14:06:37 | url = 'http://--junitxml:../results_dataset_tests.xml/dataset/list' |
| 18-Aug-2017 14:06:37 | params = OrderedDict() |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:37 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:37 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:37 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:37 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:37 | #: on python 3.x. |
| 18-Aug-2017 14:06:37 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:37 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:37 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:37 | else: |
| 18-Aug-2017 14:06:37 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:37 | url = url.lstrip() |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:37 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:37 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:37 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:37 | self.url = url |
| 18-Aug-2017 14:06:37 | return |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:37 | try: |
| 18-Aug-2017 14:06:37 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:37 | except LocationParseError as e: |
| 18-Aug-2017 14:06:37 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:37 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:37 | |
| 18-Aug-2017 14:06:37 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:37 | generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_dataset_tests.xml |
| 18-Aug-2017 14:06:37 | =========================== 3 error in 0.27 seconds ============================ |
| 18-Aug-2017 14:06:38 | ============================= test session starts ============================== |
| 18-Aug-2017 14:06:38 | platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 |
| 18-Aug-2017 14:06:38 | rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: |
| 18-Aug-2017 14:06:38 | plugins: pep8-1.0.6 |
| 18-Aug-2017 14:06:38 | collected 4 items |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | property_group_tests.py EEEE |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | ==================================== ERRORS ==================================== |
| 18-Aug-2017 14:06:38 | _______ ERROR at setup of PropertyGroupTests.test_1_add_property_groups ________ |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | self = <class 'property_group_tests.PropertyGroupTests'> |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | @classmethod |
| 18-Aug-2017 14:06:38 | def setUpClass(self): |
| 18-Aug-2017 14:06:38 | super(PropertyGroupTests, self).setUpClass() |
| 18-Aug-2017 14:06:38 | post_request( |
| 18-Aug-2017 14:06:38 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:38 | TEST_DATASETS, |
| 18-Aug-2017 14:06:38 | > self.auth_token |
| 18-Aug-2017 14:06:38 | ) |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | property_group_tests.py:22: |
| 18-Aug-2017 14:06:38 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:38 | util.py:9: in post_request |
| 18-Aug-2017 14:06:38 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:38 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:38 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:38 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:38 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:38 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:38 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:38 | url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:38 | params = OrderedDict() |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:38 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:38 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:38 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:38 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:38 | #: on python 3.x. |
| 18-Aug-2017 14:06:38 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:38 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:38 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:38 | else: |
| 18-Aug-2017 14:06:38 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:38 | url = url.lstrip() |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:38 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:38 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:38 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:38 | self.url = url |
| 18-Aug-2017 14:06:38 | return |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:38 | try: |
| 18-Aug-2017 14:06:38 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:38 | except LocationParseError as e: |
| 18-Aug-2017 14:06:38 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:38 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:38 | _____ ERROR at setup of PropertyGroupTests.test_2_add_property_group_twice _____ |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | self = <class 'property_group_tests.PropertyGroupTests'> |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | @classmethod |
| 18-Aug-2017 14:06:38 | def setUpClass(self): |
| 18-Aug-2017 14:06:38 | super(PropertyGroupTests, self).setUpClass() |
| 18-Aug-2017 14:06:38 | post_request( |
| 18-Aug-2017 14:06:38 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:38 | TEST_DATASETS, |
| 18-Aug-2017 14:06:38 | > self.auth_token |
| 18-Aug-2017 14:06:38 | ) |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | property_group_tests.py:22: |
| 18-Aug-2017 14:06:38 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:38 | util.py:9: in post_request |
| 18-Aug-2017 14:06:38 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:38 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:38 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:38 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:38 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:38 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:38 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:38 | url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:38 | params = OrderedDict() |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:38 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:38 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:38 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:38 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:38 | #: on python 3.x. |
| 18-Aug-2017 14:06:38 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:38 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:38 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:38 | else: |
| 18-Aug-2017 14:06:38 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:38 | url = url.lstrip() |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:38 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:38 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:38 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:38 | self.url = url |
| 18-Aug-2017 14:06:38 | return |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:38 | try: |
| 18-Aug-2017 14:06:38 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:38 | except LocationParseError as e: |
| 18-Aug-2017 14:06:38 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:38 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:38 | |
| 18-Aug-2017 14:06:38 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:38 | _______ ERROR at setup of PropertyGroupTests.test_3_get_property_groups ________ |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | self = <class 'property_group_tests.PropertyGroupTests'> |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | @classmethod |
| 18-Aug-2017 14:06:39 | def setUpClass(self): |
| 18-Aug-2017 14:06:39 | super(PropertyGroupTests, self).setUpClass() |
| 18-Aug-2017 14:06:39 | post_request( |
| 18-Aug-2017 14:06:39 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:39 | TEST_DATASETS, |
| 18-Aug-2017 14:06:39 | > self.auth_token |
| 18-Aug-2017 14:06:39 | ) |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | property_group_tests.py:22: |
| 18-Aug-2017 14:06:39 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:39 | util.py:9: in post_request |
| 18-Aug-2017 14:06:39 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:39 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:39 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:39 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:39 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:39 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:39 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:39 | url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:39 | params = OrderedDict() |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:39 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:39 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:39 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:39 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:39 | #: on python 3.x. |
| 18-Aug-2017 14:06:39 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:39 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:39 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:39 | else: |
| 18-Aug-2017 14:06:39 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:39 | url = url.lstrip() |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:39 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:39 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:39 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:39 | self.url = url |
| 18-Aug-2017 14:06:39 | return |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:39 | try: |
| 18-Aug-2017 14:06:39 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:39 | except LocationParseError as e: |
| 18-Aug-2017 14:06:39 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:39 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:39 | ______ ERROR at setup of PropertyGroupTests.test_4_delete_property_groups ______ |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | self = <class 'property_group_tests.PropertyGroupTests'> |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | @classmethod |
| 18-Aug-2017 14:06:39 | def setUpClass(self): |
| 18-Aug-2017 14:06:39 | super(PropertyGroupTests, self).setUpClass() |
| 18-Aug-2017 14:06:39 | post_request( |
| 18-Aug-2017 14:06:39 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:39 | TEST_DATASETS, |
| 18-Aug-2017 14:06:39 | > self.auth_token |
| 18-Aug-2017 14:06:39 | ) |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | property_group_tests.py:22: |
| 18-Aug-2017 14:06:39 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:39 | util.py:9: in post_request |
| 18-Aug-2017 14:06:39 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:39 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:39 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:39 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:39 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:39 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:39 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:39 | url = 'http://--junitxml:../results_property_group_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:39 | params = OrderedDict() |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:39 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:39 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:39 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:39 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:39 | #: on python 3.x. |
| 18-Aug-2017 14:06:39 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:39 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:39 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:39 | else: |
| 18-Aug-2017 14:06:39 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:39 | url = url.lstrip() |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:39 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:39 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:39 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:39 | self.url = url |
| 18-Aug-2017 14:06:39 | return |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:39 | try: |
| 18-Aug-2017 14:06:39 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:39 | except LocationParseError as e: |
| 18-Aug-2017 14:06:39 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:39 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:39 | generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_group_tests.xml |
| 18-Aug-2017 14:06:39 | =========================== 4 error in 0.61 seconds ============================ |
| 18-Aug-2017 14:06:39 | ============================= test session starts ============================== |
| 18-Aug-2017 14:06:39 | platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 |
| 18-Aug-2017 14:06:39 | rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: |
| 18-Aug-2017 14:06:39 | plugins: pep8-1.0.6 |
| 18-Aug-2017 14:06:39 | |
| 18-Aug-2017 14:06:39 | generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_tests.xml |
| 18-Aug-2017 14:06:39 | =============================== in 0.00 seconds =============================== |
| 18-Aug-2017 14:06:39 | ERROR: file not found: property_tests.py |
| 18-Aug-2017 14:06:40 | ============================= test session starts ============================== |
| 18-Aug-2017 14:06:40 | platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 |
| 18-Aug-2017 14:06:40 | rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: |
| 18-Aug-2017 14:06:40 | plugins: pep8-1.0.6 |
| 18-Aug-2017 14:06:40 | |
| 18-Aug-2017 14:06:40 | generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_property_type_tests.xml |
| 18-Aug-2017 14:06:40 | =============================== in 0.30 seconds =============================== |
| 18-Aug-2017 14:06:40 | ERROR: file not found: property_type_tests.py |
| 18-Aug-2017 14:06:41 | ============================= test session starts ============================== |
| 18-Aug-2017 14:06:41 | platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 |
| 18-Aug-2017 14:06:41 | rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/tests, inifile: |
| 18-Aug-2017 14:06:41 | plugins: pep8-1.0.6 |
| 18-Aug-2017 14:06:41 | collected 3 items |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | link_tests.py EEE |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | ==================================== ERRORS ==================================== |
| 18-Aug-2017 14:06:41 | _________________ ERROR at setup of LinkTests.test_1_add_links _________________ |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | self = <class 'link_tests.LinkTests'> |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | @classmethod |
| 18-Aug-2017 14:06:41 | def setUpClass(self): |
| 18-Aug-2017 14:06:41 | super(LinkTests, self).setUpClass() |
| 18-Aug-2017 14:06:41 | post_request( |
| 18-Aug-2017 14:06:41 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:41 | TEST_DATASETS, |
| 18-Aug-2017 14:06:41 | > self.auth_token |
| 18-Aug-2017 14:06:41 | ) |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | link_tests.py:26: |
| 18-Aug-2017 14:06:41 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:41 | util.py:9: in post_request |
| 18-Aug-2017 14:06:41 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:41 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:41 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:41 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:41 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:41 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:41 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:41 | url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:41 | params = OrderedDict() |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:41 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:41 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:41 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:41 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:41 | #: on python 3.x. |
| 18-Aug-2017 14:06:41 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:41 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:41 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:41 | else: |
| 18-Aug-2017 14:06:41 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:41 | url = url.lstrip() |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:41 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:41 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:41 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:41 | self.url = url |
| 18-Aug-2017 14:06:41 | return |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:41 | try: |
| 18-Aug-2017 14:06:41 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:41 | except LocationParseError as e: |
| 18-Aug-2017 14:06:41 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:41 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:41 | _______________ ERROR at setup of LinkTests.test_2_get_link_list _______________ |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | self = <class 'link_tests.LinkTests'> |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | @classmethod |
| 18-Aug-2017 14:06:41 | def setUpClass(self): |
| 18-Aug-2017 14:06:41 | super(LinkTests, self).setUpClass() |
| 18-Aug-2017 14:06:41 | post_request( |
| 18-Aug-2017 14:06:41 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:41 | TEST_DATASETS, |
| 18-Aug-2017 14:06:41 | > self.auth_token |
| 18-Aug-2017 14:06:41 | ) |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | link_tests.py:26: |
| 18-Aug-2017 14:06:41 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:41 | util.py:9: in post_request |
| 18-Aug-2017 14:06:41 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:41 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:41 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:41 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:41 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:41 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:41 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:41 | url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:41 | params = OrderedDict() |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:41 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:41 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:41 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:41 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:41 | #: on python 3.x. |
| 18-Aug-2017 14:06:41 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:41 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:41 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:41 | else: |
| 18-Aug-2017 14:06:41 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:41 | url = url.lstrip() |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:41 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:41 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:41 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:41 | self.url = url |
| 18-Aug-2017 14:06:41 | return |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:41 | try: |
| 18-Aug-2017 14:06:41 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:41 | except LocationParseError as e: |
| 18-Aug-2017 14:06:41 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:41 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:41 | ______________ ERROR at setup of LinkTests.test_3_get_link_graph _______________ |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | self = <class 'link_tests.LinkTests'> |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | @classmethod |
| 18-Aug-2017 14:06:41 | def setUpClass(self): |
| 18-Aug-2017 14:06:41 | super(LinkTests, self).setUpClass() |
| 18-Aug-2017 14:06:41 | post_request( |
| 18-Aug-2017 14:06:41 | self.service_url + self.__ADD_DATASETS, |
| 18-Aug-2017 14:06:41 | TEST_DATASETS, |
| 18-Aug-2017 14:06:41 | > self.auth_token |
| 18-Aug-2017 14:06:41 | ) |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | link_tests.py:26: |
| 18-Aug-2017 14:06:41 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:41 | util.py:9: in post_request |
| 18-Aug-2017 14:06:41 | r = requests.post(url, json=payload, headers=headers) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:112: in post |
| 18-Aug-2017 14:06:41 | return request('post', url, data=data, json=json, **kwargs) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/api.py:58: in request |
| 18-Aug-2017 14:06:41 | return session.request(method=method, url=url, **kwargs) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:488: in request |
| 18-Aug-2017 14:06:41 | prep = self.prepare_request(req) |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/sessions.py:431: in prepare_request |
| 18-Aug-2017 14:06:41 | hooks=merge_hooks(request.hooks, self.hooks), |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:305: in prepare |
| 18-Aug-2017 14:06:41 | self.prepare_url(url, params) |
| 18-Aug-2017 14:06:41 | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | self = <PreparedRequest [POST]> |
| 18-Aug-2017 14:06:41 | url = 'http://--junitxml:../results_link_tests.xml/dataset/bulk' |
| 18-Aug-2017 14:06:41 | params = OrderedDict() |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | def prepare_url(self, url, params): |
| 18-Aug-2017 14:06:41 | """Prepares the given HTTP URL.""" |
| 18-Aug-2017 14:06:41 | #: Accept objects that have string representations. |
| 18-Aug-2017 14:06:41 | #: We're unable to blindly call unicode/str functions |
| 18-Aug-2017 14:06:41 | #: as this will include the bytestring indicator (b'') |
| 18-Aug-2017 14:06:41 | #: on python 3.x. |
| 18-Aug-2017 14:06:41 | #: https://github.com/requests/requests/pull/2238 |
| 18-Aug-2017 14:06:41 | if isinstance(url, bytes): |
| 18-Aug-2017 14:06:41 | url = url.decode('utf8') |
| 18-Aug-2017 14:06:41 | else: |
| 18-Aug-2017 14:06:41 | url = unicode(url) if is_py2 else str(url) |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Remove leading whitespaces from url |
| 18-Aug-2017 14:06:41 | url = url.lstrip() |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Don't do any URL preparation for non-HTTP schemes like `mailto`, |
| 18-Aug-2017 14:06:41 | # `data` etc to work around exceptions from `url_parse`, which |
| 18-Aug-2017 14:06:41 | # handles RFC 3986 only. |
| 18-Aug-2017 14:06:41 | if ':' in url and not url.lower().startswith('http'): |
| 18-Aug-2017 14:06:41 | self.url = url |
| 18-Aug-2017 14:06:41 | return |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | # Support for unicode domain names and paths. |
| 18-Aug-2017 14:06:41 | try: |
| 18-Aug-2017 14:06:41 | scheme, auth, host, port, path, query, fragment = parse_url(url) |
| 18-Aug-2017 14:06:41 | except LocationParseError as e: |
| 18-Aug-2017 14:06:41 | > raise InvalidURL(*e.args) |
| 18-Aug-2017 14:06:41 | E InvalidURL: Failed to parse: --junitxml:.. |
| 18-Aug-2017 14:06:41 | |
| 18-Aug-2017 14:06:41 | /home/bamboo/.local/lib/python2.7/site-packages/requests/models.py:373: InvalidURL |
| 18-Aug-2017 14:06:41 | generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/results_link_tests.xml |
| 18-Aug-2017 14:06:41 | =========================== 3 error in 0.74 seconds ============================ |
| 18-Aug-2017 14:06:55 | Finished task 'Run tests' with result: Success |
| 18-Aug-2017 14:06:55 | Starting task 'Pep8 tests' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command' |
| 18-Aug-2017 14:06:56 | Beginning to execute external process for build 'FLARECAST - propertyservice - Default Job #671 (INFRA-PROP-JOB1-671)' ... 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-579 bamboo_dependency_parent_total=1 bamboo_repository_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_resultsUrl=https://dev.flarecast.eu/bamboo/browse/INFRA-PROP-JOB1-671 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=671 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-671 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-671-ScriptBuildTask-804954556118985046.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=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_repository_previous_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_buildTimeStamp=2017-08-18T14:05:01.847+02:00 bamboo_planRepository_previousRevision=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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-671 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f bamboo_repository_18776066_revision_number=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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=ff2e9b5023c36c46633c10fbd3f903b364a0953f 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 |
| 18-Aug-2017 14:06:56 | ============================= test session starts ============================== |
| 18-Aug-2017 14:06:56 | platform linux2 -- Python 2.7.9, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 |
| 18-Aug-2017 14:06:56 | rootdir: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1, inifile: |
| 18-Aug-2017 14:06:56 | plugins: pep8-1.0.6 |
| 18-Aug-2017 14:06:56 | collected 21 items |
| 18-Aug-2017 14:06:56 | |
| 18-Aug-2017 14:06:56 | main.py . |
| 18-Aug-2017 14:06:56 | propertyservice/__init__.py . |
| 18-Aug-2017 14:06:56 | propertyservice/config.py . |
| 18-Aug-2017 14:06:56 | propertyservice/sirql_util.py . |
| 18-Aug-2017 14:06:56 | propertyservice/util.py . |
| 18-Aug-2017 14:06:56 | propertyservice/data/__init__.py . |
| 18-Aug-2017 14:06:56 | propertyservice/data/property_dao.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/__init__.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/analysis.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/dataset.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/link.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/property_group.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/property_types.py . |
| 18-Aug-2017 14:06:56 | propertyservice/routes/summary.py . |
| 18-Aug-2017 14:06:56 | tests/base_test_case.py . |
| 18-Aug-2017 14:06:56 | tests/cleanup_docker_env.py . |
| 18-Aug-2017 14:06:56 | tests/dataset_tests.py . |
| 18-Aug-2017 14:06:56 | tests/link_tests.py . |
| 18-Aug-2017 14:06:56 | tests/property_group_tests.py . |
| 18-Aug-2017 14:06:56 | tests/setup_docker_env.py . |
| 18-Aug-2017 14:06:56 | tests/util.py . |
| 18-Aug-2017 14:06:56 | |
| 18-Aug-2017 14:06:56 | generated xml file: /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1/pep8_results.xml |
| 18-Aug-2017 14:06:56 | ========================== 21 passed in 0.37 seconds =========================== |
| 18-Aug-2017 14:06:57 | Finished task 'Pep8 tests' with result: Success |
| 18-Aug-2017 14:06:57 | Starting task 'Parse pytest output' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' |
| 18-Aug-2017 14:06:57 | Parsing test results under /var/atlassian/application-data/bamboo/xml-data/build-dir/INFRA-PROP-JOB1... |
| 18-Aug-2017 14:06:57 | Failing task since 10 failing test cases were found. |
| 18-Aug-2017 14:06:57 | Finished task 'Parse pytest output' with result: Failed |
| 18-Aug-2017 14:06:57 | Running post build plugin 'NCover Results Collector' |
| 18-Aug-2017 14:06:57 | Running post build plugin 'Artifact Copier' |
| 18-Aug-2017 14:06:57 | Running post build plugin 'Sauce OnDemand Post Runner' |
| 18-Aug-2017 14:06:57 | Running post build plugin 'npm Cache Cleanup' |
| 18-Aug-2017 14:06:57 | Running post build plugin 'Clover Results Collector' |
| 18-Aug-2017 14:06:57 | Running post build plugin 'Docker Container Cleanup' |
| 18-Aug-2017 14:06:57 | Finalising the build... |
| 18-Aug-2017 14:06:57 | Stopping timer. |
| 18-Aug-2017 14:06:57 | Build INFRA-PROP-JOB1-671 completed. |
| 18-Aug-2017 14:06:57 | Running on server: post build plugin 'NCover Results Collector' |
| 18-Aug-2017 14:06:57 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
| 18-Aug-2017 14:06:57 | Running on server: post build plugin 'Clover Delta Calculator' |
| 18-Aug-2017 14:06:57 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
| 18-Aug-2017 14:06:57 | All post build plugins have finished |
| 18-Aug-2017 14:06:57 | Generating build results summary... |
| 18-Aug-2017 14:06:57 | Saving build results to disk... |
| 18-Aug-2017 14:06:57 | Logging substituted variables... |
| 18-Aug-2017 14:06:57 | Indexing build results... |
| 18-Aug-2017 14:06:57 | Finished building INFRA-PROP-JOB1-671. |