Repository navigation
Add font cache debugging to isolate cause of IPC failures in CI. - #20106
Conversation
| panic!("Font cache thread has already exited."); | ||
| } | ||
| let reply = reply | ||
| .expect("failed to receive response to font request"); |
There was a problem hiding this comment.
Also, none of these need to use expect I guess, since we panic! on the line above... Want to either change it for unwrap(), or file an issue to revert this PR once we figure out the failures and reference it here?
| assert!(font_thread_has_closed, "Failed to receive a response from live font cache"); | ||
| panic!("Font cache thread has already exited."); | ||
| } | ||
| let reply = reply |
| assert!(font_thread_has_closed, "Failed to receive a response from live font cache"); | ||
| panic!("Font cache thread has already exited."); | ||
| } | ||
| let instance_key = instance_key |
5810cb5 to
192b64c
Compare
|
@bors-servo r=emilio |
|
📌 Commit 192b64c has been approved by |
|
@bors-servo p=1 |
|
🔒 Merge conflict |
|
☔ The latest upstream changes (presumably #20021) made this pull request unmergeable. Please resolve the merge conflicts. |
192b64c to
8d3b875
Compare
|
@bors-servo r=emilio |
|
📌 Commit 8d3b875 has been approved by |
Add font cache debugging to isolate cause of IPC failures in CI. This should help us better understand the actual underlying cause of frequent CI failures like #13509. In particular, we will be able to state with confidence whether an IPC message is being dropped while the font cache thread is still alive, or whether the dropped sender was in a message that was in the queue after the font cache thread was shutdown. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20106) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
This should help us better understand the actual underlying cause of frequent CI failures like #13509. In particular, we will be able to state with confidence whether an IPC message is being dropped while the font cache thread is still alive, or whether the dropped sender was in a message that was in the queue after the font cache thread was shutdown.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is