Closed Bug 1420475 Opened 7 years ago Closed 6 years ago

Intermittent text/auto-hyphenation-ca-1.html == text/auto-hyphenation-ca-1-ref.html | image comparison, max difference: 255, number of differing pixels: 2116

Categories

(Core :: Security: Process Sandboxing, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1243108

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: sb+)

The screenshot in reftest-analyzer looks like the reference file failed to load at all, and the canvas still contains content from an unrelated earlier testcase.

In the log, there's a suspicious-looking "Sandbox: Unexpected EOF" message that occurs at exactly this point. Did the sandbox mysteriously fail to let us load the reference file properly?

[task 2017-11-24T14:30:44.957Z] 14:30:44     INFO - REFTEST TEST-LOAD | file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/text/auto-hyphenation-ca-1-ref.html | 595 / 1964 (30%)
[task 2017-11-24T14:30:44.985Z] 14:30:44     INFO - Sandbox: Unexpected EOF, op 0 flags 0302 path /dev/shm/org.chromium.q8rSGl
Component: Layout: Text → Security: Process Sandboxing
Actually, I guess it's not that we couldn't load the testcase; rather, the sandbox message seems to be related to shared-memory (/dev/shm) used somewhere in graphics, in view of what comes next:

[task 2017-11-24T14:30:44.985Z] 14:30:44     INFO - Sandbox: Unexpected EOF, op 0 flags 0302 path /dev/shm/org.chromium.q8rSGl
[task 2017-11-24T14:30:44.985Z] 14:30:44     INFO - [GFX1-]: Failed to lock new back buffer.

And the graphics-related failure is probably why the canvas shown by reftest-analyzer has stale content.

So I don't know whether this failure should be blamed on Sandbox or Gfx. Either way, it's not really this testcase at fault, or Layout at all; it's just the random victim of failure at a different level.
(In reply to Jonathan Kew (:jfkthame) from comment #1)
> In the log, there's a suspicious-looking "Sandbox: Unexpected EOF" message
> that occurs at exactly this point. Did the sandbox mysteriously fail to let
> us load the reference file properly?
> 
> [task 2017-11-24T14:30:44.957Z] 14:30:44     INFO - REFTEST TEST-LOAD |
> file:///builds/worker/workspace/build/tests/reftest/tests/layout/reftests/
> text/auto-hyphenation-ca-1-ref.html | 595 / 1964 (30%)
> [task 2017-11-24T14:30:44.985Z] 14:30:44     INFO - Sandbox: Unexpected EOF,
> op 0 flags 0302 path /dev/shm/org.chromium.q8rSGl

That error message means that the broker closed the request's response socket without sending a response.  The interesting thing is that there's no accompanying message from the broker (cf., for example, bug 1401774).  This is in the middle of a test run, so it's not because of racing with parent process shutdown.  So the only case that's left is where sendmsg()ing the response fails (and, yes, EINTR is handled).

I could try landing a patch to log the error code in that case, but that might not narrow it down much.
Whiteboard: sb+
Flags: needinfo?(jld)
Keywords: leave-open
Flags: needinfo?(jld)
Keywords: leave-open
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Resolution: INCOMPLETE → DUPLICATE
See Also: 1243108
You need to log in before you can comment on or make changes to this bug.