Closed Bug 902641 Opened 8 years ago Closed 8 years ago

TEST-UNEXPECTED-FAIL | Render contacts list Render contacts with cursors get exactly 1 chunk contacts | contains 0: expected false to be true

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jgriffin, Unassigned)

References

Details

(Keywords: intermittent-failure)

The test communications/contacts/test/unit/contacts_list_test.js is failing frequently on TBPL:

gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render contacts with cursors get less than 1 chunk contacts | contains 0: expected false to be true
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render contacts with cursors get exactly 1 chunk contacts | contains 0: expected false to be true
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render contacts with cursors get more than 1 chunk contacts | contains 0: expected false to be true
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list first time | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list adding one at the beginning | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list adding one at the end | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list rendering one with no name nor phone and company | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list rendering one with no name nor company and phone | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list rendering one with no name nor company and email | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list rendering one with empty name and email | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list rendering one with no name nor email nor company | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list rendering one with no name nor email nor company and favorite | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list adding one in the middle of a group | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list changing contact familyName | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list adding first element of a group | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list removing last element of a group | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list with favorites | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list check more than one favorite | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list removing all favorites | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list removing all contacts | expected true to be false
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list adding empty one to middle of favorites | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list sorting should be case-insensitive | title is null
    TypeError: title is null
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list load and render many favorites | TypeError: title is null (http://communications.gaiamobile.org:8080/contacts/test/unit/contacts_list_test.js?time=1375909554595:147)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list reseting the dom of the contacts list | TypeError: title is null (http://communications.gaiamobile.org:8080/contacts/test/unit/contacts_list_test.js?time=1375909554595:142)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list removing one contact | Error: expected null to not equal null (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1375909554094:30)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list checking no contacts when coming from activity | TypeError: title is null (http://communications.gaiamobile.org:8080/contacts/test/unit/contacts_list_test.js?time=1375909554595:142)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list updating photo for a contact already rendered | Error: expected 0 to equal 3 (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1375909554094:30)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Render list reloading list of contacts without updating | Error: expected 0 to equal 3 (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1375909554094:30)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Facebook Contacts List adding one FB Contact to an empty list | TypeError: title is null (http://communications.gaiamobile.org:8080/contacts/test/unit/contacts_list_test.js?time=1375909554595:147)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Facebook Contacts List Order string lazy calculated | Error: expected {} to have a length of 3 but got 0 (http://test-agent.gaiamobile.org:8080/common/test/helper.js?time=1375909554094:30)
gaia-unit-tests TEST-UNEXPECTED-FAIL | Render contacts list Facebook Contacts List Order by lastname | expected { '0': {}, '1': {}, '2': {}, '3': {} } to have a length of 3 but got 4

full log: https://tbpl.mozilla.org/php/getParsedLog.php?id=26275726&tree=B2g-Inbound&full=1
Disabled in https://github.com/mozilla-b2g/gaia/commit/9a94b67daa8bb41c14c0762ce9dd4c666845df3e; this should be re-enabled when the test is fixed.
How do we trigger a try-server build for a potential gecko change?  This test passes locally and on travis, so its unclear what is different about TBPL.
This is an intermittent failure, so it could be a timing problem or race condition.

To trigger a tryserver run for a gecko change, you use:

-b o -p linux64_gecko -u gaia-unit -t none

For general instructions, see https://wiki.mozilla.org/Build:TryServer
Sorry.  I meant to ask, how do you trigger a try build for a gaia change.

I see b2g/config/gaia.json, but its not clear to me if I can update that to point at a github branch where I might store a potential fix for gaia.  The current gaia.json references an hg repository.

Sorry again for my confusion.
Sadly, this currently is not possible.  See bug 868605 for the bug which will implement this.  If this is just a change to a test, I'd suggest just landing it and seeing if it fixes the problem.
Closing inactive keywords:intermittent-failure bugs where the TBPLbot has previously commented and the test isn't marked as disabled; filter on orange-cleanup-201401.
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.