Closed Bug 1787080 Opened 2 years ago Closed 1 year ago

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

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [retriggered][addons-jira])

Attachments

(2 files)

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


INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 128] Expect store.getAll to be called once - 1 == 1
[task 2022-08-24T23:52:16.626Z] 23:52:16  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 71] Expected cached value set on hasPersistedScripts flag - false == true
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  test_ext_scripting_startupCache.js:assertIsPersistentScriptsCachedFlag:71
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  test_ext_scripting_startupCache.js:test_hasPersistedScripts_startup_cache:140
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  /data/local/tmp/test_root/xpc/head.js:_do_main:238
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  /data/local/tmp/test_root/xpc/head.js:_execute_test:595
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  -e:null:1
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  exiting test
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  _abort_failed_test@/data/local/tmp/test_root/xpc/head.js:866:20
[task 2022-08-24T23:52:16.627Z] 23:52:16     INFO -  do_report_result@/data/local/tmp/test_root/xpc/head.js:967:5
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  Assert<@/data/local/tmp/test_root/xpc/head.js:73:21
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  assertIsPersistentScriptsCachedFlag@test_ext_scripting_startupCache.js:71:10
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  test_hasPersistedScripts_startup_cache@test_ext_scripting_startupCache.js:140:9
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  _do_main@/data/local/tmp/test_root/xpc/head.js:238:6
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  _execute_test@/data/local/tmp/test_root/xpc/head.js:595:5
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  @-e:1:1
[task 2022-08-24T23:52:16.628Z] 23:52:16     INFO -  exiting test
[task 2022-08-24T23:52:16.629Z] 23:52:16  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 88] Extension left running at test shutdown - "running" == "unloaded"
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:88
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  /data/local/tmp/test_root/xpc/head.js:_execute_test/<:659
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  /data/local/tmp/test_root/xpc/head.js:_execute_test:668
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  -e:null:1
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  exiting test
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  NS_ERROR_ABORT:
[task 2022-08-24T23:52:16.629Z] 23:52:16     INFO -  _abort_failed_test@/data/local/tmp/test_root/xpc/head.js:866:20
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  do_report_result@/data/local/tmp/test_root/xpc/head.js:967:5
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  Assert<@/data/local/tmp/test_root/xpc/head.js:73:21
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:88:24
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  _execute_test/<@/data/local/tmp/test_root/xpc/head.js:659:28
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  _execute_test@/data/local/tmp/test_root/xpc/head.js:668:5
[task 2022-08-24T23:52:16.630Z] 23:52:16     INFO -  @-e:1:1
INFO -  "Force a GC"
[task 2022-08-24T23:52:16.631Z] 23:52:16     INFO -  Error: Found unexpected files in temporary directory: generated-extension.xpi at resource://testing-common/AddonTestUtils.jsm:335
[task 2022-08-24T23:52:16.631Z] 23:52:16     INFO -  init/<@resource://testing-common/AddonTestUtils.jsm:335:15
[task 2022-08-24T23:52:16.631Z] 23:52:16     INFO -  _execute_test/<@/data/local/tmp/test_root/xpc/head.js:659:28
[task 2022-08-24T23:52:16.631Z] 23:52:16     INFO -  _execute_test@/data/local/tmp/test_root/xpc/head.js:668:5
[task 2022-08-24T23:52:16.631Z] 23:52:16     INFO -  @-e:1:1
[task 2022-08-24T23:52:16.631Z] 23:52:16     INFO -  <<<<<<<
[task 2022-08-24T23:52:16.728Z] 23:52:16     INFO -  Cleaning up profile for /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js folder: /data/local/tmp/test_root/xpc/p/1c68ba5a-ad22-485b-a0cd-d3f21ad2db29
[task 2022-08-24T23:52:17.896Z] 23:52:17     INFO -  TEST-START | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_activityLog.js
[task 2022-08-24T23:52:17.987Z] 23:52:17     INFO -  adb launch_application: am startservice -W -n 'org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.XpcshellTestRunnerService$i0' -a android.intent.action.MAIN --es env0 XPCOM_DEBUG_BREAK=stack-and-abort --es env1 MOZ_CRASHREPORTER=1 --es env2 MOZ_CRASHREPORTER_NO_REPORT=1 --es env3 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env4 MOZ_DEVELOPER_REPO_DIR=/builds/worker/checkouts/gecko --es env5 MOZ_DISABLE_CONTENT_SANDBOX=1 --es env6 MOZ_FETCHES_DIR=/builds/worker/fetches --es env7 MOZ_DISABLE_SOCKET_PROCESS=1 --es env8 LD_LIBRARY_PATH=/data/local/tmp/test_root/xpcb --es env9 MOZ_LINKER_CACHE=/data/local/tmp/test_root/xpcb --es env10 GRE_HOME=/data/local/tmp/test_root/xpcb --es env11 XPCSHELL_TEST_PROFILE_DIR=/data/local/tmp/test_root/xpc/p/981593a2-4872-4efa-a0b9-f17f00c9244b --es env12 HOME=/data/local/tmp/test_root/xpc/p --es env13 XPCSHELL_TEST_TEMP_DIR=/data/local/tmp/test_root/xpc/tmp/111c5d28-4c98-48a4-add2-00abce7923c8 --es env14 MOZ_ANDROID_DATA_DIR=/data/local/tmp/test_root/xpcb --es env15 MOZ_IN_AUTOMATION=1 --es env16 MOZ_ANDROID_CPU_ABI=x86_64 --es env17 MOZHTTP2_PORT=42221 --es env18 MOZNODE_EXEC_PORT=44647 --es env19 TMPDIR=/data/local/tmp/test_root/xpc/p/981593a2-4872-4efa-a0b9-f17f00c9244b --es env20 XPCSHELL_MINIDUMP_DIR=/data/local/tmp/test_root/xpc/minidumps/981593a2-4872-4efa-a0b9-f17f00c9244b --es arg0 -g --es arg1 /data/local/tmp/test_root/xpcb --es arg2 --greomni --es arg3 /data/local/tmp/test_root/xpcb/geckoview-test_runner.apk --es arg4 -m --es arg5 -e --es arg6 'const _HEAD_JS_PATH = "/data/local/tmp/test_root/xpc/head.js";' --es arg7 -e --es arg8 'const _MOZINFO_JS_PATH = "/data/local/tmp/test_root/xpc/p/981593a2-4872-4efa-a0b9-f17f00c9244b/mozinfo.json";' --es arg9 -e --es arg10 'const _PREFS_FILE = "/data/local/tmp/test_root/xpc/tmp/111c5d28-4c98-48a4-add2-00abce7923c8/user.js";' --es arg11 -e --es arg12 'const _TESTING_MODULES_DIR = "/data/local/tmp/test_root/xpc/m";' --es arg13 -f --es arg14 /data/local/tmp/test_root/xpc/head.js --es arg15 -e --es arg16 'const _HEAD_FILES = ["/data/local/tmp/test_root/xpc/toolkit/components/extensions/test/xpcshell/head.js", "/data/local/tmp/test_root/xpc/toolkit/components/extensions/test/xpcshell/head_telemetry.js", "/data/local/tmp/test_root/xpc/toolkit/components/extensions/test/xpcshell/head_sync.js", "/data/local/tmp/test_root/xpc/toolkit/components/extensions/test/xpcshell/head_storage.js"];' --es arg17 -e --es arg18 'const _JSDEBUGGER_PORT = 0;' --es arg19 -e --es arg20 'const _TEST_CWD = "/data/local/tmp/test_root/xpc/toolkit/components/extensions/test/xpcshell";' --es arg21 -e --es arg22 'const _TEST_FILE = ["test_ext_activityLog.js"];' --es arg23 -e --es arg24 'const _TEST_NAME = "xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_activityLog.js";' --es arg25 -e --es arg26 '_execute_test(); quit(0);' --ez use_multiprocess True --es out_file /data/local/tmp/test_root/xpc/logs/xpcshell-6bbe6a5c-4d8a-44ba-8d58-a8a72d23879a.log
[task 2022-08-24T23:52:18.259Z] 23:52:18     INFO -  remotexpcshelltests.py | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_activityLog.js | 2537 | Launched Test App
[task 2022-08-24T23:52:19.298Z] 23:52:19     INFO -  remotexpcshelltests.py | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_activityLog.js | 2537 | Application ran for: 0:00:01.400432
[task 2022-08-24T23:52:19.398Z] 23:52:19     INFO -  TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_activityLog.js | took 1502ms

