Closed Bug 1428008 Opened 6 years ago Closed 6 years ago

Intermittent File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 135, in start_runner

Categories

(Testing :: web-platform-tests, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

There is a SIGINT because Marionette failed to connect to the server socket:

[task 2018-01-04T06:50:43.643Z] 06:50:43  WARNING - Failed to start a Marionette session: Timed out waiting for connection on localhost:2828!
[task 2018-01-04T06:50:43.765Z] 06:50:43     INFO - Browser exited with return code -15
[task 2018-01-04T06:50:43.818Z] 06:50:43 CRITICAL - Traceback (most recent call last):
[task 2018-01-04T06:50:43.823Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 135, in start_runner
[task 2018-01-04T06:50:43.829Z] 06:50:43 CRITICAL -     runner.run()
[task 2018-01-04T06:50:43.841Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 84, in run
[task 2018-01-04T06:50:43.852Z] 06:50:43 CRITICAL -     self.setup()
[task 2018-01-04T06:50:43.856Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 71, in setup
[task 2018-01-04T06:50:43.860Z] 06:50:43 CRITICAL -     self.executor.setup(self)
[task 2018-01-04T06:50:43.865Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 467, in setup
[task 2018-01-04T06:50:43.869Z] 06:50:43 CRITICAL -     self.implementation.setup(**self.implementation_kwargs)
[task 2018-01-04T06:50:43.873Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 544, in setup
[task 2018-01-04T06:50:43.876Z] 06:50:43 CRITICAL -     self.executor.protocol.marionette.set_context(self.executor.protocol.marionette.CONTEXT_CHROME)
[task 2018-01-04T06:50:43.880Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1486, in set_context
[task 2018-01-04T06:50:43.883Z] 06:50:43 CRITICAL -     self._send_message("setContext", {"value": context})
[task 2018-01-04T06:50:43.887Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 23, in _
[task 2018-01-04T06:50:43.891Z] 06:50:43 CRITICAL -     return func(*args, **kwargs)
[task 2018-01-04T06:50:43.895Z] 06:50:43 CRITICAL -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 729, in _send_message
[task 2018-01-04T06:50:43.898Z] 06:50:43 CRITICAL -     raise errors.MarionetteException("Please start a session")
[task 2018-01-04T06:50:43.901Z] 06:50:43 CRITICAL - MarionetteException: Please start a session

Then various command fail because no session is around:

[task 2018-01-04T06:50:43.907Z] 06:50:43  WARNING - Traceback (most recent call last):
[task 2018-01-04T06:50:43.909Z] 06:50:43  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 567, in teardown
[task 2018-01-04T06:50:43.911Z] 06:50:43  WARNING -     self.executor.protocol.marionette._send_message("reftest:teardown", {})
[task 2018-01-04T06:50:43.913Z] 06:50:43  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 23, in _
[task 2018-01-04T06:50:43.915Z] 06:50:43  WARNING -     return func(*args, **kwargs)
[task 2018-01-04T06:50:43.917Z] 06:50:43  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 729, in _send_message
[task 2018-01-04T06:50:43.919Z] 06:50:43  WARNING -     raise errors.MarionetteException("Please start a session")
[task 2018-01-04T06:50:43.921Z] 06:50:43  WARNING - MarionetteException: Please start a session
This bug has 40 failures over the last 7 days, most of them happen on Linux, Linux x64 nad linux64-stylo-disabled

Here is the most recent log example: https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=163158390&lineNumber=19711

Here is a relevant part from that log:

[task 2018-02-20T11:51:01.160Z] 11:51:01 CRITICAL - Traceback (most recent call last):
[task 2018-02-20T11:51:01.160Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 135, in start_runner
[task 2018-02-20T11:51:01.161Z] 11:51:01 CRITICAL -     runner.run()
[task 2018-02-20T11:51:01.161Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 84, in run
[task 2018-02-20T11:51:01.162Z] 11:51:01 CRITICAL -     self.setup()
[task 2018-02-20T11:51:01.163Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py", line 71, in setup
[task 2018-02-20T11:51:01.163Z] 11:51:01 CRITICAL -     self.executor.setup(self)
[task 2018-02-20T11:51:01.163Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 482, in setup
[task 2018-02-20T11:51:01.164Z] 11:51:01 CRITICAL -     self.implementation.setup(**self.implementation_kwargs)
[task 2018-02-20T11:51:01.164Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 559, in setup
[task 2018-02-20T11:51:01.165Z] 11:51:01 CRITICAL -     self.executor.protocol.marionette.set_context(self.executor.protocol.marionette.CONTEXT_CHROME)
[task 2018-02-20T11:51:01.165Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1486, in set_context
[task 2018-02-20T11:51:01.166Z] 11:51:01 CRITICAL -     self._send_message("setContext", {"value": context})
[task 2018-02-20T11:51:01.167Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2018-02-20T11:51:01.167Z] 11:51:01 CRITICAL -     return func(*args, **kwargs)
[task 2018-02-20T11:51:01.168Z] 11:51:01 CRITICAL -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 735, in _send_message
[task 2018-02-20T11:51:01.168Z] 11:51:01 CRITICAL -     raise errors.MarionetteException("Please start a session")
[task 2018-02-20T11:51:01.169Z] 11:51:01 CRITICAL - MarionetteException: Please start a session
[task 2018-02-20T11:51:01.170Z] 11:51:01 CRITICAL -
Flags: needinfo?(james)
Whiteboard: [stockwell needswork]
This seems to have not happened for a while.
Flags: needinfo?(james)
Yes, lets mark as WFM.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
(In reply to OrangeFactor Robot from comment #15)
> 1 failures in 782 pushes (0.001 failures/push) were associated with this bug
> in the last 7 days.    
> 
> Repository breakdown:
> * mozilla-inbound: 1
> 
> Platform breakdown:
> * linux64-qr: 1

This has wrongly been starred and is actually a crash in WebRTC. I filed bug 1456071.
You need to log in before you can comment on or make changes to this bug.