Build failed in Jenkins: jujugui-test-charm #281
Jenkins Notification
devnull at canonical.com
Fri Apr 12 06:25:18 UTC 2013
See <http://10.189.74.2:8080/job/jujugui-test-charm/281/changes>
Changes:
[Gary Poster] Fix bug 1167967 (hopefully)
This branch attempts to fix the referenced bug. I was unable to duplicate the symptoms locally exactly, but duplicated them closely enough that I am optimistic that these changes address the issue. Regardless, they seem like reasonable changes.
I also fixed a couple of landscape issues I saw with newly created services without annotations.
The aspect of this branch I wonder most if reviewers (particularly Ben) will like is the change to the route url algorithm. If it's not clear why I chose it, I'm happy to discuss my rationale and other options.
Thank you.
R=bcsaller, matthew.scott
CC=
https://codereview.appspot.com/8680043
------------------------------------------
[...truncated 302 lines...]
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py", line 250, in _handle_v2_auth
access_details = self._json(result, 200, 'access')
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py", line 325, in _json
response.code, body))
juju.errors.ProviderInteractionError: Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
2013-04-12 06:25:10,655 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 23, in find_zookeepers
state = yield provider.load_state()
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/openstack/files.py", line 54, in get
response, body = yield self._swift.get_object(self._container, name)
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/openstack/client.py", line 504, in request
yield self._client.authenticate()
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/juju/providers/openstack/client.py", line 250, in _handle_v2_auth
access_details = self._json(result, 200, 'access')
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py", line 325, in _json
response.code, body))
juju.errors.ProviderInteractionError: Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
2013-04-12 06:25:10,655 ERROR Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
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-12 06:25:17,007 DEBUG Initializing juju status runtime
2013-04-12 06:25:17,016 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-04-12 06:25:17,016 INFO Connecting to environment...
2013-04-12 06:25:17,394 ERROR Cannot connect to environment: Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
Traceback (most recent call last):
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 23, in find_zookeepers
state = yield provider.load_state()
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/openstack/files.py", line 54, in get
response, body = yield self._swift.get_object(self._container, name)
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/openstack/client.py", line 504, in request
yield self._client.authenticate()
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/juju/providers/openstack/client.py", line 250, in _handle_v2_auth
access_details = self._json(result, 200, 'access')
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py", line 325, in _json
response.code, body))
ProviderInteractionError: Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
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 23, in find_zookeepers
state = yield provider.load_state()
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/openstack/files.py", line 54, in get
response, body = yield self._swift.get_object(self._container, name)
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/openstack/client.py", line 504, in request
yield self._client.authenticate()
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/juju/providers/openstack/client.py", line 250, in _handle_v2_auth
access_details = self._json(result, 200, 'access')
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py", line 325, in _json
response.code, body))
juju.errors.ProviderInteractionError: Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
2013-04-12 06:25:17,398 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 23, in find_zookeepers
state = yield provider.load_state()
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/openstack/files.py", line 54, in get
response, body = yield self._swift.get_object(self._container, name)
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/openstack/client.py", line 504, in request
yield self._client.authenticate()
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/juju/providers/openstack/client.py", line 250, in _handle_v2_auth
access_details = self._json(result, 200, 'access')
File "/usr/lib/python2.7/dist-packages/juju/providers/openstack/client.py", line 325, in _json
response.code, body))
juju.errors.ProviderInteractionError: Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
2013-04-12 06:25:17,398 ERROR Unexpected 503: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.22 (Ubuntu) Server at keystone.canonistack.canonical.com Port 443</address>\n</body></html>\n'
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-00007955 stopped i-00007954 running
+ 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
+ [ 1 -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