Build failed in Jenkins: jujugui-test-charm #300

Jenkins Notification devnull at canonical.com
Tue Apr 16 09:21:00 UTC 2013


See <http://10.189.74.2:8080/job/jujugui-test-charm/300/changes>

Changes:

[Francesco Banconi] Fix retry and resolved buttons never displayed

When the GUI is connected to PyJuju, error states are
represented by an agent state like "install-error".
In juju-core this is just an "error", and the info
about what went wrong can be found in the StatusInfo.
This branch makes the GUI able to handle both cases, and
as a consequence it shows the "retry" and "resolved"
buttons in the unit detail view when required.

R=bac, teknico
CC=
https://codereview.appspot.com/8589050

------------------------------------------
[...truncated 919 lines...]
2013-04-16 09:17:54,741 DEBUG Connecting to environment using 10.55.60.43...
2013-04-16 09:17:54,742 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.43" remote_port="2181" local_port="49175".
2013-04-16 09:17:57,840 ERROR SSH forwarding error: ssh: connect to host 10.55.60.43 port 22: No route to host

2013-04-16 09:17:58,252:11702(0x7f5a4087f700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-16 09:17:58,253:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:49175 sessionTimeout=30000 watcher=0x7f5a40368700 sessionId=0 sessionPasswd=<null> context=0x2bbfff0 flags=0
2013-04-16 09:17:58,253:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:49175] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:18:08,262:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:49175] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:18:18,267:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:49175] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:18:24,742:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-16 09:18:24,743 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.43 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-16 09:18:24,744 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-16 09:18:24,744 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-16 09:18:25,180 DEBUG openstack: 200 'zookeeper-instances: [ec9b2abd-3f28-4fd5-af30-e4cabb552146]\n'
2013-04-16 09:18:25,182 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146
2013-04-16 09:18:25,182 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146'
2013-04-16 09:18:25,612 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-04-16T09:02:11Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.43"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "bookmark"}], "key_name": null, "image": {"id": "bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "ec9b2abd-3f28-4fd5-af30-e4cabb552146", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-04-16T09:01:29Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-04-16 09:18:25,613 DEBUG Connecting to environment using 10.55.60.43...
2013-04-16 09:18:25,613 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.43" remote_port="2181" local_port="45858".
2013-04-16 09:18:28,704 ERROR SSH forwarding error: ssh: connect to host 10.55.60.43 port 22: No route to host

2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-16 09:18:29,124:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:45858 sessionTimeout=30000 watcher=0x7f5a40368700 sessionId=0 sessionPasswd=<null> context=0x2c06cd0 flags=0
2013-04-16 09:18:29,125:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:45858] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:18:39,129:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:45858] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:18:49,134:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:45858] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:18:55,613:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-16 09:18:55,614 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.43 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-16 09:18:55,615 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-16 09:18:55,615 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-16 09:18:56,054 DEBUG openstack: 200 'zookeeper-instances: [ec9b2abd-3f28-4fd5-af30-e4cabb552146]\n'
2013-04-16 09:18:56,056 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146
2013-04-16 09:18:56,056 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146'
2013-04-16 09:18:56,490 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-04-16T09:02:11Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.43"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "bookmark"}], "key_name": null, "image": {"id": "bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "ec9b2abd-3f28-4fd5-af30-e4cabb552146", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-04-16T09:01:29Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-04-16 09:18:56,491 DEBUG Connecting to environment using 10.55.60.43...
2013-04-16 09:18:56,492 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.43" remote_port="2181" local_port="41454".
2013-04-16 09:18:59,591 ERROR SSH forwarding error: ssh: connect to host 10.55.60.43 port 22: No route to host

