Skip to content

[v17] Fix flaky test TestChaosUpload#64501

Merged
Joerger merged 1 commit intobranch/v17from
joerger/v17/fix-flaky-test-TestChaosUpload
Apr 2, 2026
Merged

[v17] Fix flaky test TestChaosUpload#64501
Joerger merged 1 commit intobranch/v17from
joerger/v17/fix-flaky-test-TestChaosUpload

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Mar 11, 2026

Changelog: Fix error handling around empty uploads to ensure upload resources are consistently cleaned up.

Backport #62189 to branch/v17

* Significantly speed up TestChaosUpload with a more aggressive scan period.

* Add missing close for encrypted upload error.

* Don't treat empty uploads as a session error.

* Defer close.

* Add comment.
@Joerger Joerger added flaky tests no-changelog Indicates that a PR does not require a changelog entry no-test-plan Bypasses the test plan validation bot labels Mar 11, 2026
@Joerger Joerger changed the title [v18] Fix flaky test TestChaosUpload [v17] Fix flaky test TestChaosUpload Mar 11, 2026
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log backport size/sm labels Mar 11, 2026
Copy link
Copy Markdown
Contributor

@Tener Tener left a comment

Choose a reason for hiding this comment

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

Is the "no changelog" accurate? We are applying a fix to lib/events/filesessions/fileasync.go, even though it is subtle. There is a latent chance this will cause trouble and without changelog entry it will be that much harder to track.

@Joerger Joerger requested a review from Tener April 2, 2026 00:38
@Joerger Joerger removed the no-changelog Indicates that a PR does not require a changelog entry label Apr 2, 2026
@Joerger
Copy link
Copy Markdown
Contributor Author

Joerger commented Apr 2, 2026

@Tener Sure thing, added a changelog.

@zmb3 @rosstimothy This needs a flaky test skip since the test takes too long.

@Joerger Joerger requested a review from eriktate April 2, 2026 00:39
@rosstimothy
Copy link
Copy Markdown
Contributor

@zmb3 @rosstimothy This needs a flaky test skip since the test takes too long.

The flaky test detector is not a required check on release branches

@Joerger Joerger added this pull request to the merge queue Apr 2, 2026
Merged via the queue into branch/v17 with commit 50794fe Apr 2, 2026
49 of 50 checks passed
@Joerger Joerger deleted the joerger/v17/fix-flaky-test-TestChaosUpload branch April 2, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit-log Issues related to Teleports Audit Log backport flaky tests no-test-plan Bypasses the test plan validation bot size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants