Open Bug 1583315 Opened 5 years ago Updated 2 years ago

Intermittent browser/components/shell/test/test_headless_screenshot.html | Firefox process should exit with code 0 - got 1, expected +0

Categories

(Firefox :: Headless, defect, P5)

defect

Tracking

()

REOPENED

People

(Reporter: intermittent-bug-filer, Assigned: NarcisB)

Details

(Keywords: intermittent-failure, leave-open, regression, Whiteboard: [stockwell disabled])

Attachments

(1 file)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=268001292&repo=mozilla-beta
Full log: https://queue.taskcluster.net/v1/task/JkNo9EefTlWl1O8LXwI9tQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-09-23T17:30:07.331Z] 17:30:07 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | Screenshot should not be an empty file
[task 2019-09-23T17:30:07.331Z] 17:30:07 INFO - Buffered messages finished
[task 2019-09-23T17:30:07.332Z] 17:30:07 INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/test_headless_screenshot.html | Firefox process should exit with code 0 - got 1, expected +0
[task 2019-09-23T17:30:07.332Z] 17:30:07 INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:322:16
[task 2019-09-23T17:30:07.332Z] 17:30:07 INFO - runFirefox@chrome://mochitests/content/chrome/browser/components/shell/test/test_headless_screenshot.html:47:7
[task 2019-09-23T17:30:07.332Z] 17:30:07 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | A screenshot should be saved as screenshot.png

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

There were 44 failures in the last 7 days on
-windows7-32 debug
-windows10-64 debug

Recent failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306267229&repo=autoland&lineNumber=2429

[task 2020-06-14T00:58:10.170Z] 00:58:10 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | Firefox process should exit with code 0
[task 2020-06-14T00:58:10.170Z] 00:58:10 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | A screenshot should be saved in the tmp directory
[task 2020-06-14T00:58:10.170Z] 00:58:10 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | Screenshot should be 1234 pixels wide
[task 2020-06-14T00:58:10.171Z] 00:58:10 INFO - Buffered messages logged at 00:57:52
[task 2020-06-14T00:58:10.171Z] 00:58:10 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | Firefox process should exit with code 0
[task 2020-06-14T00:58:10.171Z] 00:58:10 INFO - TEST-PASS | browser/components/shell/test/test_headless_screenshot.html | A screenshot should not be saved
[task 2020-06-14T00:58:10.172Z] 00:58:10 INFO - Buffered messages finished
[task 2020-06-14T00:58:10.172Z] 00:58:10 INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/test_headless_screenshot.html | Firefox process should exit with code 0 - got 1, expected +0

Brendan, could you take a look?

Flags: needinfo?(bdahl)
Whiteboard: [stockwell needswork:owner]

Nothing has changed in the headless code that I know about. I'll leave this for jwatt.

Flags: needinfo?(bdahl)

This bug failed 52 times in the last 7 days. Occurs on macosx1014-64, windows10-64, windows10-64-shippable and windows7-32 on debug and opt build types.

Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=308536933&repo=mozilla-central&lineNumber=2681

There are 103 failures in the past week on windows7-32, windows10-64-shippable, macosx1014-64 and windows10-64 on opt and debug builds.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309421319&repo=autoland&lineNumber=1703

Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]

(In reply to Razvan Maries from comment #16)

Based on https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=Windows%2C7%2Cdebug%2CMochitests%2Cwithout%2Ce10s%2Ctest-windows7-32%2Fdebug-mochitest-chrome-1proc-1%2CM-1proc%28c1%29&tochange=f8a46fbea1f665dc8a76ec4ad6d1dbd3d8c82b7f&fromchange=cee3a0f1d1c8dfb08f05504d3beed3011183be67&selectedTaskRun=ZHeAwXR_RQi02whsaTmDXg.0 I think bug 1642236 is the culprit.

As best I can tell, the screenshotting functionality does not use the print code. Rather it seems to use drawWindow:

https://searchfox.org/mozilla-central/rev/af5cff556a9482d7aa2267a82f2ccfaf18e797e9/browser/components/shell/ScreenshotChild.jsm#43

Besides that, the tests being loaded will have been taking the code paths that that bug 1642236 enforced. So I don't think that bug can be at fault here.

Looking at the log there's a crash occuring under DoWriteAtomicEvent::Run(). I looked at the other bugs in the regression range, but nothing jumps out as being an obvious culprit.

Flags: needinfo?(jwatt)
Assignee: nobody → nbeleuzu
Pushed by malexandru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ea8c357d5c6b
Disable test_headless_screenshot.html on Windows. r=jmaher
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Target Milestone: Firefox 80 → ---
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: