Skip to content

[WIP] Fixed youki molecule test#13102

Open
tico88612 wants to merge 3 commits intokubernetes-sigs:masterfrom
tico88612:fix/youki-molecule-seccomp
Open

[WIP] Fixed youki molecule test#13102
tico88612 wants to merge 3 commits intokubernetes-sigs:masterfrom
tico88612:fix/youki-molecule-seccomp

Conversation

@tico88612
Copy link
Copy Markdown
Member

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

The youki molecule test fails because youki's libseccomp binding treats
duplicate seccomp rules as fatal (EEXIST), unlike crun/runc which
silently ignore them. CRI-O's default seccomp profile contains duplicate
rules for the socket syscall (AF_NETLINK), triggering this failure.

Work around this by setting seccomp profile_type to Unconfined (1) in
the shared sandbox.json.j2 template when youki_enabled is true, so
CRI-O skips applying its default seccomp profile for youki test runs.

Special notes for your reviewer:

#13076 failing at youki molecule, I'm not sure which layer is causing the issue yet; I don't see any obvious commits in CRI-O.

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. labels Mar 15, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tico88612

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 15, 2026
@tico88612
Copy link
Copy Markdown
Member Author

Only molecule

/label ci-short

@k8s-ci-robot k8s-ci-robot added the ci-short Run a quick CI pipeline label Mar 15, 2026
@tico88612 tico88612 force-pushed the fix/youki-molecule-seccomp branch 2 times, most recently from 071f59e to 9e7ed30 Compare March 15, 2026 06:04
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 15, 2026
github-actions bot and others added 3 commits March 21, 2026 03:10
The youki molecule test fails because youki's libseccomp binding treats
duplicate seccomp rules as fatal (EEXIST), unlike crun/runc which
silently ignore them. CRI-O's default seccomp profile contains duplicate
rules for the socket syscall (AF_NETLINK), triggering this failure.

Work around this by setting seccomp profile_type to Unconfined (1) in
the shared sandbox.json.j2 template when youki_enabled is true, so
CRI-O skips applying its default seccomp profile for youki test runs.

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612 tico88612 force-pushed the fix/youki-molecule-seccomp branch from 9e7ed30 to 91c9b58 Compare March 26, 2026 15:34
@tico88612
Copy link
Copy Markdown
Member Author

/remove-label ci-short

@k8s-ci-robot k8s-ci-robot removed the ci-short Run a quick CI pipeline label Mar 26, 2026
@tico88612
Copy link
Copy Markdown
Member Author

/retest

@tico88612 tico88612 changed the title [WIP] [DONTMERGE] Fix youki molecule test Fixed youki molecule test Mar 26, 2026
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 26, 2026
@tico88612 tico88612 closed this Mar 26, 2026
@tico88612 tico88612 reopened this Mar 26, 2026
@tico88612
Copy link
Copy Markdown
Member Author

/cc @VannTen

@k8s-ci-robot k8s-ci-robot requested a review from VannTen March 26, 2026 15:39
@VannTen
Copy link
Copy Markdown
Contributor

VannTen commented Mar 30, 2026

Can we fill an issue on CRI-O side and reference it ? This looks like something which would also cause problem in real clusters.

@tico88612
Copy link
Copy Markdown
Member Author

@VannTen youki-dev/youki#3479

I'm not sure if this is a youki or a CRI-O issue, so I'll check with youki first.

@tico88612 tico88612 changed the title Fixed youki molecule test [WIP] Fixed youki molecule test Apr 3, 2026
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 3, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants