Open Bug 1763197 Opened 2 years ago Updated 2 months ago

Intermittent toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | single tracking bug

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(Not tracked)

REOPENED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [stockwell disabled])

Attachments

(1 file, 1 obsolete file)

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


[task 2022-04-05T16:30:38.783Z] 16:30:38     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js
[task 2022-04-05T16:30:39.800Z] 16:30:39  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | xpcshell return code: 0
[task 2022-04-05T16:30:39.800Z] 16:30:39     INFO -  TEST-INFO took 1016ms
[task 2022-04-05T16:30:39.800Z] 16:30:39     INFO -  >>>>>>>
[task 2022-04-05T16:30:39.801Z] 16:30:39     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-04-05T16:30:39.801Z] 16:30:39     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-04-05T16:30:39.801Z] 16:30:39     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-04-05T16:30:39.802Z] 16:30:39     INFO -  running event loop
[task 2022-04-05T16:30:39.802Z] 16:30:39     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | Starting setup check_remote
[task 2022-04-05T16:30:39.802Z] 16:30:39     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2022-04-05T16:30:39.803Z] 16:30:39     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - true == true
[task 2022-04-05T16:30:39.804Z] 16:30:39     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | check_remote - [check_remote : 1] testing from extension process - false == false
[task 2022-04-05T16:30:39.804Z] 16:30:39     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-04-05T16:30:39.804Z] 16:30:39     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-04-05T16:30:39.805Z] 16:30:39     INFO -  (xpcshell/head.js) | test check_remote finished (2)
[task 2022-04-05T16:30:39.805Z] 16:30:39     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | Starting test_userscripts_register_cookieStoreId
[task 2022-04-05T16:30:39.805Z] 16:30:39     INFO -  (xpcshell/head.js) | test test_userscripts_register_cookieStoreId pending (2)
[task 2022-04-05T16:30:39.806Z] 16:30:39     INFO -  "Extension attached"
[task 2022-04-05T16:30:39.806Z] 16:30:39     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2022-04-05T16:30:39.807Z] 16:30:39     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | test_userscripts_register_cookieStoreId - [test_userscripts_register_cookieStoreId : 181] Promise rejected, expecting rejection to match '/Invalid cookieStoreId/', got 'Error: Invalid cookieStoreId': userScript.register with an invalid cookieStoreId - true == true
[task 2022-04-05T16:30:39.808Z] 16:30:39     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | test_userscripts_register_cookieStoreId - [test_userscripts_register_cookieStoreId : 181] Promise rejected, expecting rejection to match '/Invalid cookieStoreId/', got 'Error: Invalid cookieStoreId': contentScript.register with an invalid cookieStoreId - true == true
[task 2022-04-05T16:30:39.809Z] 16:30:39     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: resource://gre/modules/ContextualIdentityService.jsm :: ensureDataReady :: line 406"  data: no]"]
[task 2022-04-05T16:30:39.809Z] 16:30:39     INFO -  ensureDataReady@resource://gre/modules/ContextualIdentityService.jsm:406:19
[task 2022-04-05T16:30:39.809Z] 16:30:39     INFO -  getPublicIdentityFromId@resource://gre/modules/ContextualIdentityService.jsm:459:10
[task 2022-04-05T16:30:39.810Z] 16:30:39     INFO -  global.getContainerForCookieStoreId@chrome://extensions/content/parent/ext-toolkit.js:94:33
[task 2022-04-05T16:30:39.810Z] 16:30:39     INFO -  getOriginAttributesPatternForCookieStoreId@chrome://extensions/content/parent/ext-contentScripts.js:33:53
[task 2022-04-05T16:30:39.811Z] 16:30:39     INFO -  _convertOptions/options.originAttributesPatterns<@chrome://extensions/content/parent/ext-contentScripts.js:109:51
[task 2022-04-05T16:30:39.811Z] 16:30:39     INFO -  _convertOptions@chrome://extensions/content/parent/ext-contentScripts.js:108:57
[task 2022-04-05T16:30:39.811Z] 16:30:39     INFO -  ContentScriptParent@chrome://extensions/content/parent/ext-contentScripts.js:60:25
[task 2022-04-05T16:30:39.812Z] 16:30:39     INFO -  register@chrome://extensions/content/parent/ext-contentScripts.js:191:33
[task 2022-04-05T16:30:39.812Z] 16:30:39     INFO -  recvAPICall/result</<@resource://gre/modules/ExtensionParent.jsm:991:68
[task 2022-04-05T16:30:39.813Z] 16:30:39     INFO -  withPendingBrowser@resource://gre/modules/ExtensionParent.jsm:497:26
[task 2022-04-05T16:30:39.813Z] 16:30:39     INFO -  recvAPICall/result<@resource://gre/modules/ExtensionParent.jsm:991:24
[task 2022-04-05T16:30:39.813Z] 16:30:39     INFO -  callAndLog@resource://gre/modules/ExtensionParent.jsm:945:14
[task 2022-04-05T16:30:39.814Z] 16:30:39     INFO -  recvAPICall@resource://gre/modules/ExtensionParent.jsm:990:25
[task 2022-04-05T16:30:39.814Z] 16:30:39     INFO -  _do_main@Z:\\task_1649174793\\build\\tests\\xpcshell\\head.js:240:6
[task 2022-04-05T16:30:39.814Z] 16:30:39     INFO -  _execute_test@Z:\\task_1649174793\\build\\tests\\xpcshell\\head.js:603:5
[task 2022-04-05T16:30:39.814Z] 16:30:39     INFO -  @-e:1:1
[task 2022-04-05T16:30:39.815Z] 16:30:39     INFO -  "
[task 2022-04-05T16:30:39.815Z] 16:30:39     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | test_userscripts_register_cookieStoreId - [test_userscripts_register_cookieStoreId : 119] Expected textContent on content page - "default" == "default"
[task 2022-04-05T16:30:39.816Z] 16:30:39  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | test_userscripts_register_cookieStoreId - [test_userscripts_register_cookieStoreId : 119] Expected textContent on content page - "" == "1"
[task 2022-04-05T16:30:39.817Z] 16:30:39     INFO -  Z:/task_1649174793/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js:test_userscripts_register_cookieStoreId:119
[task 2022-04-05T16:30:39.817Z] 16:30:39     INFO -  Z:\task_1649174793\build\tests\xpcshell\head.js:_do_main:240
[task 2022-04-05T16:30:39.817Z] 16:30:39     INFO -  Z:\task_1649174793\build\tests\xpcshell\head.js:_execute_test:603
[task 2022-04-05T16:30:39.818Z] 16:30:39     INFO -  -e:null:1
[task 2022-04-05T16:30:39.818Z] 16:30:39     INFO -  exiting test
[task 2022-04-05T16:30:39.818Z] 16:30:39     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2022-04-05T16:30:39.818Z] 16:30:39     INFO -  _abort_failed_test@Z:\task_1649174793\build\tests\xpcshell\head.js:874:20
[task 2022-04-05T16:30:39.819Z] 16:30:39     INFO -  do_report_result@Z:\task_1649174793\build\tests\xpcshell\head.js:975:5
[task 2022-04-05T16:30:39.819Z] 16:30:39     INFO -  Assert<@Z:\task_1649174793\build\tests\xpcshell\head.js:75:21
[task 2022-04-05T16:30:39.820Z] 16:30:39     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2022-04-05T16:30:39.820Z] 16:30:39     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2022-04-05T16:30:39.820Z] 16:30:39     INFO -  test_userscripts_register_cookieStoreId@Z:/task_1649174793/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js:119:10
[task 2022-04-05T16:30:39.821Z] 16:30:39     INFO -  _do_main@Z:\task_1649174793\build\tests\xpcshell\head.js:240:6
[task 2022-04-05T16:30:39.821Z] 16:30:39     INFO -  _execute_test@Z:\task_1649174793\build\tests\xpcshell\head.js:603:5
[task 2022-04-05T16:30:39.821Z] 16:30:39     INFO -  @-e:1:1
[task 2022-04-05T16:30:39.822Z] 16:30:39     INFO -  exiting test
[task 2022-04-05T16:30:39.822Z] 16:30:39  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | test_userscripts_register_cookieStoreId - [test_userscripts_register_cookieStoreId : 91] Extension left running at test shutdown - "running" == "unloaded"
[task 2022-04-05T16:30:39.823Z] 16:30:39     INFO -  resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:91
[task 2022-04-05T16:30:39.823Z] 16:30:39     INFO -  Z:\task_1649174793\build\tests\xpcshell\head.js:_execute_test/<:667
[task 2022-04-05T16:30:39.823Z] 16:30:39     INFO -  Z:\task_1649174793\build\tests\xpcshell\head.js:_execute_test:676
[task 2022-04-05T16:30:39.824Z] 16:30:39     INFO -  -e:null:1
[task 2022-04-05T16:30:39.824Z] 16:30:39     INFO -  exiting test
[task 2022-04-05T16:30:39.824Z] 16:30:39     INFO -  NS_ERROR_ABORT:
[task 2022-04-05T16:30:39.825Z] 16:30:39     INFO -  _abort_failed_test@Z:\task_1649174793\build\tests\xpcshell\head.js:874:20
[task 2022-04-05T16:30:39.825Z] 16:30:39     INFO -  do_report_result@Z:\task_1649174793\build\tests\xpcshell\head.js:975:5
[task 2022-04-05T16:30:39.825Z] 16:30:39     INFO -  Assert<@Z:\task_1649174793\build\tests\xpcshell\head.js:75:21
[task 2022-04-05T16:30:39.826Z] 16:30:39     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2022-04-05T16:30:39.826Z] 16:30:39     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2022-04-05T16:30:39.826Z] 16:30:39     INFO -  ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:91:24
[task 2022-04-05T16:30:39.827Z] 16:30:39     INFO -  _execute_test/<@Z:\task_1649174793\build\tests\xpcshell\head.js:667:28
[task 2022-04-05T16:30:39.827Z] 16:30:39     INFO -  _execute_test@Z:\task_1649174793\build\tests\xpcshell\head.js:676:5
[task 2022-04-05T16:30:39.827Z] 16:30:39     INFO -  @-e:1:1
[task 2022-04-05T16:30:39.827Z] 16:30:39     INFO -  "Force a GC"
[task 2022-04-05T16:30:39.828Z] 16:30:39     INFO -  Error: Found unexpected files in temporary directory: generated-extension.xpi at resource://testing-common/AddonTestUtils.jsm:338
[task 2022-04-05T16:30:39.828Z] 16:30:39     INFO -  init/<@resource://testing-common/AddonTestUtils.jsm:338:15
[task 2022-04-05T16:30:39.829Z] 16:30:39     INFO -  _execute_test/<@Z:\task_1649174793\build\tests\xpcshell\head.js:667:28
[task 2022-04-05T16:30:39.829Z] 16:30:39     INFO -  _execute_test@Z:\task_1649174793\build\tests\xpcshell\head.js:679:16
[task 2022-04-05T16:30:39.829Z] 16:30:39     INFO -  @-e:1:1
[task 2022-04-05T16:30:39.830Z] 16:30:39     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "NetworkError: Network request failed" {file: "resource://services-settings/Utils.jsm" line: 153}]
[task 2022-04-05T16:30:39.830Z] 16:30:39     INFO -  fetch/</request.onerror@resource://services-settings/Utils.jsm:153:26
[task 2022-04-05T16:30:39.830Z] 16:30:39     INFO -  _execute_test@Z:\\task_1649174793\\build\\tests\\xpcshell\\head.js:704:23
[task 2022-04-05T16:30:39.831Z] 16:30:39     INFO -  @-e:1:1
[task 2022-04-05T16:30:39.831Z] 16:30:39     INFO -  "
[task 2022-04-05T16:30:39.831Z] 16:30:39     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "NetworkError: Network request failed" {file: "resource://services-settings/Utils.jsm" line: 153}]
[task 2022-04-05T16:30:39.832Z] 16:30:39     INFO -  fetch/</request.onerror@resource://services-settings/Utils.jsm:153:26
[task 2022-04-05T16:30:39.832Z] 16:30:39     INFO -  _execute_test@Z:\\task_1649174793\\build\\tests\\xpcshell\\head.js:704:23
[task 2022-04-05T16:30:39.832Z] 16:30:39     INFO -  @-e:1:1
[task 2022-04-05T16:30:39.832Z] 16:30:39     INFO -  "
[task 2022-04-05T16:30:39.833Z] 16:30:39     INFO -  PID 5580 | ###!!! [Parent][PContentParent] Error: Send(msgname=PContent::Msg_AsyncMessage) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.833Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_InsertNewFocusActionId) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.834Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_RemoveDynEntriesFromActiveSessionHistoryEntry) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.834Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_SynchronizeLayoutHistoryState) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.835Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_UnstoreAndBroadcastBlobURLUnregistration) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.835Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_DiscardBrowsingContext) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.836Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_InsertNewFocusActionId) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.836Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_RemoveDynEntriesFromActiveSessionHistoryEntry) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.837Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_SynchronizeLayoutHistoryState) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.837Z] 16:30:39     INFO -  PID 5580 | ###!!! [Child][PContentChild] Error: Send(msgname=PContent::Msg_DiscardBrowsingContext) Closed channel: cannot send/recv
[task 2022-04-05T16:30:39.837Z] 16:30:39     INFO -  <<<<<<<
[task 2022-04-05T16:30:39.855Z] 16:30:39     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_contentscript_csp.js
Summary: Intermittent toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | single tracking bug → Intermittent [tier 2] toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | single tracking bug

