Skip to content

Commit c5495a4

Browse files
e2bclaude
authored andcommitted
fix(orchestrator): skip UFFD write-protection test on ARM64
ARM64 kernels do not support UFFD write protection (UFFD_FEATURE_WP_ASYNC). TestAsyncWriteProtection exercises this feature and fails on ARM64 CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4ab8734 commit c5495a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/orchestrator/pkg/sandbox/uffd/userfaultfd/async_wp_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package userfaultfd
22

33
import (
44
"os"
5+
"runtime"
56
"testing"
67
"unsafe"
78

@@ -33,6 +34,9 @@ func TestAsyncWriteProtection(t *testing.T) {
3334
if os.Geteuid() != 0 {
3435
t.Skip("this test requires root privileges")
3536
}
37+
if runtime.GOARCH == "arm64" {
38+
t.Skip("ARM64 kernels do not support UFFD write protection")
39+
}
3640

3741
tests := []struct {
3842
name string

0 commit comments

Comments
 (0)