Closed Bug 1692570 Opened 4 years ago Closed 4 years ago

fix --run-failures mode to work for harness level timeout and crashes

Categories

(Testing :: General, task)

Default
task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 file)

No description provided.

Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell.

Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f3db661fd19 Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell. r=releng-reviewers,bhearsum

Backed out for mochitest failures on runtests.py

backout: https://hg.mozilla.org/integration/autoland/rev/46d6675d2db8833c73287e20be1d070f33faffc7

push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=7f3db661fd194569a88294a702fd880675445cea&searchStr=Android&selectedTaskRun=LO4gf1AhTWexgUoLgqUgiQ.0

failure log: https://treeherder.mozilla.org/logviewer?job_id=330756008&repo=autoland&lineNumber=1815

[task 2021-02-22T16:22:43.577Z] 16:22:43 INFO - TEST-SKIP | dom/canvas/test/test_offscreencanvas_toimagebitmap.html | took 0ms
[task 2021-02-22T16:22:43.578Z] 16:22:43 INFO - Running manifest: dom/bindings/test/mochitest.ini
[task 2021-02-22T16:22:43.578Z] 16:22:43 INFO - The following extra prefs will be set:
[task 2021-02-22T16:22:43.578Z] 16:22:43 INFO - javascript.options.large_arraybuffers=true
[task 2021-02-22T16:22:43.881Z] 16:22:43 INFO - PID 2217 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2021-02-22T16:22:43.997Z] 16:22:43 INFO - MochitestServer : launching [u'/builds/worker/workspace/build/hostutils/host-utils-85.0a1.en-US.linux-x86_64/xpcshell', '-g', '/builds/worker/workspace/build/hostutils/host-utils-85.0a1.en-US.linux-x86_64', '-f', '/builds/worker/workspace/build/hostutils/host-utils-85.0a1.en-US.linux-x86_64/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpU4QxQ3.mozrunner'; const _SERVER_PORT = '8854'; const _SERVER_ADDR = '10.0.2.2'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/builds/worker/workspace/build/tests/mochitest/server.js']
[task 2021-02-22T16:22:43.997Z] 16:22:43 INFO - runtests.py | Server pid: 2226
[task 2021-02-22T16:22:44.004Z] 16:22:44 INFO - runtests.py | Websocket server pid: 2229
[task 2021-02-22T16:22:44.013Z] 16:22:44 INFO - runtests.py | SSL tunnel pid: 2232
[task 2021-02-22T16:22:44.279Z] 16:22:44 INFO - runtests.py | Running with scheme: http
[task 2021-02-22T16:22:44.279Z] 16:22:44 INFO - runtests.py | Running with e10s: True
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - runtests.py | Running with fission: False
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - runtests.py | Running with cross-origin iframes: False
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - runtests.py | Running with serviceworker_e10s: True
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - runtests.py | Running with socketprocess_e10s: False
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - runtests.py | Running tests: start.
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - Traceback (most recent call last):
[task 2021-02-22T16:22:44.280Z] 16:22:44 INFO - File "/builds/worker/workspace/build/tests/mochitest/runtests.py", line 3176, in doTests
[task 2021-02-22T16:22:44.281Z] 16:22:44 INFO - crashAsPass=options.crashAsPass,
[task 2021-02-22T16:22:44.281Z] 16:22:44 INFO - TypeError: runApp() got an unexpected keyword argument 'runFailures'
[task 2021-02-22T16:22:44.281Z] 16:22:44 INFO - Automation Error: Received unexpected exception while running application
[task 2021-02-22T16:22:44.281Z] 16:22:44 INFO - Stopping web server
[task 2021-02-22T16:22:44.291Z] 16:22:44 INFO - Stopping web socket server
[task 2021-02-22T16:22:44.312Z] 16:22:44 INFO - Stopping ssltunnel
[task 2021-02-22T16:22:44.335Z] 16:22:44 INFO - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2021-02-22T16:22:44.335Z] 16:22:44 INFO - runtests.py | Running tests: end.

Flags: needinfo?(jmaher)

updated the patch, will get review and reland.

Flags: needinfo?(jmaher)
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e095327f027 Allow failure jobs to handle timeouts and crashes for browser-chrome, mochitest, xpcshell. r=releng-reviewers,bhearsum
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: