Project

General

Profile

Actions

action #159642

open

coordination #154768: [saga][ux] State-of-art user experience for openQA

Be explicit about asset name collission or precedence

Added by okurz 10 days ago. Updated 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2024-04-26
Due date:
% Done:

0%

Estimated time:

Description

Motivation

If there are multiple assets with the same name in multiple folders the precedence is undefined and backend specific. This caused confusion multiple times e.g. 2024-04-26 in https://suse.slack.com/archives/C02CANHLANP/p1714119371977259 by Pablo Herranz

Hello! I've got an issue that's driving me mad, and I'm not sure what can be happening.
I've created an 12-SP5 s390x qcow2 image in this job, where I'm getting sure of activating SUSE Package Hub and install jq packsge. Then, the same image is supposed to be used in some other jobs like this one but the jq command is not found. I've already re-created the image, and checked that there's no duplication in the fixed/ folder. I'm running out of ideas, so any help will be appreciated :)

Turned out there was a hdd/fixed/fixed_containers_to_delete/ folder containing copies of the images, so the job was taking those. The least we can do is to make such situation more explicit, e.g. fail explicitly if there are assets with the same name in multiple folders.

Acceptance criteria

  • AC1: Test reviewers can know explicitly which asset folder is preferred, at least by clear error if there are multiple filenames with the same name

Suggestions

  • Just fail if multiple files with the same name are found in lookup paths
  • Consider making it clear on the test details somewhere which asset lookup path was used
Actions #1

Updated by okurz 10 days ago

  • Tracker changed from coordination to action
  • Subject changed from [epic] Better asset handling to Be explicit about asset name collission or precedence
  • Description updated (diff)
Actions

Also available in: Atom PDF