transient failures during lxc test during shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Won't Fix
|
Medium
|
Scott Moser |
Bug Description
We have been seeing a lot of transient failures
https:/
with a stack trace that looks like below.
I think that we might be attempting to delete an instance twice or shutting it down twice. not sure.
2018-07-20 12:20:30,781 - tests.cloud_tests - DEBUG - executing "collect: instance-id"
2018-07-20 12:20:46,612 - tests.cloud_tests - ERROR - stage: collect test data for cosmic encountered error: not found
2018-07-20 12:20:46,614 - tests.cloud_tests - ERROR - traceback:
File "/var/lib/
(call_res, call_failed) = call()
File "/var/lib/
instance.
File "/var/lib/
self.
File "/var/lib/
wait=wait)
File "/var/lib/
response.
File "/var/lib/
return cls.get(client, operation.id)
File "/var/lib/
response = client.
File "/var/lib/
is_api=is_api)
File "/var/lib/
raise exceptions.
Related branches
- Ryan Harper: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 104 lines (+40/-5)2 files modifiedtests/cloud_tests/platforms/instances.py (+2/-1)
tests/cloud_tests/platforms/lxd/instance.py (+38/-4)
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Scott Moser (smoser) |
I'm attaching all console logs that were available of lxd runs of integration
tests. The interesting thing is that *most* of the time when we see pylxd
related trace backs it is in shutdown (there was one in start). Also
interesting is that most of the time the traceback occurs after collection
of the last file, and about 25-30 seconds later.
So for shutdown specifically, it could be a result of the system failing
to shutdown.
Example:
2018-07-15 12:20:11,234 - tests.cloud_tests - DEBUG - executing "collect: result.json"
2018-07-15 12:20:28,612 - tests.cloud_tests - ERROR - stage: collect test data for bionic encountered error: not found
2018-07-15 12:20:28,615 - tests.cloud_tests - ERROR - traceback: