Open Bug 1766711 Opened 2 years ago Updated 2 years ago

A shutdown crash on a WPT crashtest still marks the test as pass

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(Not tracked)

People

(Reporter: saschanaz, Unassigned)

References

(Blocks 1 open bug)

Details

Can it wait for the process to do a full shutdown before marking it as pass?

Flags: needinfo?(james)

We don't restart the process after each passing test, so it seems hard to attribute a crash to a specific test. Do Gecko crashtests actually restart once per test, or how does the accounting work?

Flags: needinfo?(james)

I'm not sure, all I know at this point is that Gecko crashtests do attribute it to something (maybe just to the whole command). I'm on PTO now, I'll check next week.

Flags: needinfo?(krosylight)

ᅟSo:

load shutdown-crash.html
load empty.html

Crashtest attributes it to empty.html. 🥲

It would be great if it detect shutdown crash (by checking mozilla::dom::ContentProcess::CleanUp in the stack?) and attribute it to nothing, but still marking it as a test failure. That will help detecting regressions at least.

Flags: needinfo?(krosylight)

The severity field is not set for this bug.
:jgraham, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(james)
Severity: -- → S3
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.