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