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