Status timeout collecting logs prevents teardown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-ci-tools |
Fix Released
|
High
|
Martin Packman |
Bug Description
If the status call as part of the log collection step fails, CI can error out and fail to destroy the controller. See for instance:
<http://
2016-11-02 20:22:54 WARNING Failed to retrieve status for dumping logs: Timed out waiting for juju status to succeed
Traceback (most recent call last):
File "/var/lib/
main(
File "/var/lib/
assess_
File "/usr/lib/
self.
File "/mnt/jenkins/
yield machines
File "/usr/lib/
self.
File "/mnt/jenkins/
self.
File "/mnt/jenkins/
client, artifacts_dir, runtime_config, known_hosts)
File "/mnt/jenkins/
remote_machines = get_remote_
File "/mnt/jenkins/
machines[
File "/mnt/jenkins/
return remotecls(None, None, address, series=series)
File "/mnt/jenkins/
raise ValueError("Remote needs either address or client and unit")
ValueError: Remote needs either address or client and unit
Related branches
- Aaron Bentley (community): Approve
- Curtis Hovey (community): Approve (code)
-
Diff: 58 lines (+32/-1)2 files modifiedassess_recovery.py (+3/-1)
tests/test_assess_recovery.py (+29/-0)
Changed in juju-ci-tools: | |
assignee: | nobody → Martin Packman (gz) |
status: | Triaged → In Progress |
Changed in juju-ci-tools: | |
status: | In Progress → Fix Released |