juju.control.tests.test_status.StatusTest.test_render_dot broken

Bug #901343 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Critical
Clint Byrum

Bug Description

===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
    result = g.send(result)
  File "/build/buildd/juju-0.5+bzr428/juju/control/tests/test_status.py", line 681, in test_render_dot
    result)
twisted.trial.unittest.FailTest: 'wordpress -> varnish [dir=none, label=proxy,' not in 'digraph firstenv {\nsubgraph cluster_varnish {\nbgcolor="#dedede";\nshape=component;\nlabel="varnish service";\nvarnish [color="#772953", fontcolor="#ffffff", shape=component, style=filled, label=<varnish<br/>local:series/varnish-1>];\n"varnish/1" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<varnish/1<br/><i>varnish-1.example.com</i>>];\nvarnish -> "varnish/1";\n"varnish/0" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<varnish/0<br/><i>varnish-0.example.com</i>>];\nvarnish -> "varnish/0";\n}\n\nwordpress -> varnish [dir=none, label=proxy];\nsubgraph cluster_memcache {\nbgcolor="#dedede";\nshape=component;\nlabel="memcache service";\nmemcache [color="#772953", fontcolor="#ffffff", shape=component, style=filled, label=<memcache<br/>local:series/dummy-1>];\n"memcache/0" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<memcache/0<br/><i>memcache-0.example.com</i>>];\nmemcache -> "memcache/0";\n"memcache/1" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<memcache/1<br/><i>memcache-1.example.com</i>>];\nmemcache -> "memcache/1";\n}\n\nwordpress -> memcache [dir=none, label=cache];\nsubgraph cluster_wordpress {\nbgcolor="#dedede";\nshape=component;\nlabel="wordpress service";\nwordpress [color="#772953", fontcolor="#ffffff", shape=component, style=filled, label=<wordpress<br/>local:series/wordpress-3>];\n"wordpress/0" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<wordpress/0<br/><i>wordpress-0.example.com</i>>];\nwordpress -> "wordpress/0";\n}\n\nmysql -> wordpress [dir=none, label=db];\nsubgraph cluster_mysql {\nbgcolor="#dedede";\nshape=component;\nlabel="mysql service";\nmysql [color="#772953", fontcolor="#ffffff", shape=component, style=filled, label=<mysql<br/>local:series/mysql-1>];\n"mysql/0" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<mysql/0<br/><i>mysql-0.example.com</i>>];\nmysql -> "mysql/0";\n"mysql/1" [color="#DD4814", fontcolor="#ffffff", shape=box, style=filled, label=<mysql/1<br/><i>mysql-1.example.com</i>>];\nmysql -> "mysql/1";\n}\n\n}\n'

juju.control.tests.test_status.StatusTest.test_render_dot
-------------------------------------------------------------------------------
Ran 1617 tests in 289.667s

Change was made w/o running tests. Fixes will need to be made to the test to account for the new expected output.

Related branches

Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.