Project

General

Profile

Actions

action #127739

open

ASSET_1 gets outdated value when using openqa-clone-custom-git-refspec

Added by syrianidou_sofia 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2023-04-17
Due date:
% Done:

0%

Estimated time:

Description

When using openqa-clone-custom-git-refspec in order to clone a job, the value of ASSET_1 or any other ASSET get's the value from settings. But usually, the ASSET uploaded after the original job is run, gets another file name. For example, if ASSET_1=dev_tools.dud in settings, the original job will have uploaded ASSET_1=10931294-dev_tools.dud and the cloned job will fail because it cannot find dev_tools.dud with error:
[info] [#555] Downloading "dev_tools.dud" from "http://openqa.suse.de/tests/10932003/asset/other/dev_tools.dud"
[info] [#555] Download of "/var/lib/openqa/cache/openqa.suse.de/dev_tools.dud" failed: 404 Not Found

In order to have a successful cloning, ASSET_1 has to be manually set to ASSET_1=10931294-dev_tools.dud while typing the refspec command.
#openqa-clone-custom-git-refspec https://github.com/sofiasyria/os-autoinst-distri-opensuse/tree/master https://openqa.suse.de/tests/10931666 ASSET_1='10931294-dev_tools.dud'

It would be useful to automate the above process.

Actions #1

Updated by syrianidou_sofia 12 months ago

  • Subject changed from ASSET_1 get's outdated value when using openqa-clone-custom-git-refspec to ASSET_1 gets outdated value when using openqa-clone-custom-git-refspec
Actions

Also available in: Atom PDF