Closed Bug 1562167 Opened 5 years ago Closed 2 years ago

Intermittent InvalidArgumentException: Unknown pointerType: [object String] "touch"

Categories

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

Version 3
defect

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

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

References

Details

Attachments

(1 file)

Filed by: hskupin [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=253725183&repo=try
Full log: https://queue.taskcluster.net/v1/task/CmxJWGKXQFedd5N80tPqEA/runs/0/artifacts/public/logs/live_backing.log


Separate bug for the intermittent failures in web-platform-tests, so classification and intermittent view doesn't collide with our implementation process on bug 1543337.

Here an example:

https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=253725183&repo=try&lineNumber=4731-4749

[task 2019-06-28T01:42:02.220Z] 01:42:02     INFO - TEST-START | /pointerevents/pointerevent_boundary_events_in_capturing.html
[task 2019-06-28T01:42:02.221Z] 01:42:02     INFO - Closing window 2147483656
[task 2019-06-28T01:42:02.818Z] 01:42: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'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'button': 0, u'type': u'pointerDown'}, {u'y': 0, u'x': 10, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'y': 0, u'x': 20, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'y': 0, u'x': 30, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'button': 0, u'type': u'pointerUp'}], u'parameters': {u'pointerType': u'mouse'}, u'id': u'mousePointer1'}]}
[task 2019-06-28T01:42:02.946Z] 01:42: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'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'button': 0, u'type': u'pointerDown'}, {u'y': 0, u'x': 10, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'y': 0, u'x': 20, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'y': 0, u'x': 30, u'type': u'pointerMove', u'origin': {'element-6066-11e4-a52e-4f735466cecf': u'd60e51fe-58a9-4d42-a492-41718cabed9a', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'd60e51fe-58a9-4d42-a492-41718cabed9a'}}, {u'button': 0, u'type': u'pointerUp'}], u'parameters': {u'pointerType': u'touch'}, u'id': u'touchPointer1'}]}
[task 2019-06-28T01:42:02.968Z] 01:42:02  WARNING - Action action_sequence failed
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING - Traceback (most recent call last):
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 618, in process_action
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -     action_handler(payload)
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 673, in __call__
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -     self.protocol.action_sequence.send_actions({"actions": actions})
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 413, in send_actions
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -     self.marionette._send_message("WebDriver:PerformActions", actions)
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -     return func(*args, **kwargs)
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 598, in _send_message
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -     self._handle_error(err)
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 618, in _handle_error
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2019-06-28T01:42:02.969Z] 01:42:02  WARNING - InvalidArgumentException: Unknown pointerType: [object String] "touch"

This seems to come from the CallbackHandler class:

https://searchfox.org/mozilla-central/rev/f91bd38732d4a330eba4e780812274b98eb81274/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py#586

So tests might call into here with those actions. I wonder if we should skip those until we really support the touch action primitive?

Flags: needinfo?(dburns)

Those tests should have expectation data showing them as failing until we fix this. We should not skip them

Flags: needinfo?(dburns)

(In reply to David Burns :automatedtester from comment #2)

Those tests should have expectation data showing them as failing until we fix this. We should not skip them

The problem is that it is only a warning and pretty much fills the failure pane on Treeherder without failing the tests. So marking as skipped or expected fail won't work in both cases.

David, could you maybe help with it while James is away? Otherwise I may have to change priorities.

Flags: needinfo?(dburns)

Maja, Is this on your list of bugs you are looking for disabling? If not could you disable it, I am already doing the marionette changes for this

Flags: needinfo?(dburns) → needinfo?(mjzffr)

This doesn't actually cause jobs to be orange so I don't think it's a good idea to disable just for warning logs, especially given that we already have accurate expectation metadata. If I'm missing something, let me know.

Flags: needinfo?(mjzffr)

Now that the intermittent-failure keyword has been removed, we shouldn't get new classifications anymore. Maybe that helps for the time being.

Type: -- → defect
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE

This is not fixed but no longer marked as intermittent failure.

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

Adding leave-open to ensure it stays open until the dependency has been fixed.

Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: INCOMPLETE → ---

If we only log the error without raising, hundreds of tests would report
a timeout in Mozilla's CI.

The Treeherder log highlighting excludes strings that include "TEST-INFO ".

Assignee: nobody → mjzffr

The leave-open keyword is there and there is no activity for 6 months.
:maja_zf, maybe it's time to close this bug?

Flags: needinfo?(mjzffr)

The attached patch fixes the problem, but extensive metadata and test changes need to be added. I'm keeping the leave-open and hopefully I can revive that patch soon.

Flags: needinfo?(mjzffr)

The leave-open keyword is there and there is no activity for 6 months.
:jgraham, maybe it's time to close this bug?

Flags: needinfo?(james)

It's still needed, but maybe it should be easy to finish by taking Maja's patch for the remaining work?

Assignee: mjzffr → nobody
Status: REOPENED → NEW
Whiteboard: [webdriver:triage]
Whiteboard: [webdriver:triage]

The leave-open keyword is there and there is no activity for 6 months.
:jgraham, maybe it's time to close this bug?

Flags: needinfo?(james)
Flags: needinfo?(james)

James, I assume this bug can now be marked as fixed?

Flags: needinfo?(james)

This was fixed as part of 1543337

Status: NEW → RESOLVED
Closed: 5 years ago2 years ago
Flags: needinfo?(james)
Resolution: --- → WORKSFORME

Great. So lets also mark it as fixed given that we know the bug.

Assignee: nobody → james
Resolution: WORKSFORME → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: