The attempt to merge lp:~facundo/canonical-identity-provider/new-era-discharge into lp:canonical-identity-provider failed. Below is the output from the failed tests. Bootstrapping... rm -rf /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env rm -rf branches/wheels rm -rf branches/* rm -rf staticfiles rm -f lib/versioninfo.py find -name '*.pyc' -delete find -name '*.~*' -delete Not deleting /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin New python executable in /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python Installing setuptools, pip...done. /usr/lib/config-manager/cm.py update config-manager.txt touch branches/last_build [ -d branches/wheels ] && (cd branches/wheels && bzr pull) || (bzr branch lp:~ubuntuone-pqm-team/canonical-identity-provider/dependencies branches/wheels) bzr version-info --format=python > lib/versioninfo.py /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/pip install --find-links=branches/wheels --no-index -r requirements.txt Ignoring indexes: https://pypi.python.org/simple/ Downloading/unpacking bson==0.3.3 (from -r requirements.txt (line 1)) Downloading/unpacking canonical-raven==0.0.3 (from -r requirements.txt (line 2)) Downloading/unpacking convoy==0.4.1 (from -r requirements.txt (line 3)) Downloading/unpacking django==1.8.13 (from -r requirements.txt (line 4)) Downloading/unpacking django-honeypot==0.4.0 (from -r requirements.txt (line 5)) Downloading/unpacking django-jsonfield==0.9.13 (from -r requirements.txt (line 6)) Downloading/unpacking django-model-utils==2.2 (from -r requirements.txt (line 7)) Downloading/unpacking django-modeldict==1.4.1 (from -r requirements.txt (line 8)) Downloading/unpacking django-preflight==0.1.5 (from -r requirements.txt (line 9)) Downloading/unpacking django-secure==1.0.1 (from -r requirements.txt (line 10)) Downloading/unpacking django-statsd-mozilla==0.3.15 (from -r requirements.txt (line 11)) Downloading/unpacking gargoyle==0.11.0 (from -r requirements.txt (line 12)) Downloading/unpacking gunicorn==19.3.0 (from -r requirements.txt (line 13)) Downloading/unpacking lazr.authentication==0.1.3 (from -r requirements.txt (line 14)) Downloading/unpacking libnacl==1.3.6 (from -r requirements.txt (line 15)) Downloading/unpacking nexus==0.3.1 (from -r requirements.txt (line 16)) Downloading/unpacking oath==1.4.0 (from -r requirements.txt (line 17)) Downloading/unpacking oauthlib==0.7.2 (from -r requirements.txt (line 18)) Requirement already satisfied (use --upgrade to upgrade): oops==0.0.13 in /usr/lib/pymodules/python2.7 (from -r requirements.txt (line 19)) Downloading/unpacking oops-amqp==0.0.8b1 (from -r requirements.txt (line 20)) Downloading/unpacking oops-datedir-repo==0.0.23 (from -r requirements.txt (line 21)) Downloading/unpacking oops-dictconfig==0.0.6 (from -r requirements.txt (line 22)) Downloading/unpacking oops-timeline==0.0.2 (from -r requirements.txt (line 23)) Downloading/unpacking oops-wsgi==0.0.11 (from -r requirements.txt (line 24)) Downloading/unpacking paste==2.0.1 (from -r requirements.txt (line 25)) Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.6.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 26)) Downloading/unpacking pymacaroons==0.9.1 (from -r requirements.txt (line 27)) Downloading/unpacking raven==5.6.0 (from -r requirements.txt (line 28)) Downloading/unpacking requests-oauthlib==0.4.2 (from -r requirements.txt (line 29)) Downloading/unpacking six==1.10.0 (from -r requirements.txt (line 30)) Downloading/unpacking statsd==3.1 (from -r requirements.txt (line 31)) Requirement already satisfied (use --upgrade to upgrade): testresources==0.2.7 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 32)) Downloading/unpacking timeline==0.0.4 (from -r requirements.txt (line 33)) Downloading/unpacking timeline-django==0.0.4 (from -r requirements.txt (line 34)) Downloading/unpacking whitenoise==2.0.6 (from -r requirements.txt (line 35)) Requirement already satisfied (use --upgrade to upgrade): pytz>=2010b in /usr/lib/python2.7/dist-packages (from bson==0.3.3->-r requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): setuptools in ./env/lib/python2.7/site-packages (from django-honeypot==0.4.0->-r requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): oauth in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): zope.interface in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Downloading/unpacking wsgi-intercept (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): amqplib in /usr/lib/python2.7/dist-packages (from oops-amqp==0.0.8b1->-r requirements.txt (line 20)) Requirement already satisfied (use --upgrade to upgrade): iso8601 in /usr/lib/python2.7/dist-packages (from oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): launchpadlib in /usr/lib/python2.7/dist-packages (from oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): requests>=2.0.0 in /usr/lib/python2.7/dist-packages (from requests-oauthlib==0.4.2->-r requirements.txt (line 29)) Requirement already satisfied (use --upgrade to upgrade): keyring in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): lazr.restfulclient>=0.9.19 in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): lazr.uri in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): wadllib in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Installing collected packages: bson, canonical-raven, convoy, django, django-honeypot, django-jsonfield, django-model-utils, django-modeldict, django-preflight, django-secure, django-statsd-mozilla, gargoyle, gunicorn, lazr.authentication, libnacl, nexus, oath, oauthlib, oops-amqp, oops-datedir-repo, oops-dictconfig, oops-timeline, oops-wsgi, paste, pymacaroons, raven, requests-oauthlib, six, statsd, timeline, timeline-django, whitenoise, wsgi-intercept Found existing installation: gunicorn 17.5 Not uninstalling gunicorn at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Compiling /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/build/gunicorn/gunicorn/workers/_gaiohttp.py ... File "/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/build/gunicorn/gunicorn/workers/_gaiohttp.py", line 68 yield from self.wsgi.close() ^ SyntaxError: invalid syntax Found existing installation: oauthlib 0.6.1 Not uninstalling oauthlib at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-amqp 0.0.7 Not uninstalling oops-amqp at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-datedir-repo 0.0.21 Not uninstalling oops-datedir-repo at /usr/lib/pymodules/python2.7, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-timeline 0.0.1 Not uninstalling oops-timeline at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-wsgi 0.0.10 Not uninstalling oops-wsgi at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: Paste 1.7.5.1 Not uninstalling Paste at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: six 1.5.2 Not uninstalling six at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: timeline 0.0.3 Not uninstalling timeline at /usr/lib/pymodules/python2.7, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Successfully installed bson canonical-raven convoy django django-honeypot django-jsonfield django-model-utils django-modeldict django-preflight django-secure django-statsd-mozilla gargoyle gunicorn lazr.authentication libnacl nexus oath oauthlib oops-amqp oops-datedir-repo oops-dictconfig oops-timeline oops-wsgi paste pymacaroons raven requests-oauthlib six statsd timeline timeline-django whitenoise wsgi-intercept Cleaning up... make install-wheels ARGS="-r requirements_devel.txt --pre" make[1]: Entering directory `/mnt/tarmac/cache/canonical-identity-provider/merges/trunk' Deleting tree /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/lib/python2.7 Not deleting /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin New python executable in /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python Installing setuptools, pip...done. /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/pip install --find-links=branches/wheels --no-index -r requirements_devel.txt --pre Ignoring indexes: https://pypi.python.org/simple/ Downloading/unpacking bson==0.3.3 (from -r requirements.txt (line 1)) Downloading/unpacking canonical-raven==0.0.3 (from -r requirements.txt (line 2)) Downloading/unpacking convoy==0.4.1 (from -r requirements.txt (line 3)) Downloading/unpacking django==1.8.13 (from -r requirements.txt (line 4)) Downloading/unpacking django-honeypot==0.4.0 (from -r requirements.txt (line 5)) Downloading/unpacking django-jsonfield==0.9.13 (from -r requirements.txt (line 6)) Downloading/unpacking django-model-utils==2.2 (from -r requirements.txt (line 7)) Downloading/unpacking django-modeldict==1.4.1 (from -r requirements.txt (line 8)) Downloading/unpacking django-preflight==0.1.5 (from -r requirements.txt (line 9)) Downloading/unpacking django-secure==1.0.1 (from -r requirements.txt (line 10)) Downloading/unpacking django-statsd-mozilla==0.3.15 (from -r requirements.txt (line 11)) Downloading/unpacking gargoyle==0.11.0 (from -r requirements.txt (line 12)) Downloading/unpacking gunicorn==19.3.0 (from -r requirements.txt (line 13)) Downloading/unpacking lazr.authentication==0.1.3 (from -r requirements.txt (line 14)) Downloading/unpacking libnacl==1.3.6 (from -r requirements.txt (line 15)) Downloading/unpacking nexus==0.3.1 (from -r requirements.txt (line 16)) Downloading/unpacking oath==1.4.0 (from -r requirements.txt (line 17)) Downloading/unpacking oauthlib==0.7.2 (from -r requirements.txt (line 18)) Requirement already satisfied (use --upgrade to upgrade): oops==0.0.13 in /usr/lib/pymodules/python2.7 (from -r requirements.txt (line 19)) Downloading/unpacking oops-amqp==0.0.8b1 (from -r requirements.txt (line 20)) Downloading/unpacking oops-datedir-repo==0.0.23 (from -r requirements.txt (line 21)) Downloading/unpacking oops-dictconfig==0.0.6 (from -r requirements.txt (line 22)) Downloading/unpacking oops-timeline==0.0.2 (from -r requirements.txt (line 23)) Downloading/unpacking oops-wsgi==0.0.11 (from -r requirements.txt (line 24)) Downloading/unpacking paste==2.0.1 (from -r requirements.txt (line 25)) Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.6.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 26)) Downloading/unpacking pymacaroons==0.9.1 (from -r requirements.txt (line 27)) Downloading/unpacking raven==5.6.0 (from -r requirements.txt (line 28)) Downloading/unpacking requests-oauthlib==0.4.2 (from -r requirements.txt (line 29)) Downloading/unpacking six==1.10.0 (from -r requirements.txt (line 30)) Downloading/unpacking statsd==3.1 (from -r requirements.txt (line 31)) Requirement already satisfied (use --upgrade to upgrade): testresources==0.2.7 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 32)) Downloading/unpacking timeline==0.0.4 (from -r requirements.txt (line 33)) Downloading/unpacking timeline-django==0.0.4 (from -r requirements.txt (line 34)) Downloading/unpacking whitenoise==2.0.6 (from -r requirements.txt (line 35)) Downloading/unpacking coverage==3.6 (from -r requirements_devel.txt (line 3)) Downloading/unpacking cssselect==0.7.1 (from -r requirements_devel.txt (line 4)) Downloading/unpacking ecdsa==0.11 (from -r requirements_devel.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): extras==0.0.3 in /usr/lib/python2.7/dist-packages (from -r requirements_devel.txt (line 6)) Downloading/unpacking fixtures==0.3.12 (from -r requirements_devel.txt (line 7)) Downloading/unpacking flake8==2.4.0 (from -r requirements_devel.txt (line 8)) Downloading/unpacking junitxml==0.7 (from -r requirements_devel.txt (line 9)) Downloading/unpacking localmail==0.3 (from -r requirements_devel.txt (line 10)) Downloading/unpacking logilab-astng==0.24.3 (from -r requirements_devel.txt (line 11)) Downloading/unpacking logilab-common==0.59.1 (from -r requirements_devel.txt (line 12)) Requirement already satisfied (use --upgrade to upgrade): mechanize==0.2.5 in /usr/lib/python2.7/dist-packages (from -r requirements_devel.txt (line 13)) Requirement already satisfied (use --upgrade to upgrade): mock==1.0.1 in /usr/lib/python2.7/dist-packages (from -r requirements_devel.txt (line 14)) Downloading/unpacking paramiko==1.15.1 (from -r requirements_devel.txt (line 15)) Downloading/unpacking pep8==1.5.7 (from -r requirements_devel.txt (line 16)) Downloading/unpacking pyflakes==0.8.1 (from -r requirements_devel.txt (line 17)) Downloading/unpacking pylint==0.28.0 (from -r requirements_devel.txt (line 18)) Downloading/unpacking pyquery==1.2.1 (from -r requirements_devel.txt (line 19)) Requirement already satisfied (use --upgrade to upgrade): python-mimeparse==0.1.4 in /usr/lib/python2.7/dist-packages (from -r requirements_devel.txt (line 20)) Downloading/unpacking python-subunit==1.1.0 (from -r requirements_devel.txt (line 21)) Downloading/unpacking selenium==2.53.1 (from -r requirements_devel.txt (line 22)) Downloading/unpacking sqlparse==0.1.4 (from -r requirements_devel.txt (line 23)) Downloading/unpacking sst==0.2.5dev (from -r requirements_devel.txt (line 24)) Requirement already satisfied (use --upgrade to upgrade): testscenarios==0.4 in /usr/lib/python2.7/dist-packages (from -r requirements_devel.txt (line 25)) Downloading/unpacking testtools==0.9.39 (from -r requirements_devel.txt (line 26)) Downloading/unpacking u1-test-utils==0.5 (from -r requirements_devel.txt (line 27)) Downloading/unpacking ucitests==0.4.1 (from -r requirements_devel.txt (line 28)) Downloading/unpacking wsgi-intercept==0.5.1 (from -r requirements_devel.txt (line 29)) Downloading/unpacking alabaster==0.7.2 (from -r requirements_docs.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): babel==1.3 in /usr/lib/python2.7/dist-packages (from -r requirements_docs.txt (line 3)) Downloading/unpacking docutils==0.12 (from -r requirements_docs.txt (line 4)) Downloading/unpacking jinja2==2.7.3 (from -r requirements_docs.txt (line 5)) Downloading/unpacking markupsafe==0.23 (from -r requirements_docs.txt (line 6)) Downloading/unpacking pygments==2.0.2 (from -r requirements_docs.txt (line 7)) Downloading/unpacking pytz==2014.10 (from -r requirements_docs.txt (line 8)) Downloading/unpacking setuptools==14.0 (from -r requirements_docs.txt (line 9)) Downloading/unpacking snowballstemmer==1.2.0 (from -r requirements_docs.txt (line 10)) Downloading/unpacking sphinx==1.3 (from -r requirements_docs.txt (line 11)) Downloading/unpacking sphinx-bootstrap-theme==0.4.5 (from -r requirements_docs.txt (line 12)) Downloading/unpacking sphinxcontrib-httpdomain==1.3.0 (from -r requirements_docs.txt (line 13)) Downloading/unpacking sphinx-rtd-theme==0.1.7 (from -r requirements_docs.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): oauth in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): zope.interface in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.3->-r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): amqplib in /usr/lib/python2.7/dist-packages (from oops-amqp==0.0.8b1->-r requirements.txt (line 20)) Requirement already satisfied (use --upgrade to upgrade): iso8601 in /usr/lib/python2.7/dist-packages (from oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): launchpadlib in /usr/lib/python2.7/dist-packages (from oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): requests>=2.0.0 in /usr/lib/python2.7/dist-packages (from requests-oauthlib==0.4.2->-r requirements.txt (line 29)) Downloading/unpacking mccabe>=0.2.1,<0.4 (from flake8==2.4.0->-r requirements_devel.txt (line 8)) Requirement already satisfied (use --upgrade to upgrade): Twisted>=11.0.0 in /usr/lib/python2.7/dist-packages (from localmail==0.3->-r requirements_devel.txt (line 10)) Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in /usr/lib/python2.7/dist-packages (from pyquery==1.2.1->-r requirements_devel.txt (line 19)) Requirement already satisfied (use --upgrade to upgrade): keyring in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): lazr.restfulclient>=0.9.19 in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): lazr.uri in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Requirement already satisfied (use --upgrade to upgrade): wadllib in /usr/lib/python2.7/dist-packages (from launchpadlib->oops-datedir-repo==0.0.23->-r requirements.txt (line 21)) Installing collected packages: bson, canonical-raven, convoy, django, django-honeypot, django-jsonfield, django-model-utils, django-modeldict, django-preflight, django-secure, django-statsd-mozilla, gargoyle, gunicorn, lazr.authentication, libnacl, nexus, oath, oauthlib, oops-amqp, oops-datedir-repo, oops-dictconfig, oops-timeline, oops-wsgi, paste, pymacaroons, raven, requests-oauthlib, six, statsd, timeline, timeline-django, whitenoise, coverage, cssselect, ecdsa, fixtures, flake8, junitxml, localmail, logilab-astng, logilab-common, paramiko, pep8, pyflakes, pylint, pyquery, python-subunit, selenium, sqlparse, sst, testtools, u1-test-utils, ucitests, wsgi-intercept, alabaster, docutils, jinja2, markupsafe, pygments, pytz, setuptools, snowballstemmer, sphinx, sphinx-bootstrap-theme, sphinxcontrib-httpdomain, sphinx-rtd-theme, mccabe Found existing installation: gunicorn 17.5 Not uninstalling gunicorn at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Compiling /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/build/gunicorn/gunicorn/workers/_gaiohttp.py ... File "/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/build/gunicorn/gunicorn/workers/_gaiohttp.py", line 68 yield from self.wsgi.close() ^ SyntaxError: invalid syntax Found existing installation: oauthlib 0.6.1 Not uninstalling oauthlib at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-amqp 0.0.7 Not uninstalling oops-amqp at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-datedir-repo 0.0.21 Not uninstalling oops-datedir-repo at /usr/lib/pymodules/python2.7, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-timeline 0.0.1 Not uninstalling oops-timeline at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: oops-wsgi 0.0.10 Not uninstalling oops-wsgi at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: Paste 1.7.5.1 Not uninstalling Paste at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: six 1.5.2 Not uninstalling six at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: timeline 0.0.3 Not uninstalling timeline at /usr/lib/pymodules/python2.7, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: coverage 3.7.1 Not uninstalling coverage at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: junitxml 0.6 Not uninstalling junitxml at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: paramiko 1.10.1 Not uninstalling paramiko at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: python-subunit 0.0.18 Not uninstalling python-subunit at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: testtools 0.9.35 Not uninstalling testtools at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: docutils 0.11 Not uninstalling docutils at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: Jinja2 2.7.2 Not uninstalling Jinja2 at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: MarkupSafe 0.18 Not uninstalling MarkupSafe at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: Pygments 1.6 Not uninstalling Pygments at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: pytz 2012c Not uninstalling pytz at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Found existing installation: setuptools 2.2 Uninstalling setuptools: Successfully uninstalled setuptools Found existing installation: Sphinx 1.2.2 Not uninstalling Sphinx at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env Successfully installed bson canonical-raven convoy django django-honeypot django-jsonfield django-model-utils django-modeldict django-preflight django-secure django-statsd-mozilla gargoyle gunicorn lazr.authentication libnacl nexus oath oauthlib oops-amqp oops-datedir-repo oops-dictconfig oops-timeline oops-wsgi paste pymacaroons raven requests-oauthlib six statsd timeline timeline-django whitenoise coverage cssselect ecdsa fixtures flake8 junitxml localmail logilab-astng logilab-common paramiko pep8 pyflakes pylint pyquery python-subunit selenium sqlparse sst testtools u1-test-utils ucitests wsgi-intercept alabaster docutils jinja2 markupsafe pygments pytz setuptools snowballstemmer sphinx sphinx-bootstrap-theme sphinxcontrib-httpdomain sphinx-rtd-theme mccabe Cleaning up... make[1]: Leaving directory `/mnt/tarmac/cache/canonical-identity-provider/merges/trunk' Check missing Django migrations left behind. If output is not 'No changed detected', run will abort. /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/django_project/manage.py makemigrations No changes detected make setup-db make[1]: Entering directory `/mnt/tarmac/cache/canonical-identity-provider/merges/trunk' mkdir -p /dev/shm/pg_sso/data /usr/lib/postgresql/9.3/bin/initdb -A trust -D /dev/shm/pg_sso/data The files belonging to this database system will be owned by user "tarmac". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /dev/shm/pg_sso/data ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB creating configuration files ... ok creating template1 database in /dev/shm/pg_sso/data/base/1 ... ok initializing pg_authid ... ok initializing dependencies ... ok creating system views ... ok loading system objects' descriptions ... ok creating collations ... ok creating conversions ... ok creating dictionaries ... ok setting privileges on built-in objects ... ok creating information schema ... ok loading PL/pgSQL server-side language ... ok vacuuming database template1 ... ok copying template1 to template0 ... ok copying template1 to postgres ... ok syncing data to disk ... ok Success. You can now start the database server using: /usr/lib/postgresql/9.3/bin/postgres -D /dev/shm/pg_sso/data or /usr/lib/postgresql/9.3/bin/pg_ctl -D /dev/shm/pg_sso/data -l logfile start echo "fsync = off" > /dev/shm/pg_sso/postgresql.conf echo "standard_conforming_strings = off" >> /dev/shm/pg_sso/postgresql.conf echo "escape_string_warning = off" >> /dev/shm/pg_sso/postgresql.conf /usr/lib/postgresql/9.3/bin/pg_ctl start -w -D /dev/shm/pg_sso/data -l /dev/shm/pg_sso/postgresql.log -o "-F -k /dev/shm/pg_sso -h ''" waiting for server to start.... done server started PGHOST=/dev/shm/pg_sso createdb identityprovider PGHOST=/dev/shm/pg_sso createuser --superuser --createdb postgres make[1]: Leaving directory `/mnt/tarmac/cache/canonical-identity-provider/merges/trunk' make migrate make[1]: Entering directory `/mnt/tarmac/cache/canonical-identity-provider/merges/trunk' /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/django_project/manage.py migrate --noinput Operations to perform: Synchronize unmigrated apps: gargoyle, pgtools, raven_contrib_django, staticfiles, messages, canonical_raven, nexus, djangosecure, preflight, honeypot, saml2idp, django_statsd Apply all migrations: identityprovider, sessions, admin, django_openid_auth, auth, sites, adminaudit, contenttypes, piston, oauth_backend Synchronizing apps without migrations: Creating tables... Creating table gargoyle_switch Running deferred SQL... Installing custom SQL... Running migrations: Rendering model states... DONE Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying adminaudit.0001_initial... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying django_openid_auth.0001_initial... OK Applying identityprovider.0001_initial... OK Applying identityprovider.0002_auto_20150519_1631... OK Applying identityprovider.0003_auto_20150708_1451... OK Applying identityprovider.0004_accountpassword_last_leak_check... OK Applying identityprovider.0005_authlog... OK Applying identityprovider.0006_auto_20151019_1515... OK Applying identityprovider.0007_auto_20160310_2013... OK Applying identityprovider.0008_accountpassword_date_changed... OK Applying oauth_backend.0001_initial... OK Applying oauth_backend.0002_auto_20150922_1439... OK Applying piston.0001_initial... OK Applying sessions.0001_initial... OK Applying sites.0001_initial... OK make[1]: Leaving directory `/mnt/tarmac/cache/canonical-identity-provider/merges/trunk' Updating translation messages Gathering translations for django's apps. processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk processing locale en /mnt/tarmac/cache/canonical-identity-provider/merges/trunk Running canonical-identity-provider tests in tarmac DJANGO_SETTINGS_MODULE=settings_test /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/env/bin/python /mnt/tarmac/cache/canonical-identity-provider/merges/trunk/django_project/manage.py test --noinput --failfast Tests running... Creating test database for alias 'default'... ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s......................................................................................................................................................................EDestroying test database for alias 'default'... E====================================================================== ERROR: identityprovider.tests.test_views_server.HandleUserResponseTestCase.test_rpconfig_fetch_on_new_account_page ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/src/identityprovider/tests/test_views_server.py", line 391, in test_rpconfig_fetch_on_new_account_page raise RedirectCycleError("Redirect loop detected.") NameError: global name 'RedirectCycleError' is not defined ====================================================================== ERROR: testing.runner.TestRunner.check_all_tests_executed ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/lib/olstestsdjango/runner.py", line 187, in check_all_tests_executed initial_test_nb, result.testsRun)) AssertionError: Expecting 2644, got 1426 tests run Ran 1427 tests in 555.439s FAILED (failures=2) 1 skipped: This (inherited) test makes no sense for CaptchaV2 PGHOST=/dev/shm/pg_sso dropdb identityprovider /usr/lib/postgresql/9.3/bin/pg_ctl stop -w -D /dev/shm/pg_sso/data -m smart waiting for server to shut down.... done server stopped rm -rf /dev/shm/pg_sso Branched 56 revisions. cp: cannot stat ‘/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/src/oauth_backend/locale/en/LC_MESSAGES/django.po’: No such file or directory cp: cannot stat ‘/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/src/testing/locale/en/LC_MESSAGES/django.po’: No such file or directory cp: cannot stat ‘/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/src/tests/locale/en/LC_MESSAGES/django.po’: No such file or directory cp: cannot stat ‘/mnt/tarmac/cache/canonical-identity-provider/merges/trunk/src/ubuntu_sso_saml/locale/en/LC_MESSAGES/django.po’: No such file or directory Raven is not configured (logging is disabled). Please see the documentation for more information. make: *** [test] Error 1