vmlinuz not found during server ISO validation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
Critical
|
Javier Collado |
Bug Description
The latest static validation tests for raring server amd64 (20121207) are
failing because the vmlinuz is not found.
The failure seen is as below.
FAIL: test_vmlinuz (__main_
-------
Traceback (most recent call last):
File "/usr/share/
self.
AssertionError: 'Linux kernel' not found in "/tmp/tmp2nkThz
The job that's affected is
https:/
Since this job triggers the rest of the amd64 server tests, all 16 tests have
not run for 20121207 amd64 server image.
This might be a regression due to the fix for bug 1086772 which should have
maintained the earlier case of skipping for d-i based images.
Related branches
- Max Brustkern (community): Approve
- Javier Collado (community): Needs Resubmitting
-
Diff: 274 lines (+83/-97)2 files modifiedutah/iso.py (+72/-61)
utah/isotest/iso_static_validation.py (+11/-36)
Changed in utah: | |
importance: | Undecided → Critical |
description: | updated |
summary: |
- vmlinuz presence should not be tested for server images in static - validation + vmlinuz not found during ISO validation |
description: | updated |
Changed in utah: | |
status: | New → Triaged |
assignee: | nobody → Javier Collado (javier.collado) |
summary: |
- vmlinuz not found during ISO validation + vmlinuz not found during server ISO validation |
Changed in utah: | |
status: | Triaged → In Progress |
Changed in utah: | |
status: | In Progress → Fix Committed |
Changed in utah: | |
status: | Fix Committed → Fix Released |
What I see in the image is that there's a file:
/install/vmlinuz
that's a hard link to: netboot/ ubuntu- installer/ amd64/linux
/install/
The `iso.extract` method detects it's a link and uses the second path to
extract the file. However, when the `file` command is executed in the test
case against the first path, it results in a file not found error because the
link hasn't been created.