Closed Bug 1006075 Opened 11 years ago Closed 10 years ago

Intermittent browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck ::

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: RyanVM, Assigned: Irving)

References

Details

https://tbpl.mozilla.org/php/getParsedLog.php?id=39062458&tree=Fx-Team Ubuntu VM 12.04 fx-team debug test mochitest-browser-chrome-3 on 2014-05-05 09:50:48 PDT for push 43306fac27e1 slave: tst-linux32-spot-307 10:04:06 INFO - TEST-START | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test setup 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test setup 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_no_cert_checks 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_no_cert_checks 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_wrong_cert_fingerprint 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_wrong_cert_fingerprint 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_right_cert_fingerprint 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_right_cert_fingerprint 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_multi_cert_fingerprint_1 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_multi_cert_fingerprint_1 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_multi_cert_fingerprint_2 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_multi_cert_fingerprint_2 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_no_cert_no_checks 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_no_cert_no_checks 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Entering test check_no_cert_cert_fingerprint_check 10:04:06 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Uncaught exception - [Exception... "Background update check already in progress" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_backgroundUpdateCheck :: line 1142" data: no] 10:04:06 INFO - TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | Leaving test check_no_cert_cert_fingerprint_check 10:04:07 INFO - TEST-INFO | MEMORY STAT vsize after test: 950845440 10:04:07 INFO - TEST-INFO | MEMORY STAT residentFast after test: 395800576 10:04:07 INFO - INFO TEST-END | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_hotfix.js | finished in 162ms
I'm OK with either backing out bug 1000695 or disabling on linux - it's interesting that this fail is only on linux{32,64}/debug...
Assignee: nobody → irving
Status: NEW → ASSIGNED
I reproduced this on a desktop Linux VM and confirmed my suspicion - we're not disabling the timer service, and we're getting unlucky with the built in background update check overlapping with our test. 10:09.21 TEST-INFO | chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_experiments.js | Console message: 1399404286111 addons.manager DEBUG Error: Background update check beginning (resource://gre/modules/AddonManager.jsm:1145:4) JS Stack trace: AMI_backgroundUpdateCheck@AddonManager.jsm:1145:5 < AMP_backgroundUpdateCheck@AddonManager.jsm:2334:5 < AMC_notify@addonManager.js:152:5 < TM_notify/<@nsUpdateTimerManager.js:200:11 < TM_notify@nsUpdateTimerManager.js:248:7 I'd say we should always disable the entire UpdateTimerManager during tests, to make sure nothing ever happens unless a test specifically invokes the background task.
The change causing this failure was backed out; the underlying issue will be addressed in bug 995108
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.