Closed
Bug 787578
Opened 12 years ago
Closed 12 years ago
B2G Updates: Get updater automated tests running for B2G
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(blocking-basecamp:+, b2g18 fixed)
Tracking | Status | |
---|---|---|
b2g18 | --- | fixed |
People
(Reporter: marshall, Assigned: ahal)
References
Details
There are currently a large set of mochitests and xpcshell tests for the updater that we should get running in automation for B2G. See:
- http://dxr.mozilla.org/mozilla-central/toolkit/mozapps/update/test/
- http://dxr.mozilla.org/mozilla-central/toolkit/mozapps/update/test_svc/
- http://dxr.mozilla.org/mozilla-central/toolkit/mozapps/update/test_timermanager/
Comment 1•12 years ago
|
||
I can turn these on any time you tell me they're ready.
Comment 2•12 years ago
|
||
Updates are very important and these large sets warrant a blocking+ IMO.
blocking-basecamp: ? → +
Component: Application Update → General
Product: Toolkit → Boot2Gecko
Comment 3•12 years ago
|
||
I've worked on these tests a lot before and there will be some work here relating to signing, so I'll take this bug
Assignee: marshall → netzen
Updated•12 years ago
|
Priority: -- → P1
Comment 5•12 years ago
|
||
Removing mochitest-chrome as a dep, since the existing mochitest-chrome tests for the updater are Firefox-specific.
No longer depends on: 797164
Comment 6•12 years ago
|
||
Has there been any progress here? Are we still blocked on getting the xpcshell tests going?
Flags: needinfo?
Comment 7•12 years ago
|
||
I think this is blocked on the dependent bug which looks like it should land soon.
Flags: needinfo?
Comment 8•12 years ago
|
||
Brian, what are the next steps here?
Comment 9•12 years ago
|
||
Could you provide logs for the failing tests? Are other xpcshell-tests up and running now?
Comment 10•12 years ago
|
||
(In reply to Jonathan Griffin (:jgriffin) from comment #5)
> Removing mochitest-chrome as a dep, since the existing mochitest-chrome
> tests for the updater are Firefox-specific.
Note that the mochitest-chrome tests are actually toolkit specific and work with Firefox, Thunderbird, and SeaMonkey.
Updated•12 years ago
|
Assignee: nobody → netzen
Comment 11•12 years ago
|
||
dougt, can you help out getting the info requested in comment #9?
Comment 12•12 years ago
|
||
Marking for C2, given this meets the criteria of known P1/P2 blocking-basecamp+ bugs at the end of C1.
Target Milestone: --- → B2G C2 (20nov-10dec)
Comment 13•12 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #9)
> Could you provide logs for the failing tests? Are other xpcshell-tests up
> and running now?
Could someone answer the second part of this? Are other xpcshell-tests up and running now?
Comment 14•12 years ago
|
||
ahal is working on getting xpcshell tests for B2G running on TPBL, see bug 797153
Comment 15•12 years ago
|
||
CC akeybl: See Comment 14
Then I suggest that should also be a C2 blocker.
Unassigned myself again since I can't work on it.
Assignee: netzen → nobody
Depends on: 797153
Assignee | ||
Comment 16•12 years ago
|
||
Bug 797153 was just a small piece, there's still a lot of work to be done. But if I drop everything I think I can get xpcshell tests running by C2. But there are still some unknowns to me (e.g bug 815641)
Depends on: 809233
Comment 17•12 years ago
|
||
I think this should be re-evaluated for consideration for C2 given the last couple comments.
Assignee | ||
Comment 18•12 years ago
|
||
The biggest issue blocking me is bug 816086. If I can get that figured out by the end of the week I think there is a decent chance of at least getting xpcshell tests running on cedar by Dec 10th (main tracking bug for that is bug 809233).
Depends on: 816086
Comment 19•12 years ago
|
||
Andrew, assigning to you as it looks like you're working on this.
Assignee: nobody → ahalberstadt
Comment 20•12 years ago
|
||
Feel free to file followups for specific app update xpcshell test failures to me.
Assignee | ||
Comment 21•12 years ago
|
||
(In reply to Marshall Culpepper [:marshall_law] from comment #0)
> - http://dxr.mozilla.org/mozilla-central/toolkit/mozapps/update/test/
> - http://dxr.mozilla.org/mozilla-central/toolkit/mozapps/update/test_svc/
These two sets of test don't seem to be in the tests.zip. Filed bug 817651 to get them added.
Assignee | ||
Comment 22•12 years ago
|
||
Update: xpcshell looks to be on track to ready to go on m-c by monday (+ time for releng to change and update the configs)
However that still won't change the fact that the update tests aren't being added to the tests.zip because MOZ_UPDATER isn't being defined in the build (bug 817651)
Comment 23•12 years ago
|
||
:ahal, there seems to be a bunch of dependency here. what's the ETA here since this missed the C2 milestone?
Comment 24•12 years ago
|
||
Andrew has previously told me that he expected this work to be complete and deployed by mid week (roughly Wednesday). Andrew, is this still accurate?
Assignee | ||
Comment 25•12 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] from comment #24)
> Andrew has previously told me that he expected this work to be complete and
> deployed by mid week (roughly Wednesday). Andrew, is this still accurate?
Yep, they're running green on Cedar. Just need to land a manifest change on the core branches and wait for releng to enable the config (which is already reviewed).
Assignee | ||
Comment 26•12 years ago
|
||
Just waiting for the latest patch in bug 807125 to land
Assignee | ||
Comment 27•12 years ago
|
||
All has landed, they should go live on all branches either today or tomorrow.
Assignee | ||
Comment 28•12 years ago
|
||
xpcshell tests are now unhidden on green on inbound (and m-c after next merge) and aurora. Unfortunately on b2g18 they're hitting bug 811830 for some reason. There is a separate bug I'm working on (bug 821012) which I believe will workaround the issue in bug 811830.
In the mean time there are several update tests that seem to fail which are outside of my domain knowledge to look into.
* toolkit/mozapps/update/test/unit/test_0030_general.js
* toolkit/mozapps/update/test/unit/test_0081_prompt_uiAlreadyOpen.js
* toolkit/mozapps/update/test/unit/test_bug595059.js
* all tests in toolkit/mozapps/update/test/unit/xpcshell_updater.ini
I haven't filed bugs for these yet, but if someone does please make it block bug 820380
Assignee | ||
Comment 29•12 years ago
|
||
The problem on the mozilla-b2g18 branch isn't bug 811830 after all, it's just that the version of remotexpcshelltests.py is out of date. I filed bug 821333 to fix the problem.
Assignee | ||
Comment 30•12 years ago
|
||
Assignee | ||
Comment 31•12 years ago
|
||
These are now running on all branches including b2g18 (though they are still hidden due to one of the tests timing out, will disable it soon).
This bug is more or less finished from my point of view. Lets use bug 821343 and bug 821344 to track progress on fixing remaining problems with the update tests.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
status-b2g18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•