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

Jenkins Notification devnull at canonical.com
Tue Jun 4 12:27:28 UTC 2013


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

------------------------------------------
Started by user garyposter
[EnvInject] - Loading node environment variables.
Building remotely on lp-quantal-server-amd64
$ bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/>
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "702 benji.york at canonical.com-20130603174849-9u1f7m6rm3a7ocyh
" stderr: ""
[jujugui-test-charm] $ bzr pull --overwrite lp:juju-gui
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~juju-gui/juju-gui/trunk is permanently redirected to http://bazaar.launchpad.net/~juju-gui/juju-gui/trunk/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
No revisions or tags to pull.
[jujugui-test-charm] $ bzr revert
$ bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/>
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "702 benji.york at canonical.com-20130603174849-9u1f7m6rm3a7ocyh
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:benji.york at canonical.com-20130603174849-9u1f7m6rm3a7ocyh..revid:benji.york at canonical.com-20130603174849-9u1f7m6rm3a7ocyh --long --show-ids
Getting local revision...
$ bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/>
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "702 benji.york at canonical.com-20130603174849-9u1f7m6rm3a7ocyh
" stderr: ""
RevisionState revno:702 revid:benji.york at canonical.com-20130603174849-9u1f7m6rm3a7ocyh
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
JUJU_INSTANCE_IP=91.189.93.93
JUJU_BRANCH=lp:juju-gui
JUJU_CHARM=cs:~juju-gui/precise/juju-gui
FAIL_FAST=1
JUJU_GUI_TEST_BROWSERS=ie chrome firefox

[EnvInject] - Variables injected successfully.
[jujugui-test-charm] $ /bin/sh -xe /tmp/hudson5232761274013315166.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-06-04 12:24:52,744 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-04 12:24:54,270 INFO 'destroy_environment' command finished successfully
WARNING: this command will destroy the 'juju-gui-testing' environment (type: openstack).
This includes all machines, services, data, and other resources. Continue [y/N] 
Waiting for instances to terminate
Waiting for instances to terminate
Waiting for instances to terminate
This is taking too long. Now trying euca-terminate-instances.

+ euca-terminate-instances i-000081ad
INSTANCE	i-000081ad
+ set +x

Waiting for instances to terminate
Lightweight Checkout of lp:juju-gui
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
JUJU_INSTANCE_IP=91.189.93.93
Running Tests
Using image f2ca48ce-30d5-4f1f-9075-12e64510368d (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130603-disk1.img)
Bootstrapping...
Deploying service...
Setting origin for charm to deploy lp:juju-gui
Error running 'deploy --environment juju-gui-testing --config /tmp/tmpqjcZfu cs:~juju-gui/precise/juju-gui'
2013-06-04 12:26:53,125 DEBUG Initializing juju deploy runtime
2013-06-04 12:26:53,126 INFO Searching for charm cs:~juju-gui/precise/juju-gui in charm store
2013-06-04 12:26:53,886 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-06-04 12:26:54,337 DEBUG openstack: authenticated til u'2013-06-05T12:26:54Z'
2013-06-04 12:26:54,337 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors'
2013-06-04 12:26:54,748 DEBUG openstack: 200 '{"flavors": [{"id": "1", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors/1", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/1", "rel": "bookmark"}], "name": "m1.tiny"}, {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}], "name": "m1.small"}, {"id": "3", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors/3", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/3", "rel": "bookmark"}], "name": "m1.medium"}, {"id": "4", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors/4", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/4", "rel": "bookmark"}], "name": "m1.large"}]}'
2013-06-04 12:26:54,748 INFO Connecting to environment...
2013-06-04 12:26:54,749 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-06-04 12:26:54,749 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-06-04 12:26:55,163 DEBUG openstack: 200 'zookeeper-instances: [28a4a71e-98b7-4cc8-9ebf-245feb30e638]\n'
2013-06-04 12:26:55,164 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638
2013-06-04 12:26:55,164 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638'
2013-06-04 12:26:55,605 DEBUG openstack: 200 '{"server": {"status": "BUILD", "updated": "2013-06-04T12:26:55Z", "hostId": "27a911efbf2f3fefa3e6d5e7844c7e40c6118e3d50d1bbe715912233", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.38"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638", "rel": "bookmark"}], "key_name": null, "image": {"id": "f2ca48ce-30d5-4f1f-9075-12e64510368d", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/f2ca48ce-30d5-4f1f-9075-12e64510368d", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "spawning", "OS-EXT-STS:vm_state": "building", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "28a4a71e-98b7-4cc8-9ebf-245feb30e638", "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-06-04T12:26:51Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}'
2013-06-04 12:26:55,611 DEBUG Connecting to environment using 10.55.60.38...
2013-06-04 12:26:55,612 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.38" remote_port="2181" local_port="49073".
2013-06-04 12:26:58,770 ERROR SSH forwarding error: ssh: connect to host 10.55.60.38 port 22: No route to host

