The default bug view has changed. See this FAQ.

Random Orange TEST-UNEXPECTED-FAIL | (runtestlist..py) | Exited with code 1 during test_order_of_address_books

RESOLVED FIXED in Thunderbird 7.0

Status

Thunderbird
General
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: mconley, Assigned: mconley)

Tracking

({intermittent-failure})

Trunk
Thunderbird 7.0
x86
All
intermittent-failure

Thunderbird Tracking Flags

(thunderbird6 fixed)

Details

(Whiteboard: [The double dot in "runtestlist..py" is intentional, see comments 9 and 10])

Attachments

(1 attachment)

I've been seeing this periodically on the various Tinderboxen:

mozmill.startRunner :: True
mozmill.setState :: 'currentState'
mozmill.setModule :: 'currentModule'
mozmill.setState :: 'currentState'
mozmill.setTest :: {'name': 'setupModule', 'filename': '/buildbot/comm-central-linux64-opt-unittest-mozmill/build/mozmill/addrbook/test-address-book.js'}
mozmill.setState :: 'currentState'
mozmill.setTest :: {'name': 'test_order_of_address_books', 'filename': '/buildbot/comm-central-linux64-opt-unittest-mozmill/build/mozmill/addrbook/test-address-book.js'}
error: uncaptured python exception, closing channel <jsbridge.network.BackChannel connected 127.0.0.1:24242 at 0x20e60e0> (<type 'exceptions.KeyError'>:'message' [/tools/python/lib/python2.5/asyncore.py|readwrite|93] [/tools/python/lib/python2.5/asyncore.py|handle_read_event|390] [/tools/python/lib/python2.5/site-packages/jsbridge/network.py|handle_read|93] [/tools/python/lib/python2.5/site-packages/jsbridge/network.py|process_read|253] [/tools/python/lib/python2.5/site-packages/jsbridge/network.py|fire_callbacks|268] [/tools/python/lib/python2.5/site-packages/jsbridge/network.py|fire_event|289] [/tools/python/lib/python2.5/site-packages/mozmill/__init__.py|__call__|104] [runtest.py|logFailure|364])
endRunner was never called. There must have been a failure in the framework.
##### MOZMILL-RICH-FAILURES-BEGIN #####
##### MOZMILL-RICH-FAILURES-END #####
TEST-UNEXPECTED-FAIL | (runtestlist.py) | Exited with code 1 during directory run
INFO | (runtestlist.py) | addrbook: 0 passed, 0 failed

I have a feeling this is due to periodic cases where we attempt to test the order of address books before the address book entries have appeared in the tree view.
Assignee: nobody → mconley
Whiteboard: [tb-orange]
Created attachment 537636 [details] [diff] [review]
Patch v1

I think the orange was from a race condition, where sometimes the address book tree elements weren't properly loaded on time.  I've added a waitForEval to poll the address book tree until it's ready.
Attachment #537636 - Flags: review?(mbanner)
My TryServer tests didn't show any sign of this orange, so that's a good sign.

Also, please ignore the cruft at the top of my patch - that's some leftover pbranch business that I forgot to chop off.
Attachment #537636 - Flags: review?(mbanner) → review+
Keywords: checkin-needed
Committed as http://hg.mozilla.org/comm-central/rev/e112386d59da
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Comment on attachment 537636 [details] [diff] [review]
Patch v1

Taking this for aurora, as we also see some of these failures there.
Attachment #537636 - Flags: approval-comm-aurora+
Checked in: http://hg.mozilla.org/releases/comm-aurora/rev/71f7414a8520
status-thunderbird6: --- → fixed
Target Milestone: --- → Thunderbird 7.0
Keywords: checkin-needed
Just reappeared on trunk
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Justin Wood (:Callek) from comment #6)
> Just reappeared on trunk

That's not this bug - this bug explicitly states during "test_order_of_address_books".
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago5 years ago
Resolution: --- → FIXED
Keywords: intermittent-failure
Whiteboard: [tb-orange]
Comment hidden (Treeherder Robot)

Comment 9

4 years ago
Trying to remove "(runtestlist.py)" from the summary so that this bug in not offered at each generic test message of "TEST-UNEXPECTED-FAIL | (runtestlist.py) | Exited with code 1 during directory run" .
Summary: Random Orange TEST-UNEXPECTED-FAIL | (runtestlist.py) | Exited with code 1 during test_order_of_address_books → Random Orange TEST-UNEXPECTED-FAIL | Exited with code 1 during test_order_of_address_books

Comment 10

4 years ago
Or let it have a typo so that it is not matchable :) I'll see if that works.
Summary: Random Orange TEST-UNEXPECTED-FAIL | Exited with code 1 during test_order_of_address_books → Random Orange TEST-UNEXPECTED-FAIL | (runtestlist..py) | Exited with code 1 during test_order_of_address_books
Whiteboard: [The double dot in "runtestlist..py" is intentional, see comments 9 and 10]
You need to log in before you can comment on or make changes to this bug.