Code review comment for lp:~pwlars/ci-core-jenkins/set-version-description

Revision history for this message
Ubuntu CI Bot (uci-bot) wrote :

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