The attempt to merge lp:~pwlars/ci-core-jenkins/set-version-description into lp:ci-core-jenkins failed. Below is the output from the failed tests.
Using base prefix '/usr' New python executable in /tmp/venv-ci-core-jenkins_rt0y8it/bin/python3 Also creating executable in /tmp/venv-ci-core-jenkins_rt0y8it/bin/python Installing setuptools, pip...done. Running virtualenv with interpreter /usr/bin/python3 Ignoring indexes: https://pypi.python.org/simple/ Downloading/unpacking requests==2.5.3 (from -r requirements.txt (line 1)) Installing collected packages: requests Successfully installed requests Cleaning up... Downloading/unpacking testtools==1.7.1 (from -r test_requirements.txt (line 1)) Downloading/unpacking extras (from testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading extras-0.0.3.tar.gz Running setup.py (path:/tmp/venv-ci-core-jenkins_rt0y8it/build/extras/setup.py) egg_info for package extras
Downloading/unpacking python-mimeparse (from testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading python-mimeparse-0.1.4.tar.gz Running setup.py (path:/tmp/venv-ci-core-jenkins_rt0y8it/build/python-mimeparse/setup.py) egg_info for package python-mimeparse
Downloading/unpacking unittest2>=1.0.0 (from testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading/unpacking traceback2 (from testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading traceback2-1.4.0-py2.py3-none-any.whl Downloading/unpacking six>=1.4 (from unittest2>=1.0.0->testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading six-1.9.0-py2.py3-none-any.whl Downloading/unpacking argparse (from unittest2>=1.0.0->testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading argparse-1.3.0-py2.py3-none-any.whl Downloading/unpacking linecache2 (from traceback2->testtools==1.7.1->-r test_requirements.txt (line 1)) Downloading linecache2-1.0.0-py2.py3-none-any.whl Installing collected packages: testtools, extras, python-mimeparse, unittest2, traceback2, six, argparse, linecache2 *** Error compiling '/tmp/venv-ci-core-jenkins_rt0y8it/build/testtools/testtools/_compat2x.py'... File "/tmp/venv-ci-core-jenkins_rt0y8it/build/testtools/testtools/_compat2x.py", line 16 raise exc_class, exc_obj, exc_tb ^ SyntaxError: invalid syntax
Running setup.py install for extras
Running setup.py install for python-mimeparse
Successfully installed testtools extras python-mimeparse unittest2 traceback2 six argparse linecache2 Cleaning up... running test running egg_info creating workers.egg-info writing top-level names to workers.egg-info/top_level.txt writing dependency_links to workers.egg-info/dependency_links.txt writing workers.egg-info/PKG-INFO writing manifest file 'workers.egg-info/SOURCES.txt' reading manifest file 'workers.egg-info/SOURCES.txt' writing manifest file 'workers.egg-info/SOURCES.txt' running build_ext INFO: Executing: bzr branch lp:~canonical-ci-engineering/ci-core-jenkins/pip-cache /tmp/tmp_kmk768mpip-cache-/cache INFO: Executing: virtualenv -p python3 /tmp/venv-ci-core-jenkins_rt0y8it INFO: Executing: /tmp/venv-ci-core-jenkins_rt0y8it/bin/pip install --no-index --find-links=/tmp/tmp_kmk768mpip-cache-/cache -r requirements.txt INFO: Executing: /tmp/venv-ci-core-jenkins_rt0y8it/bin/pip install -r test_requirements.txt INFO: Executing: /tmp/venv-ci-core-jenkins_rt0y8it/bin/python3 setup.py test ERROR: Calling `['/tmp/venv-ci-core-jenkins_rt0y8it/bin/python3', 'setup.py', 'test']` failed (with code 1)
Branched 2 revisions. test_failed_response (workers.tests.test_fetch_results.TestFetchLatestResults) workers.tests.test_fetch_results.TestFetchLatestResults.test_failed_response ... ok test_success_response (workers.tests.test_fetch_results.TestFetchLatestResults) workers.tests.test_fetch_results.TestFetchLatestResults.test_success_response ... ok test_read_index_json_file (workers.tests.test_get_image_version.TestGetLatestImageVersion) workers.tests.test_get_image_version.TestGetLatestImageVersion.test_read_index_json_file ... ERROR
====================================================================== ERROR: test_read_index_json_file (workers.tests.test_get_image_version.TestGetLatestImageVersion) workers.tests.test_get_image_version.TestGetLatestImageVersion.test_read_index_json_file ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/tarmac/branch.THvM0B/workers/tests/test_get_image_version.py", line 67, in test_read_index_json_file ret = _read_index_json_file(url, get_response) File "/tmp/tarmac/branch.THvM0B/workers/get_latest_image_version/__init__.py", line 29, in _read_index_json_file versions = re.search(pattern, detail).groups() AttributeError: 'NoneType' object has no attribute 'groups'
---------------------------------------------------------------------- Ran 3 tests in 0.003s
FAILED (errors=1)
« Back to merge proposal
The attempt to merge lp:~pwlars/ci-core-jenkins/set-version-description into lp:ci-core-jenkins failed. Below is the output from the failed tests.
Using base prefix '/usr' ci-core- jenkins_ rt0y8it/ bin/python3 ci-core- jenkins_ rt0y8it/ bin/python /pypi.python. org/simple/ unpacking requests==2.5.3 (from -r requirements.txt (line 1)) unpacking testtools==1.7.1 (from -r test_requiremen ts.txt (line 1)) unpacking extras (from testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) tmp/venv- ci-core- jenkins_ rt0y8it/ build/extras/ setup.py) egg_info for package extras
New python executable in /tmp/venv-
Also creating executable in /tmp/venv-
Installing setuptools, pip...done.
Running virtualenv with interpreter /usr/bin/python3
Ignoring indexes: https:/
Downloading/
Installing collected packages: requests
Successfully installed requests
Cleaning up...
Downloading/
Downloading/
Downloading extras-0.0.3.tar.gz
Running setup.py (path:/
Downloading/ unpacking python-mimeparse (from testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) mimeparse- 0.1.4.tar. gz tmp/venv- ci-core- jenkins_ rt0y8it/ build/python- mimeparse/ setup.py) egg_info for package python-mimeparse
Downloading python-
Running setup.py (path:/
Downloading/ unpacking unittest2>=1.0.0 (from testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) unpacking traceback2 (from testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) 1.4.0-py2. py3-none- any.whl unpacking six>=1.4 (from unittest2> =1.0.0- >testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) 0-py2.py3- none-any. whl unpacking argparse (from unittest2> =1.0.0- >testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) 1.3.0-py2. py3-none- any.whl unpacking linecache2 (from traceback2- >testtools= =1.7.1- >-r test_requiremen ts.txt (line 1)) 1.0.0-py2. py3-none- any.whl ci-core- jenkins_ rt0y8it/ build/testtools /testtools/ _compat2x. py'... ci-core- jenkins_ rt0y8it/ build/testtools /testtools/ _compat2x. py", line 16
^
Downloading/
Downloading traceback2-
Downloading/
Downloading six-1.9.
Downloading/
Downloading argparse-
Downloading/
Downloading linecache2-
Installing collected packages: testtools, extras, python-mimeparse, unittest2, traceback2, six, argparse, linecache2
*** Error compiling '/tmp/venv-
File "/tmp/venv-
raise exc_class, exc_obj, exc_tb
SyntaxError: invalid syntax
Running setup.py install for extras
Running setup.py install for python-mimeparse
Successfully installed testtools extras python-mimeparse unittest2 traceback2 six argparse linecache2 egg-info/ top_level. txt egg-info/ dependency_ links.txt egg-info/ PKG-INFO egg-info/ SOURCES. txt' egg-info/ SOURCES. txt' egg-info/ SOURCES. txt' kmk768mpip- cache-/ cache ci-core- jenkins_ rt0y8it ci-core- jenkins_ rt0y8it/ bin/pip install --no-index --find- links=/ tmp/tmp_ kmk768mpip- cache-/ cache -r requirements.txt ci-core- jenkins_ rt0y8it/ bin/pip install -r test_requiremen ts.txt ci-core- jenkins_ rt0y8it/ bin/python3 setup.py test venv-ci- core-jenkins_ rt0y8it/ bin/python3' , 'setup.py', 'test']` failed (with code 1)
Cleaning up...
running test
running egg_info
creating workers.egg-info
writing top-level names to workers.
writing dependency_links to workers.
writing workers.
writing manifest file 'workers.
reading manifest file 'workers.
writing manifest file 'workers.
running build_ext
INFO: Executing: bzr branch lp:~canonical-ci-engineering/ci-core-jenkins/pip-cache /tmp/tmp_
INFO: Executing: virtualenv -p python3 /tmp/venv-
INFO: Executing: /tmp/venv-
INFO: Executing: /tmp/venv-
INFO: Executing: /tmp/venv-
ERROR: Calling `['/tmp/
Branched 2 revisions. response (workers. tests.test_ fetch_results. TestFetchLatest Results) tests.test_ fetch_results. TestFetchLatest Results. test_failed_ response ... ok response (workers. tests.test_ fetch_results. TestFetchLatest Results) tests.test_ fetch_results. TestFetchLatest Results. test_success_ response ... ok index_json_ file (workers. tests.test_ get_image_ version. TestGetLatestIm ageVersion) tests.test_ get_image_ version. TestGetLatestIm ageVersion. test_read_ index_json_ file ... ERROR
test_failed_
workers.
test_success_
workers.
test_read_
workers.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= index_json_ file (workers. tests.test_ get_image_ version. TestGetLatestIm ageVersion) tests.test_ get_image_ version. TestGetLatestIm ageVersion. test_read_ index_json_ file ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Traceback (most recent call last): branch. THvM0B/ workers/ tests/test_ get_image_ version. py", line 67, in test_read_ index_json_ file json_file( url, get_response) branch. THvM0B/ workers/ get_latest_ image_version/ __init_ _.py", line 29, in _read_index_ json_file
ERROR: test_read_
workers.
-------
testtools.
File "/tmp/tarmac/
ret = _read_index_
File "/tmp/tarmac/
versions = re.search(pattern, detail).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 3 tests in 0.003s
FAILED (errors=1)