Project

General

Profile

Actions

action #99126

closed

os-autoinst CI GHA fails with weird C++ error?

Added by okurz about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Organisational
Target version:
Start date:
2021-09-23
Due date:
% Done:

0%

Estimated time:

Description

Observation

E.g. in https://github.com/os-autoinst/os-autoinst/pull/1780/checks?check_run_id=3689856996 from https://github.com/os-autoinst/os-autoinst/pull/1780 but also https://github.com/os-autoinst/os-autoinst/pull/1781/checks?check_run_id=3690403474 from https://github.com/os-autoinst/os-autoinst/pull/1781

terminate called after throwing an instance of 'std::system_error'
  what():  Operation not permitted
terminate called after throwing an instance of 'std::system_error'
  what():  Operation not permitted
./tools/install-new-deps.sh: line 21:    14 Aborted                 sudo zypper --no-refresh install -y -C "${DEPS[@]}"

Problem

Trying podman run --pull=always --rm -it --entrypoint '' registry.opensuse.org/devel/openqa/containers/os-autoinst_dev /bin/bash -c /bin/true locally works fine. So I doubt the current container image is broken.


Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #98769: Unresolvables in devel:openQA Leap 15.3 size:SResolvedosukup2021-09-16

Actions
Actions #1

Updated by coolo about 3 years ago

Let me guess - Tumbleweed containers? https://s.kulow.org/glibc

Actions #2

Updated by okurz about 3 years ago

yeah, thx. Looks like exactly that

Actions #3

Updated by okurz about 3 years ago

any ideas for what to do as workaround? Move the container to Leap 15.2?

Locally I had no problem to use the os-autoinst_dev container, build os-autoinst and run it with podman run --rm -it --entrypoint registry.opensuse.org/devel/openqa/containers/os-autoinst_dev /bin/bash and within there

git clone https://github.com/os-autoinst/os-autoinst.git
zypper in os-autoinst-devel
cd os-autoinst/
make
prove -I.
./isotovideo casedir=t/data/tests qemu_no_kvm=1

Actions #4

Updated by mkittler about 3 years ago

I suspect the glibc update on TW as well. It might work locally but not in the CI because TW and possibly even Leap have already been upgraded to be able to host a TW container but the CI system hasn't. Besides, I might have read on the Factory mailing list thread that podman is not affected (which you apparently using).

I guess we could either somehow stick to the previous snapshot or move the container to Leap 15.2.

Actions #5

Updated by mkittler about 3 years ago

  • Assignee set to mkittler
Actions #6

Updated by mkittler about 3 years ago

  • Status changed from New to In Progress

PR for switching to Leap 15.3: https://github.com/os-autoinst/os-autoinst/pull/1782

Not sure whether we can use podman in the CI context (which could be another workaround).

Actions #7

Updated by livdywan about 3 years ago

We discussed this in the weekly. Let's move to Leap. And we probably should stay on Leap to avoid going back and forth, considering this happened before.

Actions #8

Updated by livdywan about 3 years ago

  • Related to action #98769: Unresolvables in devel:openQA Leap 15.3 size:S added
Actions #9

Updated by mkittler about 3 years ago

I've created a 2nd PR to actually use the Leap 15.3-based container (which needed to use a different OBS repository): https://github.com/os-autoinst/os-autoinst/pull/1784

I also had to fix one of the linked Python packages so the dependencies are correct when building for Leap 15.3: https://github.com/os-autoinst/os-autoinst/pull/1784#issuecomment-926619839
Not sure whether that's the best way to do it but at lest it seems to work.

Actions #10

Updated by mkittler about 3 years ago

  • Status changed from In Progress to Resolved

The CI works again (e.g. https://github.com/os-autoinst/os-autoinst/pull/1781) using a Leap 15.3 based image. I've also created https://github.com/os-autoinst/os-autoinst/pull/1785 but don't consider merging it part of this urgent ticket (if we want to merge it at all).

Actions #11

Updated by okurz about 3 years ago

cdywan wrote:

And we probably should stay on Leap to avoid going back and forth, considering this happened before.

"Staying on Leap" is also not static because this means we need to switch to newer Leap versions from time to time.

Actions #12

Updated by livdywan about 3 years ago

okurz wrote:

cdywan wrote:

And we probably should stay on Leap to avoid going back and forth, considering this happened before.

"Staying on Leap" is also not static because this means we need to switch to newer Leap versions from time to time.

Thank you for stating the obvious :-D The point is, Leap has releases and we can upgrade in our own time without it breaking out of nowhere.

Actions

Also available in: Atom PDF