William, could someone have a look into these failures? The bug is on disable recommended list with 204 total failures in the last 30 days across all trees.
Recent failure log; https://treeherder.mozilla.org/logviewer?job_id=392850905&repo=autoland&lineNumber=4532
There are also frequent these kind of failures:
TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js

Flags: needinfo?(wdurand)

oof I didn't know about this test, thanks! I'll take a look.

Flags: needinfo?(wdurand)

The intermittents seems to be hit due to a race between ExtensionScriptingStore persistAll methods
updating the startupCache property and the test case asserting that the startupCache property
has been set to false when all stored scripts have been removed.

This patch tweaks the test to explicitly wait for the stored scripts list to be empty
(using TestUtils.waitForCondition) so that the assertion on the startupCache property
is going to happen only after persistAll have updated the scripts store and the
startupCache property.

I was able to reproduce this intermittent locally and the change in this patch did
prevent the intermittent failure consistency.

Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/69667dd70469
Fix frequent test_ext_scripting_startupCache.js intermittent failures. r=willdurand
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

Hi Luca! Can you please take another look at this? It is still failing: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=QkwUOQ25SzCaGbPDQ3zflw.0&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=windows%2C10%2Cx64%2C2004%2Cwebrender%2Copt%2Cxpcshell%2Ctests%2Ctest-windows10-64-2004-qr%2Fopt-xpcshell%2Cx3&revision=b87135d72be81eaa782bcdff139cd191421387a4&group_state=expanded

