Bug: Intermittent browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | application terminated with exit code 1
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-01-17 22:44:42+00:00
Resolved: 2022-07-26 00:13:00+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=364406336&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/O1xRrolFQu65dpXL_iCmoQ/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2022-01-17T22:05:20.835Z] 22:05:20     INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js
[task 2022-01-17T22:05:20.952Z] 22:05:20     INFO - GECKO(1576) | Waiting for browser load
[task 2022-01-17T22:05:20.956Z] 22:05:20     INFO - GECKO(1576) | Waiting for browser state change
[task 2022-01-17T22:05:21.334Z] 22:05:21     INFO - GECKO(1576) | Saw state f0001 and status 0
[task 2022-01-17T22:05:21.914Z] 22:05:21     INFO - GECKO(1576) | Saw state c0010 and status 0
[task 2022-01-17T22:05:21.916Z] 22:05:21     INFO - GECKO(1576) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2022-01-17T22:05:23.050Z] 22:05:23     INFO - GECKO(1576) | Gdk-Message: 22:05:23.049: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
[task 2022-01-17T22:05:23.134Z] 22:05:23     INFO - GECKO(1576) | Exiting due to channel error.
[task 2022-01-17T22:05:23.136Z] 22:05:23     INFO - GECKO(1576) | Exiting due to channel error.
[task 2022-01-17T22:05:23.137Z] 22:05:23     INFO - GECKO(1576) | Exiting due to channel error.
[task 2022-01-17T22:05:23.137Z] 22:05:23     INFO - GECKO(1576) | Exiting due to channel error.
[task 2022-01-17T22:05:23.138Z] 22:05:23     INFO - GECKO(1576) | Exiting due to channel error.
[task 2022-01-17T22:05:23.138Z] 22:05:23     INFO - GECKO(1576) | Exiting due to channel error.
[task 2022-01-17T22:05:23.181Z] 22:05:23     INFO - TEST-INFO | Main app process: exit 1
[task 2022-01-17T22:05:23.181Z] 22:05:23     INFO - Buffered messages logged at 22:05:20
[task 2022-01-17T22:05:23.182Z] 22:05:23     INFO - Entering test bound testOpenFrame
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - Buffered messages logged at 22:05:21
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 158}]
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:158:5
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:501:13
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - 
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/" line: 0}]
[task 2022-01-17T22:05:23.183Z] 22:05:23     INFO - Buffered messages logged at 22:05:22
[task 2022-01-17T22:05:23.186Z] 22:05:23     INFO - show only this frame for http://example.com/
[task 2022-01-17T22:05:23.187Z] 22:05:23     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: screenshotsDisabled
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: SCREENSHOT_BROWSER_COMPONENT
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: REVEAL_PASSWORD_ENABLED
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - Buffered messages finished
[task 2022-01-17T22:05:23.195Z] 22:05:23    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | application terminated with exit code 1
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - runtests.py | Application ran for: 0:00:12.573416
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - zombiecheck | Reading PID log: /tmp/tmpc19ny2vupidlog
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - ==> process 1576 launched child process 1593
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - ==> process 1576 launched child process 1676
[task 2022-01-17T22:05:23.195Z] 22:05:23     INFO - ==> process 1576 launched child process 1694
[task 2022-01-17T22:05:23.196Z] 22:05:23     INFO - ==> process 1576 launched child process 1746
[task 2022-01-17T22:05:23.196Z] 22:05:23     INFO - ==> process 1576 launched child process 1804
[task 2022-01-17T22:05:23.196Z] 22:05:23     INFO - ==> process 1576 launched child process 1819
[task 2022-01-17T22:05:23.197Z] 22:05:23     INFO - ==> process 1576 launched child process 1850
[task 2022-01-17T22:05:23.197Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1676
[task 2022-01-17T22:05:23.201Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1804
[task 2022-01-17T22:05:23.202Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1746
[task 2022-01-17T22:05:23.202Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1593
[task 2022-01-17T22:05:23.203Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1850
[task 2022-01-17T22:05:23.203Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1819
[task 2022-01-17T22:05:23.204Z] 22:05:23     INFO - zombiecheck | Checking for orphan process with PID: 1694
[task 2022-01-17T22:05:23.205Z] 22:05:23     INFO - Stopping web server
[task 2022-01-17T22:05:23.211Z] 22:05:23     INFO - Server shut down.
[task 2022-01-17T22:05:23.242Z] 22:05:23     INFO - Web server killed.
[task 2022-01-17T22:05:23.243Z] 22:05:23     INFO - Stopping web socket server
[task 2022-01-17T22:05:23.263Z] 22:05:23     INFO - Stopping ssltunnel
[task 2022-01-17T22:05:23.283Z] 22:05:23  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2022-01-17T22:05:23.283Z] 22:05:23     INFO - runtests.py | Running tests: end.
[task 2022-01-17T22:05:23.303Z] 22:05:23     INFO - Buffered messages finished
[task 2022-01-17T22:05:23.303Z] 22:05:23     INFO - Running manifest: dom/base/test/browser.ini
[task 2022-01-17T22:05:23.321Z] 22:05:23     INFO -  Setting pipeline to PAUSED ...
[task 2022-01-17T22:05:23.321Z] 22:05:23     INFO -  Pipeline is PREROLLING ...
[task 2022-01-17T22:05:23.323Z] 22:05:23     INFO -  Pipeline is PREROLLED ...
[task 2022-01-17T22:05:23.324Z] 22:05:23     INFO -  Setting pipeline to PLAYING ...
[task 2022-01-17T22:05:23.324Z] 22:05:23     INFO -  New clock: GstSystemClock
[task 2022-01-17T22:05:23.357Z] 22:05:23     INFO -  Got EOS from element "pipeline0".
[task 2022-01-17T22:05:23.357Z] 22:05:23     INFO -  Execution ended after 0:00:00.033398945
[task 2022-01-17T22:05:23.357Z] 22:05:23     INFO -  Setting pipeline to PAUSED ...
[task 2022-01-17T22:05:23.357Z] 22:05:23     INFO -  Setting pipeline to READY ...
[task 2022-01-17T22:05:23.358Z] 22:05:23     INFO -  (gst-launch-1.0:1878): GStreamer-CRITICAL **: 22:05:23.357: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
[task 2022-01-17T22:05:23.358Z] 22:05:23     INFO -  Setting pipeline to NULL ...
[task 2022-01-17T22:05:23.358Z] 22:05:23     INFO -  Freeing pipeline ...
[task 2022-01-17T22:05:23.388Z] 22:05:23     INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2022-01-17T22:05:23.393Z] 22:05:23     INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2022-01-17T22:05:23.393Z] 22:05:23     INFO - UBSan enabled.
[task 2022-01-17T22:05:23.557Z] 22:05:23     INFO - PID 1887 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2022-01-17T22:05:23.777Z] 22:05:23     INFO - Increasing default timeout to 90 seconds
[task 2022-01-17T22:05:23.778Z] 22:05:23     INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2022-01-17T22:05:23.783Z] 22:05:23     INFO - LSan enabled.
[task 2022-01-17T22:05:23.783Z] 22:05:23     INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2022-01-17T22:05:23.783Z] 22:05:23     INFO - UBSan enabled.
[task 2022-01-17T22:05:23.783Z] 22:05:23     INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2022-01-17T22:05:23.787Z] 22:05:23     INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2022-01-17T22:05:23.787Z] 22:05:23     INFO - UBSan enabled.
[task 2022-01-17T22:05:23.791Z] 22:05:23     INFO - MochitestServer : launching ['/builds/worker/workspace/build/tests/bin/xpcshell', '-g', '/builds/worker/workspace/build/application/firefox', '-f', '/builds/worker/workspace/build/tests/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpw9k2665a.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/builds/worker/workspace/build/tests/mochitest/server.js']
[task 2022-01-17T22:05:23.791Z] 22:05:23     INFO - runtests.py | Server pid: 1903
[task 2022-01-17T22:05:23.810Z] 22:05:23     INFO - runtests.py | Websocket server pid: 1906
[task 2022-01-17T22:05:23.812Z] 22:05:23     INFO - INFO | runtests.py | ASan using symbolizer at /builds/worker/workspace/build/application/firefox/llvm-symbolizer
[task 2022-01-17T22:05:23.824Z] 22:05:23     INFO - INFO | runtests.py | ASan running in default memory configuration
[task 2022-01-17T22:05:23.824Z] 22:05:23     INFO - UBSan enabled.
[task 2022-01-17T22:05:23.854Z] 22:05:23     INFO - runtests.py | SSL tunnel pid: 1912
[task 2022-01-17T22:05:24.111Z] 22:05:24     INFO - runtests.py | Running with scheme: http
[task 2022-01-17T22:05:24.112Z] 22:05:24     INFO - runtests.py | Running with e10s: True
[task 2022-01-17T22:05:24.113Z] 22:05:24     INFO - runtests.py | Running with fission: False
[task 2022-01-17T22:05:24.113Z] 22:05:24     INFO - runtests.py | Running with cross-origin iframes: False
[task 2022-01-17T22:05:24.113Z] 22:05:24     INFO - runtests.py | Running with serviceworker_e10s: True
[task 2022-01-17T22:05:24.114Z] 22:05:24     INFO - runtests.py | Running with socketprocess_e10s: False
[task 2022-01-17T22:05:24.114Z] 22:05:24     INFO - runtests.py | Running tests: start.
[task 2022-01-17T22:05:24.114Z] 22:05:24     INFO - 
[task 2022-01-17T22:05:24.132Z] 22:05:24     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox -marionette -foreground -profile /tmp/tmpw9k2665a.mozrunner
[task 2022-01-17T22:05:24.146Z] 22:05:24     INFO - runtests.py | Application pid: 1928
[task 2022-01-17T22:05:24.146Z] 22:05:24     INFO - TEST-INFO | started process GECKO(1928)
[task 2022-01-17T22:05:25.330Z] 22:05:25     INFO - GECKO(1928) | 1642457125329	Marionette	INFO	Marionette enabled
[task 2022-01-17T22:05:25.526Z] 22:05:25     INFO - GECKO(1928) | 1642457125524	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2022-01-17T22:05:28.457Z] 22:05:28     INFO - GECKO(1928) | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmpw9k2665a.mozrunner/search.json.mozlz4", (void 0)))
[task 2022-01-17T22:05:31.095Z] 22:05:31     INFO - GECKO(1928) | 1642457131094	Marionette	TRACE	Received observer notification marionette-startup-requested
[task 2022-01-17T22:05:31.097Z] 22:05:31     INFO - GECKO(1928) | 1642457131094	Marionette	TRACE	Waiting until startup recorder finished recording startup scripts...
[task 2022-01-17T22:05:31.133Z] 22:05:31     INFO - GECKO(1928) | 1642457131132	Marionette	TRACE	All scripts recorded.
[task 2022-01-17T22:05:31.142Z] 22:05:31     INFO - GECKO(1928) | 1642457131141	Marionette	INFO	Listening on port 2828
[task 2022-01-17T22:05:31.144Z] 22:05:31     INFO - GECKO(1928) | 1642457131142	Marionette	DEBUG	Marionette is listening
[task 2022-01-17T22:05:31.248Z] 22:05:31     INFO - GECKO(1928) | 1642457131247	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:46780
[task 2022-01-17T22:05:31.256Z] 22:05:31     INFO - GECKO(1928) | 1642457131255	Marionette	DEBUG	Closed connection 0
[task 2022-01-17T22:05:31.258Z] 22:05:31     INFO - GECKO(1928) | 1642457131257	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:46782
[task 2022-01-17T22:05:31.275Z] 22:05:31     INFO - GECKO(1928) | 1642457131274	Marionette	DEBUG	1 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2022-01-17T22:05:31.301Z] 22:05:31     INFO - GECKO(1928) | 1642457131300	RemoteAgent	TRACE	[19] Document already finished loading: about:blank
[task 2022-01-17T22:05:31.311Z] 22:05:31     INFO - GECKO(1928) | 1642457131310	Marionette	DEBUG	1 <- [1,1,null,{"sessionId":"eab61d98-05da-4f3d-bb5a-b0223c22cf71","capabilities":{"browserName":"firefox","browserVersion":"98.0a ... .mozrunner","moz:shutdownTimeout":300000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2022-01-17T22:05:31.339Z] 22:05:31     INFO - GECKO(1928) | 1642457131337	Marionette	DEBUG	1 -> [0,2,"Addon:Install",{"path":"/tmp/tmp2t524nz6.zip","temporary":false}]
[task 2022-01-17T22:05:31.538Z] 22:05:31     INFO - GECKO(1928) | 1642457131537	Marionette	DEBUG	1 <- [1,2,null,{"value":"special-powers@mozilla.org"}]
[task 2022-01-17T22:05:31.569Z] 22:05:31     INFO - GECKO(1928) | 1642457131567	Marionette	DEBUG	1 -> [0,3,"Addon:Install",{"path":"/tmp/tmpi23n7fgj.zip","temporary":false}]
[task 2022-01-17T22:05:31.606Z] 22:05:31     INFO - GECKO(1928) | 1642457131605	Marionette	DEBUG	1 <- [1,3,null,{"value":"mochikit@mozilla.org"}]
[task 2022-01-17T22:05:31.614Z] 22:05:31     INFO - GECKO(1928) | 1642457131613	Marionette	DEBUG	1 -> [0,4,"Marionette:GetContext",{}]
[task 2022-01-17T22:05:31.616Z] 22:05:31     INFO - GECKO(1928) | 1642457131614	Marionette	DEBUG	1 <- [1,4,null,{"value":"content"}]
[task 2022-01-17T22:05:31.617Z] 22:05:31     INFO - GECKO(1928) | 1642457131616	Marionette	DEBUG	1 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-01-17T22:05:31.618Z] 22:05:31     INFO - GECKO(1928) | 1642457131617	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2022-01-17T22:05:31.621Z] 22:05:31     INFO - GECKO(1928) | 1642457131620	Marionette	DEBUG	1 -> [0,6,"WebDriver:ExecuteScript",{"script":"/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, ... hrome","testUrl":"about:blank"}],"newSandbox":true,"sandbox":"default","line":1945,"filename":"tests/mochitest/runtests.py"}]
[task 2022-01-17T22:05:31.632Z] 22:05:31     INFO - GECKO(1928) | 1642457131632	Marionette	TRACE	[7] MarionetteCommands actor created for window id 2
[task 2022-01-17T22:05:31.684Z] 22:05:31     INFO - GECKO(1928) | 1642457131683	Marionette	TRACE	Received observer notification domwindowopened
[task 2022-01-17T22:05:31.697Z] 22:05:31     INFO - GECKO(1928) | 1642457131695	Marionette	DEBUG	1 <- [1,6,null,{"value":null}]
[task 2022-01-17T22:05:31.699Z] 22:05:31     INFO - GECKO(1928) | 1642457131698	Marionette	DEBUG	1 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2022-01-17T22:05:31.701Z] 22:05:31     INFO - GECKO(1928) | 1642457131699	Marionette	DEBUG	1 <- [1,7,null,{"value":null}]
[task 2022-01-17T22:05:31.810Z] 22:05:31     INFO - GECKO(1928) | 1642457131809	Marionette	DEBUG	1 -> [0,8,"WebDriver:DeleteSession",{}]
[task 2022-01-17T22:05:31.816Z] 22:05:31     INFO - GECKO(1928) | 1642457131814	Marionette	DEBUG	1 <- [1,8,null,{"value":null}]
[task 2022-01-17T22:05:31.842Z] 22:05:31     INFO - runtests.py | Waiting for browser...
[task 2022-01-17T22:05:31.845Z] 22:05:31     INFO - GECKO(1928) | 1642457131844	Marionette	DEBUG	Closed connection 1
[task 2022-01-17T22:05:32.545Z] 22:05:32     INFO - TEST-START | dom/base/test/browser_blocking_image.js
```