Project

General

Profile

Actions

action #125975

closed

coordination #121828: [epic] Unify YaST and Migration CIs and job groups

Automate trigger of all remaining flavors in Migration Misc job group

Added by JERiveraMoya almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2023-03-14
Due date:
% Done:

0%

Estimated time:

Description

Motivation

For Migration Miscellaneous we would like to have fresh results every build and then decide if we need to drop some test coverage depending on the results. This will avoid manual triggering of the build.

Here is the repo where those changes needs to be applied
https://gitlab.suse.de/search?group_id=39&nav_source=navbar&page=2&project_id=5093&repository_ref=master&search=migration&search_code=true

There are already some flavors triggered automatically, but not all.

Acceptance criteria

AC1: Ensure all flavor for Migration: Misc. are triggered automatically with the OBS Sync mechanism

Actions #1

Updated by JERiveraMoya over 1 year ago

  • Status changed from Workable to In Progress
Actions #2

Updated by JERiveraMoya over 1 year ago

  • Assignee set to leli
Actions #3

Updated by leli over 1 year ago

Cloned openqa-trigger-from-ibs-plugin from gitlab@gitlab.suse.de:openqa/openqa-trigger-from-ibs-plugin.git
Cloned openqa-trigger-from-obs from git@github.com:os-autoinst/openqa-trigger-from-obs.git
Then run as description in readme:
linux-zyts:/var/lib/openqa/openqa-new-trigger/openqa-trigger-from-obs # make test_regen_all
(bash t/regen_all.sh)
Generating scripts for t/abs/OBS:server:Unstable
OK
Generating scripts for t/abs/Test1
OK
Generating scripts for t/abs/TestExtractAsRepo1
OK
Generating scripts for t/abs/TestIsoHdd-1
OK
Generating scripts for t/abs/TestOnlyIsosPost
OK
Generating scripts for t/abs/TestVersionFromMedia1
OK
Generating scripts for t/ibs/SLL:SLL-8:Image
Traceback (most recent call last):
File "script/scriptgen.py", line 1250, in
ret = gen_files(args.project)
File "script/scriptgen.py", line 1226, in gen_files
batch.gen_if_not_customized(path, "print_rsync_iso.sh")
File "script/scriptgen.py", line 466, in gen_if_not_customized
self.gen_print_rsync_iso(f)
File "script/scriptgen.py", line 800, in gen_print_rsync_iso
len(self.staging_pattern),
File "/var/lib/openqa/openqa-new-trigger/openqa-trigger-from-obs/script/cfg.py", line 77, in
''' + (repo0folder if repo0folder else "") + '''
TypeError: rsync_fix_dest() takes 3 positional arguments but 4 were given
make: *** [Makefile:31: test_regen_all] Error 1

1:25
It seems the xml and products under /t is mismatched.
linux-zyts:/var/lib/openqa/openqa-new-trigger/openqa-trigger-from-ibs-plugin # la xml
total 56
drwxr-xr-x 2 root root 4096 Mar 22 11:59 .
drwxr-xr-x 5 root root 109 Mar 22 11:32 ..
-rw-r--r-- 1 root root 426 Mar 22 11:32 SLL:SLL-8:Image.xml
-rw-r--r-- 1 root root 806 Mar 21 16:37 SUSE:SLE-12:Update:SLERT.xml
-rw-r--r-- 1 root root 968 Mar 22 11:32 SUSE:SLE-15:SLEMicro:Staging.xml
-rw-r--r-- 1 root root 1087 Mar 22 11:32 SUSE:SLE-15:SLEMicro.xml
-rw-r--r-- 1 root root 552 Mar 21 16:37 SUSE:SLE-15-SP3:Update:WSL.xml
-rw-r--r-- 1 root root 2432 Mar 22 11:32 SUSE:SLE-15-SP4:QR:TEST.xml
-rw-r--r-- 1 root root 552 Mar 22 11:32 SUSE:SLE-15-SP4:Update:WSL.xml
-rw-r--r-- 1 root root 552 Mar 22 11:32 SUSE:SLE-15-SP5:Update:WSL.xml
-rw-r--r-- 1 root root 924 Mar 21 16:37 SUSE:SLE-15-Staging.xml
-rw-r--r-- 1 root root 441 Mar 22 11:32 SUSE:SLE-15:Update:SLERT.xml
-rw-r--r-- 1 root root 556 Mar 21 16:37 SUSE:SLE-15:Update:WSL.xml
-rw-r--r-- 1 root root 2897 Mar 22 11:59 SUSE:SLE-15.xml
-rw-r--r-- 1 root root 393 Mar 22 11:32 SUSE:SLE-BCI.xml
linux-zyts:/var/lib/openqa/openqa-new-trigger/openqa-trigger-from-ibs-plugin # la t
total 8
drwxr-xr-x 27 root root 4096 Mar 22 11:38 .
drwxr-xr-x 5 root root 109 Mar 22 11:32 ..
drwxr-xr-x 2 root root 4096 Mar 22 11:41 SLL:SLL-8:Image
drwxr-xr-x 4 root root 28 Mar 21 16:37 SUSE:SLE-12-SP5:Update:Products:SLERT
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP1:Update:CR
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP2:GA:Staging:A
drwxr-xr-x 5 root root 47 Mar 21 16:37 SUSE:SLE-15-SP2:GA:TEST
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP2:Update:CR
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP2:Update:Products:MicroOS:Staging:B
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP2:Update:Products:MicroOS:TEST
drwxr-xr-x 4 root root 30 Mar 21 16:37 SUSE:SLE-15-SP2:Update:QR
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP2:Update:WSL
drwxr-xr-x 5 root root 47 Mar 21 16:37 SUSE:SLE-15-SP3:GA:TEST
drwxr-xr-x 2 root root 253 Mar 22 11:41 SUSE:SLE-15-SP3:Update:BCI
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP3:Update:CR
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP3:Update:Products:MicroOS51
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP3:Update:Products:MicroOS51:Staging:B
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP3:Update:Products:SLERT
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15-SP3:Update:WSL
drwxr-xr-x 2 root root 144 Mar 22 11:41 SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:A
drwxr-xr-x 2 root root 144 Mar 22 11:41 SUSE:SLE-15-SP4:Update:Products:Micro54:Staging:B
drwxr-xr-x 2 root root 144 Mar 22 11:41 SUSE:SLE-15-SP4:Update:Products:Micro54:TEST
drwxr-xr-x 2 root root 215 Mar 22 11:41 SUSE:SLE-15-SP4:Update:Products:SLERT
drwxr-xr-x 4 root root 30 Mar 22 11:32 SUSE:SLE-15-SP4:Update:qr:TEST
drwxr-xr-x 6 root root 65 Mar 22 11:32 SUSE:SLE-15-SP5:GA:TEST
drwxr-xr-x 2 root root 144 Mar 22 11:41 SUSE:SLE-15-SP5:Update:WSL
drwxr-xr-x 2 root root 35 Mar 22 11:32 SUSE:SLE-15:Update:CR

Actions #5

Updated by leli over 1 year ago

MR merged, let's wait the next build to verify it.

Actions #6

Updated by JERiveraMoya over 1 year ago

  • Status changed from In Progress to Resolved

As there are less snapshots this SP, better resolve this ticket and reopen if anything missing.

Actions #7

Updated by leli over 1 year ago

  • Status changed from Resolved to In Progress

The previous MR made a mistake for leap2sle test, the flavor is Migration-from-Leap-15.5-to-SLE15-SP5, need make the prefix + name = full flavor name.

<alias prefix="Migration-from-|Regression-on-Migration-from-|Continuous-Migration-|Migration-from-Leap-" name="SLE11-SP4|SLE12-SPx|SLE15-SPx|HPC15-SPx|SLE15SP5|SLE15-SP5"

So need update it to prefix='Migration-from-Leap-15.5-to-'

Actions #9

Updated by JERiveraMoya over 1 year ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF