action #158826
closedopenqa-in-openqa - test fails in start_test due to selecting the wrong base qcow image size:S
0%
Description
Observation¶
openQA test in scenario openqa-Tumbleweed-dev-x86_64-openqa_install_multimachine@64bit-4G fails in
start_test
Reproducible¶
Fails since (at least) Build :TW.27793 (current job)
Expected result¶
Last good: :TW.27792 (or more recent)
Further details¶
Always latest result in this scenario: latest
This happens because we have a build that is sorted as the latest:
https://openqa.opensuse.org/tests/3969403#settings BUILD Martchus/os-autoinst-distri-opensuse.git#mm-sync
Probably the code selecting the snapshot to use it broken, hence the clone script doesn't find the assets.
Updated by tinita 18 days ago
The problem is that the failing tests are checking out an older version:
https://openqa.opensuse.org/tests/4077075/file/vars.json
"CASEDIR" : "/var/lib/openqa/pool/7/os-autoinst-distri-openQA",
"TEST_GIT_HASH" : "b33598f6310549853fe78dd6697e42adf58f2341",
compared to a passed one:
https://openqa.opensuse.org/tests/4077873/file/vars.json
"CASEDIR" : "/var/lib/openqa/pool/7/os-autoinst-distri-openQA",
"TEST_GIT_HASH" : "9e2d1166307196db8ffc37064cc09a97b1cd8e33",
We only added the fix with adding groupid
to the api call after b33598f6310549853fe78dd6697e42adf58f2341, so that's why it retrieves a job fro m a different group https://openqa.opensuse.org/tests/3969403#settings as the latest build, which is too old and the asset is already gone.
Looking at when the failures started, this seems to be related to #157273
Updated by tinita 18 days ago
- Related to action #157273: Run os-autoinst-distri-openQA directly from git without anything related in /var/lib/openqa/share/tests - Follow-up with ideas not tried out in the spike solution #157270 size:M added
Updated by dheidler 14 days ago
Deleted the cache on openqaworker21 and 22.
That should serve as a workaround until https://github.com/os-autoinst/os-autoinst/pull/2486 is merged.
openqaworker21:~ # rm /var/lib/openqa/cache/git/os-autoinst/os-autoinst-distri-openQA* -r
openqaworker22:~ # rm /var/lib/openqa/cache/git/os-autoinst/os-autoinst-distri-openQA* -r