Closed
Bug 1404647
Opened 7 years ago
Closed 7 years ago
Intermittent PID 1487 | thread '<unnamed>' panicked at 'failed to create an OS RNG: Error { repr: Os { code: 5, message: "Input/output error" } }', /checkout/src/libcore/result.rs:860
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(firefox57 fixed, firefox58 fixed)
RESOLVED
FIXED
mozilla58
People
(Reporter: intermittent-bug-filer, Assigned: manishearth)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:product])
Filed by: archaeopteryx [at] coole-files.de
https://treeherder.mozilla.org/logviewer.html#?job_id=134206438&repo=autoland
https://queue.taskcluster.net/v1/task/EBWFwPXZQoumGUmipGMTMw/runs/0/artifacts/public/logs/live_backing.log
[task 2017-09-30T16:37:54.574Z] 16:37:54 INFO - TEST-START | /webdriver/tests/minimize_window.py
[task 2017-09-30T16:37:54.598Z] 16:37:54 INFO - STDOUT: ============================= test session starts ==============================
[task 2017-09-30T16:37:54.599Z] 16:37:54 INFO - STDOUT: platform linux2 -- Python 2.7.12, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 -- /builds/worker/workspace/build/venv/bin/python
[task 2017-09-30T16:37:54.599Z] 16:37:54 INFO - STDOUT: rootdir: /builds/worker/workspace/build/tests/web-platform/tests/webdriver/tests, inifile:
[task 2017-09-30T16:37:54.600Z] 16:37:54 INFO - STDOUT: collecting ...
[task 2017-09-30T16:37:54.622Z] 16:37:54 INFO - STDOUT: collected 10 items
[task 2017-09-30T16:37:54.624Z] 16:37:54 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window.py::test_no_browsing_context
[task 2017-09-30T16:37:54.660Z] 16:37:54 INFO - PID 1487 | 1506789474655 Marionette DEBUG Register listener.js for window 2147483653
[task 2017-09-30T16:37:54.717Z] 16:37:54 INFO - PID 1487 | 1506789474706 Marionette DEBUG Register listener.js for window 2147483656
[task 2017-09-30T16:37:54.766Z] 16:37:54 INFO - STDOUT: PASSED
[task 2017-09-30T16:37:54.923Z] 16:37:54 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window.py::test_handle_prompt_dismiss_and_notify
[task 2017-09-30T16:37:54.925Z] 16:37:54 INFO - STDOUT: PASSED
[task 2017-09-30T16:37:54.925Z] 16:37:54 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window.py::test_handle_prompt_accept_and_notify
[task 2017-09-30T16:37:54.927Z] 16:37:54 INFO - STDOUT: PASSED
[task 2017-09-30T16:37:54.928Z] 16:37:54 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window.py::test_handle_prompt_ignore
[task 2017-09-30T16:37:54.929Z] 16:37:54 INFO - STDOUT: PASSED
[task 2017-09-30T16:37:54.930Z] 16:37:54 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/minimize_window.py::test_handle_prompt_accept
[task 2017-09-30T16:37:54.931Z] 16:37:54 INFO - PID 1487 | 1506789474924 Marionette INFO New connections will no longer be accepted
[task 2017-09-30T16:37:55.097Z] 16:37:55 INFO - PID 1487 | [Child 1967, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[task 2017-09-30T16:37:55.098Z] 16:37:55 INFO - PID 1487 | Sandbox: Unexpected EOF, op 0 flags 02000000 path /dev/urandom
[task 2017-09-30T16:37:55.098Z] 16:37:55 ERROR - PID 1487 | thread '<unnamed>' panicked at 'failed to create an OS RNG: Error { repr: Os { code: 5, message: "Input/output error" } }', /checkout/src/libcore/result.rs:860
Comment hidden (Intermittent Failures Robot) |
Comment 3•7 years ago
|
||
This seems to have started rather recently, can we investigate if there was a rustup, or a change in the machine image that might be associated with this.
Flags: needinfo?(ato)
Updated•7 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 5•7 years ago
|
||
[task 2017-09-30T16:37:55.097Z] 16:37:55 INFO - PID 1487 | [Child 1967, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
[task 2017-09-30T16:37:55.098Z] 16:37:55 INFO - PID 1487 | Sandbox: Unexpected EOF, op 0 flags 02000000 path /dev/urandom
[task 2017-09-30T16:37:55.098Z] 16:37:55 ERROR - PID 1487 | thread '<unnamed>' panicked at 'failed to create an OS RNG: Error { repr: Os { code: 5, message: "Input/output error" } }', /checkout/src/libcore/result.rs:860
The content process is sandboxed; when it tries to open /dev/urandom, this is handled by messaging a broker in the parent process (the content process can no longer open files by itself). However, this seems to be during shutdown and the parent process has already exited (see the IPC error on the first line), so that fails and the child gets EIO.
The fundamental problem here seems to be that the content process is still running around and trying to do (apparently?) Stylo things after the parent process has exited. So this bug probably belongs in Core :: DOM: Content Processes, but the patches in bug 1385971 might take care of this particular instance of the problem and make it a moot point (for now).
Comment hidden (Intermittent Failures Robot) |
Comment 7•7 years ago
|
||
:ato, this is failing on pgo (nightly is pgo) only, which looks to me as almost perma fail- can we look into a fix for this sooner rather than later?
Comment 8•7 years ago
|
||
Joel please see the previous comments. This should be not a problem anymore. At least OF doens't show any failures for today.
Depends on: 1385971
Flags: needinfo?(ato)
Assignee | ||
Comment 9•7 years ago
|
||
Stylo should no longer be relying on an RNG, so this is probably no longer a problem.
Updated•7 years ago
|
Whiteboard: [stockwell fixed:product]
Assignee | ||
Comment 11•7 years ago
|
||
Flags: needinfo?(manishearth)
Comment 12•7 years ago
|
||
Fixed on central, and the uplift to beta is outstanding.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Comment 14•2 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•