2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-16 09:19:00,005:11702(0x7f5a4087f700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-16 09:19:00,006:11702(0x7f5a4087f700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-16 09:19:00,006:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:41454 sessionTimeout=30000 watcher=0x7f5a40368700 sessionId=0 sessionPasswd=<null> context=0x2bbe6d0 flags=0
2013-04-16 09:19:00,006:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:41454] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:19:10,010:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:41454] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:19:20,019:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:41454] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:19:26,492:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-16 09:19:26,493 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.43 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-16 09:19:26,493 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-16 09:19:26,494 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-16 09:19:26,901 DEBUG openstack: 200 'zookeeper-instances: [ec9b2abd-3f28-4fd5-af30-e4cabb552146]\n'
2013-04-16 09:19:26,902 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146
2013-04-16 09:19:26,902 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146'
2013-04-16 09:19:27,374 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-04-16T09:02:11Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.43"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "bookmark"}], "key_name": null, "image": {"id": "bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "ec9b2abd-3f28-4fd5-af30-e4cabb552146", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-04-16T09:01:29Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-04-16 09:19:27,375 DEBUG Connecting to environment using 10.55.60.43...
2013-04-16 09:19:27,376 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.43" remote_port="2181" local_port="45674".
2013-04-16 09:19:30,467 ERROR SSH forwarding error: ssh: connect to host 10.55.60.43 port 22: No route to host

2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-16 09:19:30,886:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:45674 sessionTimeout=30000 watcher=0x7f5a40368700 sessionId=0 sessionPasswd=<null> context=0x2b55900 flags=0
2013-04-16 09:19:30,886:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:45674] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:19:40,896:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:45674] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:19:50,906:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:45674] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:19:57,377:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-16 09:19:57,377 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.43 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-16 09:19:57,378 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-16 09:19:57,378 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-16 09:19:57,794 DEBUG openstack: 200 'zookeeper-instances: [ec9b2abd-3f28-4fd5-af30-e4cabb552146]\n'
2013-04-16 09:19:57,795 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146
2013-04-16 09:19:57,795 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146'
2013-04-16 09:19:58,244 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-04-16T09:02:11Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.43"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "bookmark"}], "key_name": null, "image": {"id": "bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "ec9b2abd-3f28-4fd5-af30-e4cabb552146", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-04-16T09:01:29Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-04-16 09:19:58,245 DEBUG Connecting to environment using 10.55.60.43...
2013-04-16 09:19:58,245 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.43" remote_port="2181" local_port="35349".
2013-04-16 09:20:01,344 ERROR SSH forwarding error: ssh: connect to host 10.55.60.43 port 22: No route to host

2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-16 09:20:01,757:11702(0x7f5a4087f700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-16 09:20:01,758:11702(0x7f5a4087f700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-16 09:20:01,758:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:35349 sessionTimeout=30000 watcher=0x7f5a40368700 sessionId=0 sessionPasswd=<null> context=0x2cc5850 flags=0
2013-04-16 09:20:01,758:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:35349] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:20:11,769:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:35349] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:20:21,770:11702(0x7f5a37fff700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:35349] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:20:28,246:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-16 09:20:28,247 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.43 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-16 09:20:28,248 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-16 09:20:28,248 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-16 09:20:28,722 DEBUG openstack: 200 'zookeeper-instances: [ec9b2abd-3f28-4fd5-af30-e4cabb552146]\n'
2013-04-16 09:20:28,723 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146
2013-04-16 09:20:28,723 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146'
2013-04-16 09:20:29,200 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-04-16T09:02:11Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.43"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "bookmark"}], "key_name": null, "image": {"id": "bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "ec9b2abd-3f28-4fd5-af30-e4cabb552146", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-04-16T09:01:29Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-04-16 09:20:29,201 DEBUG Connecting to environment using 10.55.60.43...
2013-04-16 09:20:29,201 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.43" remote_port="2181" local_port="52033".
2013-04-16 09:20:32,296 ERROR SSH forwarding error: ssh: connect to host 10.55.60.43 port 22: No route to host