So far this only fails on windows7-32-qr opt and has 6 total failures on trunk.

Summary: Intermittent [tier 2] toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | single tracking bug → Intermittent toolkit/components/extensions/test/xpcshell/test_ext_userScripts_register.js | single tracking bug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1780488

Hello Andrew, could you take a look at this failure log . It seems to have started failing following your push (changeset here / Bug 1746524).
Here's the range for the backfill & retriggers: bk&rt range . If your changeset has no direct impact on it, could you redirect it to someone who might know? Thank you!

Flags: needinfo?(continuation)

Yeah, that could certainly be related. My prior landing also caused an intermittent failure in this test. I thought I'd fixed it in bug 1780488, but I guess not. The failure rare looks very high on ASan, but it also looks like there are some failures in other configurations. I guess back out bug 1746524 for now. Thanks.

Flags: needinfo?(continuation)

This test seems to fail frequently on Linux without Fission, and on Android,
when the parent controlled navigation pref is enabled, so disable the test
there. We don't really support non-Fission builds anyways, and apparently
containers aren't supported on Android.

Assignee: nobody → continuation
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/da23f03488e7
Disable test_ext_userScripts_register.js without Fission. r=rpl
Whiteboard: [stockwell disabled]
Assignee: continuation → nobody
Attachment #9384879 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: