Comment 0 for bug 1087620

Revision history for this message
Para Siva (psivaa) wrote : vmlinuz presence should not be tested for server images in static validation

The latest static validation tests for raring server amd64 are failing because the presence of vmlinuz is tested for amd64 server images as well due to the latest change. vmlinuz is only present in ubiquity based images and not in d-i based images.

The failure seen is as below.

FAIL: test_vmlinuz (__main__.TestValidateISO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/utah/isotest/iso_static_validation.py", line 348, in test_vmlinuz
    self.assertIn("Linux kernel", stdout)
AssertionError: 'Linux kernel' not found in "/tmp/tmp2nkThz/./install/vmlinuz: ERROR: cannot open `/tmp/tmp2nkThz/./install/vmlinuz' (No such file or directory)\n"

The job that's affected is
https://jenkins.qa.ubuntu.com/view/Raring/view/Smoke%20Testing/job/raring-server-amd64-smoke-default/24/

Since this job triggers the rest of the amd64 server tests, all 16 tests have not run for 20121207 amd64 server image.

This is a regression due to the fix for bug 1086772 which should have maintained the earlier case of skipping for d-i based images.