Skip to content

CI: smoke/ppc64le, smoke/arrm64 (aarch64) sometimes SEGFAULTS in CI (likely QEMU binfmt related) #49331

@thaJeztah

Description

@thaJeztah

Description

relates to:

Tracking ticket for some recent SEGFAULTS observed in CI. These started to show after updating to Go1.23.5, and updating build-action (buildx v0.20, buidkit v0.19), but that could be unrelated;

#24 0.044 + file dockerd
#24 0.050 dockerd: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), statically linked, for GNU/Linux 3.10.0, Go BuildID=CSn74rD_BYZ6Z_pPYUBE/aNs5fPUO8vLFw4Dkr6JC/nBK5ylRUxaxG2d3806iZ/G2ui0cqY33rk71GIyrCE, BuildID[xxHash]=3976f7aeda41929d, with debug_info, not stripped
#24 0.051 + dockerd --version
#24 0.176 Segmentation fault (core dumped)
#24 ERROR: process "/bin/sh -c   set -ex\n  file dockerd\n  dockerd --version\n  file docker-proxy\n  docker-proxy --version\n" did not complete successfully: exit code: 139
------
 > [smoketest 3/3] RUN <<EOT (set -ex...):
0.044 + file dockerd
0.050 dockerd: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), statically linked, for GNU/Linux 3.10.0, Go BuildID=CSn74rD_BYZ6Z_pPYUBE/aNs5fPUO8vLFw4Dkr6JC/nBK5ylRUxaxG2d3806iZ/G2ui0cqY33rk71GIyrCE, BuildID[xxHash]=3976f7aeda41929d, with debug_info, not stripped
0.051 + dockerd --version
0.176 Segmentation fault (core dumped)

From a conversation on slack with Tonis;

buildkit will only use embedded binfmt if not installed in kernel

and

I don’t know where emulator comes there. powerpc qemu-user is POC quality. QEMU_STRACE could show something more

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions