Closed Bug 1464488 Opened 8 years ago Closed 6 years ago

[Perma] TEST-UNEXPECTED-TIMEOUT | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | ",height=402,,width==401" should set height and width of opened window

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: archaeopteryx [at] coole-files.de https://treeherder.mozilla.org/logviewer.html#?job_id=179912788&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/V4fdsnBnTVeKAb_XvSEVpQ/runs/0/artifacts/public/logs/live_backing.log [task 2018-05-24T01:07:54.417Z] 01:07:54 INFO - TEST-PASS | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | "\nheight= 402,,width=\n401" should set height and width of opened window [task 2018-05-24T01:07:54.418Z] 01:07:54 INFO - TEST-UNEXPECTED-TIMEOUT | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | ",height=402,,width==401" should set height and width of opened window - Test timed out [task 2018-05-24T01:07:54.419Z] 01:07:54 INFO - TEST-INFO | expected FAIL [task 2018-05-24T01:07:54.421Z] 01:07:54 INFO - [task 2018-05-24T01:07:54.422Z] 01:07:54 INFO - TEST-UNEXPECTED-TIMEOUT | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | "HEIGHT=402, WIDTH=401" should set height and width of opened window - Test timed out [task 2018-05-24T01:07:54.423Z] 01:07:54 INFO - TEST-UNEXPECTED-TIMEOUT | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | expected OK
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
Summary: Intermittent TEST-UNEXPECTED-TIMEOUT | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | ",height=402,,width==401" should set height and width of opened window → [Perma] TEST-UNEXPECTED-TIMEOUT | /html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height.html | ",height=402,,width==401" should set height and width of opened window

This is now a perma on betasim: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=acc0a1815a66526496379bd433957e6c0e111063&selectedJob=243202905

16:09:09 WARNING - File "Z:\task_1556460058\build\venv\lib\site-packages\marionette_driver\marionette.py", line 618, in _handle_error
16:09:09 WARNING - raise errors.lookup(error)(message, stacktrace=stacktrace)
16:09:09 WARNING - InvalidArgumentException: Unknown pointerType: [object String] "touch"
16:09:09 WARNING - stacktrace:
16:09:09 WARNING - WebDriverError@chrome://marionette/content/error.js:179:5
16:09:09 WARNING - InvalidArgumentError@chrome://marionette/content/error.js:306:5
16:09:09 WARNING - assert.that/<@chrome://marionette/content/assert.js:417:13
16:09:09 WARNING - assert.in@chrome://marionette/content/assert.js:373:47
16:09:09 WARNING - action.PointerType.get@chrome://marionette/content/action.js:399:10
16:09:09 WARNING - Pointer@chrome://marionette/content/action.js:583:39
16:09:09 WARNING - fromJSON@chrome://marionette/content/action.js:474:14
16:09:09 WARNING - fromJSON@chrome://marionette/content/action.js:820:39
16:09:09 WARNING - fromJSON@chrome://marionette/content/action.js:783:48
16:09:09 WARNING - performActions@chrome://marionette/content/listener.js:772:28
16:09:09 WARNING - dispatch/</req<@chrome://marionette/content/listener.js:482:14
16:09:09 WARNING - dispatch/<@chrome://marionette/content/listener.js:475:15
16:09:09 WARNING -
16:09:09 WARNING -
16:09:09 WARNING - Traceback (most recent call last):
16:09:09 WARNING - File "Z:\task_1556460058\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\executormarionette.py", line 605, in _run
16:09:09 WARNING - self.result = True, self.func(self.protocol, self.url, self.timeout)
16:09:09 WARNING - File "Z:\task_1556460058\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\executormarionette.py", line 723, in do_testharness
16:09:09 WARNING - done, rv = handler(result)
16:09:09 WARNING - File "Z:\task_1556460058\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\base.py", line 604, in call
16:09:09 WARNING - return callback(url, payload)
16:09:09 WARNING - File "Z:\task_1556460058\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\base.py", line 618, in process_action
16:09:09 WARNING - action_handler(payload)
16:09:09 WARNING - File "Z:\task_1556460058\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\base.py", line 673, in call
16:09:09 WARNING - self.protocol.action_sequence.send_actions({"actions": actions})
16:09:09 WARNING - File "Z:\task_1556460058\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\executormarionette.py", line 394, in send_actions
16:09:09 WARNING - self.marionette._send_message("WebDriver:PerformActions", actions)
16:09:09 WARNING - File "Z:\task_1556460058\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _
16:09:09 WARNING - return func(*args, **kwargs)
16:09:09 WARNING - File "Z:\task_1556460058\build\venv\lib\site-packages\marionette_driver\marionette.py", line 598, in _send_message
16:09:09 WARNING - self._handle_error(err)
16:09:09 WARNING - File "Z:\task_1556460058\build\venv\lib\site-packages\marionette_driver\marionette.py", line 618, in _handle_error
16:09:09 WARNING - raise errors.lookup(error)(message, stacktrace=stacktrace)
16:09:09 WARNING - InvalidArgumentException: Unknown pointerType: [object String] "touch"

Flags: needinfo?(htsai)

Looking at the stacktrace and the error "Unknown pointerType: [object String] "touch"", I wonder if the root cause is bug 1543337 and if something changes on marionette or webdriver side recently. Henrik, are you the right person to take a look at this?

Flags: needinfo?(htsai) → needinfo?(hskupin)

No, nothing changed here in Marionette the last days / weeks. So I would expect a change in wptrunner might have caused this. Forwarding the question to James.

Flags: needinfo?(hskupin) → needinfo?(james)

The InvalidArgumentException is something unrelated; there's a test trying to use touch actions which we don't yet support, but it isn't this test.

I don't really know why this would fail on beta; it looks like we're clamping the window size to the nearest 100px, which I thought was an anti-fingerprinting thing but I didn't think that we would be shipping that by default. I guess smaug (to take a slightly wild guess) might know if anything changed in this code recently. Otherwise I suggest we just check in a patch to the expectation ini files to make them match the actual values we're seeing.

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

I've see " Unknown pointerType: [object String] "touch"" every now and then on tryserver.

But I don't know anything on window sizing changing very recently. I wonder if some Fission changes could have affected there.

Flags: needinfo?(bugs) → needinfo?(afarre)

Regarding the touch pointer type, the full log of the job from comment 4 shows:

16:09:09 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'bffd1f2c-4a37-4737-94dc-fd67a0e7a1cd', 'chromeelement-9fc5-4b51-a3c8-01716eedeb04': u'bffd1f2c-4a37-4737-94dc-fd67a0e7a1cd'}}, {u'button': 0, u'type': u'pointerDown'}, {u'y': 30, u'x': 30, u'type': u'pointerMove', u'origin': u'viewport'}, {u'button': 0, u'type': u'pointerUp'}], u'parameters': {u'pointerType': u'touch'}, u'id': u'touch_pointer'}]}

And that comes from:

https://searchfox.org/mozilla-central/rev/b59a99943de4dd314bae4e44ab43ce7687ccbbec/testing/web-platform/tests/dom/events/document-level-touchmove-event-listener-passive-by-default.html#57

It was synced downstream on April 1st via bug 1532197.

This has become very quiet, and I'm not even sure if Comment 13 is correct. Ok if I close this?

Flags: needinfo?(afarre) → needinfo?(htsai)

(In reply to Andreas Farre [:farre] from comment #14)

This has become very quiet, and I'm not even sure if Comment 13 is correct. Ok if I close this?

Sounds good to close it according to the recent result.

Status: REOPENED → RESOLVED
Closed: 8 years ago6 years ago
Flags: needinfo?(htsai)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.