2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-16 09:20:32,713:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:52033 sessionTimeout=30000 watcher=0x7f5a40368700 sessionId=0 sessionPasswd=<null> context=0x2b33b30 flags=0
2013-04-16 09:20:32,714:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:52033] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:20:42,719:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:52033] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:20:52,723:11702(0x7f5a377fe700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:52033] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-16 09:20:59,202:11702(0x7f5a4087f700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-16 09:20:59,203 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.43 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-16 09:20:59,203 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-16 09:20:59,203 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-16 09:20:59,639 DEBUG openstack: 200 'zookeeper-instances: [ec9b2abd-3f28-4fd5-af30-e4cabb552146]\n'
2013-04-16 09:20:59,640 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146
2013-04-16 09:20:59,640 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146'
2013-04-16 09:21:00,110 DEBUG openstack: 200 '{"server": {"status": "SHUTOFF", "updated": "2013-04-16T09:20:44Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.43"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/ec9b2abd-3f28-4fd5-af30-e4cabb552146", "rel": "bookmark"}], "key_name": null, "image": {"id": "bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/bb636e4f-79d7-4d6b-b13b-c7d53419fd5a", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "stopped", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "ec9b2abd-3f28-4fd5-af30-e4cabb552146", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-04-16T09:01:29Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 4, "config_drive": "", "metadata": {}}}'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1101, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/control/deploy.py", line 139, in deploy
    client = yield provider.connect()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/connect.py", line 43, in run
    client = yield self._internal_connect(share)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/connect.py", line 59, in _internal_connect
    candidates = yield self._provider.get_zookeeper_machines()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/findzookeepers.py", line 41, in find_zookeepers
    % ", ".join(map(str, missing_instance_ids)))
juju.errors.EnvironmentNotFound: juju environment not found: machines are not running (ec9b2abd-3f28-4fd5-af30-e4cabb552146)
2013-04-16 09:21:00,197 ERROR Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1101, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/control/deploy.py", line 139, in deploy
    client = yield provider.connect()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/connect.py", line 43, in run
    client = yield self._internal_connect(share)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/connect.py", line 59, in _internal_connect
    candidates = yield self._provider.get_zookeeper_machines()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1043, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/findzookeepers.py", line 41, in find_zookeepers
    % ", ".join(map(str, missing_instance_ids)))
juju.errors.EnvironmentNotFound: juju environment not found: machines are not running (ec9b2abd-3f28-4fd5-af30-e4cabb552146)

2013-04-16 09:21:00,197 ERROR juju environment not found: machines are not running (ec9b2abd-3f28-4fd5-af30-e4cabb552146)

Traceback (most recent call last):
  File "lib/deploy_charm_for_testing.py", line 155, in <module>
    sys.exit(main())
  File "lib/deploy_charm_for_testing.py", line 124, in main
    config_file.name, args.charm))
  File "lib/deploy_charm_for_testing.py", line 23, in juju
    return juju_command(*s.split())
  File "/usr/lib/python2.7/dist-packages/shelltoolbox/__init__.py", line 133, in callable_command
    return run(*all_args)
  File "/usr/lib/python2.7/dist-packages/shelltoolbox/__init__.py", line 452, in run
    raise exception
subprocess.CalledProcessError: Command '['juju', '-v', 'deploy', '--environment', 'juju-gui-testing', '--config', '/tmp/tmp_nECan', 'cs:~juju-gui/precise/juju-gui']' returned non-zero exit status 1
Unable to deploy Charm
Collected exit code 1
Final instance state
i-000079c6 stopped
+ cat /home/jujugui-merger/exit-status
+ ec=1
+ [ 0 -eq 1 ]
+ wc -l
+ cat /home/jujugui-merger/instance-state
+ [ 1 -lt 2 ]
+ echo RETRY THIS TEST RUN!
RETRY THIS TEST RUN!
+ exit 1
Build step 'Execute shell' marked build as failure



More information about the Juju-GUI mailing list