Closed Bug 1093586 Opened 10 years ago Closed 10 years ago

e10s - fix browser/base/content/test/general/browser_bug553455.js to work on e10s

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal
Points:
3

Tracking

()

RESOLVED FIXED
Iteration:
37.3 - 12 Jan
Tracking Status
e10s + ---

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

Right now it gets stuck locally with: 255 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should have seen the right window open 256 INFO Waiting for notification 257 INFO Console message: OpenGL compositor Initialized Succesfully. Version: 2.1 NVIDIA-8.26.28 310.40.55b01 Vendor: NVIDIA Corporation Renderer: NVIDIA GeForce GT 650M OpenGL Engine FBO Texture Target: TEXTURE_2D 1415104098377 addons.xpi DEBUG Starting install of restartless-xpi@tests.mozilla.org from http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi 1415104098378 addons.xpi DEBUG Starting install of unsigned-xpi@tests.mozilla.org from http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi 258 INFO Console message: 1415104098377 addons.xpi DEBUG Starting install of restartless-xpi@tests.mozilla.org from http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi 259 INFO Console message: 1415104098378 addons.xpi DEBUG Starting install of unsigned-xpi@tests.mozilla.org from http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi 1415104098425 addons.xpi DEBUG Addon restartless-xpi@tests.mozilla.org will be installed as a packed xpi 1415104098426 addons.xpi DEBUG Addon unsigned-xpi@tests.mozilla.org will be installed as a packed xpi 260 INFO Console message: 1415104098425 addons.xpi DEBUG Addon restartless-xpi@tests.mozilla.org will be installed as a packed xpi 261 INFO Console message: 1415104098426 addons.xpi DEBUG Addon unsigned-xpi@tests.mozilla.org will be installed as a packed xpi 1415104098432 addons.xpi INFO Mapping restartless-xpi@tests.mozilla.org to /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 1415104098432 addons.xpi-utils DEBUG Make addon app-profile:restartless-xpi@tests.mozilla.org visible 1415104098432 DeferredSave.extensions.json DEBUG Save changes 1415104098432 DeferredSave.extensions.json DEBUG Save changes 1415104098432 addons.xpi DEBUG XPIStates adding add-on restartless-xpi@tests.mozilla.org in app-profile: /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 1415104098433 addons.xpi DEBUG Updating XPIState for {"id":"restartless-xpi@tests.mozilla.org","syncGUID":"66NAS0VwfRyJ","location":"app-profile","version":"1.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"XPI Test","description":null,"creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi","installDate":1415104098228,"updateDate":1415104098228,"applyBackgroundUpdates":1,"bootstrap":true,"size":637,"sourceURI":"http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi","releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"0","maxVersion":"*"}],"targetPlatforms":[],"multiprocessCompatible":false} 1415104098433 addons.xpi DEBUG getModTime: Recursive scan of restartless-xpi@tests.mozilla.org 1415104098433 DeferredSave.extensions.json DEBUG Save changes 1415104098433 DeferredSave.extensions.json DEBUG Save changes 1415104098434 addons.xpi DEBUG Loading bootstrap scope from /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 1415104098436 addons.xpi WARN Error loading bootstrap.js for restartless-xpi@tests.mozilla.org: Error opening input stream (invalid filename?) 1415104098436 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method install 1415104098436 addons.xpi DEBUG Install of http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi completed. 1415104098437 addons.xpi DEBUG Registering manifest for /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 1415104098437 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method startup Sending InstallComplete 1415104098437 DeferredSave.extensions.json DEBUG Starting timer 1415104098437 addons.xpi DEBUG removeTemporaryFile: http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi removing temp file /Users/gkruitbosch/Library/Caches/TemporaryItems/tmp-qf7.xpi 262 INFO Console message: 1415104098432 addons.xpi INFO Mapping restartless-xpi@tests.mozilla.org to /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 263 INFO Console message: 1415104098432 addons.xpi-utils DEBUG Make addon app-profile:restartless-xpi@tests.mozilla.org visible 264 INFO Console message: 1415104098432 DeferredSave.extensions.json DEBUG Save changes 265 INFO Console message: 1415104098432 DeferredSave.extensions.json DEBUG Save changes 266 INFO Console message: 1415104098432 addons.xpi DEBUG XPIStates adding add-on restartless-xpi@tests.mozilla.org in app-profile: /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 267 INFO Console message: 1415104098433 addons.xpi DEBUG Updating XPIState for {"id":"restartless-xpi@tests.mozilla.org","syncGUID":"66NAS0VwfRyJ","location":"app-profile","version":"1.0","type":"extension","internalName":null,"updateURL":null,"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"XPI Test","description":null,"creator":null,"homepageURL":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"/var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi","installDate":1415104098228,"updateDate":1415104098228,"applyBackgroundUpdates":1,"bootstrap":true,"size":637,"sourceURI":"http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi","releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":false,"locales":[],"targetApplications":[{"id":"toolkit@mozilla.org","minVersion":"0","maxVersion":"*"}],"targetPlatforms":[],"multiprocessCompatible":false} 268 INFO Console message: 1415104098433 addons.xpi DEBUG getModTime: Recursive scan of restartless-xpi@tests.mozilla.org 269 INFO Console message: 1415104098433 DeferredSave.extensions.json DEBUG Save changes 270 INFO Console message: 1415104098433 DeferredSave.extensions.json DEBUG Save changes 271 INFO Console message: 1415104098434 addons.xpi DEBUG Loading bootstrap scope from /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 272 INFO Console message: 1415104098436 addons.xpi WARN Error loading bootstrap.js for restartless-xpi@tests.mozilla.org: Error opening input stream (invalid filename?) 273 INFO Console message: 1415104098436 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method install 274 INFO Console message: 1415104098436 addons.xpi DEBUG Install of http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi completed. 275 INFO Console message: 1415104098437 addons.xpi DEBUG Registering manifest for /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 276 INFO Console message: 1415104098437 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method startup 277 INFO Console message: 1415104098437 DeferredSave.extensions.json DEBUG Starting timer 278 INFO Console message: 1415104098437 addons.xpi DEBUG removeTemporaryFile: http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi removing temp file /Users/gkruitbosch/Library/Caches/TemporaryItems/tmp-qf7.xpi 1415104098441 addons.xpi DEBUG Staged install of unsigned-xpi@tests.mozilla.org from http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi ready; waiting for restart. Sending InstallComplete 279 INFO Observed addon-install-complete for 2 installs 280 INFO Install of http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/restartless.xpi was in state 6 281 INFO Install of http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi was in state 6 1415104098448 addons.xpi DEBUG removeTemporaryFile: http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi removing temp file /Users/gkruitbosch/Library/Caches/TemporaryItems/tmp-ks8.xpi 282 INFO Console message: 1415104098441 addons.xpi DEBUG Staged install of unsigned-xpi@tests.mozilla.org from http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi ready; waiting for restart. 283 INFO Console message: 1415104098448 addons.xpi DEBUG removeTemporaryFile: http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi removing temp file /Users/gkruitbosch/Library/Caches/TemporaryItems/tmp-ks8.xpi 1415104098459 DeferredSave.extensions.json DEBUG Starting write 284 INFO Console message: 1415104098459 DeferredSave.extensions.json DEBUG Starting write 285 INFO Saw notification 286 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should be only one notification 287 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should have seen the install complete 288 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should have seen the right button 289 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should have seen the right message 290 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should be one pending install 1415104098513 addons.xpi DEBUG Cancelling install of unsigned-xpi@tests.mozilla.org 1415104098517 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method shutdown 1415104098517 addons.xpi DEBUG Removing manifest for /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 1415104098520 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method uninstall 1415104098521 addons.xpi DEBUG uninstallAddon: flushing jar cache /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi for addon restartless-xpi@tests.mozilla.org 1415104098521 DeferredSave.extensions.json DEBUG Save changes 1415104098521 DeferredSave.extensions.json DEBUG Data changed while write in progress 1415104098521 addons.xpi DEBUG Removing XPIState for app-profile:restartless-xpi@tests.mozilla.org 291 INFO Waiting for notification to close 1415104098532 DeferredSave.extensions.json DEBUG Write succeeded 1415104098532 DeferredSave.extensions.json DEBUG Starting timer 292 INFO Console message: 1415104098513 addons.xpi DEBUG Cancelling install of unsigned-xpi@tests.mozilla.org 293 INFO Console message: 1415104098517 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method shutdown 294 INFO Console message: 1415104098517 addons.xpi DEBUG Removing manifest for /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi 295 INFO Console message: Could not read chrome manifest 'file:///Users/gkruitbosch/dev/builds/opt-x86_64-apple-darwin13.4.0/dist/Nightly.app/Contents/Resources/browser/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'. 296 INFO Console message: 1415104098520 addons.xpi WARN Add-on restartless-xpi@tests.mozilla.org is missing bootstrap method uninstall 297 INFO Console message: 1415104098521 addons.xpi DEBUG uninstallAddon: flushing jar cache /var/folders/2f/q_l6g8d13fzc8qcn4wmllmrc0000gn/T/tmprW3VwL.mozrunner/extensions/restartless-xpi@tests.mozilla.org.xpi for addon restartless-xpi@tests.mozilla.org 298 INFO Console message: 1415104098521 DeferredSave.extensions.json DEBUG Save changes 299 INFO Console message: 1415104098521 DeferredSave.extensions.json DEBUG Data changed while write in progress 300 INFO Console message: 1415104098521 addons.xpi DEBUG Removing XPIState for app-profile:restartless-xpi@tests.mozilla.org 301 INFO Test part took 475ms 302 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Notification should be closed 303 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug553455.js | Should be no active installs 304 INFO Running test_url 305 INFO Waiting for notification 306 INFO Console message: 1415104098532 DeferredSave.extensions.json DEBUG Write succeeded 307 INFO Console message: 1415104098532 DeferredSave.extensions.json DEBUG Starting timer 1415104098569 DeferredSave.extensions.json DEBUG Starting write 308 INFO Console message: 1415104098569 DeferredSave.extensions.json DEBUG Starting write 1415104098570 DeferredSave.extensions.json DEBUG Write succeeded 309 INFO Console message: 1415104098570 DeferredSave.extensions.json DEBUG Write succeeded JavaScript error: resource://gre/modules/FileUtils.jsm, line 63: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get] 310 INFO Observed addon-install-blocked for 1 installs 311 INFO Install of http://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi was in state 0 312 INFO Console message: [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]" {file: "resource://gre/modules/FileUtils.jsm" line: 63}] after which it hangs. Not sure what's going on (doesn't seem related to its use of notifications per se, because I see a bundle of them appearing and being detected correctly), but work it does not.
Flags: qe-verify-
Flags: in-testsuite+
Flags: firefox-backlog+
A bunch of fixes for XPI installing are on the way so it will be worth re-testing this once they are landed.
Depends on: 1084558, 1082871, 1082764
Depends on: 1094312
Fixed by bug 1094312
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Iteration: --- → 37.3 - 12 Jan
You need to log in before you can comment on or make changes to this bug.