Bug: Intermittent  browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | Correct error message found - false == true - got false, expected true (operator ==)
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-08-04 15:12:29+00:00
Resolved: 2022-07-26 16:58:24+00:00

**Filed by:** malexandru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=347355901&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BeD-aUBVQaWrbvMxuJlG1w/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/BeD-aUBVQaWrbvMxuJlG1w/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-08-04T10:59:39.572Z] 10:59:39     INFO - TEST-START | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js
[task 2021-08-04T10:59:40.969Z] 10:59:40     INFO - TEST-INFO | started process screentopng
[task 2021-08-04T10:59:41.570Z] 10:59:41     INFO - TEST-INFO | screentopng: exit 0
[task 2021-08-04T10:59:41.571Z] 10:59:41     INFO - Buffered messages logged at 10:59:39
[task 2021-08-04T10:59:41.572Z] 10:59:41     INFO - Entering test bound test_xfo_iframe
[task 2021-08-04T10:59:41.572Z] 10:59:41     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs" line: 0}]
[task 2021-08-04T10:59:41.573Z] 10:59:41     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | Same site strict cookie has the expected value - 
[task 2021-08-04T10:59:41.574Z] 10:59:41     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | The cookie is a same site strict cookie - 
[task 2021-08-04T10:59:41.575Z] 10:59:41     INFO - Buffered messages logged at 10:59:40
[task 2021-08-04T10:59:41.575Z] 10:59:41     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2021-08-04T10:59:41.576Z] 10:59:41     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2021-08-04T10:59:41.577Z] 10:59:41     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:501:13
[task 2021-08-04T10:59:41.578Z] 10:59:41     INFO - 
[task 2021-08-04T10:59:41.578Z] 10:59:41     INFO - Console message: [JavaScript Warning: "Cookie “matchaCookie” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”." {file: "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs" line: 0}]
[task 2021-08-04T10:59:41.579Z] 10:59:41     INFO - Console message: [JavaScript Error: "The loading of “http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs” in a frame is denied by “X-Frame-Options“ directive set to “SAMEORIGIN“." {file: "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs" line: 0}]
[task 2021-08-04T10:59:41.580Z] 10:59:41     INFO - The error page has loaded!
[task 2021-08-04T10:59:41.580Z] 10:59:41     INFO - Buffered messages finished
[task 2021-08-04T10:59:41.581Z] 10:59:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | Correct error message found - false == true - got false, expected true (operator ==)
[task 2021-08-04T10:59:41.582Z] 10:59:41     INFO - Stack trace:
[task 2021-08-04T10:59:41.582Z] 10:59:41     INFO - @chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js:98:12
[task 2021-08-04T10:59:41.583Z] 10:59:41     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-08-04T10:59:41.584Z] 10:59:41     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1658:15
[task 2021-08-04T10:59:41.584Z] 10:59:41     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-08-04T10:59:41.585Z] 10:59:41     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | We see the correct button to open the site in a new window - true == true - 
[task 2021-08-04T10:59:41.586Z] 10:59:41     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | Correct Learn More URL for XFO error page - true == true - 
[task 2021-08-04T10:59:41.586Z] 10:59:41     INFO - Button was clicked!
[task 2021-08-04T10:59:41.587Z] 10:59:41     INFO - The new tab has loaded!
[task 2021-08-04T10:59:41.600Z] 10:59:41     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs" line: 0}]
[task 2021-08-04T10:59:41.602Z] 10:59:41     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | Same site strict cookie has not been set - true == true - 
[task 2021-08-04T10:59:41.604Z] 10:59:41     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | Location of new page is correct! - "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs" == "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs" - 
[task 2021-08-04T10:59:41.605Z] 10:59:41     INFO - Leaving test bound test_xfo_iframe
[task 2021-08-04T10:59:41.606Z] 10:59:41     INFO - GECKO(4357) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-08-04T10:59:41.607Z] 10:59:41     INFO - GECKO(4357) | MEMORY STAT | vsize 3163MB | residentFast 458MB | heapAllocated 217MB
[task 2021-08-04T10:59:41.608Z] 10:59:41     INFO - TEST-OK | browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | took 1785ms
[task 2021-08-04T10:59:41.609Z] 10:59:41     INFO - checking window state
[task 2021-08-04T10:59:41.610Z] 10:59:41     INFO - GECKO(4357) | Completed ShutdownLeaks collections in process 4357
[task 2021-08-04T10:59:41.611Z] 10:59:41     INFO - TEST-START | Shutdown
[task 2021-08-04T10:59:41.612Z] 10:59:41     INFO - Browser Chrome Test Summary
[task 2021-08-04T10:59:41.613Z] 10:59:41     INFO - Passed:  6
[task 2021-08-04T10:59:41.614Z] 10:59:41     INFO - Failed:  1
[task 2021-08-04T10:59:41.615Z] 10:59:41     INFO - Todo:    0
[task 2021-08-04T10:59:41.615Z] 10:59:41     INFO - Mode:    e10s
[task 2021-08-04T10:59:41.616Z] 10:59:41     INFO - *** End BrowserChrome Test Results ***
[task 2021-08-04T10:59:41.617Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.618Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.619Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.620Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.621Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.622Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.623Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.624Z] 10:59:41     INFO - GECKO(4357) | Exiting due to channel error.
[task 2021-08-04T10:59:41.625Z] 10:59:41     INFO - TEST-INFO | Main app process: exit 0
[task 2021-08-04T10:59:41.626Z] 10:59:41     INFO - runtests.py | Application ran for: 0:00:08.476202
[task 2021-08-04T10:59:41.627Z] 10:59:41     INFO - zombiecheck | Reading PID log: /tmp/tmp2jzcyi_mpidlog
[task 2021-08-04T10:59:41.628Z] 10:59:41     INFO - ==> process 4357 launched child process 4378
[task 2021-08-04T10:59:41.629Z] 10:59:41     INFO - ==> process 4357 launched child process 4436
[task 2021-08-04T10:59:41.630Z] 10:59:41     INFO - ==> process 4357 launched child process 4457
[task 2021-08-04T10:59:41.631Z] 10:59:41     INFO - ==> process 4357 launched child process 4497
[task 2021-08-04T10:59:41.632Z] 10:59:41     INFO - ==> process 4357 launched child process 4500
[task 2021-08-04T10:59:41.633Z] 10:59:41     INFO - ==> process 4357 launched child process 4569
[task 2021-08-04T10:59:41.634Z] 10:59:41     INFO - ==> process 4357 launched child process 4609
[task 2021-08-04T10:59:41.635Z] 10:59:41     INFO - ==> process 4357 launched child process 4640
[task 2021-08-04T10:59:41.636Z] 10:59:41     INFO - ==> process 4357 launched child process 4642
[task 2021-08-04T10:59:41.637Z] 10:59:41     INFO - ==> process 4357 launched child process 4647
[task 2021-08-04T10:59:41.638Z] 10:59:41     INFO - ==> process 4357 launched child process 4703
[task 2021-08-04T10:59:41.639Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4640
[task 2021-08-04T10:59:41.640Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4609
[task 2021-08-04T10:59:41.641Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4642
[task 2021-08-04T10:59:41.642Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4647
[task 2021-08-04T10:59:41.643Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4457
[task 2021-08-04T10:59:41.644Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4497
[task 2021-08-04T10:59:41.645Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4500
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4436
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4569
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4378
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - zombiecheck | Checking for orphan process with PID: 4703
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - Stopping web server
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - Server shut down.
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - Web server killed.
[task 2021-08-04T10:59:41.646Z] 10:59:41     INFO - Stopping web socket server
[task 2021-08-04T10:59:41.663Z] 10:59:41     INFO - Stopping ssltunnel
[task 2021-08-04T10:59:41.684Z] 10:59:41  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2021-08-04T10:59:41.684Z] 10:59:41     INFO - runtests.py | Running tests: end.
[task 2021-08-04T10:59:41.708Z] 10:59:41     INFO - Buffered messages finished
[task 2021-08-04T10:59:41.708Z] 10:59:41     INFO -  TEST-INFO | checking window state
[task 2021-08-04T10:59:41.709Z] 10:59:41     INFO -  Browser Chrome Test Summary
[task 2021-08-04T10:59:41.709Z] 10:59:41     INFO -  	Passed: 76
[task 2021-08-04T10:59:41.710Z] 10:59:41     INFO -  	Failed: 1
[task 2021-08-04T10:59:41.710Z] 10:59:41     INFO -  	Todo: 0
[task 2021-08-04T10:59:41.711Z] 10:59:41     INFO -  	Mode: e10s
[task 2021-08-04T10:59:41.711Z] 10:59:41     INFO -  *** End BrowserChrome Test Results ***
[task 2021-08-04T10:59:41.712Z] 10:59:41     INFO - Buffered messages finished
[task 2021-08-04T10:59:41.712Z] 10:59:41     INFO - SUITE-END | took 9s
[task 2021-08-04T10:59:41.713Z] 10:59:41     INFO - SUITE-START | Running 1 tests
[task 2021-08-04T10:59:41.713Z] 10:59:41     INFO - :::
[task 2021-08-04T10:59:41.714Z] 10:59:41     INFO - ::: Test verification summary for:
[task 2021-08-04T10:59:41.714Z] 10:59:41     INFO - :::
[task 2021-08-04T10:59:41.715Z] 10:59:41     INFO - ::: browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js
[task 2021-08-04T10:59:41.715Z] 10:59:41     INFO - :::
[task 2021-08-04T10:59:41.715Z] 10:59:41     INFO - ::: 1. Run each test 10 times in one browser. : Pass
[task 2021-08-04T10:59:41.716Z] 10:59:41     INFO - ::: 2. Run each test 5 times in a new browser each time. : FAIL
[task 2021-08-04T10:59:41.716Z] 10:59:41     INFO - ::: 3. Run each test 10 times in one browser, in chaos mode. : not run / incomplete
[task 2021-08-04T10:59:41.717Z] 10:59:41     INFO - ::: 4. Run each test 5 times in a new browser each time, in chaos mode. : not run / incomplete
[task 2021-08-04T10:59:41.717Z] 10:59:41     INFO - :::
[task 2021-08-04T10:59:41.719Z] 10:59:41     INFO - ::: Test verification FAILED!
[task 2021-08-04T10:59:41.719Z] 10:59:41     INFO - :::
[task 2021-08-04T10:59:41.720Z] 10:59:41     INFO - Buffered messages finished
[task 2021-08-04T10:59:41.720Z] 10:59:41     INFO - SUITE-END | took 0s
[task 2021-08-04T10:59:41.761Z] 10:59:41     INFO - Return code: 0
[task 2021-08-04T10:59:41.762Z] 10:59:41    ERROR - Got 1 unexpected statuses
[task 2021-08-04T10:59:41.764Z] 10:59:41     INFO - TinderboxPrint: mochitest-mochitest-browser-chrome<br/>17/<em class="testfail">1</em>/0
[task 2021-08-04T10:59:41.765Z] 10:59:41  WARNING - # TBPL WARNING #
[task 2021-08-04T10:59:41.765Z] 10:59:41  WARNING - setting return code to 1
[task 2021-08-04T10:59:41.766Z] 10:59:41  WARNING - TinderboxPrint: Per-test run of .../browser_aboutNetError_xfo_iframe.js<br/>: WARNING
[task 2021-08-04T10:59:41.767Z] 10:59:41     INFO - Structured output parser in use for mochitest.
[task 2021-08-04T10:59:41.768Z] 10:59:41     INFO - ENV: TEST_SUITE is now mochitest-devtools-chrome
[task 2021-08-04T10:59:41.769Z] 10:59:41     INFO - ENV: MINIDUMP_STACKWALK is now /builds/worker/fetches/minidump_stackwalk/minidump_stackwalk
[task 2021-08-04T10:59:41.770Z] 10:59:41     INFO - ENV: MOZ_NODE_PATH is now /usr/local/bin/node
[task 2021-08-04T10:59:41.770Z] 10:59:41     INFO - ENV: MOZ_UPLOAD_DIR is now /builds/worker/workspace/build/blobber_upload_dir
[task 2021-08-04T10:59:41.771Z] 10:59:41     INFO - ENV: MINIDUMP_SAVE_PATH is now /builds/worker/workspace/build/blobber_upload_dir
[task 2021-08-04T10:59:41.772Z] 10:59:41     INFO - ENV: RUST_BACKTRACE is now full
[task 2021-08-04T10:59:41.772Z] 10:59:41     INFO - ENV: STYLO_THREADS is now 4
[task 2021-08-04T10:59:41.773Z] 10:59:41     INFO - Per-test file(s) for 'mochitest-devtools-chrome': ['devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_navigate_back_forward.js']
[task 2021-08-04T10:59:41.774Z] 10:59:41     INFO - Running command: ['/builds/worker/workspace/build/venv/bin/python', '-u', '/builds/worker/workspace/build/tests/mochitest/runtests.py', '--enable-webrender', '--setpref=fission.autostart=true', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', '--setpref=layers.d3d11.enable-blacklist=false', '--appname=/builds/worker/workspace/build/application/firefox/firefox', '--utility-path=tests/bin', '--extra-profile-file=tests/bin/plugins', '--symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Iso3FVcZRUCJrdPXSAZhPA/artifacts/public/build/target.crashreporter-symbols.zip', '--certificate-path=tests/certs', '--setpref=webgl.force-enabled=true', '--quiet', '--log-raw=/builds/worker/workspace/build/blobber_upload_dir/mochitest-devtools-chrome-test7_raw.log', '--log-errorsummary=/builds/worker/workspace/build/blobber_upload_dir/mochitest-devtools-chrome-test7_errorsummary.log', '--use-test-media-devices', '--screenshot-on-fail', '--cleanup-crashes', '--marionette-startup-timeout=180', '--sandbox-read-whitelist=/builds/worker/workspace/build', '--log-raw=-', '--flavor=browser', '--subsuite=devtools', '--chunk-by-runtime', '--verify-max-time=900', '--verify', 'devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_navigate_back_forward.js'] in /builds/worker/workspace/build
[task 2021-08-04T10:59:41.774Z] 10:59:41     INFO - Copy/paste: /builds/worker/workspace/build/venv/bin/python -u /builds/worker/workspace/build/tests/mochitest/runtests.py --enable-webrender --setpref=fission.autostart=true --setpref=media.peerconnection.mtransport_process=false --setpref=network.process.enabled=false --setpref=layers.d3d11.enable-blacklist=false --appname=/builds/worker/workspace/build/application/firefox/firefox --utility-path=tests/bin --extra-profile-file=tests/bin/plugins --symbols-path=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Iso3FVcZRUCJrdPXSAZhPA/artifacts/public/build/target.crashreporter-symbols.zip --certificate-path=tests/certs --setpref=webgl.force-enabled=true --quiet --log-raw=/builds/worker/workspace/build/blobber_upload_dir/mochitest-devtools-chrome-test7_raw.log --log-errorsummary=/builds/worker/workspace/build/blobber_upload_dir/mochitest-devtools-chrome-test7_errorsummary.log --use-test-media-devices --screenshot-on-fail --cleanup-crashes --marionette-startup-timeout=180 --sandbox-read-whitelist=/builds/worker/workspace/build --log-raw=- --flavor=browser --subsuite=devtools --chunk-by-runtime --verify-max-time=900 --verify devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_navigate_back_forward.js
[task 2021-08-04T10:59:41.775Z] 10:59:41     INFO - Using env: {'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-OMsHsdvsFU,guid=ea33930c162866a6f76e85ac610a6c9c',
[task 2021-08-04T10:59:41.776Z] 10:59:41     INFO -  'DEBIAN_FRONTEND': 'noninteractive',
[task 2021-08-04T10:59:41.777Z] 10:59:41     INFO -  'DISPLAY': ':0',
[task 2021-08-04T10:59:41.778Z] 10:59:41     INFO -  'ENABLE_E10S': 'true',
[task 2021-08-04T10:59:41.778Z] 10:59:41     INFO -  'EXTRA_MOZHARNESS_CONFIG': '{"installer_url": '
[task 2021-08-04T10:59:41.779Z] 10:59:41     INFO -                             '"https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Iso3FVcZRUCJrdPXSAZhPA/artifacts/public/build/target.tar.bz2", '
[task 2021-08-04T10:59:41.780Z] 10:59:41     INFO -                             '"test_packages_url": '
[task 2021-08-04T10:59:41.781Z] 10:59:41     INFO -                             '"https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Iso3FVcZRUCJrdPXSAZhPA/artifacts/public/build/target.test_packages.json"}',
[task 2021-08-04T10:59:41.782Z] 10:59:41     INFO -  'GECKO_BASE_REPOSITORY': 'https://hg.mozilla.org/mozilla-unified',
[task 2021-08-04T10:59:41.782Z] 10:59:41     INFO -  'GECKO_HEAD_REPOSITORY': 'https://hg.mozilla.org/integration/autoland',
[task 2021-08-04T10:59:41.783Z] 10:59:41     INFO -  'GECKO_HEAD_REV': '723408bd41c4991ae6594eb6b8e1ce2f286d814c',
[task 2021-08-04T10:59:41.784Z] 10:59:41     INFO -  'GECKO_PATH': '/builds/worker/checkouts/gecko',
[task 2021-08-04T10:59:41.785Z] 10:59:41     INFO -  'HG_STORE_PATH': '/builds/worker/checkouts/hg-store',
[task 2021-08-04T10:59:41.786Z] 10:59:41     INFO -  'HOME': '/builds/worker',
```