Closed
Bug 841815
Opened 12 years ago
Closed 12 years ago
Re-enable gaia unit tests on Travis
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rik, Assigned: yurenju)
References
Details
Attachments
(1 file)
Now that bug 838993 has landed, we should re-enable those tests.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → yurenju
Assignee | ||
Comment 1•12 years ago
|
||
Bug 841251 broken email and calendar unit test, kevin is working on it. after this bug fixed I will re-enable travis :D
Assignee | ||
Comment 2•12 years ago
|
||
test case for calendar _sendAlarmNotification always failed. I spent whole day and have no idea about it, so I will disable it and file a bug for re-enable _sendAlarmNotification test case.
Comment 3•12 years ago
|
||
I can save you some time: I've already filed Bug 840489 for misbehaving unit tests in the Calendar app.
Assignee | ||
Comment 4•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/8179
I'll also active travis integration when this commit landed.
Attachment #715190 -
Flags: review?(mike)
Comment 5•12 years ago
|
||
This looks good, but I'm not sure about the implications of changing the CI server to use Nightly. My fear is that we'll be more exposed to regressions. I'll see if I can get a second opinion.
Comment 6•12 years ago
|
||
especially that nightly does not work these days...
Comment 7•12 years ago
|
||
It's apparently working now--TravisCI is reporting that the tests are green on the pull request:
https://github.com/mozilla-b2g/gaia/pull/8179
...but the larger question remains.
I should also make it clear that Yuren's work is specifying a static version of Nightly, which, although probably safer than latest nightly, feels somewhat arbitrary.
Comment 8•12 years ago
|
||
And apologies to Yuren--"arbitrary" is a bit of a loaded word. What I meant by that is it would be better to be explicit about which version runs in CI and why.
Assignee | ||
Comment 9•12 years ago
|
||
I knew recent nightly broken, that's why I used the first version of Feb which I have tested for runnung unit tests.
we should use a fixed version of firefox since recent nightly is unstable for unit tests just like bug 841711.
any idea for which nightly version we should use?
Assignee | ||
Comment 10•12 years ago
|
||
Disccussed with Tim offline, we should use recent nightly because developers always use nightly running tests with automatic update.
I'm investigating how to get the latest nightly.
this link should be work but not...
https://download.mozilla.org/?product=firefox-nightly-latest?os=linux&lang=en-US
Reporter | ||
Comment 11•12 years ago
|
||
I don't understand the rationale for choosing the latest Nightly. We're running these tests to ensure that we don't have regressions against the Gecko we'll use in the final products.
So I think we should use something like http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-b2g18/
Comment 12•12 years ago
|
||
I didn't know we had firefox builds from the b2g18 branch. I totally agree with Anthony for that.
However this "latest b2g18" should also be updated. So let's first enable back the tests, and then Yuren, could you file a new bug for choosing the right Firefox ?
Comment 13•12 years ago
|
||
Running the tests on a current nightly branch makes some test fail, eg Bug 842500. Therefore I believe we should really run the tests in a b2g18 Firefox.
However we should also run them in a nightly to catch early some problems, but maybe not in Travis ?
Assignee | ||
Comment 14•12 years ago
|
||
quick_settings_test.js also failed on b2g18 firefox, but I found the root cause. pull request is on the way.
Assignee | ||
Comment 15•12 years ago
|
||
Mike, pull request updated!
test case failed on access MozActivity and it also failed when I try to use |if(window.MozActivity)| or |if(typeof(MozActivity) !== 'undefined'| to avoid it.
Comment 16•12 years ago
|
||
Comment on attachment 715190 [details]
pull request
stealing, r+ :)
Attachment #715190 -
Flags: review?(mike) → review+
Comment 17•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 18•12 years ago
|
||
This is great! Nice work, Yuren (and thanks for reviewing, Tim) :)
You need to log in
before you can comment on or make changes to this bug.
Description
•