action #173851
opencoordination #154768: [saga][epic][ux] State-of-art user experience for openQA
coordination #154771: [epic] Improved test developer user experience
`openqa-clone-job $host $job_id` seems to not work reliably
0%
Description
Observation¶
In https://suse.slack.com/archives/C02CANHLANP/p1733387213049919 asmorodskyi stated that a command like openqa-clone-job --skip-chained-deps --parental-inheritance --within-instance autobot.qe.nue2.suse.org 4429 …
would yield an error message
failed to get job '2': 404 Not Found at /usr/share/openqa/script/../lib/OpenQA/Script/CloneJob.pm line 76.
so it seems that openqa-clone-job $host $job_id
does not correctly evaluate the $job_id
parameter. Instead openqa-clone-job $url_to_job
works fine. The help text of openqa-clone-job
states in examples and in the explanation that $host $job_id
works so we should ensure that this is properly working and covered in tests.
Acceptance criteria¶
- AC1: Both alternative argument combinations
$host $job_id
and$url_to_job
clone the correct referenced job - AC2: The help text aligns with supported argument combinations
Suggestions¶
- Try out how a command line like the one from the observation behaves. If in doubt work with @asmorodskyi to reproduce the error
- Add test coverage
- Fix the missing part
Workaround¶
Use openqa-clone-job $url_to_job
No data to display