[task 2022-11-12T09:26:17.730Z] 09:26:17     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js
[task 2022-11-12T09:26:18.634Z] 09:26:18  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | xpcshell return code: 0
[task 2022-11-12T09:26:18.648Z] 09:26:18     INFO -  TEST-INFO took 905ms
[task 2022-11-12T09:26:18.648Z] 09:26:18     INFO -  >>>>>>>
[task 2022-11-12T09:26:18.648Z] 09:26:18     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-11-12T09:26:18.648Z] 09:26:18     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-11-12T09:26:18.648Z] 09:26:18     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-11-12T09:26:18.649Z] 09:26:18     INFO -  running event loop
[task 2022-11-12T09:26:18.649Z] 09:26:18     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | Starting setup check_remote
[task 2022-11-12T09:26:18.649Z] 09:26:18     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2022-11-12T09:26:18.649Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - true == true
[task 2022-11-12T09:26:18.650Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | check_remote - [check_remote : 1] testing from extension process - false == false
[task 2022-11-12T09:26:18.651Z] 09:26:18     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-11-12T09:26:18.651Z] 09:26:18     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-11-12T09:26:18.651Z] 09:26:18     INFO -  (xpcshell/head.js) | test check_remote finished (2)
[task 2022-11-12T09:26:18.652Z] 09:26:18     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | Starting test_hasPersistedScripts_startup_cache
[task 2022-11-12T09:26:18.652Z] 09:26:18     INFO -  (xpcshell/head.js) | test test_hasPersistedScripts_startup_cache pending (2)
[task 2022-11-12T09:26:18.652Z] 09:26:18     INFO -  "Extension attached"
[task 2022-11-12T09:26:18.652Z] 09:26:18     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2022-11-12T09:26:18.652Z] 09:26:18     INFO -  PID 6392 | JavaScript error: Z:\\task_166824207032651\\build\\tests\\xpcshell\\head.js, line 327: NS_NOINTERFACE:
[task 2022-11-12T09:26:18.653Z] 09:26:18     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_NOINTERFACE: " {file: "Z:\\task_166824207032651\\build\\tests\\xpcshell\\head.js" line: 327}]
[task 2022-11-12T09:26:18.653Z] 09:26:18     INFO -  QueryInterface@Z:\\task_166824207032651\\build\\tests\\xpcshell\\head.js:327:22
[task 2022-11-12T09:26:18.653Z] 09:26:18     INFO -  createInstance@Z:\\task_166824207032651\\build\\tests\\xpcshell\\head.js:306:31
[task 2022-11-12T09:26:18.653Z] 09:26:18     INFO -  createBrowserElement@resource://gre/modules/ExtensionParent.jsm:1418:31
[task 2022-11-12T09:26:18.654Z] 09:26:18     INFO -  _do_main@Z:\\task_166824207032651\\build\\tests\\xpcshell\\head.js:240:6
[task 2022-11-12T09:26:18.654Z] 09:26:18     INFO -  _execute_test@Z:\\task_166824207032651\\build\\tests\\xpcshell\\head.js:597:5
[task 2022-11-12T09:26:18.654Z] 09:26:18     INFO -  @-e:1:1
[task 2022-11-12T09:26:18.654Z] 09:26:18     INFO -  "
[task 2022-11-12T09:26:18.654Z] 09:26:18     INFO -  "Checking StartupCache for {6907b8e1-e295-4efb-b83a-24dd03f27353} undefined"
[task 2022-11-12T09:26:18.655Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 58] Expect the StartupCache to include hasPersistedScripts flag - true == true
[task 2022-11-12T09:26:18.655Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 59] Expected cached value set on hasPersistedScripts flag - false == false
[task 2022-11-12T09:26:18.655Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 71] Expected cached value set on hasPersistedScripts flag - true == true
[task 2022-11-12T09:26:18.656Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 88] Expected cached value set on hasPersistedScripts flag - false == false
[task 2022-11-12T09:26:18.656Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 104] Got the expected extension.startupReason - "APP_STARTUP" == "APP_STARTUP"
[task 2022-11-12T09:26:18.657Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 110] Expect store.getAll to not be called - 0 == 0
[task 2022-11-12T09:26:18.657Z] 09:26:18     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 115] Expect store.getAll to be called once - 1 == 1
[task 2022-11-12T09:26:18.658Z] 09:26:18  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 127] Expected cached value set on hasPersistedScripts flag - false == true
[task 2022-11-12T09:26:18.658Z] 09:26:18     INFO -  Z:/task_166824207032651/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js:test_hasPersistedScripts_startup_cache:127
[task 2022-11-12T09:26:18.658Z] 09:26:18     INFO -  Z:\task_166824207032651\build\tests\xpcshell\head.js:_do_main:240
[task 2022-11-12T09:26:18.659Z] 09:26:18     INFO -  Z:\task_166824207032651\build\tests\xpcshell\head.js:_execute_test:597
[task 2022-11-12T09:26:18.659Z] 09:26:18     INFO -  -e:null:1
[task 2022-11-12T09:26:18.659Z] 09:26:18     INFO -  exiting test
[task 2022-11-12T09:26:18.659Z] 09:26:18     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2022-11-12T09:26:18.659Z] 09:26:18     INFO -  _abort_failed_test@Z:\task_166824207032651\build\tests\xpcshell\head.js:875:20
[task 2022-11-12T09:26:18.659Z] 09:26:18     INFO -  do_report_result@Z:\task_166824207032651\build\tests\xpcshell\head.js:976:5
[task 2022-11-12T09:26:18.660Z] 09:26:18     INFO -  Assert<@Z:\task_166824207032651\build\tests\xpcshell\head.js:73:21
[task 2022-11-12T09:26:18.660Z] 09:26:18     INFO -  Assert.prototype.report@resource://testing-common/Assert.jsm:240:10
[task 2022-11-12T09:26:18.660Z] 09:26:18     INFO -  equal@resource://testing-common/Assert.jsm:282:8
[task 2022-11-12T09:26:18.660Z] 09:26:18     INFO -  assertIsPersistentScriptsCachedFlag@Z:/task_166824207032651/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/head.js:344:8
[task 2022-11-12T09:26:18.661Z] 09:26:18     INFO -  test_hasPersistedScripts_startup_cache@Z:/task_166824207032651/build/tests/xpcshell/tests/toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js:127:9
[task 2022-11-12T09:26:18.661Z] 09:26:18     INFO -  _do_main@Z:\task_166824207032651\build\tests\xpcshell\head.js:240:6
[task 2022-11-12T09:26:18.661Z] 09:26:18     INFO -  _execute_test@Z:\task_166824207032651\build\tests\xpcshell\head.js:597:5
[task 2022-11-12T09:26:18.661Z] 09:26:18     INFO -  @-e:1:1
[task 2022-11-12T09:26:18.661Z] 09:26:18     INFO -  exiting test
[task 2022-11-12T09:26:18.662Z] 09:26:18  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_startupCache.js | test_hasPersistedScripts_startup_cache - [test_hasPersistedScripts_startup_cache : 86] Extension left running at test shutdown - "running" == "unloaded"
[task 2022-11-12T09:26:18.662Z] 09:26:18     INFO -  resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:86
[task 2022-11-12T09:26:18.662Z] 09:26:18     INFO -  Z:\task_166824207032651\build\tests\xpcshell\head.js:_execute_test/<:661
[task 2022-11-12T09:26:18.662Z] 09:26:18     INFO -  Z:\task_166824207032651\build\tests\xpcshell\head.js:_execute_test:670
[task 2022-11-12T09:26:18.662Z] 09:26:18     INFO -  -e:null:1
[task 2022-11-12T09:26:18.663Z] 09:26:18     INFO -  exiting test
[task 2022-11-12T09:26:18.663Z] 09:26:18     INFO -  NS_ERROR_ABORT:
[task 2022-11-12T09:26:18.663Z] 09:26:18     INFO -  _abort_failed_test@Z:\task_166824207032651\build\tests\xpcshell\head.js:875:20
[task 2022-11-12T09:26:18.663Z] 09:26:18     INFO -  do_report_result@Z:\task_166824207032651\build\tests\xpcshell\head.js:976:5
[task 2022-11-12T09:26:18.664Z] 09:26:18     INFO -  Assert<@Z:\task_166824207032651\build\tests\xpcshell\head.js:73:21
[task 2022-11-12T09:26:18.664Z] 09:26:18     INFO -  Assert.prototype.report@resource://testing-common/Assert.jsm:240:10
[task 2022-11-12T09:26:18.665Z] 09:26:18     INFO -  equal@resource://testing-common/Assert.jsm:282:8
[task 2022-11-12T09:26:18.665Z] 09:26:18     INFO -  ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:86:24
[task 2022-11-12T09:26:18.665Z] 09:26:18     INFO -  _execute_test/<@Z:\task_166824207032651\build\tests\xpcshell\head.js:661:28
[task 2022-11-12T09:26:18.665Z] 09:26:18     INFO -  _execute_test@Z:\task_166824207032651\build\tests\xpcshell\head.js:670:5
[task 2022-11-12T09:26:18.665Z] 09:26:18     INFO -  @-e:1:1
[task 2022-11-12T09:26:18.666Z] 09:26:18     INFO -  "Force a GC"
[task 2022-11-12T09:26:18.666Z] 09:26:18     INFO -  Error: Found unexpected files in temporary directory: generated-extension.xpi at resource://testing-common/AddonTestUtils.jsm:335
[task 2022-11-12T09:26:18.666Z] 09:26:18     INFO -  init/<@resource://testing-common/AddonTestUtils.jsm:335:15
[task 2022-11-12T09:26:18.666Z] 09:26:18     INFO -  _execute_test/<@Z:\task_166824207032651\build\tests\xpcshell\head.js:661:28
[task 2022-11-12T09:26:18.667Z] 09:26:18     INFO -  _execute_test@Z:\task_166824207032651\build\tests\xpcshell\head.js:670:5
[task 2022-11-12T09:26:18.667Z] 09:26:18     INFO -  @-e:1:1
[task 2022-11-12T09:26:18.667Z] 09:26:18     INFO -  <<<<<<<
[task 2022-11-12T09:26:18.673Z] 09:26:18     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js
Flags: needinfo?(lgreco)

Should this bug be reopened or should we file a new bug for this?
Thank you!

(In reply to Iulian Moraru from comment #19)

Should this bug be reopened or should we file a new bug for this?
Thank you!

sorry I missed the needinfo until now.

Given that this is a single tracking bug for that test file and it did fail again I'd be for re-opening this issue.

I'm re-opening the issue and keep the needinfo assigned to me to come back and look into the more recent failures.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Duplicate of this bug: 1800792
Target Milestone: 108 Branch → ---
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered]

Just want to let you know that we didn't forget this bug but our team is stretched a bit too thin at the moment.

Whiteboard: [retriggered] → [retriggered][addons-jira]
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/577c0b0955d2
Ensure the startup cache is updated before checking it in test_ext_scripting_startupCache.js. r=rpl
Status: REOPENED → RESOLVED
Closed: 2 years ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
See Also: → 1803200
Flags: needinfo?(lgreco)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: