[johnsca@murdoch:~/juju/matrix] lxd:admin/default:0 master+ 6s Γ .tox/py35/bin/matrix -s raw tests/test_prog
matrix:127:load_suite: Parsing tests/test_prog
websocket:130:connect: Driver connected to juju wss://10.171.42.56:17070/model/8c97bdfe-f5ca-41a3-8f10-1dadd351e405/api
websocket:130:connect: Driver connected to juju wss://10.171.42.56:17070/model/8c97bdfe-f5ca-41a3-8f10-1dadd351e405/api
Start Test deployment Deploy with Glitches
deploy:2:deploy: Deploying cs:bundle/wiki-simple
chaos:18:chaos: Starting chaos
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
matrix:131:execute: Error in Rule(action=Action(command='matrix.plugins.deploy.deploy', args={'version': 'current', 'entity': 'cs:bundle/wiki-simple'}), conditions=[], complete=False)'s action Action(command='matrix.plugins.deploy.deploy', args={'version': 'current', 'entity': 'cs:bundle/wiki-simple'})
Traceback (most recent call last):
File "/home/johnsca/juju/matrix/matrix/model.py", line 124, in execute
result = await self.execute_plugin(context, cmd, rule)
File "/home/johnsca/juju/matrix/matrix/model.py", line 166, in execute_plugin
result = await cmd(context, rule, self, event)
File "/home/johnsca/juju/matrix/matrix/plugins/deploy.py", line 3, in deploy
await context.juju_model.deploy(action.args['entity'])
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 787, in deploy
await handler.execute_plan()
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 1159, in execute_plan
result = await method(*step.args)
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 1328, in setAnnotations
entity = self.model.state.get_entity(entity_type, entity_id)
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 177, in get_entity
self.entity_data(entity_type, entity_id, history_index)
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 131, in entity_data
return self.entity_history(entity_type, entity_id)[history_index]
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 124, in entity_history
return self.state[entity_type][entity_id]
KeyError: 'wiki'
matrix:236:run_once: Pending tasks remain, aborting due to failure
matrix:245:run_once: Exception processing test: deployment
Traceback for <Task finished coro=<RuleEngine.rule_runner() done, defined at /home/johnsca/juju/matrix/matrix/rules.py:137> exception=KeyError('wiki',)> (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 292, in _step
self = None # Needed to break cycles when an exception occurs.
File "/home/johnsca/juju/matrix/matrix/rules.py", line 166, in rule_runner
result = await rule.execute(context)
File "/home/johnsca/juju/matrix/matrix/model.py", line 273, in execute
result = await self.action.execute(context, self)
File "/home/johnsca/juju/matrix/matrix/model.py", line 132, in execute
raise
File "/home/johnsca/juju/matrix/matrix/model.py", line 166, in execute_plugin
result = await cmd(context, rule, self, event)
File "/home/johnsca/juju/matrix/matrix/plugins/deploy.py", line 3, in deploy
await context.juju_model.deploy(action.args['entity'])
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 787, in deploy
await handler.execute_plan()
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 1159, in execute_plan
result = await method(*step.args)
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 1328, in setAnnotations
entity = self.model.state.get_entity(entity_type, entity_id)
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 179, in get_entity
return None
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 131, in entity_data
return self.entity_history(entity_type, entity_id)[history_index]
File "/home/johnsca/juju/matrix/.tox/py35/lib/python3.5/site-packages/juju/model.py", line 124, in entity_history
return self.state[entity_type][entity_id]
KeyError: 'wiki'
matrix:249:run_once: deployment Complete False
Test Complete deployment False
Start Test traffic Traffic in the face of Chaos
deploy:2:deploy: Deploying cs:bundle/wiki-simple
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
requests.packages.urllib3.connectionpool:805:_new_conn: Starting new HTTPS connection (1): api.jujucharms.com
test_traffic:4:test_traffic: Start Traffic
chaos:18:chaos: Starting chaos
chaos:44:chaos: Stop the chaos
test_traffic:11:test_traffic: Stop Traffic
chaos:44:chaos: Stop the chaos
deploy:4:deploy: Deploy DONE
matrix:249:run_once: traffic Complete True
Test Complete traffic True
Run Complete
deployment ✕
traffic ✓