action #109097
[virtualization][hyperv] Automatically triggered OSD jobs has empty CHECKSUM_ISO
0%
Description
Observation¶
https://openqa.suse.de/tests/8418406/logfile?filename=autoinst-log.txt shows
[2022-03-28T08:18:59.267941+02:00] [debug] <<< testapi::record_info(title="Delete medium", output="Trying to delete wrong checksum downloaded medium SLE-15-SP4-Online-x86_64-Build117.1-Media1.iso...", result="fail")
but then fails because the medium is likely never re-downloaded
History
#1
Updated by xlai 3 months ago
okurz No, the root cause should be that the job is triggered with var "CHECKSUM_ISO" : "", so it results in below error.
[2022-03-28T08:18:59.267241+02:00] [debug] SHA256 checksum does not match for ISO: Calculated: 9acc1be8d1f085b549086cfe97ae5f3085fadf9589851fe3919269a6f2b9e976 Expected:
But in successful jobs like https://openqa.suse.de/tests/8376710/file/vars.json, the var should be set to "CHECKSUM_ISO" : "975537ce1fe0fac269ebc99cdc1c920c48c0412094bb898177d1dd64081e1365".
Oliver, this should be fixed by retriggering all hyperv jobs with correct shasum value for the iso.
#3
Updated by xlai 3 months ago
xlai wrote:
okurz No, the root cause should be that the job is triggered with var "CHECKSUM_ISO" : "", so it results in below error.
[2022-03-28T08:18:59.267241+02:00] [debug] SHA256 checksum does not match for ISO: Calculated: 9acc1be8d1f085b549086cfe97ae5f3085fadf9589851fe3919269a6f2b9e976 Expected:But in successful jobs like https://openqa.suse.de/tests/8376710/file/vars.json, the var should be set to "CHECKSUM_ISO" : "975537ce1fe0fac269ebc99cdc1c920c48c0412094bb898177d1dd64081e1365".
Oliver, this should be fixed by retriggering all hyperv jobs with correct shasum value for the iso.
Update: Nan Zhang and JOaquin Rivera rerun their failed hyperv jobs and pass now WITHOUT giving CHECKSUM_ISO, because there is exising ISO on the hyperv hosts already, so the ISO download and shasum check are totally skipped.
#4
Updated by nanzhang 3 months ago
The same issue happened in build 118.3.
https://openqa.nue.suse.com/tests/8443856#settings
#5
Updated by openqa_review 3 months ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: default_install_svirt@svirt-hyperv-uefi
https://openqa.suse.de/tests/8495803#step/bootloader_hyperv/1
To prevent further reminder comments one of the following options should be followed:
- The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
- The openQA job group is moved to "Released" or "EOL" (End-of-Life)
- The bugref in the openQA scenario is removed or replaced, e.g.
label:wontfix:boo1234
Expect the next reminder at the earliest in 28 days if nothing changes in this ticket.
#6
Updated by xlai 2 months ago
- Project changed from openQA Tests to openQA Project
- Subject changed from [virtualization][hyperv] Test shows auto_review:"Trying to delete wrong checksum downloaded medium" but then fails because the medium is likely never re-downloaded to [tools][hyperv] Automatically triggered OSD jobs has empty CHECKSUM_ISO
- Category deleted (
Bugs in existing tests)
The fix should be done in the tool that automatically triggers OSD sle15sp4 jobs, by giving correct CHECKSUM_ISO, rather than fixing in test code(I do not find it set in openqa test code by grepping CHECKSUM_ISO). So, exclude it from virtualization backlog and move it to tools? Please correct where it fits if I am wrong.
#7
Updated by okurz 2 months ago
- Project changed from openQA Project to openQA Tests
- Subject changed from [tools][hyperv] Automatically triggered OSD jobs has empty CHECKSUM_ISO to [virtualization][hyperv] Automatically triggered OSD jobs has empty CHECKSUM_ISO
- Category set to Bugs in existing tests
Triggering products is done by https://github.com/os-autoinst/scripts/blob/master/os-autoinst-obs-auto-submit and https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin which is commonly done by test squads. Back to you.
#8
Updated by JERiveraMoya about 2 months ago
problem with checksum persist even when it is not empty: https://openqa.suse.de/tests/8670315#step/bootloader_start/12