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 over 2 years ago.
Updated over 2 years ago.
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¶
- Copied from action #102464: Upgrade OBS package CI checks to Leap 15.3 (os-autoinst+openQA) size:M added
- Project changed from openQA Infrastructure (public) to openQA Project (public)
- 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)
- Related to action #112403: 18-qemu-options.t fails on Leap 15.4 and Tumbleweed size:M added
- Target version changed from future to Ready
- 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
- Status changed from Workable to In Progress
- Assignee set to tinita
- 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
- 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
- Due date set to 2022-07-01
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
15.4 tests showing up in all pull requests as expected.
- Due date deleted (
2022-07-01)
- Copied to action #130603: Upgrade OBS package CI checks to Leap 15.5 (os-autoinst+openQA) size:M added
Also available in: Atom
PDF