Skip to content

Disable s390x COPR builds due to QEMU netlink bug#508

Closed
ESoapW wants to merge 1 commit intomainfrom
disable-s390x-copr
Closed

Disable s390x COPR builds due to QEMU netlink bug#508
ESoapW wants to merge 1 commit intomainfrom
disable-s390x-copr

Conversation

@ESoapW
Copy link
Copy Markdown
Contributor

@ESoapW ESoapW commented Apr 9, 2026

COPR lost native s390x builders around March 2026 and switched to QEMU user-mode emulation on x86_64. QEMU doesn't properly byte-swap netlink RTM_GETLINK rtattr structs when emulating big-endian s390x on a little-endian host, causing Go's net.InterfaceByName() to fail with 'parsenetlinkrouteattr: invalid argument'.

We confirmed this is a QEMU bug, not a code issue:

A patch has been submitted to QEMU upstream. Removing s390x from COPR targets until the QEMU fix lands. This only affects CI testing, not the official Fedora package. Koji still builds s390x with real hardware and Fedora users are unaffected.

https://gitlab.com/qemu-project/qemu/-/work_items/2485#note_3236597357

COPR lost native s390x builders around March 2026 and switched to QEMU
user-mode emulation on x86_64. QEMU doesn't properly byte-swap netlink
RTM_GETLINK rtattr structs when emulating big-endian s390x on a
little-endian host, causing Go's net.InterfaceByName() to fail with
'parsenetlinkrouteattr: invalid argument'.

We confirmed this is a QEMU bug, not a code issue:
- Native s390x (Koji): all tests pass
- Native x86_64: all tests pass
- QEMU s390x (COPR): only netlink RTM_GETLINK tests fail
- Diagnostic test (PR #506) shows RTM_GETADDR works, RTM_GETLINK doesn't,
  sysfs/procfs alternatives work fine

A patch has been submitted to QEMU upstream. Removing s390x from COPR
targets until the QEMU fix lands. This only affects CI testing, not the
official Fedora package. Koji still builds s390x with real hardware and
Fedora users are unaffected.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 9, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 9, 2026

@ESoapW has imported this pull request. If you are a Meta employee, you can view this in D100185224.

@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 9, 2026

@ESoapW merged this pull request in 9c9bf40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant