Skip to content

ci/gha: support s390x/ppc64el runners #3791

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

bluca
Copy link
Member

@bluca bluca commented Jul 2, 2025

No description provided.

@bluca bluca force-pushed the ppc_s390 branch 15 times, most recently from 5c7f756 to 476e1c8 Compare July 2, 2025 22:44
@bluca
Copy link
Member Author

bluca commented Jul 2, 2025

‣  Running prepare script /tmp/tmp3jiqt9mf/resources/mkosi-tools/mkosi.prepare…
Traceback (most recent call last):
  File "/var/tmp/mkosi-workspace-y737r92s/tmp/tmpliq6yp2k/mkosi/sandbox.py", line 1135, in <module>
  File "/var/tmp/mkosi-workspace-y737r92s/tmp/tmpliq6yp2k/mkosi/sandbox.py", line 1096, in main
  File "/var/tmp/mkosi-workspace-y737r92s/tmp/tmpliq6yp2k/mkosi/sandbox.py", line 859, in execute
  File "/var/tmp/mkosi-workspace-y737r92s/tmp/tmpliq6yp2k/mkosi/sandbox.py", line 215, in mount
  File "/var/tmp/mkosi-workspace-y737r92s/tmp/tmpliq6yp2k/mkosi/sandbox.py", line 190, in oserror
OSError: [Errno 22] Invalid argument: 'newroot/work/src'
‣ "/work/prepare final" returned non-zero exit code 1.

mount namespacing shenanigans?

@bluca
Copy link
Member Author

bluca commented Jul 3, 2025

nspawn fails with Failed to mount proc (type proc) on /proc (MS_NOSUID|MS_NODEV|MS_NOEXEC ""): Operation not permitted

@bluca bluca mentioned this pull request Jul 4, 2025
2 tasks
@bluca bluca force-pushed the ppc_s390 branch 6 times, most recently from 324e60f to 2b36700 Compare July 4, 2025 23:30
The repository URLs are a bit weird and do not match 1:1 with architecture
names
@bluca bluca force-pushed the ppc_s390 branch 2 times, most recently from e8cbdcd to a964097 Compare July 5, 2025 12:18
bluca added 10 commits July 5, 2025 13:22
On ppc64le/s390x runners there's no kvm/vhost
Problem: 1: the installed busybox-xz-1.37.0-34.1.noarch conflicts with 'xz' provided by the to be installed xz-5.8.1-1.1.aarch64
 Solution 1: deinstallation of busybox-xz-1.37.0-34.1.noarch
 Solution 2: do not install xz-5.8.1-1.1.aarch64
qemu-system-aarch64: can't apply global max-arm-cpu.pcid=off: Property 'max-arm-cpu.pcid' not found
EDK2 nowadays does provide secureboot for arm. Not only that, TPM2 support is
only enabled in builds that enable secure boot, probably because it's all
part of the TCG modules.

Default to uefi_secure_boot on arm too, like x86.

Also do not pass qemu x86-only configuration options that break booting
arm.
The non-cloud arm64 kernel does not enabled some configs
that are needed for the qemu runs, like generic TPM support
‣ Cannot make image bootable on UEFI on ppc64-le architecture

Can still boot with direct kernel booting on qemu, so disable
for now
On arm64 workers there's no KVM, so it fails. Let it be the default,
so that it's used if available, and skipped if not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant