Closed Bug 1014028 Opened 11 years ago Closed 11 years ago

Gaia-unit test timeouts don't output failures in the correct format, instead "gaia-unit-tests ERROR | Timed out after 120 seconds"

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: jgriffin)

References

(Blocks 1 open bug)

Details

(Keywords: sheriffing-P1)

Attachments

(2 files)

As is, these require opening the full log. Eg: b2g_ubuntu64_vm b2g-inbound opt test gaia-unit-oop on 2014-05-21 07:09:04 PDT for push c29c72220ae4 slave: tst-linux64-spot-741 https://tbpl.mozilla.org/php/getParsedLog.php?id=40104511&tree=B2g-Inbound { 08:00:53 INFO - gaia-unit-tests TEST-START | sharedtest/test/unit/elements/gaia_menu/gaia_menu_test.js | 08:00:53 INFO - gaia-unit-tests TEST-START | sharedtest/test/unit/elements/gaia_menu/gaia_menu_test.js | GaiaMenu 08:00:53 INFO - gaia-unit-tests TEST-PASS | sharedtest/test/unit/elements/gaia_menu/gaia_menu_test.js | GaiaMenu Content is populated 08:00:54 INFO - gaia-unit-tests TEST-PASS | sharedtest/test/unit/elements/gaia_menu/gaia_menu_test.js | GaiaMenu Cancel event is dispatched 08:02:54 INFO - gaia-unit-tests ERROR | Timed out after 120 seconds 08:02:54 INFO - checking for crashes 08:02:54 ERROR - Return code: 1 08:02:54 INFO - TinderboxPrint: gaia-unit-tests: <em class="testfail">T-FAIL</em> 08:02:54 ERROR - Tests exited with return code 1: harness failures 08:02:54 ERROR - # TBPL FAILURE # 08:02:54 INFO - Running post-action listener: _resource_record_post_action 08:02:54 INFO - Running post-run listener: _resource_record_post_run 08:02:55 INFO - Total resource usage - Wall time: 2552s; CPU: 95.0%; Read bytes: 32407552; Write bytes: 913965056; Read time: 13264; Write time: 1671728 08:02:55 INFO - install - Wall time: 31s; CPU: 100.0%; Read bytes: 12288; Write bytes: 104448000; Read time: 68; Write time: 404144 08:02:55 INFO - run-tests - Wall time: 2521s; CPU: 95.0%; Read bytes: 31432704; Write bytes: 809394176; Read time: 12864; Write time: 1267572 08:02:55 INFO - Copying logs to upload dir... 08:02:55 INFO - mkdir: /builds/slave/test/build/upload/logs program finished with exit code 2 elapsedTime=3001.068254 ========= Finished '/tools/buildbot/bin/python scripts/scripts/gaia_unit.py ...' failed (results: 2, elapsed: 50 mins, 42 secs) (at 2014-05-21 08:03:36.337004) ========= } The TBPL summary only shows: { Return code: 1 Tests exited with return code 1: harness failures # TBPL FAILURE # } Expected: 08:02:54 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | gaia_menu_test.js | Timed out after 120 seconds or 08:02:54 INFO - gaia-unit-tests ERROR TEST-UNEXPECTED-FAIL | gaia_menu_test.js | Timed out after 120 seconds Actual: 08:02:54 INFO - gaia-unit-tests ERROR | Timed out after 120 seconds
Flags: needinfo?(jgriffin)
The example in comment 0 occurred on gaia-unit-oop, hence the bug dependency, but presuming this may not be specific to the oop instances of them?
The specific failure in comment 0 was due to bug 1013842, now backed out; however we still need to handle timeouts like these correctly.
Blocks: 917739
Assignee: nobody → jgriffin
Flags: needinfo?(jgriffin)
G-oop is timing out at least 50% of the time at the moment. I've hidden them on m-i and b-i for now.
Attachment #8426670 - Flags: review?(ahalberstadt) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Thank you for taking a look at this :-) The output is now better, but is unfortunately not yet it the usual 3-part delimited format: eg: https://tbpl.mozilla.org/php/getParsedLog.php?id=40253509&tree=B2g-Inbound 00:46:55 INFO - gaia-unit-tests ERROR | TEST-UNEXPECTED-FAIL | communications/dialer/test/unit/dialer_test.js | Timed out after 120 seconds Expected: 00:46:55 INFO - gaia-unit-tests ERROR TEST-UNEXPECTED-FAIL | communications/dialer/test/unit/dialer_test.js | Timed out after 120 seconds
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This produces: 00:46:55 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | communications/dialer/test/unit/dialer_test.js | Timed out after 120 seconds
Attachment #8427892 - Flags: review?(ahalberstadt)
Attachment #8427892 - Flags: review?(ahalberstadt) → review+
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Thank you for sorting this :-)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: