Actions
action #116788
closedCloning of job with released test issues not working
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - QE-Core: Ready
Start date:
2022-09-19
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
I can't clone an old job with already released test issues, also if I set the corresponding variable manually.
Steps to reproduce¶
phoenix@duck-norris:~> openqa-clone-job https://openqa.suse.de/tests/9392017 BASE_TEST_ISSUES= INCIDENT_ID=
Current job 9392017 will fail, because the repositories for the below updates are unavailable
[
"http://download.suse.de/ibs/SUSE:/Maintenance:/25519/SUSE_Updates_SLE-Module-Basesystem_15-SP4_x86_64",
] at /usr/share/openqa/script/../lib/OpenQA/Script/CloneJobSUSE.pm line 37.
Impact¶
We can't clone older jobs, even if we would overwrite the incident list manually.
Problem¶
We can't clone older jobs, even if we would overwrite the incident list manually.
Suggestion¶
- Suggestion 1: Consider manual settings in the test issue "lifeness" test
- Suggestion 2: Provide a new flag which disables this check and point the user to the flag in cause of failure
phoenix@duck-norris:~> openqa-clone-job https://openqa.suse.de/tests/9392017 BASE_TEST_ISSUES= INCIDENT_ID=
Current job 9392017 will fail, because the repositories for the below updates are unavailable. Use the --ignore-missing flag to override
[
"http://download.suse.de/ibs/SUSE:/Maintenance:/25519/SUSE_Updates_SLE-Module-Basesystem_15-SP4_x86_64",
] at /usr/share/openqa/script/../lib/OpenQA/Script/CloneJobSUSE.pm line 37.
Workaround¶
sudo vim /usr/share/openqa/script/../lib/OpenQA/Script/CloneJobSUSE.pm
sub detect_maintenance_update ($jobid, $url_handler, $settings) {
my $urls = collect_incident_repos($url_handler, $settings);
# die "Current job $jobid will fail, because the repositories for the below updates are unavailable\n" . pp($urls)
# if @$urls;
}
Actions