Project

General

Profile

Actions

action #173851

open

coordination #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

Added by okurz 13 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2024-12-06
Due date:
% Done:

0%

Estimated time:

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

Actions

Also available in: Atom PDF