Closed Bug 1176638 Opened 9 years ago Closed 8 years ago

All opt tests will permafail when Gecko 41 merges to Beta

Categories

(Testing :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

Not sure what to make of this - I'm hoping the resident experts will have a better sense of what's going wrong here. This affects both the API9 and API11+ builds, but 4.3 debug is green, interestingly.
https://treeherder.mozilla.org/logviewer.html#?job_id=8741847&repo=try

Also interesting, the reftests appear to be hitting the non-local network crash trying to connect to location.services.mozilla.com.
https://treeherder.mozilla.org/logviewer.html#?job_id=8741841&repo=try

Calling this critical since it blocks being able to see if there are any other underlying Android issues lurking behind this.
This is more widespread. OSX has the same issue (and a more-useful error from the looks of it):

https://treeherder.mozilla.org/logviewer.html#?job_id=8742639&repo=try

10:30:27 INFO - JavaScript error: http://mochi.test:8888/tests/SimpleTest/setup.js, line 110: ReferenceError: SpecialPowers is not defined
10:30:27 WARNING - TEST-UNEXPECTED-FAIL: setup.js | error parsing http://mochi.test:8888/tests.json (TypeError: RunSet is undefined)
10:30:27 INFO - JavaScript error: http://mochi.test:8888/tests/SimpleTest/setup.js, line 256: TypeError: RunSet is undefined
10:35:57 WARNING - TEST-UNEXPECTED-TIMEOUT | automation.py | application timed out after 330 seconds with no output

OSX reftests are hitting the same non-local crashes as well:
https://treeherder.mozilla.org/logviewer.html#?job_id=8742635&repo=try

And talos is hitting non-local crashes on snippets.cdn.mozilla.net:
https://treeherder.mozilla.org/logviewer.html#?job_id=8742684&repo=try
Flags: needinfo?(jgriffin)
Product: Firefox for Android → Testing
Summary: Android opt tests will perma-timeout when Gecko 41 merges to Beta → All opt tests will permafail when Gecko 41 merges to Beta
There seem to be several separate issues here.

The mochitest issue seems to be caused by lack of SpecialPowers, which may be some kind of packaging issue?

10:30:27 INFO - JavaScript error: http://mochi.test:8888/tests/SimpleTest/setup.js, line 110: ReferenceError: SpecialPowers is not defined

Both reftests and talos are failing with different url's involved in non-local crashes.

And the Android test problem seems to different as well.  needinfo'ing gbrown for the latter.
Flags: needinfo?(gbrown)
The mochitest issue seems related to:

10:30:22 INFO - 1434735022586 addons.xpi WARN Refusing to install staged add-on special-powers@mozilla.org with signed state 0

Have we already enabled the requirement that addons must be signed?  This will definitely break all tests until we have a way to sign these.
Flags: needinfo?(lmandel)
Flags: needinfo?(jgriffin)
Flags: needinfo?(catlee)
For Android, everything seems to point back to "Refusing to install staged add-on..."
Flags: needinfo?(gbrown)
ni Kev and mconnor to answer the question in comment 3.
Flags: needinfo?(mconnor)
Flags: needinfo?(lmandel)
Flags: needinfo?(kev)
Which is what bug 1132995 is for.
Depends on: 1132995
What Ryan said. The issue was raised by RelEng a couple months ago, and catlee and kmoir are on it. My understanding is that for 40, tests with unsigned addons will be performed with the pref off, but with Fx41 and forward there will be a solution in place to deal with signing requirements. Asking catlee and kmoir for more info.
Flags: needinfo?(kev) → needinfo?(kmoir)
Flags: needinfo?(mconnor)
(In reply to Geoff Brown [:gbrown] from comment #4)
> For Android, everything seems to point back to "Refusing to install staged
> add-on..."

Probably not bug 1175915, but posted just in case. I think add-ons don't need to use Android Intents and so it should be unrelated.
Regarding comment #8

I talked to Jordan (he'll also be working on this in Q3) today and we went over the plan so far.  We also talked to catlee and RyanVM.

The first step is to create builds with the build time option to disable requiring signed add ons in custom mozconfigs.  We could use Linux64 as a proof on concept platform and then enable for other platforms.

As part of the merge process to beta, we will push signed addons used in tests in tree so that the could be used for the regular builds.  Will coordinate with the addons team to sign them for us.  One possiblity is to store these binaries in tooltool.  This will be referenced in tree as part of the beta uplift. There are some addons that are generated in tree for testing purposes.  These could be disabled on the mozilla-beta and mozilla-release branches (according to catlee this is makefile hacking).  These in tree generated addons should be tested by the builds that have the signed addon preference disabled. So the plan is to have the testing switched to the builds with the signed addons buildtime preference disabled.  However, we'll ship the builds with the buildtime preference enabled that only allows signed addons to be installed. In summary

1) Generate new builds with option disabled on m-b and riding trains to m-r
2) Get addons used for testing signed by addons team, referenced in tree during uplift to beta
3) Store signed addons in tooltool? TBD
4) Run tests on new builds
5) Switch tests to only run on new builds on m-b and m-r
6) Actually ship build binaries with requirement for signed addons enabled
Flags: needinfo?(kmoir)
Flags: needinfo?(catlee)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.