The merge was fine but running tests failed. Output of .pmr-merge-hook: Database URL set to 'postgresql://postgres@/gpgservice_db?host=%(ROOT)s/dev-db/localhost' git clone https://git.launchpad.net/~ubuntuone-hackers/gpgservice/+git/dependencies /tmp/tmpF8KIv4/tmp/dependencies New python executable in /tmp/tmpF8KIv4/env/bin/python Installing setuptools, pip...done. Ignoring indexes: https://pypi.python.org/simple/ Downloading/unpacking blinker==1.4 (from -r requirements.txt (line 1)) Downloading/unpacking flask==0.10.1 (from -r requirements.txt (line 2)) Downloading/unpacking gunicorn==19.4.5 (from -r requirements.txt (line 3)) Downloading/unpacking lazr.postgresql==0.0.2.post23 (from -r requirements.txt (line 4)) Downloading/unpacking psycopg2==2.6.1 (from -r requirements.txt (line 5)) Downloading/unpacking pygpgme==0.3 (from -r requirements.txt (line 6)) Downloading/unpacking python-logstash==0.4.5 (from -r requirements.txt (line 7)) Downloading/unpacking raven==5.20.0 (from -r requirements.txt (line 8)) Downloading/unpacking sqlalchemy==1.0.11 (from -r requirements.txt (line 9)) Downloading/unpacking statsd==3.2.1 (from -r requirements.txt (line 10)) Downloading/unpacking itsdangerous>=0.21 (from flask==0.10.1->-r requirements.txt (line 2)) Downloading/unpacking Werkzeug>=0.7 (from flask==0.10.1->-r requirements.txt (line 2)) Downloading/unpacking Jinja2>=2.4 (from flask==0.10.1->-r requirements.txt (line 2)) Downloading/unpacking contextlib2 (from raven==5.20.0->-r requirements.txt (line 8)) Downloading/unpacking MarkupSafe (from Jinja2>=2.4->flask==0.10.1->-r requirements.txt (line 2)) Installing collected packages: blinker, flask, gunicorn, lazr.postgresql, psycopg2, pygpgme, python-logstash, raven, sqlalchemy, statsd, itsdangerous, Werkzeug, Jinja2, contextlib2, MarkupSafe Compiling /tmp/tmpF8KIv4/env/build/gunicorn/gunicorn/workers/_gaiohttp.py ... File "/tmp/tmpF8KIv4/env/build/gunicorn/gunicorn/workers/_gaiohttp.py", line 78 yield from self.wsgi.close() ^ SyntaxError: invalid syntax Successfully installed blinker flask gunicorn lazr.postgresql psycopg2 pygpgme python-logstash raven sqlalchemy statsd itsdangerous Werkzeug Jinja2 contextlib2 MarkupSafe Cleaning up... Ignoring indexes: https://pypi.python.org/simple/ Downloading/unpacking coverage (from -r requirements-dev.txt (line 1)) Running setup.py (path:/tmp/tmpF8KIv4/env/build/coverage/setup.py) egg_info for package coverage warning: no previously-included files found matching 'ci/appveyor.token' no previously-included directories found matching 'doc/_build' no previously-included directories found matching 'tests/eggsrc/build' no previously-included directories found matching 'tests/eggsrc/dist' no previously-included directories found matching 'tests/eggsrc/*.egg-info' warning: no previously-included files matching '*.py[co]' found anywhere in distribution Downloading/unpacking fixtures (from -r requirements-dev.txt (line 2)) Downloading/unpacking flake8 (from -r requirements-dev.txt (line 3)) Downloading/unpacking gpgservice-client (from -r requirements-dev.txt (line 4)) Downloading/unpacking testtools (from -r requirements-dev.txt (line 5)) Downloading/unpacking txfixtures (from -r requirements-dev.txt (line 6)) Running setup.py (path:/tmp/tmpF8KIv4/env/build/txfixtures/setup.py) egg_info for package txfixtures Downloading/unpacking twisted (from -r requirements-dev.txt (line 7)) Downloading/unpacking wheel (from -r requirements-dev.txt (line 8)) Downloading/unpacking pbr>=0.11 (from fixtures->-r requirements-dev.txt (line 2)) Downloading/unpacking six (from fixtures->-r requirements-dev.txt (line 2)) Downloading/unpacking pyflakes>=0.8.1,!=1.2.0,!=1.2.1,!=1.2.2,<1.3.0 (from flake8->-r requirements-dev.txt (line 3)) Downloading/unpacking configparser (from flake8->-r requirements-dev.txt (line 3)) Running setup.py (path:/tmp/tmpF8KIv4/env/build/configparser/setup.py) egg_info for package configparser Downloading/unpacking enum34 (from flake8->-r requirements-dev.txt (line 3)) Downloading/unpacking pycodestyle>=2.0.0,<2.1.0 (from flake8->-r requirements-dev.txt (line 3)) Downloading/unpacking mccabe>=0.5.0,<0.6.0 (from flake8->-r requirements-dev.txt (line 3)) Downloading/unpacking requests (from gpgservice-client->-r requirements-dev.txt (line 4)) Downloading/unpacking python-mimeparse (from testtools->-r requirements-dev.txt (line 5)) Running setup.py (path:/tmp/tmpF8KIv4/env/build/python-mimeparse/setup.py) egg_info for package python-mimeparse Downloading/unpacking unittest2>=1.0.0 (from testtools->-r requirements-dev.txt (line 5)) Downloading/unpacking traceback2 (from testtools->-r requirements-dev.txt (line 5)) Downloading/unpacking extras>=1.0.0 (from testtools->-r requirements-dev.txt (line 5)) Downloading/unpacking zope.interface>=3.6.0 (from twisted->-r requirements-dev.txt (line 7)) Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from unittest2>=1.0.0->testtools->-r requirements-dev.txt (line 5)) Downloading/unpacking linecache2 (from traceback2->testtools->-r requirements-dev.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): setuptools in ./env/lib/python2.7/site-packages (from zope.interface>=3.6.0->twisted->-r requirements-dev.txt (line 7)) Installing collected packages: coverage, fixtures, flake8, gpgservice-client, testtools, txfixtures, twisted, wheel, pbr, six, pyflakes, configparser, enum34, pycodestyle, mccabe, requests, python-mimeparse, unittest2, traceback2, extras, zope.interface, linecache2 Running setup.py install for coverage building 'coverage.tracer' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/datastack.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/datastack.o x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/filedisp.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/filedisp.o x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/module.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/module.o x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/tracer.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/tracer.o x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/coverage/ctracer/datastack.o build/temp.linux-x86_64-2.7/coverage/ctracer/filedisp.o build/temp.linux-x86_64-2.7/coverage/ctracer/module.o build/temp.linux-x86_64-2.7/coverage/ctracer/tracer.o -o build/lib.linux-x86_64-2.7/coverage/tracer.so warning: no previously-included files found matching 'ci/appveyor.token' no previously-included directories found matching 'doc/_build' no previously-included directories found matching 'tests/eggsrc/build' no previously-included directories found matching 'tests/eggsrc/dist' no previously-included directories found matching 'tests/eggsrc/*.egg-info' warning: no previously-included files matching '*.py[co]' found anywhere in distribution Installing coverage2 script to /tmp/tmpF8KIv4/env/bin Installing coverage-2.7 script to /tmp/tmpF8KIv4/env/bin Installing coverage script to /tmp/tmpF8KIv4/env/bin Running setup.py install for txfixtures Running setup.py install for configparser Skipping installation of /tmp/tmpF8KIv4/env/lib/python2.7/site-packages/backports/__init__.py (namespace package) Installing /tmp/tmpF8KIv4/env/lib/python2.7/site-packages/configparser-3.5.0-py2.7-nspkg.pth Running setup.py install for python-mimeparse Compiling /tmp/tmpF8KIv4/env/build/linecache2/linecache2/tests/inspect_fodder2.py ... File "/tmp/tmpF8KIv4/env/build/linecache2/linecache2/tests/inspect_fodder2.py", line 102 def keyworded(*arg1, arg2=1): ^ SyntaxError: invalid syntax Successfully installed coverage fixtures flake8 gpgservice-client testtools txfixtures twisted wheel pbr six pyflakes configparser enum34 pycodestyle mccabe requests python-mimeparse unittest2 traceback2 extras zope.interface linecache2 Cleaning up... make setup-db make[1]: Entering directory `/tmp/tmpF8KIv4' mkdir -p /tmp/tmpF8KIv4/dev-db/localhost/data /usr/lib/postgresql/9.3/bin/initdb -A trust -D /tmp/tmpF8KIv4/dev-db/localhost/data The files belonging to this database system will be owned by user "ubuntu". 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 /tmp/tmpF8KIv4/dev-db/localhost/data ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB creating configuration files ... ok creating template1 database in /tmp/tmpF8KIv4/dev-db/localhost/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 /tmp/tmpF8KIv4/dev-db/localhost/data or /usr/lib/postgresql/9.3/bin/pg_ctl -D /tmp/tmpF8KIv4/dev-db/localhost/data -l logfile start echo "fsync = off" > /tmp/tmpF8KIv4/dev-db/localhost/postgresql.conf /usr/lib/postgresql/9.3/bin/pg_ctl start -w -D /tmp/tmpF8KIv4/dev-db/localhost/data -l /tmp/tmpF8KIv4/dev-db/localhost/postgresql.log -o "-F -k /tmp/tmpF8KIv4/dev-db/localhost -h ''" waiting for server to start.... done server started PGHOST=/tmp/tmpF8KIv4/dev-db/localhost createdb gpgservice_db PGHOST=/tmp/tmpF8KIv4/dev-db/localhost createuser --superuser --createdb postgres make[1]: Leaving directory `/tmp/tmpF8KIv4' make migrate make[1]: Entering directory `/tmp/tmpF8KIv4' /tmp/tmpF8KIv4/env/bin/lp-migrate "dbname=gpgservice_db host=/tmp/tmpF8KIv4/dev-db/localhost user=postgres" migrations make[1]: Leaving directory `/tmp/tmpF8KIv4' echo "85fb4c6ec41062d49c4ac9edb3ea0d376041e3a6" > version-info.txt ............................................................................................................................................s....F..FF............................................ ====================================================================== FAIL: test_verify_document_with_unverified_contents (gpgservice.tests.test_webapp.VerifyDocumentTests) gpgservice.tests.test_webapp.VerifyDocumentTests.test_verify_document_with_unverified_contents ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "gpgservice/tests/test_webapp.py", line 765, in test_verify_document_with_unverified_contents self.assertEqual(200, resp.status_code) File "/tmp/tmpF8KIv4/env/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/tmp/tmpF8KIv4/env/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 200 != 400 ====================================================================== FAIL: test_verifying_document_with_detached_signature (gpgservice.tests.test_webapp.VerifyDocumentTests) gpgservice.tests.test_webapp.VerifyDocumentTests.test_verifying_document_with_detached_signature ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "gpgservice/tests/test_webapp.py", line 779, in test_verifying_document_with_detached_signature self.assertEqual(200, resp.status_code) File "/tmp/tmpF8KIv4/env/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/tmp/tmpF8KIv4/env/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 200 != 400 ====================================================================== FAIL: test_verifying_with_clearsigned (gpgservice.tests.test_webapp.VerifyDocumentTests) gpgservice.tests.test_webapp.VerifyDocumentTests.test_verifying_with_clearsigned ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "gpgservice/tests/test_webapp.py", line 742, in test_verifying_with_clearsigned self.assertEqual(200, resp.status_code) File "/tmp/tmpF8KIv4/env/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/tmp/tmpF8KIv4/env/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 200 != 400 ---------------------------------------------------------------------- Ran 194 tests in 31.804s FAILED (failures=3, skipped=1)