Closed Bug 1518273 Opened 5 years ago Closed 5 years ago

geckoview junit tests should output structured logs

Categories

(Firefox for Android Graveyard :: Testing, enhancement)

enhancement
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
Firefox 66
Tracking Status
firefox66 --- fixed

People

(Reporter: jmaher, Assigned: gbrown)

Details

Attachments

(1 file)

currently we see failures in gv-junit tests and the test failures are not seen in activedata because activedata only ingests structured logs.

I assume mozlog can generate structured logs and it appears that many other android emulator/device runs are seen in activedata (assuming they output structuredlogs- I see some for mochitest-media)

:gbrown, do you have more context here to add?

Flags: needinfo?(gbrown)

Maybe we need --log-raw? Checking on try...

https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=b5e879c075dce1c6896da5033c2877903bf660df

now geckoview-junit artifacts include geckoview-junit_raw.log, which appears to be a structured log.

I'm guessing this is what activedata needs. Do you know how to check?

Assignee: nobody → gbrown
Flags: needinfo?(gbrown)
Attachment #9034832 - Flags: review?(jmaher)
Attachment #9034832 - Flags: review?(jmaher) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/816dcd83b0c4
Generate raw log for geckoview-junit; r=jmaher
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66

this is working properly and activedata sees the testnames.

Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: