docker-test

command
v0.0.0-...-230ac96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Docker test probes

sigurg_probe.go

Sanity check that the kernel's SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag is functionally engaged when used with unixwrap. Invoked once per docker matrix cell (see .github/workflows/release.yml docker-test).

This is a best-effort sanity probe, not a strict regression catcher. The deterministic ERESTARTSYS reproducer from PR #225 requires arm64-VM- under-load conditions; amd64 docker absence-of-hang is too small a window to make false negatives impossible. The probe catches the gross failure class where the kernel accepts the flag but the flag does nothing. The arm64-VM reproducer remains the manual release gate (see docs/testing/arm64-sigurg-reproducer.md when written).

Build and run:

go build -o sigurg_probe scripts/docker-test/sigurg_probe.go
unixwrap -- ./sigurg_probe

Documentation

Overview

sigurg_probe is a best-effort sanity check that the WAIT_KILLABLE_RECV flag is functionally engaged end-to-end. It is invoked inside every docker-test matrix cell to catch gross regressions where the kernel accepts the flag but it has been silently broken. See docs/superpowers/specs/2026-05-11-libseccomp25-system-link-design.md section "Functional smoke test in each cell".

Limitations: the deterministic ERESTARTSYS repro from PR #225 requires arm64-VM-under-load conditions; on amd64 docker the race window is small enough that absence-of-hang is not a hard regression catcher. This program only catches the "kernel accepts flag but it does nothing" failure class.

Build: go build -o sigurg_probe scripts/docker-test/sigurg_probe.go Run: ./sigurg_probe Success: exit 0 within 5 seconds Failure: exit non-zero, message on stderr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL