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

Jenkins Notification devnull at canonical.com
Fri May 17 14:50:19 UTC 2013


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

Changes:

[Matthew Scott] Remove appcache

The HTML5 Application Cache will no longer be pertinent with upcoming design changes.  Additionally, it was causing the site to fall over in various ways as time passed or after the config-changed hook was executed.  This MP is sort of "half WIP", as the QA aspect will take some time to observe.  To that end, I've set up a QA instance at https://ec2-54-243-27-37.compute-1.amazonaws.com/ that we can keep an eye on and play around with.  If things look good as compared to http://tinyurl.com/jujucharms, then we can consider landing.

R=gary.poster, bcsaller
CC=
https://codereview.appspot.com/9207045

------------------------------------------
Started by an SCM change
[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: "668 bac at canonical.com-20130517135655-wi5lsxv9cmkb2pf6
" 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".
 M  HACKING
 M  Makefile
 M  app/index.html
-D  manifest.appcache.in
All changes applied successfully.
Now on revision 669.
[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: "669 matthew.scott at canonical.com-20130517144524-aknpj6zkumjhg40x
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:bac at canonical.com-20130517135655-wi5lsxv9cmkb2pf6..revid:matthew.scott at canonical.com-20130517144524-aknpj6zkumjhg40x --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: "669 matthew.scott at canonical.com-20130517144524-aknpj6zkumjhg40x
" stderr: ""
RevisionState revno:669 revid:matthew.scott at canonical.com-20130517144524-aknpj6zkumjhg40x
[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/hudson1962594445501918715.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-05-17 14:46:52,057 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-17 14:46:54,950 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-00007d39
INSTANCE	i-00007d39
+ set +x

+ euca-terminate-instances i-00007d3b
INSTANCE	i-00007d3b
+ set +x

Waiting for instances to terminate
Waiting for instances to terminate
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 54139fc1-83cc-4d83-8bbb-f268ac747d8e (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130516-disk1.img)
Bootstrapping...
Deploying service...
Setting origin for charm to deploy lp:juju-gui
Error running 'deploy --environment juju-gui-testing --config /tmp/tmpqAYBhx cs:~juju-gui/precise/juju-gui'
2013-05-17 14:49:45,179 DEBUG Initializing juju deploy runtime
2013-05-17 14:49:45,179 INFO Searching for charm cs:~juju-gui/precise/juju-gui in charm store
2013-05-17 14:49:45,932 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-05-17 14:49:46,390 DEBUG openstack: authenticated til u'2013-05-18T14:49:46Z'
2013-05-17 14:49:46,391 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors'
2013-05-17 14:49:46,801 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-05-17 14:49:46,802 INFO Connecting to environment...
2013-05-17 14:49:46,802 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-05-17 14:49:46,803 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-05-17 14:49:47,288 DEBUG openstack: 200 'zookeeper-instances: [5ee4560a-1b74-4989-bac9-16493e6ce406]\n'
2013-05-17 14:49:47,289 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406
2013-05-17 14:49:47,289 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406'
2013-05-17 14:49:47,732 DEBUG openstack: 200 '{"server": {"status": "BUILD", "updated": "2013-05-17T14:49:47Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.252"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406", "rel": "bookmark"}], "key_name": null, "image": {"id": "54139fc1-83cc-4d83-8bbb-f268ac747d8e", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/54139fc1-83cc-4d83-8bbb-f268ac747d8e", "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": "5ee4560a-1b74-4989-bac9-16493e6ce406", "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-05-17T14:49:43Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}'
2013-05-17 14:49:47,734 DEBUG Connecting to environment using 10.55.60.252...
2013-05-17 14:49:47,735 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.252" remote_port="2181" local_port="56912".
2013-05-17 14:50:05,844 ERROR SSH forwarding error: ssh: connect to host 10.55.60.252 port 22: No route to host

2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-05-17 14:50:06,280:3300(0x7ff84d0ff700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:56912 sessionTimeout=30000 watcher=0x7ff84cbe8700 sessionId=0 sessionPasswd=<null> context=0x24a05f0 flags=0
2013-05-17 14:50:06,281:3300(0x7ff8488db700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:56912] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-05-17 14:50:16,291:3300(0x7ff8488db700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:56912] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-05-17 14:50:17,735:3300(0x7ff84d0ff700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-05-17 14:50:17,736 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.252 (perhaps still initializing): could not connect before timeout after 1 retries
2013-05-17 14:50:17,736 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-05-17 14:50:17,737 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-05-17 14:50:18,148 DEBUG openstack: 200 'zookeeper-instances: [5ee4560a-1b74-4989-bac9-16493e6ce406]\n'
2013-05-17 14:50:18,150 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406
2013-05-17 14:50:18,150 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406'
2013-05-17 14:50:18,598 DEBUG openstack: 200 '{"server": {"status": "ERROR", "updated": "2013-05-17T14:49:49Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.252"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/5ee4560a-1b74-4989-bac9-16493e6ce406", "rel": "bookmark"}], "key_name": null, "image": {"id": "54139fc1-83cc-4d83-8bbb-f268ac747d8e", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/54139fc1-83cc-4d83-8bbb-f268ac747d8e", "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": "5ee4560a-1b74-4989-bac9-16493e6ce406", "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-05-17T14:49:43Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "fault": {"message": "IOError", "code": 500, "created": "2013-05-17T14:49:49Z"}, "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 (5ee4560a-1b74-4989-bac9-16493e6ce406)
2013-05-17 14:50:18,632 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 (5ee4560a-1b74-4989-bac9-16493e6ce406)

2013-05-17 14:50:18,632 ERROR juju environment not found: machines are not running (5ee4560a-1b74-4989-bac9-16493e6ce406)

Traceback (most recent call last):
  File "lib/deploy_charm_for_testing.py", line 202, in <module>
    sys.exit(main())
  File "lib/deploy_charm_for_testing.py", line 171, in main
    config_file.name, args.charm))
  File "lib/deploy_charm_for_testing.py", line 28, 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/tmpqAYBhx', 'cs:~juju-gui/precise/juju-gui']' returned non-zero exit status 1
Unable to deploy Charm
Collected exit code 1
Final instance state
i-00007d3c 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