Skip to content

Make log pipe test tolerate restricted kernels - #13431

Open
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:log-pipe-permission-test
Open

Make log pipe test tolerate restricted kernels#13431
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:log-pipe-permission-test

Conversation

@bneradt

@bneradt bneradt commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Some CI environments do not permit unprivileged processes to increase
FIFO buffer sizes, even when the requested size is below the system
maximum. The log_pipe AuTest treats this kernel policy as a product
failure and cannot run in those environments.

This makes the test accept only the corresponding Operation not permitted diagnostic when the FIFO remains unchanged, while continuing
to reject other errors and fatal diagnostics. It also waits briefly for
asynchronous diagnostic output before deciding whether the size check
failed.

Some CI environments do not permit unprivileged processes to increase
FIFO buffer sizes, even when the requested size is below the system
maximum. The log_pipe AuTest treats this kernel policy as a product
failure and cannot run in those environments.

This makes the test accept only the corresponding `Operation not
permitted` diagnostic when the FIFO remains unchanged, while continuing
to reject other errors and fatal diagnostics. It also waits briefly for
asynchronous diagnostic output before deciding whether the size check
failed.
Copilot AI review requested due to automatic review settings July 25, 2026 22:19
@bneradt bneradt added this to the 11.0.0 milestone Jul 25, 2026
@bneradt bneradt self-assigned this Jul 25, 2026

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants