Crashes happening during tests just became easier to look at

10 views
Skip to first unread message

Florian Quèze

unread,
Oct 29, 2025, 12:53:58 PMOct 29
to dev-platform, Firefox Dev
Until a couple days ago, when a test crashed, in the treeherder Failure Summary, you saw a line like:
 PROCESS-CRASH | application crashed [@ js::ctypes::ConvertToJS] | testing/xpcshell/test/unit/test_crash.js
To see the stack of the crash, you had to open the log viewer, and see something like: https://treeherder.mozilla.org/logviewer?job_id=530780616&repo=try&task=JBda2XLCQH2vsdO60YM_XQ.0&lineNumber=10476

Thanks to a few recent changes, a similar crash now looks like:
 PROCESS-CRASH | 5df45dee-6eae-5377-8cd4-120136139a6c | application crashed [@ js::ctypes::ConvertToJS] | testing/xpcshell/test/unit/test_crash.js
with the minidump id linking to a crash viewer where you can see the stacks: https://fqueze.github.io/aretestsfastyet/crash-viewer.html?url=https%3A%2F%2Ffirefox-ci-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FRYg0tmzHQia_MtrU9Hqyeg%2Fruns%2F0%2Fartifacts%2Fpublic%2Ftest_info%2F5df45dee-6eae-5377-8cd4-120136139a6c.json

The links to the crash viewer are also available from the log viewer: https://treeherder.mozilla.org/logviewer?job_id=532374171&repo=try&task=RYg0tmzHQia_MtrU9Hqyeg.0&lineNumber=4288

As you might know, for xpcshell tests, we only report failures for tests that failed twice during the same job (a first time when running the tests in parallel, and a second time when re-running sequentially the tests that failed in parallel). This means lots of crashes occur during xpcshell test jobs without ever being visible on Treeherder. If you are interested in seeing these crashes that didn't turn any job orange, you can have a look at them from this dashboard:
https://fqueze.github.io/aretestsfastyet/crashes.html

--
Florian Quèze
Reply all
Reply to author
Forward
0 new messages