The attempt to merge lp:~jaboing/canonical-identity-provider/fix_edit_device_tests into lp:canonical-identity-provider failed. Below is the output from the failed tests. Updating download cache at dir /mnt/tarmac/isd-download-cache Using saved parent location: bzr+ssh://bazaar.launchpad.net/~canonical-isd-hackers/+junk/download-cache/ No revisions or tags to pull. [localhost] local: which virtualenv [localhost] local: /usr/bin/python /usr/bin/virtualenv --distribute --clear --system-site-packages .env Not deleting .env/bin New python executable in .env/bin/python Installing distribute.............................................................................................................................................................................................done. Installing pip...............done. [localhost] local: dpkg -l libpq-dev 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l libxml2-dev 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l libxslt1-dev 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l memcached 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l postgresql-plpython-9.1 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l python-dev 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l python-m2crypto 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l swig 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l config-manager 2> /dev/null | grep '^ii' | wc -l [localhost] local: dpkg -l python-egenix-mx-base-dev 2> /dev/null | grep '^ii' | wc -l [localhost] local: /usr/lib/config-manager/cm.py update /tmp/tmpopCO84 [localhost] local: . /mnt/tarmac/cache/canonical-identity-provider/.env/bin/activate && make install PACKAGES="-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt" pip install --find-links=file:///mnt/tarmac/isd-download-cache --no-index pip==dev Ignoring indexes: http://pypi.python.org/simple/ Downloading/unpacking pip==dev Running setup.py egg_info for package pip warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.txt' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Installing collected packages: pip Found existing installation: pip 1.1 Uninstalling pip: Successfully uninstalled pip Running setup.py install for pip warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.txt' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Installing pip script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing pip-2.7 script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Successfully installed pip Cleaning up... pip install --find-links=. --no-index -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt Ignoring indexes: http://pypi.python.org/simple/ Downloading/unpacking bzr+http://bazaar.launchpad.net/~canonical-isd-hackers/u1-test-utils/trunk@81 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 38)) Checking out http://bazaar.launchpad.net/~canonical-isd-hackers/u1-test-utils/trunk (to revision 81) to /tmp/pip-yQ6m70-build Running setup.py egg_info for package from bzr+http://bazaar.launchpad.net/~canonical-isd-hackers/u1-test-utils/trunk@81 Downloading/unpacking bzr+http://bazaar.launchpad.net/~canonical-isd-qa/selenium-simple-test/trunk/@413 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 39)) Checking out http://bazaar.launchpad.net/~canonical-isd-qa/selenium-simple-test/trunk/ (to revision 413) to /tmp/pip-dIkfem-build Running setup.py egg_info for package from bzr+http://bazaar.launchpad.net/~canonical-isd-qa/selenium-simple-test/trunk/@413 Downloading/unpacking bzr+ssh://bazaar.launchpad.net/~bloodearnest/+junk/test-email-server/ (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 40)) Checking out bzr+ssh://bazaar.launchpad.net/~bloodearnest/+junk/test-email-server/ to /tmp/pip-MoBVOW-build Running setup.py egg_info for package from bzr+ssh://bazaar.launchpad.net/~bloodearnest/+junk/test-email-server/ package init file 'twisted/plugins/__init__.py' not found (or not a regular file) Requirement already satisfied (use --upgrade to upgrade): Clientform==0.2.10 in /usr/lib/python2.7/dist-packages (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 1)) Downloading/unpacking coverage==3.6 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 2)) Running setup.py egg_info for package coverage warning: no previously-included files matching '*.pyc' found anywhere in distribution Downloading/unpacking cssselect==0.7.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 3)) Running setup.py egg_info for package cssselect no previously-included directories found matching 'docs/_build' Downloading/unpacking decorator==3.4.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 4)) Running setup.py egg_info for package decorator warning: no previously-included files found matching 'Makefile' Downloading/unpacking django-debug-toolbar==0.9.4 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 5)) Running setup.py egg_info for package django-debug-toolbar no previously-included directories found matching 'example' Downloading/unpacking django-devserver==0.6.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 6)) Running setup.py egg_info for package django-devserver warning: no previously-included files matching '*~' found anywhere in distribution Downloading/unpacking django-discover-runner==0.4 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 7)) Running setup.py egg_info for package django-discover-runner Downloading/unpacking django-jenkins==0.14.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 8)) Running setup.py egg_info for package django-jenkins warning: no files found matching 'django_jenkins/tasks/jshint/jshint.js' warning: no files found matching 'django_jenkins/tasks/jshint_runner.js' Downloading/unpacking fixtures==0.3.12 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 9)) Running setup.py egg_info for package fixtures Downloading/unpacking httplib2==0.8 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 10)) Running setup.py egg_info for package httplib2 Downloading/unpacking junitxml==0.7 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 11)) Running setup.py egg_info for package junitxml Downloading/unpacking lazr.authentication==0.1.2 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 12)) Running setup.py egg_info for package lazr.authentication Downloading/unpacking lazr.restfulclient==0.13.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 13)) Running setup.py egg_info for package lazr.restfulclient Requirement already satisfied (use --upgrade to upgrade): lazr.uri==1.0.3 in /usr/lib/python2.7/dist-packages (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 14)) Downloading/unpacking logilab-astng==0.24.3 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 15)) Running setup.py egg_info for package logilab-astng package init file './test/__init__.py' not found (or not a regular file) Downloading/unpacking logilab-common==0.59.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 16)) Running setup.py egg_info for package logilab-common package init file './test/__init__.py' not found (or not a regular file) warning: no files found matching '*.py' under directory 'test/input' warning: no files found matching '*' under directory 'doc/html' Requirement already satisfied (use --upgrade to upgrade): mechanize==0.2.5 in /usr/lib/python2.7/dist-packages (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 17)) Downloading/unpacking mock==1.0.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 18)) Running setup.py egg_info for package mock warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' Downloading/unpacking pep8==1.4.5 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 19)) Running setup.py egg_info for package pep8 warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'testsuite' warning: no previously-included files matching '*.pyo' found under directory 'testsuite' no previously-included directories found matching 'docs/_build' Downloading/unpacking pyflakes==0.7.2 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 20)) Running setup.py egg_info for package pyflakes Downloading/unpacking pylint==0.28.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 21)) Running setup.py egg_info for package pylint Downloading/unpacking pyquery==1.2.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 22)) Running setup.py egg_info for package pyquery Downloading/unpacking selenium==2.32.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 23)) Running setup.py egg_info for package selenium Requirement already satisfied (use --upgrade to upgrade): Sphinx==1.1.3 in /usr/lib/python2.7/dist-packages (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 24)) Downloading/unpacking sphinxcontrib-httpdomain==1.1.7 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 25)) Running setup.py egg_info for package sphinxcontrib-httpdomain warning: no files found matching 'CHANGES.*' Downloading/unpacking sqlparse==0.1.4 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 26)) Running setup.py egg_info for package sqlparse Downloading/unpacking testscenarios==0.4 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 27)) Running setup.py egg_info for package testscenarios Downloading/unpacking testtools==0.9.29 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 28)) Running setup.py egg_info for package testtools no previously-included directories found matching 'doc/_build' Downloading/unpacking Twisted==11.1.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 29)) Running setup.py egg_info for package Twisted Downloading/unpacking wadllib==1.3.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 30)) Running setup.py egg_info for package wadllib Downloading/unpacking Werkzeug==0.8.3 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 31)) Running setup.py egg_info for package Werkzeug warning: no files found matching '*' under directory 'werkzeug/debug/templates' warning: no files found matching '*' under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' Downloading/unpacking wsgi-intercept==0.5.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 32)) Running setup.py egg_info for package wsgi-intercept Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 33)) Downloading/unpacking zope.event==4.0.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 34)) Running setup.py egg_info for package zope.event Downloading/unpacking zope.interface==4.0.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 35)) Running setup.py egg_info for package zope.interface Downloading/unpacking zope.schema==4.2.0 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 36)) Running setup.py egg_info for package zope.schema warning: no files found matching '*.txt' under directory 'src/zope/schema' warning: no previously-included files matching '*.pyc' found anywhere in distribution Downloading/unpacking zope.testbrowser==3.5.1 (from -r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 37)) Running setup.py egg_info for package zope.testbrowser Requirement already satisfied (use --upgrade to upgrade): Django>=1.3 in /usr/lib/python2.7/dist-packages (from django-jenkins==0.14.0->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 8)) Requirement already satisfied (use --upgrade to upgrade): oauth in /usr/lib/python2.7/dist-packages (from lazr.authentication==0.1.2->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 12)) Requirement already satisfied (use --upgrade to upgrade): distribute in /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg (from lazr.authentication==0.1.2->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 12)) Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in /usr/lib/python2.7/dist-packages (from pyquery==1.2.1->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 22)) Requirement already satisfied (use --upgrade to upgrade): Pygments>=1.2 in /usr/lib/python2.7/dist-packages (from Sphinx==1.1.3->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 24)) Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.3 in /usr/lib/python2.7/dist-packages (from Sphinx==1.1.3->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 24)) Requirement already satisfied (use --upgrade to upgrade): docutils>=0.7 in /usr/lib/python2.7/dist-packages (from Sphinx==1.1.3->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 24)) Downloading/unpacking extras (from testtools==0.9.29->-r /mnt/tarmac/cache/canonical-identity-provider/requirements.txt (line 28)) Running setup.py egg_info for package extras Installing collected packages: coverage, cssselect, decorator, django-debug-toolbar, django-devserver, django-discover-runner, django-jenkins, fixtures, httplib2, junitxml, lazr.authentication, lazr.restfulclient, logilab-astng, logilab-common, mock, pep8, pyflakes, pylint, pyquery, selenium, sphinxcontrib-httpdomain, sqlparse, testscenarios, testtools, Twisted, wadllib, Werkzeug, wsgi-intercept, zope.event, zope.interface, zope.schema, zope.testbrowser, u1-test-utils, sst, localmail, extras Found existing installation: coverage 3.4 Not uninstalling coverage at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for coverage building 'coverage.tracer' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/tracer.c -o build/temp.linux-x86_64-2.7/coverage/tracer.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/coverage/tracer.o -o build/lib.linux-x86_64-2.7/coverage/tracer.so warning: no previously-included files matching '*.pyc' found anywhere in distribution Installing coverage2 script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing coverage-2.7 script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing coverage script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Running setup.py install for cssselect no previously-included directories found matching 'docs/_build' Running setup.py install for decorator warning: no previously-included files found matching 'Makefile' Running setup.py install for django-debug-toolbar no previously-included directories found matching 'example' Running setup.py install for django-devserver warning: no previously-included files matching '*~' found anywhere in distribution Running setup.py install for django-discover-runner Running setup.py install for django-jenkins warning: no files found matching 'django_jenkins/tasks/jshint/jshint.js' warning: no files found matching 'django_jenkins/tasks/jshint_runner.js' Running setup.py install for fixtures Found existing installation: httplib2 0.7.2 Not uninstalling httplib2 at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for httplib2 Found existing installation: junitxml 0.6 Not uninstalling junitxml at /usr/lib/pymodules/python2.7, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for junitxml changing mode of build/scripts-2.7/pyjunitxml from 644 to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/pyjunitxml to 755 Running setup.py install for lazr.authentication Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/lazr/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/lazr.authentication-0.1.2-py2.7-nspkg.pth Found existing installation: lazr.restfulclient 0.12.0 Not uninstalling lazr.restfulclient at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for lazr.restfulclient Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/lazr/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/lazr.restfulclient-0.13.1-py2.7-nspkg.pth Found existing installation: logilab-astng 0.23.0 Not uninstalling logilab-astng at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for logilab-astng package init file './test/__init__.py' not found (or not a regular file) package init file './test/__init__.py' not found (or not a regular file) package init file './test/__init__.py' not found (or not a regular file) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/logilab_astng-0.24.3-py2.7-nspkg.pth package init file './test/__init__.py' not found (or not a regular file) Found existing installation: logilab-common 0.57.1 Not uninstalling logilab-common at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for logilab-common package init file './test/__init__.py' not found (or not a regular file) package init file './test/__init__.py' not found (or not a regular file) changing mode of build/scripts-2.7/pytest from 644 to 755 deleting logilab_common.egg-info/requires.txt package init file './test/__init__.py' not found (or not a regular file) warning: no files found matching '*.py' under directory 'test/input' warning: no files found matching '*' under directory 'doc/html' Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/logilab_common-0.59.1-py2.7-nspkg.pth changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/pytest to 755 package init file './test/__init__.py' not found (or not a regular file) Found existing installation: mock 1.0.0 Not uninstalling mock at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for mock warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' Found existing installation: pep8 1.4.4 Not uninstalling pep8 at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for pep8 warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'testsuite' warning: no previously-included files matching '*.pyo' found under directory 'testsuite' no previously-included directories found matching 'docs/_build' Installing pep8 script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Found existing installation: pyflakes 0.6.1 Not uninstalling pyflakes at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for pyflakes Installing pyflakes script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Found existing installation: pylint 0.25.0 Not uninstalling pylint at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for pylint changing mode of build/scripts-2.7/pylint from 644 to 755 changing mode of build/scripts-2.7/pylint-gui from 644 to 755 changing mode of build/scripts-2.7/symilar from 644 to 755 changing mode of build/scripts-2.7/epylint from 644 to 755 changing mode of build/scripts-2.7/pyreverse from 644 to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/pylint-gui to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/epylint to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/symilar to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/pylint to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/pyreverse to 755 Installing pylint script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing epylint script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing pyreverse script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing pylint-gui script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing symilar script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Running setup.py install for pyquery Running setup.py install for selenium Running setup.py install for sphinxcontrib-httpdomain warning: no files found matching 'CHANGES.*' Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/sphinxcontrib/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/sphinxcontrib_httpdomain-1.1.7-py2.7-nspkg.pth Running setup.py install for sqlparse changing mode of build/scripts-2.7/sqlformat from 644 to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/sqlformat to 755 Found existing installation: testscenarios 0.2 Not uninstalling testscenarios at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for testscenarios Found existing installation: testtools 0.9.14 Not uninstalling testtools at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for testtools no previously-included directories found matching 'doc/_build' Found existing installation: Twisted 12.3.0 Not uninstalling Twisted at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for Twisted gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o building 'twisted.runner.portmap' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/runner/portmap.c -o build/temp.linux-x86_64-2.7/twisted/runner/portmap.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/twisted/runner/portmap.o -o build/lib.linux-x86_64-2.7/twisted/runner/portmap.so building 'twisted.test.raiser' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/test/raiser.c -o build/temp.linux-x86_64-2.7/twisted/test/raiser.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/twisted/test/raiser.o -o build/lib.linux-x86_64-2.7/twisted/test/raiser.so building 'twisted.python._epoll' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/python/_epoll.c -o build/temp.linux-x86_64-2.7/twisted/python/_epoll.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/twisted/python/_epoll.o -o build/lib.linux-x86_64-2.7/twisted/python/_epoll.so building 'twisted.python._initgroups' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/python/_initgroups.c -o build/temp.linux-x86_64-2.7/twisted/python/_initgroups.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/twisted/python/_initgroups.o -o build/lib.linux-x86_64-2.7/twisted/python/_initgroups.so building 'twisted.internet._sigchld' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/internet/_sigchld.c -o build/temp.linux-x86_64-2.7/twisted/internet/_sigchld.o In file included from /usr/include/python2.7/Python.h:8:0, from twisted/internet/_sigchld.c:9: /usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] /usr/include/features.h:215:0: note: this is the location of the previous definition twisted/internet/_sigchld.c: In function ‘got_signal’: twisted/internet/_sigchld.c:15:9: warning: variable ‘ignored_result’ set but not used [-Wunused-but-set-variable] gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/twisted/internet/_sigchld.o -o build/lib.linux-x86_64-2.7/twisted/internet/_sigchld.so changing mode of build/scripts-2.7/twistd from 644 to 755 changing mode of build/scripts-2.7/manhole from 644 to 755 changing mode of build/scripts-2.7/trial from 644 to 755 changing mode of build/scripts-2.7/pyhtmlizer from 644 to 755 changing mode of build/scripts-2.7/tap2rpm from 644 to 755 changing mode of build/scripts-2.7/tap2deb from 644 to 755 changing mode of build/scripts-2.7/tapconvert from 644 to 755 changing mode of build/scripts-2.7/conch from 644 to 755 changing mode of build/scripts-2.7/cftp from 644 to 755 changing mode of build/scripts-2.7/ckeygen from 644 to 755 changing mode of build/scripts-2.7/tkconch from 644 to 755 changing mode of build/scripts-2.7/lore from 644 to 755 changing mode of build/scripts-2.7/mailmail from 644 to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/conch to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/twistd to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/manhole to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/trial to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/cftp to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/pyhtmlizer to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/tap2rpm to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/tap2deb to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/ckeygen to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/lore to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/tapconvert to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/mailmail to 755 changing mode of /mnt/tarmac/cache/canonical-identity-provider/.env/bin/tkconch to 755 Found existing installation: wadllib 1.3.0 Not uninstalling wadllib at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for wadllib Running setup.py install for Werkzeug warning: no files found matching '*' under directory 'werkzeug/debug/templates' warning: no files found matching '*' under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' Running setup.py install for wsgi-intercept Running setup.py install for zope.event Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope.event-4.0.0-py2.7-nspkg.pth Found existing installation: zope.interface 3.6.1 Not uninstalling zope.interface at /usr/lib/python2.7/dist-packages, outside environment /mnt/tarmac/cache/canonical-identity-provider/.env Running setup.py install for zope.interface building 'zope.interface._zope_interface_coptimizations' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.linux-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o -o build/lib.linux-x86_64-2.7/zope/interface/_zope_interface_coptimizations.so Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope.interface-4.0.1-py2.7-nspkg.pth Running setup.py install for zope.schema warning: no files found matching '*.txt' under directory 'src/zope/schema' warning: no previously-included files matching '*.pyc' found anywhere in distribution Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope.schema-4.2.0-py2.7-nspkg.pth Running setup.py install for zope.testbrowser Skipping installation of /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope/__init__.py (namespace package) Installing /mnt/tarmac/cache/canonical-identity-provider/.env/lib/python2.7/site-packages/zope.testbrowser-3.5.1-py2.7-nspkg.pth Running setup.py install for u1-test-utils Running setup.py install for sst Installing sst-run script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Installing sst-remote script to /mnt/tarmac/cache/canonical-identity-provider/.env/bin Running setup.py install for localmail package init file 'twisted/plugins/__init__.py' not found (or not a regular file) Running setup.py install for extras Successfully installed coverage cssselect decorator django-debug-toolbar django-devserver django-discover-runner django-jenkins fixtures httplib2 junitxml lazr.authentication lazr.restfulclient logilab-astng logilab-common mock pep8 pyflakes pylint pyquery selenium sphinxcontrib-httpdomain sqlparse testscenarios testtools Twisted wadllib Werkzeug wsgi-intercept zope.event zope.interface zope.schema zope.testbrowser u1-test-utils sst localmail extras Cleaning up... Done. Changing local.cfg to use the system database [localhost] local: /usr/lib/postgresql/9.1/bin/dropdb -U postgres identityprovider [localhost] local: /usr/lib/postgresql/9.1/bin/createdb -U postgres -O postgres identityprovider [localhost] local: . /mnt/tarmac/cache/canonical-identity-provider/.env/bin/activate && python django_project/manage.py syncdb --noinput --migrate Syncing... Creating tables ... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_groups Creating table auth_user_user_permissions Creating table auth_user Creating table django_content_type Creating table django_session Creating table django_site Creating table django_admin_log Creating table django_openid_auth_nonce Creating table django_openid_auth_association Creating table django_openid_auth_useropenid Creating table south_migrationhistory Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Migrating... Running migrations for adminaudit: - Migrating forwards to 0002_auto__chg_field_auditlog_username__chg_field_auditlog_representation__. > adminaudit:0001_initial > adminaudit:0002_auto__chg_field_auditlog_username__chg_field_auditlog_representation__ - Loading initial data for adminaudit. Installed 0 object(s) from 0 fixture(s) Running migrations for api: - Migrating forwards to 0001_initial. > api:0001_initial - Loading initial data for api. Installed 0 object(s) from 0 fixture(s) Running migrations for gargoyle: - Migrating forwards to 0003_auto__chg_field_switch_label__chg_field_switch_key. > gargoyle:0001_initial > gargoyle:0002_auto__add_field_switch_date_modified > gargoyle:0003_auto__chg_field_switch_label__chg_field_switch_key - Loading initial data for gargoyle. Installed 0 object(s) from 0 fixture(s) Running migrations for identityprovider: - Migrating forwards to 0009_unify_sreg_ax_rpconfig. > identityprovider:0001_initial > identityprovider:0002_fix_dev_schema > identityprovider:0003_account_condition_set_rename_field_preferredemail > identityprovider:0004_auto__add_field_openidrpconfig_allow_unverified > identityprovider:0005_added_invalidated_email_model > identityprovider:0006_migrate_invalidated_emails > identityprovider:0007_add_allowed_ax > identityprovider:0007_auto__add_field_invalidatedemailaddress_date_invalidated__add_field_in > identityprovider:0008_add_allowed_user_attribs > identityprovider:0009_unify_sreg_ax_rpconfig - Loading initial data for identityprovider. Installed 0 object(s) from 0 fixture(s) Running migrations for oauth_backend: - Migrating forwards to 0002_auto__del_unique_nonce_nonce__add_unique_nonce_nonce_token_consumer. > oauth_backend:0001_initial > oauth_backend:0002_auto__del_unique_nonce_nonce__add_unique_nonce_nonce_token_consumer - Loading initial data for oauth_backend. Installed 0 object(s) from 0 fixture(s) Running migrations for webui: - Migrating forwards to 0001_initial. > webui:0001_initial - Loading initial data for webui. Installed 0 object(s) from 0 fixture(s) Synced: > django.contrib.auth > django.contrib.contenttypes > django.contrib.messages > django.contrib.sessions > django.contrib.sites > django.contrib.staticfiles > django.contrib.admin > django_openid_auth > django_configglue > djangosecure > nexus > pgtools > preflight > raven.contrib.django > saml2idp > south > ubuntu_sso_saml > devserver > django_jenkins > debug_toolbar Migrated: - adminaudit - api - gargoyle - identityprovider - oauth_backend - webui [localhost] local: . /mnt/tarmac/cache/canonical-identity-provider/.env/bin/activate && python django_project/manage.py grantuser postgres Granting access to gargoyle_switch Granting access to adminaudit_auditlog Granting access to adminaudit_auditlog_id_seq Granting access to django_site Granting access to django_site_id_seq Granting access to django_content_type Granting access to django_content_type_id_seq Granting access to django_session Granting access to auth_permission Granting access to auth_permission_id_seq Granting access to auth_group Granting access to auth_group_id_seq Granting access to auth_group_permissions Granting access to public.auth_group_permissions_id_seq Granting access to auth_user Granting access to auth_user_id_seq Granting access to auth_user_groups Granting access to public.auth_user_groups_id_seq Granting access to auth_user_user_permissions Granting access to public.auth_user_user_permissions_id_seq Granting access to account Granting access to account_id_seq Granting access to accountpassword Granting access to accountpassword_id_seq Granting access to lp_openididentifier Granting access to lp_person Granting access to lp_person_id_seq Granting access to lp_personlocation Granting access to lp_personlocation_id_seq Granting access to emailaddress Granting access to emailaddress_id_seq Granting access to invalidated_emailaddress Granting access to invalidated_emailaddress_id_seq Granting access to authtoken Granting access to authtoken_id_seq Granting access to openidassociation Granting access to openidauthorization Granting access to openidauthorization_id_seq Granting access to openidnonce Granting access to ssoopenidrpconfig Granting access to ssoopenidrpconfig_id_seq Granting access to openidrpsummary Granting access to openidrpsummary_id_seq Granting access to lp_teamparticipation Granting access to lp_teamparticipation_id_seq Granting access to api_user Granting access to api_user_id_seq Granting access to identityprovider_authenticationdevice Granting access to identityprovider_authenticationdevice_id_seq Granting access to django_admin_log Granting access to django_admin_log_id_seq Granting access to django_openid_auth_nonce Granting access to django_openid_auth_nonce_id_seq Granting access to django_openid_auth_association Granting access to django_openid_auth_association_id_seq Granting access to django_openid_auth_useropenid Granting access to django_openid_auth_useropenid_id_seq Granting access to oauth_token Granting access to oauth_consumer Granting access to oauth_consumer_id_seq Granting access to oauth_nonce Granting access to oauth_nonce_id_seq Granting access to south_migrationhistory Granting access to south_migrationhistory_id_seq Done. Running canonical-identity-provider tests in tarmac [localhost] local: . /mnt/tarmac/cache/canonical-identity-provider/.env/bin/activate && python django_project/manage.py test --noinput Creating test database for alias 'default'... /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/testcases/test_device_preferences.py:30:13: E128 continuation line under-indented for visual indent name="twofactor_required", value="True") ^ /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/testcases/test_device_preferences.py:32:13: E128 continuation line under-indented for visual indent name="twofactor_required", value="False") ^ Destroying test database for alias 'default'... Connection Timeout: disconnecting client after 300.0 seconds ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ss....ss....ss.......................................................................................................................................................................................................................................................................................................FF............................................................................................................................................................................. ====================================================================== FAIL: test_pep8_conformance (identityprovider.tests.test_static_code_analysis.IdentityProviderPep8TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/tarmac/cache/canonical-identity-provider/.env/local/lib/python2.7/site-packages/u1testutils/static/test_pep8_conformance.py", line 49, in test_pep8_conformance self.assertEqual(self.pep8style.options.report.total_errors, 0) AssertionError: 2 != 0 ====================================================================== FAIL: test_pyflakes_analysis (identityprovider.tests.test_static_code_analysis.PyFlakesTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/tarmac/cache/canonical-identity-provider/.env/local/lib/python2.7/site-packages/u1testutils/static/test_pyflakes_analysis.py", line 38, in test_pyflakes_analysis '\n'.join(unexpected_errors)) AssertionError: /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:31: undefined name 'password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:31: undefined name 'passwordconfirm' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:33: undefined name 'password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:34: undefined name 'passwordconfirm' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:38: undefined name 'error' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:41: undefined name 'error' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:44: undefined name 'error' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/illegitimate_passwords.py:47: undefined name 'error' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/valid_change_password.py:26: undefined name 'new_password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/valid_change_password.py:28: undefined name 'new_password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/valid_change_password.py:29: undefined name 'new_password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/valid_change_password.py:35: undefined name 'new_password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/change_password_bad.py:26: undefined name 'new_password' /mnt/tarmac/cache/canonical-identity-provider/./acceptance/tests/edit/scripts/change_password_bad.py:27: undefined name 'new_password' ---------------------------------------------------------------------- Ran 1798 tests in 426.400s FAILED (failures=2, skipped=6) Fatal error: local() encountered an error (return code 1) while executing '. /mnt/tarmac/cache/canonical-identity-provider/.env/bin/activate && python django_project/manage.py test --noinput ' Aborting.