2013-06-04 12:26:59,134:1961(0x7fe8bb365700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-06-04 12:26:59,134:1961(0x7fe8bb365700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-06-04 12:26:59,135:1961(0x7fe8bb365700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-06-04 12:26:59,135:1961(0x7fe8bb365700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-06-04 12:26:59,135:1961(0x7fe8bb365700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-06-04 12:26:59,136:1961(0x7fe8bb365700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-06-04 12:26:59,136:1961(0x7fe8bb365700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-06-04 12:26:59,136:1961(0x7fe8bb365700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-06-04 12:26:59,136:1961(0x7fe8bb365700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:49073 sessionTimeout=30000 watcher=0x7fe8bae4e700 sessionId=0 sessionPasswd=<null> context=0x3695a90 flags=0
2013-06-04 12:26:59,137:1961(0x7fe8b6b41700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:49073] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-04 12:27:09,148:1961(0x7fe8b6b41700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:49073] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-04 12:27:19,148:1961(0x7fe8b6b41700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:49073] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-04 12:27:25,612:1961(0x7fe8bb365700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-06-04 12:27:25,613 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.38 (perhaps still initializing): could not connect before timeout after 1 retries
2013-06-04 12:27:25,614 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-06-04 12:27:25,614 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-06-04 12:27:26,042 DEBUG openstack: 200 'zookeeper-instances: [28a4a71e-98b7-4cc8-9ebf-245feb30e638]\n'
2013-06-04 12:27:26,043 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638
2013-06-04 12:27:26,044 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638'
2013-06-04 12:27:26,492 DEBUG openstack: 200 '{"server": {"status": "ERROR", "updated": "2013-06-04T12:26:57Z", "hostId": "27a911efbf2f3fefa3e6d5e7844c7e40c6118e3d50d1bbe715912233", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.38"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/28a4a71e-98b7-4cc8-9ebf-245feb30e638", "rel": "bookmark"}], "key_name": null, "image": {"id": "f2ca48ce-30d5-4f1f-9075-12e64510368d", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/f2ca48ce-30d5-4f1f-9075-12e64510368d", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "28a4a71e-98b7-4cc8-9ebf-245feb30e638", "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-06-04T12:26:51Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "fault": {"message": "ProcessExecutionError", "code": 500, "created": "2013-06-04T12:26:57Z"}, "OS-EXT-STS:power_state": 0, "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 (28a4a71e-98b7-4cc8-9ebf-245feb30e638)
2013-06-04 12:27:26,496 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 (28a4a71e-98b7-4cc8-9ebf-245feb30e638)

2013-06-04 12:27:26,496 ERROR juju environment not found: machines are not running (28a4a71e-98b7-4cc8-9ebf-245feb30e638)

Traceback (most recent call last):
  File "lib/deploy_charm_for_testing.py", line 223, in <module>
    sys.exit(main())
  File "lib/deploy_charm_for_testing.py", line 192, in main
    config_file.name, args.charm))
  File "lib/deploy_charm_for_testing.py", line 44, 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/tmpqjcZfu', 'cs:~juju-gui/precise/juju-gui']' returned non-zero exit status 1
Unable to deploy Charm.
Quitting...
2013-06-04 12:27:26,890 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-04 12:27:28,244 INFO 'destroy_environment' command finished successfully
WARNING: this command will destroy the 'juju-gui-testing' environment (type: openstack).
This includes all machines, services, data, and other resources. Continue [y/N] Collected exit code 1
Final instance state
i-000081cc error
+ 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