Closed Bug 890083 Opened 11 years ago Closed 9 years ago

Gallery l10n_date_test.js intermittently fails on TBPL

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jgriffin, Unassigned)

References

Details

On TBPL, the gallery l10n_date_test.js is intermittently failing.

log: https://tbpl.mozilla.org/php/getParsedLog.php?id=24905821&tree=Cedar&full=1

14:39:57     INFO -  gaia-unit-tests TEST-UNEXPECTED-FAIL | L10n translate l10n date prettyDate maxDiff is specified | expected '' to equal '2 weeks ago'
14:39:57     INFO -  gaia-unit-tests INFO       | stack trace:
14:39:57     INFO -      Error: expected '' to equal '2 weeks ago'
14:39:57     INFO -          at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
14:39:57     INFO -          at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
14:39:57     INFO -          at (anonymous) (http://gallery.gaiamobile.org:8080/test/unit/l10n_date_test.js:64)
14:39:57     INFO -          at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
14:39:57     INFO -          at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
14:39:57     INFO -          at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
14:39:57     INFO -          at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
14:39:57     INFO -          at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
14:39:57     INFO -  gaia-unit-tests TEST-UNEXPECTED-FAIL | L10n translate l10n date prettyDate useCompactFormat is null | expected '' to equal '5 days ago'
14:39:57     INFO -  gaia-unit-tests INFO       | stack trace:
14:39:57     INFO -      Error: expected '' to equal '5 days ago'
14:39:57     INFO -          at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
14:39:57     INFO -          at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
14:39:57     INFO -          at (anonymous) (http://gallery.gaiamobile.org:8080/test/unit/l10n_date_test.js:71)
14:39:57     INFO -          at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
14:39:57     INFO -          at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
14:39:57     INFO -          at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
14:39:57     INFO -          at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
14:39:57     INFO -          at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
14:39:57     INFO -  gaia-unit-tests TEST-UNEXPECTED-FAIL | L10n translate l10n date prettyDate useCompactFormat is true | expected '' to equal '5d ago'
14:39:57     INFO -  gaia-unit-tests INFO       | stack trace:
14:39:57     INFO -      Error: expected '' to equal '5d ago'
14:39:57     INFO -          at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
14:39:57     INFO -          at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
14:39:57     INFO -          at (anonymous) (http://gallery.gaiamobile.org:8080/test/unit/l10n_date_test.js:78)
14:39:57     INFO -          at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
14:39:57     INFO -          at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
14:39:57     INFO -          at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
14:39:57     INFO -          at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
14:39:57     INFO -          at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
14:39:57     INFO -          at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)

This is the first time I've seen this error; if it turns out to be a frequent intermittent failure, the test will have to be disabled or fixed before we can turn on gaia-unit-tests on all trees.
(moving to Gaia because it's a l10n test .. that happens to be "hosted" in the gallery app)

Kaze, could you please have a look on these tests ? Seems like all pretty format tests are failing on b2g desktop (moz central)...
Component: Gaia::Gallery → Gaia
Flags: needinfo?(kaze)
Taking, but working on leo+ items first. Feel free to steal this bug if you’re in a hurry!
Assignee: nobody → kaze
Flags: needinfo?(kaze)
Assignee: fabien → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.