Skip to content

Stabilize parallel AuTest helpers#13182

Open
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:asf-autest-parallel-fixes
Open

Stabilize parallel AuTest helpers#13182
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:asf-autest-parallel-fixes

Conversation

@bneradt
Copy link
Copy Markdown
Contributor

@bneradt bneradt commented May 20, 2026

Parallel AuTest runs can execute redirect and redirect_actions at the
same time. Both tests wrote request files into the same generated data
directory, so one test could overwrite the other's inputs and make
redirect fail with unrelated redirect_actions requests.

This gives each redirect test its own generated-data directory and
keeps those directories ignored. This also makes the SIGUSR2 helper
tolerate processes whose psutil cmdline is unavailable, so process
scanning does not crash before signaling Traffic Server.

@bneradt bneradt added this to the 11.0.0 milestone May 20, 2026
@bneradt bneradt self-assigned this May 20, 2026
Copy link
Copy Markdown
Contributor

@JosiahWI JosiahWI left a comment

Choose a reason for hiding this comment

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

Good catch. I have a few minor concerns.

Comment thread tests/gold_tests/redirect/.gitignore Outdated
Comment thread tests/gold_tests/logging/ts_process_handler.py Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Parallel AuTest runs can execute redirect and redirect_actions at the
same time. Both tests wrote request files into the same generated data
directory, so one test could overwrite the other's inputs and make
redirect fail with unrelated redirect_actions requests.

This gives each redirect test its own generated-data directory and
keeps those directories ignored. This also makes the SIGUSR2 helper
tolerate processes whose psutil cmdline is unavailable, so process
scanning does not crash before signaling Traffic Server.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

3 participants