Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: failing OpenSUSE mkosi jobs #21019

Closed
mrc0mmand opened this issue Oct 15, 2021 · 0 comments
Closed

CI: failing OpenSUSE mkosi jobs #21019

mrc0mmand opened this issue Oct 15, 2021 · 0 comments
Labels

Comments

@mrc0mmand
Copy link
Member

Looking at the recent CI results (https://github.com/systemd/systemd/actions/workflows/mkosi.yml) there appears to be something wrong with the OpenSUSE mkosi CI job, since it keeps failing pretty much constantly:

 subprocess.CalledProcessError: Command '['zypper', '--root', '/var/tmp/mkosi-6ptifpz8/root', '--gpg-auto-import-keys', 'install', '-y', '--no-recommends', '--download-in-advance', 'binutils', 'btrfsprogs', 'dbus-1', 'dracut', 'gdb', 'kernel-default', 'libapparmor1', 'libcrypt1', 'libcryptsetup12', 'libgcrypt20', 'libkmod2', 'liblz4-1', 'libmount1', 'libp11-kit0', 'libqrencode4', 'libseccomp2', 'nano', 'pam', 'patterns-base-minimal_base', 'strace', 'systemd', 'util-linux']' returned non-zero exit status 107.

Given the zypper exit code and its documentation (107 - ZYPPER_EXIT_INF_RPM_SCRIPT_FAILED), it's caused by the failing %post scriptlets:

(151/151) Installing: kernel-default-5.14.9-1.2.x86_64 [.............done]
Additional rpm output:
gzip: /proc/config.gz: No such file or directory
warning: Found bdb_ro Packages database while attempting ndb backend: using bdb_ro backend.
Please run "/usr/bin/dracut -f /boot/initrd-5.14.9-1-default 5.14.9-1-default" as soon as your system is complete.
You may need to setup and install the boot loader using the
available bootloader for your platform (e.g. grub, lilo, zipl, ...).
warning: %post(kernel-default-5.14.9-1.2.x86_64) scriptlet failed, exit status 1


Executing %posttrans script 'openSUSE-release-20211012-1210.1.x86_64.rpm' [...
Output of coreutils-8.32-8.5.x86_64.rpm %posttrans script:
    Please run "/usr/bin/dracut -f --regenerate-all" as soon as your system is complete.

.
Output of systemd-presets-common-SUSE-15-19.2.noarch.rpm %posttrans script:
    Created symlink /etc/systemd/system/multi-user.target.wants/kbdsettings.service -> /usr/lib/systemd/system/kbdsettings.service.
    Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /usr/lib/systemd/system/getty@.service.
    Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /usr/lib/systemd/system/remote-fs.target.
    Created symlink /etc/systemd/user/timers.target.wants/systemd-tmpfiles-clean.timer -> /usr/lib/systemd/user/systemd-tmpfiles-clean.timer.
    Created symlink /etc/systemd/user/basic.target.wants/systemd-tmpfiles-setup.service -> /usr/lib/systemd/user/systemd-tmpfiles-setup.service.

.
Output of rpm-4.16.1.3-3.2.x86_64.rpm %posttrans script:
    migrating rpmdb from /var/lib/rpm to /usr/lib/sysimage/rpm...

......done]

@Werkov could you, please, look into this?

@mrc0mmand mrc0mmand added the ci label Oct 15, 2021
DaanDeMeyer added a commit to DaanDeMeyer/systemd that referenced this issue Oct 19, 2021
Until systemd#21019 is fixed,
there's no point in running the opensuse CI job so let's disable
it for now.
bluca pushed a commit that referenced this issue Oct 19, 2021
Until #21019 is fixed,
there's no point in running the opensuse CI job so let's disable
it for now.
Werkov added a commit to Werkov/systemd that referenced this issue Nov 8, 2021
This reverts commit ab6df52.

The image build failed during kernel RPM installation (bug in %post
scriptlet). This has been fixed in the package suse-module-tools 16.0.13
[1]. The fix is in openSUSE Tumbleweed repos so the tests can be enabled
again.

[1] openSUSE/suse-module-tools#53

Fixes: systemd#21019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant