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

Jenkins Notification devnull at canonical.com
Mon Jun 24 20:42:04 UTC 2013


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

------------------------------------------
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: "757 jcsackett at canonical.com-20130624202653-92h8xxbxkeoysep0
" 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: "757 jcsackett at canonical.com-20130624202653-92h8xxbxkeoysep0
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:jcsackett at canonical.com-20130624202653-92h8xxbxkeoysep0..revid:jcsackett at canonical.com-20130624202653-92h8xxbxkeoysep0 --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: "757 jcsackett at canonical.com-20130624202653-92h8xxbxkeoysep0
" stderr: ""
RevisionState revno:757 revid:jcsackett at canonical.com-20130624202653-92h8xxbxkeoysep0
[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/hudson1824848092011843929.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-06-24 20:38:48,778 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-24 20:38:50,178 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-00008666
INSTANCE	i-00008666
+ 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
virtualenv virtualenv --system-site-packages
New python executable in virtualenv/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
virtualenv/bin/easy_install archives/selenium-2.33.0.tar.gz
Processing selenium-2.33.0.tar.gz
Running selenium-2.33.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-HlIfr2/selenium-2.33.0/egg-dist-tmp-fl80Xi
Adding selenium 2.33.0 to easy-install.pth file

Installed /home/jujugui-merger/gui-branch/virtualenv/lib/python2.7/site-packages/selenium-2.33.0-py2.7.egg
Processing dependencies for selenium==2.33.0
Finished processing dependencies for selenium==2.33.0
Using image c3883bd2-ebd2-41a7-93e9-7c6d597b225b (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130624-disk1.img)
Bootstrapping...
Deploying service...
Setting origin for charm to deploy lp:juju-gui
Error running 'deploy --environment juju-gui-testing --config /tmp/tmpebB2mP cs:~juju-gui/precise/juju-gui'
2013-06-24 20:41:28,429 DEBUG Initializing juju deploy runtime
2013-06-24 20:41:28,429 INFO Searching for charm cs:~juju-gui/precise/juju-gui in charm store
2013-06-24 20:41:29,182 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-06-24 20:41:29,625 DEBUG openstack: authenticated til u'2013-06-25T20:41:29Z'
2013-06-24 20:41:29,625 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors'
2013-06-24 20:41:30,029 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-24 20:41:30,029 INFO Connecting to environment...
2013-06-24 20:41:30,030 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-06-24 20:41:30,030 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-06-24 20:41:30,439 DEBUG openstack: 200 'zookeeper-instances: [cf0d43a6-4399-455b-b31e-ac9e1d50d550]\n'
2013-06-24 20:41:30,440 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550
2013-06-24 20:41:30,440 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550'
2013-06-24 20:41:30,879 DEBUG openstack: 200 '{"server": {"status": "BUILD", "updated": "2013-06-24T20:41:30Z", "hostId": "27a911efbf2f3fefa3e6d5e7844c7e40c6118e3d50d1bbe715912233", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.78"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550", "rel": "bookmark"}], "key_name": null, "image": {"id": "c3883bd2-ebd2-41a7-93e9-7c6d597b225b", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/c3883bd2-ebd2-41a7-93e9-7c6d597b225b", "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": "cf0d43a6-4399-455b-b31e-ac9e1d50d550", "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-24T20:41:26Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}'
2013-06-24 20:41:30,880 DEBUG Connecting to environment using 10.55.60.78...
2013-06-24 20:41:30,881 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.78" remote_port="2181" local_port="39381".
2013-06-24 20:41:49,000 ERROR SSH forwarding error: ssh: connect to host 10.55.60.78 port 22: No route to host

2013-06-24 20:41:49,425:19376(0x7fbe962ee700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-06-24 20:41:49,425:19376(0x7fbe962ee700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-06-24 20:41:49,425:19376(0x7fbe962ee700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-06-24 20:41:49,425:19376(0x7fbe962ee700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-06-24 20:41:49,425:19376(0x7fbe962ee700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-06-24 20:41:49,426:19376(0x7fbe962ee700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-06-24 20:41:49,426:19376(0x7fbe962ee700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-06-24 20:41:49,426:19376(0x7fbe962ee700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-06-24 20:41:49,426:19376(0x7fbe962ee700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:39381 sessionTimeout=30000 watcher=0x7fbe95dd7700 sessionId=0 sessionPasswd=<null> context=0x34d3060 flags=0
2013-06-24 20:41:49,427:19376(0x7fbe91aca700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:39381] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-24 20:41:59,431:19376(0x7fbe91aca700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:39381] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-06-24 20:42:00,881:19376(0x7fbe962ee700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-06-24 20:42:00,882 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.78 (perhaps still initializing): could not connect before timeout after 1 retries
2013-06-24 20:42:00,883 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-06-24 20:42:00,883 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-06-24 20:42:01,352 DEBUG openstack: 200 'zookeeper-instances: [cf0d43a6-4399-455b-b31e-ac9e1d50d550]\n'
2013-06-24 20:42:01,354 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550
2013-06-24 20:42:01,354 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550'
2013-06-24 20:42:01,831 DEBUG openstack: 200 '{"server": {"status": "ERROR", "updated": "2013-06-24T20:41:33Z", "hostId": "27a911efbf2f3fefa3e6d5e7844c7e40c6118e3d50d1bbe715912233", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.78"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/cf0d43a6-4399-455b-b31e-ac9e1d50d550", "rel": "bookmark"}], "key_name": null, "image": {"id": "c3883bd2-ebd2-41a7-93e9-7c6d597b225b", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/c3883bd2-ebd2-41a7-93e9-7c6d597b225b", "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": "cf0d43a6-4399-455b-b31e-ac9e1d50d550", "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-24T20:41:26Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "fault": {"message": "ProcessExecutionError", "code": 500, "created": "2013-06-24T20:41:33Z"}, "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 (cf0d43a6-4399-455b-b31e-ac9e1d50d550)
2013-06-24 20:42:01,834 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 (cf0d43a6-4399-455b-b31e-ac9e1d50d550)

2013-06-24 20:42:01,835 ERROR juju environment not found: machines are not running (cf0d43a6-4399-455b-b31e-ac9e1d50d550)

Traceback (most recent call last):
  File "lib/deploy_charm_for_testing.py", line 222, in <module>
    sys.exit(main())
  File "lib/deploy_charm_for_testing.py", line 191, 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/tmpebB2mP', 'cs:~juju-gui/precise/juju-gui']' returned non-zero exit status 1
Unable to deploy Charm.
Quitting...
2013-06-24 20:42:02,212 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-24 20:42:03,633 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-00008667 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