Closed Bug 1650221 Opened 4 years ago Closed 4 years ago

Intermittent HighFreq devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | test_panel_live_reload - [test_panel_live_reload : 110] Got the expected results on populated storage.local after xpcshell return code: 0

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox77 unaffected, firefox78 unaffected, firefox79 unaffected, firefox80 fixed)

RESOLVED FIXED
Firefox 80
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox77 --- unaffected
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2020-07-02T18:20:14.291Z] 18:20:14 INFO - TEST-START | devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js
[task 2020-07-02T18:20:15.657Z] 18:20:15 WARNING - TEST-UNEXPECTED-FAIL | devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | xpcshell return code: 0
[task 2020-07-02T18:20:15.659Z] 18:20:15 INFO - TEST-INFO took 1362ms
[task 2020-07-02T18:20:15.659Z] 18:20:15 INFO - >>>>>>>
[task 2020-07-02T18:20:15.659Z] 18:20:15 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-07-02T18:20:15.659Z] 18:20:15 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-07-02T18:20:15.659Z] 18:20:15 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-07-02T18:20:15.659Z] 18:20:15 INFO - running event loop
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | Starting setup
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - (xpcshell/head.js) | test setup pending (2)
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014449 addons.manager DEBUG Application has been upgraded
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014449 addons.manager DEBUG Application has been upgraded"
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014449 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider", "XPIInternal"]
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014449 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider", "XPIInternal"]"
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014453 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014453 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm"
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014454 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
[task 2020-07-02T18:20:15.660Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014454 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm"
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014454 addons.manager DEBUG Starting provider: XPIProvider
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014454 addons.manager DEBUG Starting provider: XPIProvider"
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014454 addons.xpi DEBUG startup
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014454 addons.xpi DEBUG startup"
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014455 addons.xpi INFO SystemAddonLocation directory is missing
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014455 addons.xpi INFO SystemAddonLocation directory is missing"
[task 2020-07-02T18:20:15.661Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014463 addons.xpi INFO Removing all system add-on upgrades.
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014463 addons.xpi INFO Removing all system add-on upgrades."
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014464 addons.xpi DEBUG checkForChanges
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014464 addons.xpi DEBUG checkForChanges"
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014464 addons.xpi DEBUG Loaded add-on state: ${}
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014464 addons.xpi DEBUG Loaded add-on state: ${}"
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014464 addons.xpi DEBUG scanForChanges changed: false, state: {}
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014464 addons.xpi DEBUG scanForChanges changed: false, state: {}"
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014465 addons.xpi DEBUG Empty XPI database, setting schema version preference to 32
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014465 addons.xpi DEBUG Empty XPI database, setting schema version preference to 32"
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014465 addons.xpi DEBUG No changes found
[task 2020-07-02T18:20:15.662Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014465 addons.xpi DEBUG No changes found"
[task 2020-07-02T18:20:15.665Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014473 addons.xpi-utils DEBUG Synchronously loading the add-ons database
[task 2020-07-02T18:20:15.665Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014473 addons.xpi-utils DEBUG Synchronously loading the add-ons database"
[task 2020-07-02T18:20:15.665Z] 18:20:15 INFO - PID 1393 | DBG-TEST: head_dbg.js observed a console message: 1593714014473 addons.xpi-utils DEBUG Starting async load of XPI database /tmp/xpc-profile-ENGBVc/extensions.json
[task 2020-07-02T18:20:15.666Z] 18:20:15 INFO - "CONSOLE_MESSAGE: (info) 1593714014473 addons.xpi-utils DEBUG Starting async load of XPI database /tmp/xpc-profile-ENGBVc/extensions.json"
[task 2020-07-02T18:20:15.666Z] 18:20:15 INFO - (xpcshell/head.js) | test run_next_test 0 finished (2)

Flags: needinfo?(jdescottes)
Summary: Intermittent devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | xpcshell return code: 0 → Intermittent HighFreq devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | xpcshell return code: 0
Summary: Intermittent HighFreq devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | xpcshell return code: 0 → Intermittent HighFreq devtools/server/tests/xpcshell/test_extension_storage_actor_upgrade.js | test_panel_live_reload - [test_panel_live_reload : 110] Got the expected results on populated storage.local after xpcshell return code: 0

Interesting, locally running it in a separate test completely fixed the issue, but I guess that either in test-verify or in a suite, we go back to the same issue :( Not sure why it's even more visible than before, now failing on all platforms.

I'll try a few other things, but we might have to add a test-only API to avoid attaching to the target here...
On the plus side, if we skip only this test, we would still run test_extension_storage_actor.js which contains has most of the test coverage.

Flags: needinfo?(jdescottes)

Something must have landed between the time I created my initial patch and when I landed it, because I pulled https://treeherder.mozilla.org/#/jobs?repo=try&revision=accab5fbdd810ac741767d835d7a461bd27e8653 and the test runs fine with --verify, whereas locally on central it fails super quickly.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
See Also: → 1620767
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b86e94ad06f
Wait until storage is ready after extension upgrade in test_extension_storage_actor_upgrade.js r=Honza
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: