Closed Bug 661906 Opened 13 years ago Closed 12 years ago

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

Categories

(Thunderbird :: General, defect)

x86
All
defect
Not set
normal

Tracking

(thunderbird6 fixed)

RESOLVED FIXED
Thunderbird 7.0
Tracking Status
thunderbird6 --- fixed

People

(Reporter: mconley, Assigned: mconley)

Details

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

Attachments

(1 file)

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]
Attached patch Patch v1Splinter Review
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
Closed: 13 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
Target Milestone: --- → Thunderbird 7.0
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
Closed: 13 years ago12 years ago
Resolution: --- → FIXED
Whiteboard: [tb-orange]
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
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.

Attachment

General

Created:
Updated:
Size: