Closed Bug 1882087 Opened 1 year ago Closed 1 year ago

make sure android tests are sheriffable

Categories

(Fenix :: General, task)

All
Android
task

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: jcristau, Assigned: gbrown)

References

Details

Attachments

(4 files, 2 obsolete files)

As firefox-android moves to the gecko tree, build/test failures need to be sheriffable.

As an example, here's a broken geckoview build:
https://treeherder.mozilla.org/logviewer?job_id=449500452&repo=try&lineNumber=2943

[task 2024-03-04T23:34:12.658Z] 23:34:12    ERROR -  /builds/worker/checkouts/gecko/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java:132: error: cannot find symbol
[task 2024-03-04T23:34:12.658Z] 23:34:12     INFO -        return this == otherz;
[task 2024-03-04T23:34:12.659Z] 23:34:12     INFO -                       ^
[task 2024-03-04T23:34:12.659Z] 23:34:12     INFO -    symbol:   variable otherz
[task 2024-03-04T23:34:12.659Z] 23:34:12     INFO -    location: class State

vs. a broken fenix build:
https://treeherder.mozilla.org/logviewer?job_id=449512944&repo=try&lineNumber=4761

[task 2024-03-05T01:09:51.667Z] e: file:///builds/worker/checkouts/gecko/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt:216:29 Unresolved reference: telemetryEnabledz
[task 2024-03-05T01:09:51.667Z] 
[task 2024-03-05T01:09:51.667Z] > Task :app:compileFenixDebugKotlin FAILED
[task 2024-03-05T01:09:51.767Z] 
[task 2024-03-05T01:09:51.767Z] FAILURE: Build failed with an exception.
Assignee: nobody → gbrown

Thanks Aaron, I wasn't aware of that. I also see now that there is existing documentation about sheriffing tests at https://wiki.mozilla.org/Sheriffing/How_To/Mobile_Trees. I still think we should try to make firefox-android error messages more easily available in treeherder: Provide at least a basic error message for most failures in the treeherder "Failure Summary".

Attachment #9390534 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Duplicate of this bug: 1885921
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26662bd77b86 Improve ui-test failure messages for treeherder r=aaronmt
Regressions: 1886173
Blocks: 1896894
Attachment #9389978 - Attachment is obsolete: true
See Also: → 1813186
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: