Project

General

Profile

Actions

action #111887

closed

coordination #111860: [epic] Upgrade all our infrastructure, e.g. o3+osd workers+webui and production workloads, to openSUSE Leap 15.4

Upgrade OBS package CI checks to Leap 15.4 (os-autoinst+openQA) size:S

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Organisational
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

As we will use Leap 15.4 as CI container base in os-autoinst and openQA so far already AFAIK we should also run the according OBS checks on Leap 15.4

Acceptance criteria

  • AC1: OBS checks run on pull requests for both os-autoinst and openQA test on Leap 15.4

Suggestions


Related issues 3 (0 open3 closed)

Related to openQA Project - action #112403: 18-qemu-options.t fails on Leap 15.4 and Tumbleweed size:MResolvedmkittler2022-06-14

Actions
Copied from openQA Project - action #102464: Upgrade OBS package CI checks to Leap 15.3 (os-autoinst+openQA) size:MResolvedtinita2021-09-24

Actions
Copied to openQA Project - action #130603: Upgrade OBS package CI checks to Leap 15.5 (os-autoinst+openQA) size:MResolvedjbaier_cz

Actions
Actions #1

Updated by okurz almost 2 years ago

  • Copied from action #102464: Upgrade OBS package CI checks to Leap 15.3 (os-autoinst+openQA) size:M added
Actions #2

Updated by okurz almost 2 years ago

  • Project changed from openQA Infrastructure to openQA Project
  • Subject changed from Upgrade OBS package CI checks to Leap 15.3 (os-autoinst+openQA) size:M to Upgrade OBS package CI checks to Leap 15.4 (os-autoinst+openQA)
  • Description updated (diff)
  • Category set to Organisational
  • Assignee deleted (tinita)
  • Priority changed from High to Normal
  • Target version changed from Ready to future
  • Start date deleted (2021-09-24)
Actions #3

Updated by okurz almost 2 years ago

  • Related to action #112403: 18-qemu-options.t fails on Leap 15.4 and Tumbleweed size:M added
Actions #4

Updated by okurz almost 2 years ago

  • Target version changed from future to Ready
Actions #5

Updated by okurz almost 2 years ago

  • Subject changed from Upgrade OBS package CI checks to Leap 15.4 (os-autoinst+openQA) to Upgrade OBS package CI checks to Leap 15.4 (os-autoinst+openQA) size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #6

Updated by tinita almost 2 years ago

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

Updated by tinita almost 2 years ago

  • Status changed from In Progress to Blocked

There is a problem with running 15.4 checks, I made a test PR in my fork:
https://github.com/perlpunk/os-autoinst/pull/13
https://build.opensuse.org/package/live_build_log/home:tinita:branches:devel:openQA:GitHub:perlpunk:os-autoinst:PR-13/os-autoinst:os-autoinst-test/openSUSE_Leap_15.4/x86_64

[   49s] Unpacking os-autoinst-4.6.1655222857.cb9d974.obscpio ...
[   49s] 68005 blocks
[   49s] Running build time source services...
[   49s] Traceback (most recent call last):
[   49s]   File "/usr/lib/obs/service/tar", line 30, in <module>
[   49s]     main()
[   49s]   File "/usr/lib/obs/service/tar", line 26, in main
[   49s]     TarSCM.run()
[   49s]   File "/usr/lib/obs/service/TarSCM/__init__.py", line 39, in run
[   49s]     task_list.process_list()
[   49s]   File "/usr/lib/obs/service/TarSCM/tasks.py", line 118, in process_list
[   49s]     self.process_single_task(task)
[   49s]   File "/usr/lib/obs/service/TarSCM/tasks.py", line 173, in process_single_task
[   49s]     self.args = self.check_for_branch_request(args)
[   49s]   File "/usr/lib/obs/service/TarSCM/tasks.py", line 156, in check_for_branch_request
[   49s]     if j['object_kind'] == 'merge_request':
[   49s] KeyError: 'object_kind'
[   49s] service run failed for service 'tar'

Currently asking on IRC about it. If I get no answer I'll create an issue: https://github.com/openSUSE/obs-service-tar_scm

Actions #8

Updated by tinita almost 2 years ago

It looks like there might already be a fix, but not yet packaged?
This is how the code looks like on my machine:

155         j = json.load(f)
156         if j['object_kind'] == 'merge_request':

and in git:
https://github.com/openSUSE/obs-service-tar_scm/blob/master/TarSCM/tasks.py#L155

            dat = json.load(ofh)
        if dat.get('object_kind') == 'merge_request':
Actions #9

Updated by tinita almost 2 years ago

I created an issue: https://github.com/openSUSE/obs-service-tar_scm/issues/446

Not much help on IRC yet.

I created a draft PR anyway for adding the 15.4 repo: https://github.com/os-autoinst/os-autoinst/pull/2086

Actions #10

Updated by tinita almost 2 years ago

  • Status changed from Blocked to In Progress

I got the suggestion "try adding opensuse:tools repo to your repo config".
I wasn't able to figure out the exact text to put into the config first.
First I found out that it needs to be openSUSE:Tools and not opensuse:tools.
Then I found out that I should not add another <respository> item, but add that repository to the openSUSE_Leap_15 repository.

  <repository name="openSUSE_Leap_15.4">
    <path project="openSUSE:Tools" repository="15.4"/>
    <path project="devel:openQA:Leap:15.4" repository="openSUSE_Leap_15.4"/>
    <arch>x86_64</arch>
  </repository>

Now the build succeeded:
https://github.com/perlpunk/os-autoinst/pull/13

https://github.com/os-autoinst/os-autoinst/pull/2086 ready for review

Actions #11

Updated by tinita almost 2 years ago

openQA: https://github.com/perlpunk/openQA/pull/2 - Dummy PR to test the new OBS config

But the build is still blocked, it has been blocked for hours.
https://build.opensuse.org/package/show/devel:openQA:GitHub:perlpunk:openQA:PR-2/openQA

Not sure what to do.

Actions #12

Updated by tinita almost 2 years ago

Ok, builds finally finished.

https://github.com/os-autoinst/openQA/pull/4708 - ci: Test on Leap 15.4

Actions #14

Updated by openqa_review almost 2 years ago

  • Due date set to 2022-07-01

Setting due date based on mean cycle time of SUSE QE Tools

Actions #15

Updated by tinita almost 2 years ago

  • Status changed from In Progress to Feedback
Actions #16

Updated by tinita almost 2 years ago

  • Status changed from Feedback to Resolved

15.4 tests showing up in all pull requests as expected.

Actions #17

Updated by okurz over 1 year ago

  • Due date deleted (2022-07-01)
Actions #18

Updated by okurz 10 months ago

  • Copied to action #130603: Upgrade OBS package CI checks to Leap 15.5 (os-autoinst+openQA) size:M added
Actions

Also available in: Atom PDF