The attempt to merge lp:~cprov/snappy-proposed-selftest-agent/rescue into lp:snappy-proposed-selftest-agent failed. Below is the output from the failed tests. Using base prefix '/usr' New python executable in /tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/python3 Also creating executable in /tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/python Installing setuptools, pip...done. Running virtualenv with interpreter /usr/bin/python3 Ignoring indexes: https://pypi.python.org/simple/ Downloading/unpacking kombu==3.0.24 (from -r requirements.txt (line 1)) Downloading/unpacking python-logstash==0.4.2 (from -r requirements.txt (line 2)) Running setup.py (path:/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/python-logstash/setup.py) egg_info for package python-logstash Downloading/unpacking uservice-utils==1.0.2.1 (from -r requirements.txt (line 3)) Downloading/unpacking anyjson>=0.3.3 (from kombu==3.0.24->-r requirements.txt (line 1)) Running setup.py (path:/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/anyjson/setup.py) egg_info for package anyjson Downloading/unpacking amqp>=1.4.5,<2.0 (from kombu==3.0.24->-r requirements.txt (line 1)) Running setup.py (path:/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/amqp/setup.py) egg_info for package amqp Installing collected packages: kombu, python-logstash, uservice-utils, anyjson, amqp Running setup.py install for python-logstash Running setup.py install for anyjson Fixing build/lib/anyjson/__init__.py Skipping implicit fixer: buffer Skipping implicit fixer: idioms Skipping implicit fixer: set_literal Skipping implicit fixer: ws_comma Fixing build/lib/anyjson/__init__.py Skipping implicit fixer: buffer Skipping implicit fixer: idioms Skipping implicit fixer: set_literal Skipping implicit fixer: ws_comma Running setup.py install for amqp Successfully installed kombu python-logstash uservice-utils anyjson amqp Cleaning up... Downloading/unpacking flake8==2.4.0 (from -r test_requirements.txt (line 1)) Downloading flake8-2.4.0-py2.py3-none-any.whl Downloading/unpacking testtools==1.7.1 (from -r test_requirements.txt (line 2)) Downloading/unpacking mock==1.0.1 (from -r test_requirements.txt (line 3)) Running setup.py (path:/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/mock/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.5.7,<1.6 (from flake8==2.4.0->-r test_requirements.txt (line 1)) Downloading pep8-1.5.7-py2.py3-none-any.whl Downloading/unpacking mccabe>=0.2.1,<0.4 (from flake8==2.4.0->-r test_requirements.txt (line 1)) Downloading mccabe-0.3-py2.py3-none-any.whl Downloading/unpacking pyflakes>=0.8.1,<0.9 (from flake8==2.4.0->-r test_requirements.txt (line 1)) Downloading pyflakes-0.8.1-py2.py3-none-any.whl Downloading/unpacking unittest2>=1.0.0 (from testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading/unpacking python-mimeparse (from testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading python-mimeparse-0.1.4.tar.gz Running setup.py (path:/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/python-mimeparse/setup.py) egg_info for package python-mimeparse Downloading/unpacking extras (from testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading extras-0.0.3.tar.gz Running setup.py (path:/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/extras/setup.py) egg_info for package extras Downloading/unpacking traceback2 (from testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading traceback2-1.4.0-py2.py3-none-any.whl Downloading/unpacking six>=1.4 (from unittest2>=1.0.0->testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading six-1.9.0-py2.py3-none-any.whl Downloading/unpacking argparse (from unittest2>=1.0.0->testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading argparse-1.3.0-py2.py3-none-any.whl Downloading/unpacking linecache2 (from traceback2->testtools==1.7.1->-r test_requirements.txt (line 2)) Downloading linecache2-1.0.0-py2.py3-none-any.whl Installing collected packages: flake8, testtools, mock, pep8, mccabe, pyflakes, unittest2, python-mimeparse, extras, traceback2, six, argparse, linecache2 *** Error compiling '/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/testtools/testtools/_compat2x.py'... File "/tmp/venv-snappy-proposed-selftest-agentbil21h3f/build/testtools/testtools/_compat2x.py", line 16 raise exc_class, exc_obj, exc_tb ^ SyntaxError: invalid syntax 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' Running setup.py install for python-mimeparse Running setup.py install for extras Successfully installed flake8 testtools mock pep8 mccabe pyflakes unittest2 python-mimeparse extras traceback2 six argparse linecache2 Cleaning up... running test running egg_info creating snappy_proposed_selftest_agent.egg-info writing snappy_proposed_selftest_agent.egg-info/PKG-INFO writing top-level names to snappy_proposed_selftest_agent.egg-info/top_level.txt writing dependency_links to snappy_proposed_selftest_agent.egg-info/dependency_links.txt writing manifest file 'snappy_proposed_selftest_agent.egg-info/SOURCES.txt' reading manifest file 'snappy_proposed_selftest_agent.egg-info/SOURCES.txt' writing manifest file 'snappy_proposed_selftest_agent.egg-info/SOURCES.txt' running build_ext running flake8 snappy_proposed_selftest_agent/worker.py:81:9: F841 local variable 'e' is assigned to but never used INFO: Executing: bzr branch lp:~canonical-ci-engineering/snappy-proposed-selftest-agent/pip-cache /tmp/tmpah3z8_trpip-cache-/cache INFO: Executing: virtualenv -p python3 /tmp/venv-snappy-proposed-selftest-agentbil21h3f INFO: Executing: /tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/pip install --no-index --find-links=/tmp/tmpah3z8_trpip-cache-/cache -r requirements.txt INFO: Executing: /tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/pip install -r test_requirements.txt INFO: Executing: /tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/python3 setup.py test INFO: Executing: /tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/python3 setup.py flake8 ERROR: Calling `['/tmp/venv-snappy-proposed-selftest-agentbil21h3f/bin/python3', 'setup.py', 'flake8']` failed (with code 1) Branched 8 revisions. test_bad_candidates_message (snappy_proposed_selftest_agent.tests.test_worker.WorkerTests) snappy_proposed_selftest_agent.tests.test_worker.WorkerTests.test_bad_candidates_message ... Unable to unpack payload! Traceback (most recent call last): File "/tmp/tarmac/branch.y3Pwof/snappy_proposed_selftest_agent/worker.py", line 79, in process series = body['series'] KeyError: 'series' Unable to unpack payload! Traceback (most recent call last): File "/tmp/tarmac/branch.y3Pwof/snappy_proposed_selftest_agent/worker.py", line 79, in process series = body['series'] KeyError: 'series' Unable to unpack payload! Traceback (most recent call last): File "/tmp/tarmac/branch.y3Pwof/snappy_proposed_selftest_agent/worker.py", line 79, in process series = body['series'] KeyError: 'series' Unable to unpack payload! Traceback (most recent call last): File "/tmp/tarmac/branch.y3Pwof/snappy_proposed_selftest_agent/worker.py", line 79, in process series = body['series'] KeyError: 'series' Rejecting message due to retry count exceeding maximum. Message will reside on the dead letter queue ok test_package_in_manifest (snappy_proposed_selftest_agent.tests.test_worker.WorkerTests) snappy_proposed_selftest_agent.tests.test_worker.WorkerTests.test_package_in_manifest ... ok test_package_not_in_manifest (snappy_proposed_selftest_agent.tests.test_worker.WorkerTests) snappy_proposed_selftest_agent.tests.test_worker.WorkerTests.test_package_not_in_manifest ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.097s OK