Project

General

Profile

Actions

action #125549

closed

coordination #121864: [epic] Split and enhance test modules in migrations

[Timebox: 8h] Investigate How to syn latest Leap in O3 with asset folder in OSD

Added by hjluo almost 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
Start date:
2023-03-08
Due date:
% Done:

0%

Estimated time:

Description

Motivation:

When running leap to SLE migration, we need to manually grab the latest LEap gnome,text,KDE image from O3 and move it to OSD in fixed dir.
So we'd investigate how to do it to make the sync automatically and make sure we are testing the latest image.
automatically.

Acceptance criteria:

AC1: Investigate How to do the syn automatically.

Suggestions

Check with Andrii Nikitin for OBS Sync pluging and with tools team.
Notice we don't want to sync product released, but two products in the development at the same time both, which different build versions each one.

This ticket is added in the Epic regarding the refactor of the migration, as this is also a potential improvement, but we have doubt that this automation is even possible in a straighforward way, but for that is this ticket, to investigate a bit the possibility.


Related issues 2 (0 open2 closed)

Related to qe-yam - action #124964: Replace the leap cases with leap15.5 in Migration: Others job groupResolvedhjluo2023-02-23

Actions
Blocks qe-yam - action #125546: Create AutoYaST test cases for leap image with gnome,text and KDE.Rejected2023-03-08

Actions
Actions #1

Updated by hjluo almost 2 years ago

  • Related to action #124964: Replace the leap cases with leap15.5 in Migration: Others job group added
Actions #2

Updated by hjluo almost 2 years ago

  • Target version deleted (Current)
Actions #3

Updated by JERiveraMoya almost 2 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by JERiveraMoya over 1 year ago

  • Subject changed from Investigate How to syn latest Leap in O3 with asset folder in OSD to [Timebox: 8h] Investigate How to syn latest Leap in O3 with asset folder in OSD
  • Description updated (diff)
  • Status changed from New to Workable
  • Target version set to Current
  • Parent task set to #121864
Actions #5

Updated by JERiveraMoya over 1 year ago

  • Blocks action #125546: Create AutoYaST test cases for leap image with gnome,text and KDE. added
Actions #6

Updated by tinawang123 about 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to tinawang123
Actions #7

Updated by tinawang123 about 1 year ago ยท Edited

I discussed with tool team. Got one example about JeOS job. They use 'HDD_1_URL' to get the image file.
Follow is my research solution:
Solution 1: Use 'HDD_1_URL' to the leap migration to sle job:
eg: /usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/tinawang123/os-autoinst-distri-opensuse/tree/syspre http://openqa.suse.de/tests/12971324 -c "--apikey XXXXXXXX --apisecret XXXXXXX --skip-deps" HDD_1_URL='https://openqa.opensuse.org/tests/3792137/asset/hdd/opensuse-15.6-x86_64-566.1-gnome@64bit.qcow2' HDD_1='opensuse-15.6-x86_64-566.1-gnome@64bit.qcow2'

https://openqa.suse.de/tests/12999771#step/online_migration_setup/3

We need update HDD_1_URL and HDD_1 settings before start the migration job.

Solution 2: I think we can download the iso image before the test. I suggest we can use 'crontab' at the OSD server. Set the download frequent, then our jobs can use this iso file to generate textmode, gnome and ked qcow files.

Solution 3: Refer MR: https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/-/merge_requests/144 We can use sync script to get the iso file. Add sync script to openqa-trigger-from-ibs-plugin.

Actions #8

Updated by tinawang123 about 1 year ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF