Build failed in Jenkins: jujugui-test-charm #290
Jenkins Notification
devnull at canonical.com
Mon Apr 15 13:41:26 UTC 2013
See <http://10.189.74.2:8080/job/jujugui-test-charm/290/changes>
Changes:
[Nicola Larosa] Freeze the versions of all nodejs dependencies.
Add a generated npm-shrinkwrap.json file that freezes the current versions
of all nodejs dependecies, even the recursive ones.
Update the package.json file keeping the currently fixed package versions.
Also remove the misleading "engines" entry (see
<https://npmjs.org/doc/json.html#engines>), and remove the useless distinction
between "dependencies" and "devDependencies" (see
<https://npmjs.org/doc/json.html#devDependencies>).
Add a documentation section, "Updating the nodejs dependencies" at the
bottom of the docs/hacking.rst file, explaining how this works and how to
update dependencies to new versions. Please check that the whole thing is
understandable and workable: you will use this stuff, after all. :-)
Sorry for the change size: it's mainly due to the 1k+ lines of the generated
npm-shrinkwrap.json file. No need to go over that one, just look at the
changes in the docs/hacking.rst and package.json files.
R=gary.poster, frankban
CC=
https://codereview.appspot.com/8714043
------------------------------------------
[...truncated 111 lines...]
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 (71401ad6-c822-46fc-b784-832b91f1973a)
2013-04-15 13:41:13,700 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/status.py", line 90, in status
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 (71401ad6-c822-46fc-b784-832b91f1973a)
2013-04-15 13:41:13,700 ERROR juju environment not found: machines are not running (71401ad6-c822-46fc-b784-832b91f1973a)
Command '['juju', '-v', 'status', '--environment', 'juju-gui-testing', '--format', 'json']' returned non-zero exit status 1, Retrying in 3 seconds...
Error running 'status --environment juju-gui-testing --format json'
2013-04-15 13:41:17,050 DEBUG Initializing juju status runtime
2013-04-15 13:41:17,059 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-04-15 13:41:17,059 INFO Connecting to environment...
2013-04-15 13:41:17,525 DEBUG openstack: authenticated til u'2013-04-16T13:41:17Z'
2013-04-15 13:41:17,525 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-15 13:41:17,525 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-15 13:41:17,946 DEBUG openstack: 200 'zookeeper-instances: [71401ad6-c822-46fc-b784-832b91f1973a]\n'
2013-04-15 13:41:17,947 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a
2013-04-15 13:41:17,947 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a'
2013-04-15 13:41:18,378 DEBUG openstack: 200 '{"server": {"status": "SHUTOFF", "updated": "2013-04-15T13:41:03Z", "hostId": "27a911efbf2f3fefa3e6d5e7844c7e40c6118e3d50d1bbe715912233", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.230"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a", "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": "71401ad6-c822-46fc-b784-832b91f1973a", "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-15T11:26:22Z", "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/status.py", line 90, in status
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 (71401ad6-c822-46fc-b784-832b91f1973a)
2013-04-15 13:41:18,381 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/status.py", line 90, in status
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 (71401ad6-c822-46fc-b784-832b91f1973a)
2013-04-15 13:41:18,381 ERROR juju environment not found: machines are not running (71401ad6-c822-46fc-b784-832b91f1973a)
Command '['juju', '-v', 'status', '--environment', 'juju-gui-testing', '--format', 'json']' returned non-zero exit status 1, Retrying in 6 seconds...
Error running 'status --environment juju-gui-testing --format json'
2013-04-15 13:41:24,718 DEBUG Initializing juju status runtime
2013-04-15 13:41:24,728 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-04-15 13:41:24,728 INFO Connecting to environment...
2013-04-15 13:41:25,206 DEBUG openstack: authenticated til u'2013-04-16T13:41:25Z'
2013-04-15 13:41:25,207 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-04-15 13:41:25,207 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-04-15 13:41:25,640 DEBUG openstack: 200 'zookeeper-instances: [71401ad6-c822-46fc-b784-832b91f1973a]\n'
2013-04-15 13:41:25,641 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a
2013-04-15 13:41:25,642 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a'
2013-04-15 13:41:26,079 DEBUG openstack: 200 '{"server": {"status": "SHUTOFF", "updated": "2013-04-15T13:41:03Z", "hostId": "27a911efbf2f3fefa3e6d5e7844c7e40c6118e3d50d1bbe715912233", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.230"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/71401ad6-c822-46fc-b784-832b91f1973a", "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": "71401ad6-c822-46fc-b784-832b91f1973a", "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-15T11:26:22Z", "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/status.py", line 90, in status
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 (71401ad6-c822-46fc-b784-832b91f1973a)
2013-04-15 13:41:26,083 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/status.py", line 90, in status
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 (71401ad6-c822-46fc-b784-832b91f1973a)
2013-04-15 13:41:26,083 ERROR juju environment not found: machines are not running (71401ad6-c822-46fc-b784-832b91f1973a)
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 145, in main
wait_for_service()
File "lib/deploy_charm_for_testing.py", line 68, in wait_for_service
state = get_state()
File "lib/deploy_charm_for_testing.py", line 39, in get_state
status = json.loads(get_status())
File "/home/jujugui-merger/gui-branch/lib/retry.py", line 44, in f_retry
return f(*args, **kwargs)
File "lib/deploy_charm_for_testing.py", line 35, in get_status
return juju('status --environment juju-gui-testing --format json')
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', 'status', '--environment', 'juju-gui-testing', '--format', 'json']' returned non-zero exit status 1
Unable to deploy Charm
Collected exit code 1
Final instance state
i-00007999 stopped i-00007998 stopped
+ cat /home/jujugui-merger/exit-status
+ ec=1
+ [ 0 -eq 1 ]
+ wc -l
+ cat /home/jujugui-merger/instance-state
+ [ 2 -lt 2 ]
+ wc -l
+ grep error\|stopped
+ cat /home/jujugui-merger/instance-state
+ [ 2 -gt 0 ]
+ 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