-
Notifications
You must be signed in to change notification settings - Fork 342
[lldb] Script determinism of TestSwiftActorUnprioritisedJobs #10435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lldb] Script determinism of TestSwiftActorUnprioritisedJobs #10435
Conversation
another attempt at #10417 |
@swift-ci test macOS |
@swift-ci test Linux platform |
@swift-ci test Windows platform |
12f1313
to
0335696
Compare
@swift-ci test |
Resuming work on this PR |
@swift-ci test linux |
@swift-ci test |
@swift-ci test linux |
@swift-ci test macOS |
@swift-ci test |
@swift-ci test linux |
@swift-ci test macOS |
So far, tests are passing consistently. |
@swift-ci test linux |
@swift-ci test |
@swift-ci test macOS |
@swift-ci test linux |
@swift-ci test macOS |
@swift-ci test linux |
Credit Adrian for the idea.
e7d3bf0
to
7631872
Compare
@swift-ci test |
@swift-ci test |
@swift-ci test |
@swift-ci test macOS |
1 similar comment
@swift-ci test macOS |
@swift-ci test |
@swift-ci test macOS |
5 similar comments
@swift-ci test macOS |
@swift-ci test macOS |
@swift-ci test macOS |
@swift-ci test macOS |
@swift-ci test macOS |
@swift-ci test |
* [lldb] Make TestSwiftActorUnprioritisedJobs deterministic * Run and show `bt all` * Attempt forward progress of other threads * Add missing thread.Suspend() * Unconditionally run other threads * Increase sleep wait * Add actor call to hopefully initialize swift concurrency threads * New algorithm to ensure actor is sufficiently setup Credit Adrian for the idea. * Add IsValid asserts * New approach did not work, restore previous * Another round of changes * Remove dead test code; Run the test 20x * Pause to allow for occupy() call * Remove stress testing of multiple test runs (cherry picked from commit 14ea9a3) (cherry-picked from commit 9a32a3a538ec30e8252c4d6be71d17d1b289ce29)
* [lldb] Make TestSwiftActorUnprioritisedJobs deterministic * Run and show `bt all` * Attempt forward progress of other threads * Add missing thread.Suspend() * Unconditionally run other threads * Increase sleep wait * Add actor call to hopefully initialize swift concurrency threads * New algorithm to ensure actor is sufficiently setup Credit Adrian for the idea. * Add IsValid asserts * New approach did not work, restore previous * Another round of changes * Remove dead test code; Run the test 20x * Pause to allow for occupy() call * Remove stress testing of multiple test runs (cherry picked from commit 14ea9a3) (cherry-picked from commit 9a32a3a538ec30e8252c4d6be71d17d1b289ce29)
No description provided.