autopkgtests sometimes timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
edk2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Mustafa Kemal Gilor | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
edk2 autopkgtests fail intermittently, causing builds to fail.
The autopkgtests run QEMU to boot to an EFI prompt, and then power off. The run for each of the supported archs (ARM, AARCH64 & X64). The failure symptom is that 1 or more of these tests times out after not seeing a prompt for 30s.
The root cause of timeouts is unknown and could be related to the resource status in a busy/stressed execution environment.
The SRU includes a patch that aims to eliminate the timeout-related flakiness of the autopkgtests by increasing the timeout value from the 30s to 60s.
[ Test Plan ]
Considering the fact that the problem is observed in automated builds and is intermittent in nature, the best way to verify the change would be to watch future Focal build failures caused by test timeouts. Test timeout-related failures in Focal builds should decrease after this patch is landed.
[ Where problems could occur ]
Given that the changes are in the test code, there is no possibility of regression for end users.
[Original bug description]
edk2 autopkgtests fail intermittently - but the frequency has increased quite a bit recently. The autopkgtests run QEMU to boot to an EFI prompt, and then power off. The run for each of the supported archs (ARM, AARCH64 & X64). The failure symptom is that 1 or more of these tests times out after not seeing a prompt for 30s.
description: | updated |
Changed in edk2 (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Mustafa Kemal Gilor (mustafakemalgilor) |
description: | updated |
It's not clear to me what the pattern is here, so I wrote a script to generate a csv file of the failures, including how long each test took and which ones timed out.