Closed Bug 1779694 Opened 4 years ago Closed 4 years ago

Perma /html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html | Browsing context has been discarded

Categories

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

defect

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox102 --- unaffected
firefox103 --- unaffected
firefox104 --- fixed

People

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

References

(Regression)

Details

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

Attachments

(2 files)

Filed by: ccozmuta [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=384443514&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cg58GwU7TKG9IbpANfOoFg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cg58GwU7TKG9IbpANfOoFg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2022-07-15T04:29:36.337Z] 04:29:36     INFO - TEST-START | /html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html
[task 2022-07-15T04:29:36.340Z] 04:29:36     INFO - Setting pref dom.targetBlankNoOpener.enabled to true
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING - Traceback (most recent call last):
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 300, in run_test
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -     self.on_environment_change(test.environment)
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1032, in on_environment_change
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -     self.protocol.on_environment_change(self.last_environment, new_environment)
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 779, in on_environment_change
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -     self.prefs.set(name, value)
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 332, in set
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -     self.marionette.execute_script(script)
[task 2022-07-15T04:29:36.356Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/marionette.py", line 1714, in execute_script
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -     rv = self._send_message("WebDriver:ExecuteScript", body, key="value")
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -     return func(*args, **kwargs)
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/marionette.py", line 666, in _send_message
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -     self._handle_error(err)
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/marionette.py", line 678, in _handle_error
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2022-07-15T04:29:36.357Z] 04:29:36  WARNING - marionette_driver.errors.NoSuchWindowException: Browsing context has been discarded
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - stacktrace:
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	RemoteError@chrome://remote/content/shared/RemoteError.jsm:12:1
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:192:5
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	NoSuchWindowError@chrome://remote/content/shared/webdriver/Errors.jsm:446:5
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	assert.that/<@chrome://remote/content/shared/webdriver/Assert.jsm:493:13
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	assert.open@chrome://remote/content/shared/webdriver/Assert.jsm:155:4
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	GeckoDriver.prototype.execute_@chrome://remote/content/marionette/driver.js:751:15
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	GeckoDriver.prototype.executeScript@chrome://remote/content/marionette/driver.js:664:30
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	despatch@chrome://remote/content/marionette/server.js:304:40
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	execute@chrome://remote/content/marionette/server.js:277:16
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	onPacket/<@chrome://remote/content/marionette/server.js:250:20
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	onPacket@chrome://remote/content/marionette/server.js:251:9
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 	_onJSONObjectReady/<@chrome://remote/content/marionette/transport.js:502:20
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 
[task 2022-07-15T04:29:36.358Z] 04:29:36  WARNING - 
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO - TEST-UNEXPECTED-ERROR | /html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html | Browsing context has been discarded
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO - Traceback (most recent call last):
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/base.py", line 300, in run_test
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -     self.on_environment_change(test.environment)
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1032, in on_environment_change
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -     self.protocol.on_environment_change(self.last_environment, new_environment)
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 779, in on_environment_change
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -     self.prefs.set(name, value)
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 332, in set
[task 2022-07-15T04:29:36.362Z] 04:29:36     INFO -     self.marionette.execute_script(script)
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/marionette.py", line 1714, in execute_script
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -     rv = self._send_message("WebDriver:ExecuteScript", body, key="value")
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -     return func(*args, **kwargs)
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/marionette.py", line 666, in _send_message
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -     self._handle_error(err)
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_driver/marionette.py", line 678, in _handle_error
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO - marionette_driver.errors.NoSuchWindowException: Browsing context has been discarded
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO - stacktrace:
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO - 	RemoteError@chrome://remote/content/shared/RemoteError.jsm:12:1
[task 2022-07-15T04:29:36.363Z] 04:29:36     INFO - 	WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:192:5
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	NoSuchWindowError@chrome://remote/content/shared/webdriver/Errors.jsm:446:5
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	assert.that/<@chrome://remote/content/shared/webdriver/Assert.jsm:493:13
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	assert.open@chrome://remote/content/shared/webdriver/Assert.jsm:155:4
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	GeckoDriver.prototype.execute_@chrome://remote/content/marionette/driver.js:751:15
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	GeckoDriver.prototype.executeScript@chrome://remote/content/marionette/driver.js:664:30
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	despatch@chrome://remote/content/marionette/server.js:304:40
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	execute@chrome://remote/content/marionette/server.js:277:16
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	onPacket/<@chrome://remote/content/marionette/server.js:250:20
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	onPacket@chrome://remote/content/marionette/server.js:251:9
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 	_onJSONObjectReady/<@chrome://remote/content/marionette/transport.js:502:20
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - 
[task 2022-07-15T04:29:36.364Z] 04:29:36     INFO - TEST-INFO took 18ms
[task 2022-07-15T04:29:36.393Z] 04:29:36     INFO - PID 21516 | 1657859376392	Marionette	INFO	Stopped listening on port 33304
[task 2022-07-15T04:29:36.445Z] 04:29:36     INFO - PID 21516 | [Child 21673, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2022-07-15T04:29:36.446Z] 04:29:36     INFO - PID 21516 | [Child 21796, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
<...>
[task 2022-07-15T04:29:37.157Z] 04:29:37     INFO - PID 21516 | [Parent 21516, Main Thread] WARNING: FuncScope not on stack!: file /builds/worker/checkouts/gecko/dom/canvas/WebGLContext.cpp:1734
[task 2022-07-15T04:29:37.158Z] 04:29:37     INFO - PID 21516 | [Parent 21516, Main Thread] WARNING: FuncScope not on stack!: file /builds/worker/checkouts/gecko/dom/canvas/WebGLContext.cpp:1734
[task 2022-07-15T04:29:37.159Z] 04:29:37     INFO - PID 21516 | [Parent 21516, Main Thread] WARNING: FuncScope not on stack!: file /builds/worker/checkouts/gecko/dom/canvas/WebGLContext.cpp:1734
[task 2022-07-15T04:29:37.163Z] 04:29:37     INFO - PID 21516 | [Parent 21516, IPDL Background] WARNING: IPC Connection Error: [Parent][PBackgroundParent] RunMessage(msgname=PRemoteWorkerService::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-15T04:29:37.726Z] 04:29:37     INFO - PID 21516 | [Parent 21516, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-07-15T04:29:37.758Z] 04:29:37     INFO - PID 21516 | [Parent 21516, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-07-15T04:29:37.781Z] 04:29:37     INFO - PID 21516 | [Parent 21516, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-07-15T04:29:37.801Z] 04:29:37     INFO - Browser exited with return code 0
[task 2022-07-15T04:29:37.802Z] 04:29:37     INFO - PROCESS LEAKS /tmp/tmpgts21sjw/runtests_leaks_1193.log
[task 2022-07-15T04:29:37.803Z] 04:29:37     INFO - leakcheck | Processing log file /tmp/tmpgts21sjw/runtests_leaks_1193.log for scope /html/semantics/embedded-content
[task 2022-07-15T04:29:37.803Z] 04:29:37     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 51200 bytes
[task 2022-07-15T04:29:37.803Z] 04:29:37     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 10000 bytes
[task 2022-07-15T04:29:37.804Z] 04:29:37     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2022-07-15T04:29:37.804Z] 04:29:37     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 51200 bytes
[task 2022-07-15T04:29:37.805Z] 04:29:37     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2022-07-15T04:29:37.805Z] 04:29:37     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 51200 bytes
[task 2022-07-15T04:29:37.805Z] 04:29:37     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2022-07-15T04:29:37.806Z] 04:29:37     INFO - TEST-INFO | leakcheck | sandboxbroker process: leak threshold set at 0 bytes
[task 2022-07-15T04:29:37.806Z] 04:29:37     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2022-07-15T04:29:37.806Z] 04:29:37     INFO - TEST-INFO | leakcheck | utility process: leak threshold set at 0 bytes
[task 2022-07-15T04:29:37.806Z] 04:29:37     INFO - leakcheck | Processing leak log file /tmp/tmpgts21sjw/runtests_leaks_1193_tab_pid21701.log
[task 2022-07-15T04:29:37.807Z] 04:29:37     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2022-07-15T04:29:37.807Z] 04:29:37     INFO - leakcheck | Processing leak log file /tmp/tmpgts21sjw/runtests_leaks_1193_tab_pid21673.log
[task 2022-07-15T04:29:37.809Z] 04:29:37     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2022-07-15T04:29:37.809Z] 04:29:37     INFO - leakcheck | Processing leak log file /tmp/tmpgts21sjw/runtests_leaks_1193_tab_pid21796.log
[task 2022-07-15T04:29:37.812Z] 04:29:37     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2022-07-15T04:29:37.812Z] 04:29:37     INFO - leakcheck | Processing leak log file /tmp/tmpgts21sjw/runtests_leaks_1193.log
[task 2022-07-15T04:29:37.816Z] 04:29:37     INFO - TEST-PASS | leakcheck | default no leaks detected!
[task 2022-07-15T04:29:37.817Z] 04:29:37     INFO - leakcheck | Processing leak log file /tmp/tmpgts21sjw/runtests_leaks_1193_tab_pid21876.log
[task 2022-07-15T04:29:37.818Z] 04:29:37     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2022-07-15T04:29:37.820Z] 04:29:37     INFO - Closing logging queue
[task 2022-07-15T04:29:37.821Z] 04:29:37     INFO - queue closed
[task 2022-07-15T04:29:37.836Z] 04:29:37     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette about:blank -profile /tmp/tmp15ewlhdf

Hi James,

Could you please take a look at this ?
https://treeherder.mozilla.org/logviewer?job_id=384443747&repo=mozilla-central

Thank you!

Flags: needinfo?(james)

This got switched from ERROR to PASS on autoland in bug 1779530 after the latest wptsync but mozilla-central still gets the old test result.

Severity: S4 → --
Priority: P5 → --
Regressed by: 1779530
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/e49f59e23cbe Mark scrolling test as intermittent on desktop, a=testonly

I've just marked it a

Flags: needinfo?(james)

If a reftest times out we close the window before the following
test. However because we weren't waiting for this close to complete
there was a race condition where the following test would fail with a
"browsing context was discarded".

Ensuring that we wait for the window to close in abort seems to be
sufficient to fix this issue.

Assignee: nobody → james
Status: NEW → ASSIGNED
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/a7402247dc7e Await window closing during reftest cleanup, r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → 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: