Skip to content

ci: pass --security-opt seccomp=unconfined to 386 test container - #20201

Merged
bwplotka merged 1 commit into
mainfrom
bwplotka/ci-fix-386-seccomp
Oct 27, 2026
Merged

bwplotka merged 1 commit into
mainfrom
bwplotka/ci-fix-386-seccomp

Conversation

@bwplotka

Copy link
Copy Markdown
Member

Ubuntu 26.04 runners currently ship Docker 29.4.2, whose default seccomp profile blocks socketcall(2) with ENOSYS (actions/runner-images#14790). Since Go on linux/386 still uses socketcall(2) for socket operations (golang/go#79200), tests opening sockets fail with socket: function not implemented when ubuntu-latest resolves to ubuntu-26.04.

Commits:

  • ci: pass --security-opt seccomp=unconfined to 386 test container
NONE

Ubuntu 26.04 runners currently ship Docker 29.4.2, whose default seccomp profile blocks socketcall(2) with ENOSYS (actions/runner-images#14790). Since Go on linux/386 still uses socketcall(2) for socket operations (golang/go#79200), all tests opening sockets fail with 'socket: function not implemented' when ubuntu-latest lands on ubuntu-26.04.

Signed-off-by: Bartek Plotka <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The configuration change is narrowly scoped to the affected test job, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Updates the 386 CI test container to work around Docker’s seccomp restriction on socketcall(2), allowing Go socket tests to run on Ubuntu 26.04 runners.

Changes:

  • Adds --security-opt seccomp=unconfined to the affected test container.
  • Documents the workaround with links to the upstream runner and Go issues.
File Description
.github/​workflows/​ci.yml Disables seccomp filtering for the 386 test container and explains why.

Review effort: Balanced

@bwplotka
bwplotka merged commit 670a4af into main Oct 27, 2026
40 checks passed
@bwplotka
bwplotka deleted the bwplotka/ci-fix-386-seccomp branch October 27, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants