Closed Bug 1688208 Opened 4 years ago Closed 4 years ago

Android mochitests should log similar to desktop; currently e.g. WARNING - <processID> ERROR TEST-UNEXPECTED-FAIL | ...

Categories

(Testing :: Mochitest, task)

task

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: aryx, Assigned: gbrown)

References

Details

Attachments

(1 file)

Android mochitests should log similar to desktop; currently they have e.g. WARNING - <processID> ERROR TEST-UNEXPECTED-FAIL | ... (example).
On desktop, the format is ERROR - TEST-UNEXPECTED-FAIL | ... (example).

This causes some differences in tooling like bugs tracking intermittent failures containing <processID> ERROR TEST-UNEXPECTED-FAIL | in the failure summary. There might already be a bug for the issue (didn't find it).

It looks like the extra <num> <level> is added by the MochitestFormatter; I think that can be safely removed now. Testing a patch...

Assignee: nobody → whole.grains

The MochitestFormatter adds an additional count and log level, from the mochitest test
harness. As far as I can tell, the MochitestFormatter is not called during desktop tests
(only Android); this difference appears accidental. Removing this log formatter removes
the extra, undesired fields.

See Also: → 1043420, 1044206
Pushed by whole.grains@protonmail.com: https://hg.mozilla.org/integration/autoland/rev/549540d9f5ef Remove MochitestFormatter to align android and desktop log format; r=jmaher,aryx
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: