Skip to content

fix(e2e): preserve failing test output before next test cleanup#926

Merged
LalatenduMohanty merged 1 commit intopython-wheel-build:mainfrom
LalatenduMohanty:fix-preserve-failing-test-output
Feb 25, 2026
Merged

fix(e2e): preserve failing test output before next test cleanup#926
LalatenduMohanty merged 1 commit intopython-wheel-build:mainfrom
LalatenduMohanty:fix-preserve-failing-test-output

Conversation

@LalatenduMohanty
Copy link
Member

When a mid-suite test fails, its e2e-output/ directory is deleted by clean_test_environment() when the next test starts.

To fix this the patch moving e2e-output dir to e2e-failed-<test_name> dir on failure so the data survives cleanup, and update the CI workflow to upload these preserved directories alongside e2e-output.

Fixes #917

@LalatenduMohanty LalatenduMohanty requested a review from a team as a code owner February 25, 2026 05:07
@mergify mergify bot added the ci label Feb 25, 2026
When a mid-suite test fails, its e2e-output/ directory is deleted by
clean_test_environment() when the next test starts.

To fix this the patch moving e2e-output dir to e2e-failed-<test_name>
dir on failure so the data survives cleanup, and update the CI workflow to
upload these preserved directories alongside e2e-output.

Fixes python-wheel-build#917

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
@LalatenduMohanty LalatenduMohanty force-pushed the fix-preserve-failing-test-output branch from 0095d62 to fdcb2ff Compare February 25, 2026 12:58
Copy link
Contributor

@rd4398 rd4398 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@LalatenduMohanty LalatenduMohanty merged commit 7016b93 into python-wheel-build:main Feb 25, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(e2e): preserve failing test output and harden local wheel server setup

2 participants