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

Jenkins Notification devnull at canonical.com
Mon Apr 8 23:55:03 UTC 2013


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

Changes:

[Benjamin Saller] Annotations support for sandbox/fakebackend

getAnnotations/updateAnnotations/removeAnnotations support including
for environment.

R=gary.poster, jeff.pihach
CC=
https://codereview.appspot.com/8315046

------------------------------------------
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: "513 rick.harding at canonical.com-20130408163708-yl0uxmnt8v11zdcx
" 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  app/models/models.js
 M  app/store/env/fakebackend.js
 M  app/store/env/sandbox.js
 M  test/index.html
 M  test/test_fakebackend.js
 M  test/test_model.js
 M  test/test_sandbox.js
All changes applied successfully.
Now on revision 514.
[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: "514 bcsaller at gmail.com-20130408234552-p5rsuognf3w7ykim
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:rick.harding at canonical.com-20130408163708-yl0uxmnt8v11zdcx..revid:bcsaller at gmail.com-20130408234552-p5rsuognf3w7ykim --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: "514 bcsaller at gmail.com-20130408234552-p5rsuognf3w7ykim
" stderr: ""
RevisionState revno:514 revid:bcsaller at gmail.com-20130408234552-p5rsuognf3w7ykim
[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/hudson3695151288137473983.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-08 23:50:41,404 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-08 23:50:44,322 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-000078cc
INSTANCE	i-000078cc
+ set +x

Waiting for instances to terminate
Waiting for instances to terminate
Waiting for instances to terminate
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
Bootstrapping...
Deploying service...
Setting origin for charm to deploy lp:juju-gui
Error running 'deploy --environment juju-gui-testing --config /tmp/tmp21osQY cs:~juju-gui/precise/juju-gui'
2013-04-08 23:54:29,466 DEBUG Initializing juju deploy runtime
2013-04-08 23:54:29,466 INFO Searching for charm cs:~juju-gui/precise/juju-gui in charm store
2013-04-08 23:54:30,229 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-04-08 23:54:30,666 DEBUG openstack: authenticated til u'2013-04-09T23:54:30Z'
2013-04-08 23:54:30,667 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/flavors'
2013-04-08 23:54:31,081 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-04-08 23:54:31,082 INFO Connecting to environment...
2013-04-08 23:54:31,083 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-08 23:54:31,083 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-08 23:54:31,489 DEBUG openstack: 200 'zookeeper-instances: [30d2c0fc-2b08-4985-97db-682ce0facb61]\n'
2013-04-08 23:54:31,490 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61
2013-04-08 23:54:31,490 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61'
2013-04-08 23:54:31,924 DEBUG openstack: 200 '{"server": {"status": "BUILD", "updated": "2013-04-08T23:54:31Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.96"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61", "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": "spawning", "OS-EXT-STS:vm_state": "building", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "30d2c0fc-2b08-4985-97db-682ce0facb61", "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-08T23:54:27Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}'
2013-04-08 23:54:31,925 DEBUG Connecting to environment using 10.55.60.96...
2013-04-08 23:54:31,925 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.96" remote_port="2181" local_port="58587".
2013-04-08 23:54:50,057 ERROR SSH forwarding error: ssh: connect to host 10.55.60.96 port 22: No route to host

2013-04-08 23:54:50,463:22000(0x7f66161f0700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-04-08 23:54:50,463:22000(0x7f66161f0700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-04-08 23:54:50,463:22000(0x7f66161f0700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-04-08 23:54:50,463:22000(0x7f66161f0700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-15-generic
2013-04-08 23:54:50,463:22000(0x7f66161f0700):ZOO_INFO at log_env@671: Client environment:os.version=#22-Ubuntu SMP Wed Sep 19 20:01:43 UTC 2012
2013-04-08 23:54:50,464:22000(0x7f66161f0700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-04-08 23:54:50,464:22000(0x7f66161f0700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-04-08 23:54:50,464:22000(0x7f66161f0700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-04-08 23:54:50,464:22000(0x7f66161f0700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:58587 sessionTimeout=30000 watcher=0x7f6615cd9700 sessionId=0 sessionPasswd=<null> context=0x2a8de80 flags=0
2013-04-08 23:54:50,465:22000(0x7f66119cc700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:58587] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-08 23:55:00,472:22000(0x7f66119cc700):ZOO_ERROR at handle_socket_error_msg@1579: Socket [127.0.0.1:58587] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2013-04-08 23:55:01,926:22000(0x7f66161f0700):ZOO_INFO at zookeeper_close@2319: Freeing zookeeper resources for sessionId=0

2013-04-08 23:55:01,927 DEBUG Retrying connection: Cannot connect to environment using 10.55.60.96 (perhaps still initializing): could not connect before timeout after 1 retries
2013-04-08 23:55:01,927 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-08 23:55:01,927 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-08 23:55:02,336 DEBUG openstack: 200 'zookeeper-instances: [30d2c0fc-2b08-4985-97db-682ce0facb61]\n'
2013-04-08 23:55:02,337 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61
2013-04-08 23:55:02,337 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61'
2013-04-08 23:55:02,769 DEBUG openstack: 200 '{"server": {"status": "ERROR", "updated": "2013-04-08T23:54:34Z", "hostId": "4fc523921b1d03e89b9be6fedf4dd5ff1f0221940902aa43e0e116ef", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.96"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/30d2c0fc-2b08-4985-97db-682ce0facb61", "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": "error", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "30d2c0fc-2b08-4985-97db-682ce0facb61", "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-08T23:54:27Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "fault": {"message": "OSError", "code": 500, "created": "2013-04-08T23:54:34Z"}, "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 (30d2c0fc-2b08-4985-97db-682ce0facb61)
2013-04-08 23:55:02,775 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 (30d2c0fc-2b08-4985-97db-682ce0facb61)

2013-04-08 23:55:02,775 ERROR juju environment not found: machines are not running (30d2c0fc-2b08-4985-97db-682ce0facb61)

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/tmp21osQY', 'cs:~juju-gui/precise/juju-gui']' returned non-zero exit status 1
Unable to deploy Charm
Collected exit code 1
Final instance state
i-000078ce 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