Closed Bug 917817 Opened 6 years ago Closed 6 years ago

Make several more python test harness failure modes TBPL parsable

Categories

(Testing :: General, defect)

defect
Not set

Tracking

(firefox25 fixed, firefox26 fixed, firefox27 fixed, firefox-esr24 fixed)

RESOLVED FIXED
mozilla27
Tracking Status
firefox25 --- fixed
firefox26 --- fixed
firefox27 --- fixed
firefox-esr24 --- fixed

People

(Reporter: emorley, Assigned: emorley)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

From bug 915212...

https://tbpl.mozilla.org/php/getParsedLog.php?id=27942078&tree=Mozilla-Inbound

{
17:18:44     INFO - Calling ['/builds/slave/test/build/venv/bin/python', '-u', '/builds/slave/test/build/tests/mochitest/runtests.py', '--appname=/builds/slave/test/build/application/firefox/firefox', '--utility-path=tests/bin', '--extra-profile-file=tests/bin/plugins', '--symbols-path=/builds/slave/test/build/symbols', '--certificate-path=tests/certs', '--autorun', '--close-when-done', '--console-level=INFO', '--setpref=webgl.force-enabled=true', '--total-chunks=5', '--this-chunk=3', '--chunk-by-dir=4'] with output_timeout 1000
17:18:44     INFO -  INFO | automation.py | Launching: /builds/slave/test/build/tests/bin/xpcshell -g /builds/slave/test/build/application/firefox -v 170 -f /builds/slave/test/build/tests/mochitest/httpd.js -e "const _PROFILE_PATH = '/tmp/tmpJ6G1ND'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;" -f ./server.js
17:18:44     INFO -  Mochitest INFO | runtests.py | Server pid: 2788
17:18:44     INFO -  WARNING: failed to bind socket: file ../../../../netwerk/base/src/nsServerSocket.cpp, line 352
17:18:44     INFO -  System JS : ERROR (null):0
17:18:44     INFO -                       uncaught exception: 2147746065
17:18:44     INFO -  WARNING: NS_ENSURE_TRUE(compMgr) failed: file ../../../xpcom/glue/nsComponentManagerUtils.cpp, line 58
17:18:45     INFO -  WARNING: OOPDeinit() without successful OOPInit(): file ../../../toolkit/crashreporter/nsExceptionHandler.cpp, line 2311
17:18:45     INFO -  nsStringStats
17:18:45     INFO -   => mAllocCount:           2012
17:18:45     INFO -   => mReallocCount:          159
17:18:45     INFO -   => mFreeCount:            2012
17:18:45     INFO -   => mShareCount:           8034
17:18:45     INFO -   => mAdoptCount:             64
17:18:45     INFO -   => mAdoptFreeCount:         64
17:21:45     INFO -  Mochitest ERROR | Timed out while waiting for server startup.
17:21:45    ERROR - Return code: 256
17:21:45     INFO - TinderboxPrint: mochitest-plain3<br/><em class="testfail">T-FAIL</em>
17:21:45  WARNING - # TBPL WARNING #
}
Making this a bit more generic.
Summary: Make "Timed out while waiting for server startup" failure message TBPL parsable → Make several more python test harness failure modes TBPL parsable
Comment on attachment 806661 [details] [diff] [review]
Make several more python test harness failure modes TBPL parsable

Review of attachment 806661 [details] [diff] [review]:
-----------------------------------------------------------------

cool!
Attachment #806661 - Flags: review?(jmaher) → review+
Thank you for the speedy review :-)

remote:   https://hg.mozilla.org/integration/mozilla-inbound/rev/de30dc2eacaa
Flags: needinfo?(ryanvm)
https://hg.mozilla.org/mozilla-central/rev/de30dc2eacaa
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
At least in the case of mochitests, that made the log line "16:49:56     INFO -  Mochitest ERROR | TEST-UNEXPECTED-FAIL | runtests.py | Timed out while waiting for server startup.
" as in

Starting annotatedsummary log generation
* Search term: "TEST-UNEXPECTED-FAIL"
  Removing cached bug suggestions
  BzAPI query: 1092ms
  Bugs returned: 464
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Depends on: 921034
(In reply to Phil Ringnalda (:philor) from comment #7)
> At least in the case of mochitests, that made the log line "16:49:56    
> INFO -  Mochitest ERROR | TEST-UNEXPECTED-FAIL | runtests.py | Timed out
> while waiting for server startup.
> " as in
> 
> Starting annotatedsummary log generation
> * Search term: "TEST-UNEXPECTED-FAIL"
>   Removing cached bug suggestions
>   BzAPI query: 1092ms
>   Bugs returned: 464

Dammit yeah stupid logger prefix. Broken out to bug 921034.
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.