Project

General

Profile

Actions

action #38807

open

API call that allows to search for test settings was - Make sure all used assets are accounted for in tests on osd (#38804)

Added by okurz almost 6 years ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2018-07-25
Due date:
% Done:

0%

Estimated time:

Description

Motivation

We use the medium "iso/SLE-12-SP4-Server-DVD-x86_64-Build????-Media2.iso" while using it as repo.
We thought we used that ISO to extract the repository, but the ISO and the repository are synced and handle into OSD in different tasks, so we don't need to sync nor have a job setting with those unused isos.

However we need to account for the medium (so it will get deleted by openqa-gru.service), see #38804 for fix to medium2.
There are still some other ISOs for modules that need to be checked.

Acceptance criteria

  • AC1: All synced assets are accounted for in test asset variables
  • AC2: No unused assets are provided as assets on jobs that users want to clone
  • AC3: Jobs without ISO do not have the setting ISO_MAXSIZE

Suggestions

  • For AC1 check https://openqa.suse.de/admin/assets for "Untracked assets" to correspond with QSF-u owned tests. If there are any make sure the tests reference the assets, e.g. by using ISO_1, HDD_1, etc. to reference these assets.
  • For AC2 ensure no test suites or media or job templates reference assets which tests do not need, e.g. no s390x tests need an ISO. As ISO is often provided by rsync.pl, overwrite assets with e.g. +ISO= or +ISO_1= or similar. Also make sure if assets are not needed that they are not synced by rsync.pl nor ObsRsync
  • For AC3 simply follow the previous step and make sure that ISO_MAXSIZE is only specified on tests that also actually use the ISO assets

Further details

s390x

Our current s390x jobs reference an ISO as well but we never use the ISO directly but only repos from that. These jobs should also be handled


Related issues 3 (2 open1 closed)

Related to openQA Tests - action #38804: [functional][u][fast] Make sure Media2 isos from SLE12SP4 are accounted for in ISO_* variables in any jobResolvedSLindoMansilla2018-07-252018-07-31

Actions
Related to openQA Tests - action #59394: [qe-core][functional] Overwrite empty ISO variable everywhere where not needed, i.e. `+ISO=`, to prevent useless ISO downloading and storageBlocked2019-11-13

Actions
Related to openQA Project - action #120118: Provide job settings filter optionsNew2022-11-08

Actions
Actions

Also available in: Atom PDF