```
Setting up grub-common (2.04-1ubuntu45) ...
Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/systemd/system/grub-common.service.
Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
Job for grub-initrd-fallback.service failed because the control process exited with error code.
See "systemctl status grub-initrd-fallback.service" and "journalctl -xe" for details.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for grub-common.service failed because the control process exited with error code.
See "systemctl status grub-common.service" and "journalctl -xe" for details.
invoke-rc.d: initscript grub-common, action "start" failed.
[0;1;31m●[0m grub-common.service - Record successful boot for GRUB
Loaded: loaded (]8;;file://autopkgtest/lib/systemd/system/grub-common.service/lib/systemd/system/grub-common.service]8;;; enabled; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: exit-code) since Thu 2021-04-22 08:06:10 UTC; 8ms ago
Process: 3111 ExecStartPre=/bin/sh -c [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv; mkdir -p /boot/grub (code=exited, status=0/SUCCESS)
Process: 3114 ExecStart=grub-editenv /boot/grub/grubenv unset recordfail [0;1;31m(code=exited, status=1/FAILURE)[0m
Process: 3115 ExecStartPost=/bin/sh -c if grub-editenv /boot/grub/grubenv list | grep -q initrdless_boot_fallback_triggered=1; then echo "grub: GRUB_FORCE_PARTUUID set, initrdless boot paniced, fallback triggered."; fi (code=exited, status=0/SUCCESS)
Main PID: 3114 (code=exited, status=1/FAILURE)
Apr 22 08:06:10 autopkgtest systemd[1]: Starting Record successful boot for GRUB...
Apr 22 08:06:10 autopkgtest grub-editenv[3114]: grub-editenv: error: cannot rename the file /boot/grub/grubenv.new to /boot/grub/grubenv.
Apr 22 08:06:10 autopkgtest systemd[1]: [0;1;39m[0;1;31m[0;1;39mgrub-common.service: Main process exited, code=exited, status=1/FAILURE[0m
Apr 22 08:06:10 autopkgtest systemd[1]: [0;1;38;5;185m[0;1;39m[0;1;38;5;185mgrub-common.service: Failed with result 'exit-code'.[0m
Apr 22 08:06:10 autopkgtest systemd[1]: [0;1;31m[0;1;39m[0;1;31mFailed to start Record successful boot for GRUB.[0m
dpkg: error processing package grub-common (--configure):
installed grub-common package post-installation script subprocess returned error exit status 1
```
Snapd autopkgtests depend on grub-common:
debian/ tests/control:
Depends: @builddeps@
debian/control:
Build-Depends:
...
grub-common,
...
but grub-common fails to install on s390x, consequently snapd autopkgtests fall apart on s390x.
Full log:
https:/ /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- hirsute- canonical- kernel- team-unstable/ hirsute/ s390x/s/ snapd/20210422_ 080633_ 56960@/ log.gz
``` system/ multi-user. target. wants/grub- common. service → /lib/systemd/ system/ grub-common. service. system/ multi-user. target. wants/grub- initrd- fallback. service → /lib/systemd/ system/ grub-initrd- fallback. service. system/ rescue. target. wants/grub- initrd- fallback. service → /lib/systemd/ system/ grub-initrd- fallback. service. system/ emergency. target. wants/grub- initrd- fallback. service → /lib/systemd/ system/ grub-initrd- fallback. service. fallback. service failed because the control process exited with error code. fallback. service" and "journalctl -xe" for details. service" and "journalctl -xe" for details. //autopkgtest/ lib/systemd/ system/ grub-common. service /lib/systemd/ system/ grub-common. service ]8;;; enabled; vendor preset: enabled) /bin/sh -c [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv; mkdir -p /boot/grub (code=exited, status=0/SUCCESS) grub-editenv /boot/grub/grubenv unset recordfail [0;1;31m( code=exited, status= 1/FAILURE) [0m /bin/sh -c if grub-editenv /boot/grub/grubenv list | grep -q initrdless_ boot_fallback_ triggered= 1; then echo "grub: GRUB_FORCE_PARTUUID set, initrdless boot paniced, fallback triggered."; fi (code=exited, status=0/SUCCESS)
Setting up grub-common (2.04-1ubuntu45) ...
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Job for grub-initrd-
See "systemctl status grub-initrd-
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for grub-common.service failed because the control process exited with error code.
See "systemctl status grub-common.
invoke-rc.d: initscript grub-common, action "start" failed.
[0;1;31m●[0m grub-common.service - Record successful boot for GRUB
Loaded: loaded (]8;;file:
Active: [0;1;31mfailed[0m (Result: exit-code) since Thu 2021-04-22 08:06:10 UTC; 8ms ago
Process: 3111 ExecStartPre=
Process: 3114 ExecStart=
Process: 3115 ExecStartPost=
Main PID: 3114 (code=exited, status=1/FAILURE)
Apr 22 08:06:10 autopkgtest systemd[1]: Starting Record successful boot for GRUB... grubenv. new to /boot/grub/grubenv. [0;1;31m [0;1;39mgrub- common. service: Main process exited, code=exited, status= 1/FAILURE [0m 5;185m [0;1;39m [0;1;38; 5;185mgrub- common. service: Failed with result 'exit-code'.[0m [0;1;39m [0;1;31mFailed to start Record successful boot for GRUB.[0m
Apr 22 08:06:10 autopkgtest grub-editenv[3114]: grub-editenv: error: cannot rename the file /boot/grub/
Apr 22 08:06:10 autopkgtest systemd[1]: [0;1;39m
Apr 22 08:06:10 autopkgtest systemd[1]: [0;1;38;
Apr 22 08:06:10 autopkgtest systemd[1]: [0;1;31m
dpkg: error processing package grub-common (--configure):
installed grub-common package post-installation script subprocess returned error exit status 1
```