Open Bug 1498901 Opened 1 year ago Updated 1 year ago

Intermittent /infrastructure/testdriver/actions/multiDevice.html | TypeError: inputState is undefined; can't access its "isPressed" property

Categories

(Testing :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: intermittent-failure)

Filed by: cbrindusan [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=205360385&repo=mozilla-central

https://queue.taskcluster.net/v1/task/Ukb5CZEERx2eLFd3fyUQlg/runs/0/artifacts/public/logs/live_backing.log

[task 2018-10-14T10:31:02.599Z] 10:31:02     INFO - TEST-START | /infrastructure/testdriver/actions/multiDevice.html
[task 2018-10-14T10:31:02.776Z] 10:31:02     INFO - {'actions': [{u'type': u'pointer', u'actions': [{u'y': 0, u'x': 0, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'914a82f9-3e2d-4cc8-a964-c1130bddcd4a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'914a82f9-3e2d-4cc8-a964-c1130bddcd4a'}}, {u'button': 0, u'type': u'pointerDown'}, {u'button': 0, u'type': u'pointerUp'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}], u'parameters': {u'pointerType': u'mouse'}, u'id': u'1'}, {u'type': u'key', u'id': u'2', u'actions': [{u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'pause'}, {u'type': u'keyDown', u'value': u'p'}, {u'type': u'keyUp', u'value': u'p'}, {u'type': u'keyDown', u'value': u'a'}, {u'type': u'keyUp', u'value': u'a'}, {u'type': u'keyDown', u'value': u's'}, {u'type': u'keyUp', u'value': u's'}, {u'type': u'keyDown', u'value': u's'}, {u'type': u'keyUp', u'value': u's'}]}]}
[task 2018-10-14T10:31:02.839Z] 10:31:02  WARNING - Action action_sequence failed
[task 2018-10-14T10:31:02.839Z] 10:31:02  WARNING - Traceback (most recent call last):
[task 2018-10-14T10:31:02.839Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 539, in process_action
[task 2018-10-14T10:31:02.839Z] 10:31:02  WARNING -     action_handler(payload)
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 596, in __call__
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -     self.protocol.action_sequence.send_actions({"actions": actions})
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 370, in send_actions
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -     self.marionette._send_message("WebDriver:PerformActions", actions)
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -     return func(*args, **kwargs)
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 761, in _send_message
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -     self._handle_error(err)
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 781, in _handle_error
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - UnknownException: TypeError: inputState is undefined; can't access its "isPressed" property
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - stacktrace:
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	dispatchKeyDown/<@chrome://marionette/content/action.js:1144:5
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	dispatchKeyDown@chrome://marionette/content/action.js:1142:10
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	toEvents/<@chrome://marionette/content/action.js:1104:16
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	action.dispatchTickActions@chrome://marionette/content/action.js:1023:23
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	action.dispatch/chainEvents<@chrome://marionette/content/action.js:992:13
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	async*action.dispatch@chrome://marionette/content/action.js:990:22
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	performActions@chrome://marionette/content/listener.js:775:9
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	async*dispatch/</req<@chrome://marionette/content/listener.js:484:14
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	dispatch/<@chrome://marionette/content/listener.js:477:15
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:547:3
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	registerSelf@chrome://marionette/content/listener.js:458:5
[task 2018-10-14T10:31:02.840Z] 10:31:02  WARNING - 	@chrome://marionette/content/listener.js:1681:1
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	@tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:63:14
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	@tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:60:2
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	evaluate.sandbox/promise<@chrome://marionette/content/evaluate.js:128:13
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	evaluate.sandbox@chrome://marionette/content/evaluate.js:97:17
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	execute@chrome://marionette/content/listener.js:666:10
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	async*dispatch/</req<@chrome://marionette/content/listener.js:482:14
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	dispatch/<@chrome://marionette/content/listener.js:477:15
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:528:3
[task 2018-10-14T10:31:02.841Z] 10:31:02  WARNING - 	registerSelf@chrome://marionette/content/listener.js:458:5
[task 2018-10-14T10:31:02.842Z] 10:31:02  WARNING - 	@chrome://marionette/content/listener.js:1681:1
[task 2018-10-14T10:31:02.842Z] 10:31:02  WARNING - 
[task 2018-10-14T10:31:02.842Z] 10:31:02  WARNING - 
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING - Traceback (most recent call last):
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 579, in _run
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     self.result = True, self.func(self.protocol, self.url, self.timeout)
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 692, in do_testharness
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     done, rv = handler(result)
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 522, in __call__
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     return callback(url, payload)
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 539, in process_action
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     action_handler(payload)
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 596, in __call__
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     self.protocol.action_sequence.send_actions({"actions": actions})
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 370, in send_actions
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     self.marionette._send_message("WebDriver:PerformActions", actions)
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     return func(*args, **kwargs)
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 761, in _send_message
[task 2018-10-14T10:31:02.902Z] 10:31:02  WARNING -     self._handle_error(err)
[task 2018-10-14T10:31:02.905Z] 10:31:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 781, in _handle_error
[task 2018-10-14T10:31:02.905Z] 10:31:02  WARNING -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2018-10-14T10:31:02.906Z] 10:31:02  WARNING - UnknownException: TypeError: inputState is undefined; can't access its "isPressed" property
[task 2018-10-14T10:31:02.906Z] 10:31:02  WARNING - stacktrace:
[task 2018-10-14T10:31:02.906Z] 10:31:02  WARNING - 	dispatchKeyDown/<@chrome://marionette/content/action.js:1144:5
[task 2018-10-14T10:31:02.907Z] 10:31:02  WARNING - 	dispatchKeyDown@chrome://marionette/content/action.js:1142:10
[task 2018-10-14T10:31:02.909Z] 10:31:02  WARNING - 	toEvents/<@chrome://marionette/content/action.js:1104:16
[task 2018-10-14T10:31:02.910Z] 10:31:02  WARNING - 	action.dispatchTickActions@chrome://marionette/content/action.js:1023:23
[task 2018-10-14T10:31:02.911Z] 10:31:02  WARNING - 	action.dispatch/chainEvents<@chrome://marionette/content/action.js:992:13
[task 2018-10-14T10:31:02.912Z] 10:31:02  WARNING - 	async*action.dispatch@chrome://marionette/content/action.js:990:22
[task 2018-10-14T10:31:02.913Z] 10:31:02  WARNING - 	performActions@chrome://marionette/content/listener.js:775:9
[task 2018-10-14T10:31:02.915Z] 10:31:02  WARNING - 	async*dispatch/</req<@chrome://marionette/content/listener.js:484:14
[task 2018-10-14T10:31:02.916Z] 10:31:02  WARNING - 	dispatch/<@chrome://marionette/content/listener.js:477:15
[task 2018-10-14T10:31:02.917Z] 10:31:02  WARNING - 	MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:547:3
[task 2018-10-14T10:31:02.917Z] 10:31:02  WARNING - 	registerSelf@chrome://marionette/content/listener.js:458:5
[task 2018-10-14T10:31:02.918Z] 10:31:02  WARNING - 	@chrome://marionette/content/listener.js:1681:1
[task 2018-10-14T10:31:02.919Z] 10:31:02  WARNING - 	@tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:63:14
[task 2018-10-14T10:31:02.920Z] 10:31:02  WARNING - 	@tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:60:2
[task 2018-10-14T10:31:02.921Z] 10:31:02  WARNING - 	evaluate.sandbox/promise<@chrome://marionette/content/evaluate.js:128:13
[task 2018-10-14T10:31:02.922Z] 10:31:02  WARNING - 	evaluate.sandbox@chrome://marionette/content/evaluate.js:97:17
[task 2018-10-14T10:31:02.923Z] 10:31:02  WARNING - 	execute@chrome://marionette/content/listener.js:666:10
[task 2018-10-14T10:31:02.924Z] 10:31:02  WARNING - 	async*dispatch/</req<@chrome://marionette/content/listener.js:482:14
[task 2018-10-14T10:31:02.926Z] 10:31:02  WARNING - 	dispatch/<@chrome://marionette/content/listener.js:477:15
[task 2018-10-14T10:31:02.926Z] 10:31:02  WARNING - 	MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:528:3
[task 2018-10-14T10:31:02.927Z] 10:31:02  WARNING - 	registerSelf@chrome://marionette/content/listener.js:458:5
[task 2018-10-14T10:31:02.928Z] 10:31:02  WARNING - 	@chrome://marionette/content/listener.js:1681:1
[task 2018-10-14T10:31:02.929Z] 10:31:02  WARNING - 
[task 2018-10-14T10:31:02.930Z] 10:31:02  WARNING - 
[task 2018-10-14T10:31:02.932Z] 10:31:02     INFO - TEST-UNEXPECTED-ERROR | /infrastructure/testdriver/actions/multiDevice.html | TypeError: inputState is undefined; can't access its "isPressed" property
[task 2018-10-14T10:31:02.933Z] 10:31:02     INFO - stacktrace:
[task 2018-10-14T10:31:02.934Z] 10:31:02     INFO - 	dispatchKeyDown/<@chrome://marionette/content/action.js:1144:5
[task 2018-10-14T10:31:02.935Z] 10:31:02     INFO - 	dispatchKeyDown@chrome://marionette/content/action.js:1142:10
[task 2018-10-14T10:31:02.939Z] 10:31:02     INFO - 	toEvents/<@chrome://marionette/content/action.js:1104:16
[task 2018-10-14T10:31:02.941Z] 10:31:02     INFO - 	action.dispatchTickActions@chrome://marionette/content/action.js:1023:23
[task 2018-10-14T10:31:02.944Z] 10:31:02     INFO - 	action.dispatch/chainEvents<@chrome://marionette/content/action.js:992:13
[task 2018-10-14T10:31:02.947Z] 10:31:02     INFO - 	async*action.dispatch@chrome://marionette/content/action.js:990:22
[task 2018-10-14T10:31:02.949Z] 10:31:02     INFO - 	performActions@chrome://marionette/content/listener.js:775:9
[task 2018-10-14T10:31:02.949Z] 10:31:02     INFO - 	async*dispatch/</req<@chrome://marionette/content/listener.js:484:14
[task 2018-10-14T10:31:02.950Z] 10:31:02     INFO - 	dispatch/<@chrome://marionette/content/listener.js:477:15
[task 2018-10-14T10:31:02.950Z] 10:31:02     INFO - 	MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:547:3
[task 2018-10-14T10:31:02.951Z] 10:31:02     INFO - 	registerSelf@chrome://marionette/content/listener.js:458:5
[task 2018-10-14T10:31:02.951Z] 10:31:02     INFO - 	@chrome://marionette/content/listener.js:1681:1
[task 2018-10-14T10:31:02.952Z] 10:31:02     INFO - 	@tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:63:14
[task 2018-10-14T10:31:02.952Z] 10:31:02     INFO - 	@tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:60:2
[task 2018-10-14T10:31:02.953Z] 10:31:02     INFO - 	evaluate.sandbox/promise<@chrome://marionette/content/evaluate.js:128:13
[task 2018-10-14T10:31:02.953Z] 10:31:02     INFO - 	evaluate.sandbox@chrome://marionette/content/evaluate.js:97:17
[task 2018-10-14T10:31:02.953Z] 10:31:02     INFO - 	execute@chrome://marionette/content/listener.js:666:10
[task 2018-10-14T10:31:02.954Z] 10:31:02     INFO - 	async*dispatch/</req<@chrome://marionette/content/listener.js:482:14
[task 2018-10-14T10:31:02.954Z] 10:31:02     INFO - 	dispatch/<@chrome://marionette/content/listener.js:477:15
[task 2018-10-14T10:31:02.955Z] 10:31:02     INFO - 	MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:528:3
[task 2018-10-14T10:31:02.955Z] 10:31:02     INFO - 	registerSelf@chrome://marionette/content/listener.js:458:5
[task 2018-10-14T10:31:02.955Z] 10:31:02     INFO - 	@chrome://marionette/content/listener.js:1681:1
The inputState being undefined would be a Marionette bug.
Component: web-platform-tests → Marionette
I assume that the following code in `toEvents()` fails, and returns undefined:

> let inputState = action.inputStateMap.get(a.id);

Maybe the `id` of the action is invalid.

Note that this seems to be only happening for QuantumRender Firefox builds!
You need to log in before you can comment on or make changes to this bug.