Repository navigation
Added ability to randomly kill pipelines to the constellation. - #10179
Conversation
|
Things that we need to make sure about this PR:
|
9cfa85f to
e661fa3
Compare
|
Argh, forgot to run test-tidy. |
|
There is a constellation hardening metabug: issue #10124. |
|
Looks good to me! I left a comment about the -S-awaiting-review +S-awaiting-answer Reviewed 4 of 6 files at r1, 1 of 2 files at r2. components/compositing/constellation.rs, line 370 [r2] (raw file): Renaming These are nits though, and I won't blame you for landing this as-is :P Comments from the review on Reviewable.io |
|
Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. components/compositing/constellation.rs, line 370 [r2] (raw file): Comments from the review on Reviewable.io |
| document_states: HashMap::new(), | ||
| webrender_api_sender: state.webrender_api_sender, | ||
| random_pipeline_closure: opts::get().random_pipeline_closure_probability.map(|prob| { | ||
| let seed = opts::get().random_pipeline_closure_seed.unwrap_or_else(random); |
There was a problem hiding this comment.
When it a random seed, perhaps it should log the seed.
There was a problem hiding this comment.
Done. Should we log using debug! or something else?
There was a problem hiding this comment.
debug! is compiled out in release builds of Servo, so use info! if you want to use this feature in release.
|
Looks good to me, r=me with that typo fixed and the commits squashed :) -S-awaiting-answer -S-awaiting-answer +S-needs-code-changes +S-needs-squash Reviewed 1 of 2 files at r2, 1 of 1 files at r5. components/compositing/constellation.rs, line 370 [r2] (raw file): Comments from the review on Reviewable.io |
6e0863f to
1ec222c
Compare
|
Squashed, typo fixed. Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. Comments from the review on Reviewable.io |
|
@bors-servo: r=emilio |
|
📌 Commit 1ec222c has been approved by |
Added ability to randomly kill pipelines to the constellation. Added flags: * `--random-pipeline-closure-probability`: probability of each event triggering a forced exit of a randomly chosen pipeline. * `--random-pipeline-closure-seed`: seed to use for the RNG (to remove a source of intermittent failure). These are designed for testing the hardness of the constellation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10179) <!-- Reviewable:end -->
|
💔 Test failed - gonk |
|
Need to update the other lockfiles. |
|
Grr, I'll do this tomorrow. |
1ec222c to
8f9b073
Compare
8f9b073 to
2c04724
Compare
2c04724 to
32c72f0
Compare
|
OK, fixed Cargo.lock files, Let's see if this works... @bors-servo try |
Added ability to randomly kill pipelines to the constellation. Added flags: * `--random-pipeline-closure-probability`: probability of each event triggering a forced exit of a randomly chosen pipeline. * `--random-pipeline-closure-seed`: seed to use for the RNG (to remove a source of intermittent failure). These are designed for testing the hardness of the constellation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10179) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor |
|
@bors-servo: r=emilio |
|
📌 Commit 32c72f0 has been approved by |
Added ability to randomly kill pipelines to the constellation. Added flags: * `--random-pipeline-closure-probability`: probability of each event triggering a forced exit of a randomly chosen pipeline. * `--random-pipeline-closure-seed`: seed to use for the RNG (to remove a source of intermittent failure). These are designed for testing the hardness of the constellation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10179) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
⚡ Previous build results for android, arm32, gonk, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor are reusable. Rebuilding only linux-rel... |
|
☀️ Test successful - android, arm32, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor |
Added flags:
--random-pipeline-closure-probability: probability of each event triggering a forced exit of a randomly chosen pipeline.--random-pipeline-closure-seed: seed to use for the RNG (to remove a source of intermittent failure).These are designed for testing the hardness of the constellation.
This change is