Closed
Bug 876263
Opened 12 years ago
Closed 11 years ago
Some homescreen tests are failing in TBPL
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: crdlc)
References
Details
Attachments
(1 file)
09:59:29 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app2 | Page [app2, app1, app3, app4] | Dock [app5, app6] > After dragging icons has been rearranged correctly | Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:29 INFO - gaia-unit-tests INFO | stack trace:
09:59:29 INFO - Error: Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:29 INFO - at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
09:59:29 INFO - gaia-unit-tests TEST-END | Dragging app1 to app2 | Page [app2, app1, app3, app4] | Dock [app5, app6] >
09:59:29 INFO - gaia-unit-tests TEST-START | Dragging app1 to app3 | Page [app2, app3, app1, app4] | Dock [app5, app6] >
09:59:29 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app3 | Page [app2, app3, app1, app4] | Dock [app5, app6] > Before dragging the icon app1 is the second | expected {} to equal {}
09:59:29 INFO - gaia-unit-tests INFO | stack trace:
09:59:29 INFO - Error: expected {} to equal {}
09:59:29 INFO - at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
09:59:29 INFO - at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
09:59:29 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:104)
09:59:29 INFO - at checkPositions (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:102)
09:59:29 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:179)
09:59:29 INFO - at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
09:59:29 INFO - at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
09:59:29 INFO - at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
09:59:29 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
09:59:29 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
09:59:29 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
09:59:29 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
09:59:29 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
09:59:29 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
09:59:29 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app3 | Page [app2, app3, app1, app4] | Dock [app5, app6] > After dragging icons has been rearranged correctly | Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:29 INFO - gaia-unit-tests INFO | stack trace:
09:59:29 INFO - Error: Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:29 INFO - at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
09:59:30 INFO - gaia-unit-tests TEST-END | Dragging app1 to app3 | Page [app2, app3, app1, app4] | Dock [app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-START | Dragging app1 to app4 | Page [app2, app3, app4, app1] | Dock [app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app4 | Page [app2, app3, app4, app1] | Dock [app5, app6] > Before dragging the icon app1 is the third | expected {} to equal {}
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: expected {} to equal {}
09:59:30 INFO - at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
09:59:30 INFO - at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:104)
09:59:30 INFO - at checkPositions (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:102)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:201)
09:59:30 INFO - at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
09:59:30 INFO - at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
09:59:30 INFO - at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app4 | Page [app2, app3, app4, app1] | Dock [app5, app6] > After dragging icons has been rearranged correctly | Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
09:59:30 INFO - gaia-unit-tests TEST-END | Dragging app1 to app4 | Page [app2, app3, app4, app1] | Dock [app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-START | Dragging app1 to app2 | Page [app1, app2, app3, app4] | Dock [app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app2 | Page [app1, app2, app3, app4] | Dock [app5, app6] > Before dragging the icon app1 is the last | expected {} to equal {}
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: expected {} to equal {}
09:59:30 INFO - at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
09:59:30 INFO - at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:104)
09:59:30 INFO - at checkPositions (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:102)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:223)
09:59:30 INFO - at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
09:59:30 INFO - at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
09:59:30 INFO - at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
09:59:30 INFO - gaia-unit-tests TEST-PASS | dragdrop.js > Dragging app1 to app2 | Page [app1, app2, app3, app4] | Dock [app5, app6] > After dragging icons has been rearranged correctly
09:59:30 INFO - gaia-unit-tests TEST-END | Dragging app1 to app2 | Page [app1, app2, app3, app4] | Dock [app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-START | Dragging app1 to dock (from left) | Page [app2, app3, app4] | Dock [app1, app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-PASS | dragdrop.js > Dragging app1 to dock (from left) | Page [app2, app3, app4] | Dock [app1, app5, app6] > Before dragging the icon app1 is the first in the page and app5 is the first in the dock
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to dock (from left) | Page [app2, app3, app4] | Dock [app1, app5, app6] > After dragging icons has been rearranged correctly | Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
09:59:30 INFO - gaia-unit-tests TEST-END | Dragging app1 to dock (from left) | Page [app2, app3, app4] | Dock [app1, app5, app6] >
09:59:30 INFO - gaia-unit-tests TEST-START | Dragging app1 to app5 | Page [app2, app3, app4] | Dock [app5, app1, app6] >
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app5 | Page [app2, app3, app4] | Dock [app5, app1, app6] > Before dragging the icon app1 is the first in the dock | expected {} to equal {}
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: expected {} to equal {}
09:59:30 INFO - at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
09:59:30 INFO - at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:104)
09:59:30 INFO - at checkPositions (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:102)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:268)
09:59:30 INFO - at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
09:59:30 INFO - at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
09:59:30 INFO - at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app5 | Page [app2, app3, app4] | Dock [app5, app1, app6] > After dragging icons has been rearranged correctly | Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
09:59:30 INFO - gaia-unit-tests TEST-END | Dragging app1 to app5 | Page [app2, app3, app4] | Dock [app5, app1, app6] >
09:59:30 INFO - gaia-unit-tests TEST-START | Dragging app1 to app6 | Page [app2, app3, app4] | Dock [app5, app6, app1] >
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app6 | Page [app2, app3, app4] | Dock [app5, app6, app1] > Before dragging the icon app1 is the second in the dock | expected {} to equal {}
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: expected {} to equal {}
09:59:30 INFO - at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
09:59:30 INFO - at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:104)
09:59:30 INFO - at checkPositions (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:102)
09:59:30 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:290)
09:59:30 INFO - at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
09:59:30 INFO - at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
09:59:30 INFO - at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
09:59:30 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
09:59:30 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
09:59:30 INFO - *** UTM:SVC TimerManager:notify - notified @mozilla.org/extensions/blocklist;1
09:59:30 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to app6 | Page [app2, app3, app4] | Dock [app5, app6, app1] > After dragging icons has been rearranged correctly | Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - gaia-unit-tests INFO | stack trace:
09:59:30 INFO - Error: Error: expected {} to equal {} (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1369241950222:30)
09:59:30 INFO - at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
09:59:30 INFO - gaia-unit-tests TEST-END | Dragging app1 to app6 | Page [app2, app3, app4] | Dock [app5, app6, app1] >
09:59:30 INFO - gaia-unit-tests TEST-START | Dragging app1 to grid | Page [app2, app3, app4, app1] | Dock [app5, app6] >
09:59:31 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | dragdrop.js > Dragging app1 to grid | Page [app2, app3, app4, app1] | Dock [app5, app6] > Before dragging the icon app1 is the last in the dock | expected {} to equal {}
09:59:31 INFO - gaia-unit-tests INFO | stack trace:
09:59:31 INFO - Error: expected {} to equal {}
09:59:31 INFO - at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:30)
09:59:31 INFO - at equal (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1250)
09:59:31 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:104)
09:59:31 INFO - at checkPositions (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:102)
09:59:31 INFO - at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/dragdrop_test.js:312)
09:59:31 INFO - at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:62)
09:59:31 INFO - at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
09:59:31 INFO - at runTest (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081)
09:59:31 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127)
09:59:31 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007)
09:59:31 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016)
09:59:31 INFO - at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964)
09:59:31 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
09:59:31 INFO - at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → crdlc
Assignee | ||
Comment 1•12 years ago
|
||
It only fails in TBPL, I cannot reproduce on my laptop or in Travis build. Although I guess that the problem is due to collisions between different unit tests. To have only one test suite makes sense for me and this patch implements it, basically it moves all tests in one suite.
Attachment #754392 -
Flags: review?(jmcf)
Updated•11 years ago
|
Attachment #754392 -
Flags: review?(jmcf) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•