Need a general output formatter config for mozharness

NEW
Unassigned

Status

P5
normal
2 years ago
a year ago

People

(Reporter: pyang, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
Currently mozharness while adapting structured log, output format to stdout(which is showed on treeherder) will be modified by tpblOutputFormatter instead of original one ex: ReftestOutputFormatter.

For reftest we added condition for replacing output formatter however we might need a generic solution such like mapping table for test suite and corresponding formatter.
Paul, did you have any additional ideas for this?
Flags: needinfo?(pyang)
Priority: -- → P5
(Reporter)

Comment 2

a year ago
This bug was a followup to https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/scripts/desktop_unittest.py#700

Because tpblOutputFormatter modify the original log, we need to import reftestOutputFormatter as workaround.

If this is not a special case, I think we can
- replace this block and prepare mapping table for test suite and its formatter
or
- patch tpblOutputFormatter to tackle with differences among test suites.
Flags: needinfo?(pyang)
You need to log in before you can comment on or make changes to this bug.