Intermittent failure in test_install.js | Add-on was installed 2539ms ago

VERIFIED FIXED in mozilla2.0b1

Status

()

Toolkit
Add-ons Manager
VERIFIED FIXED
8 years ago
5 years ago

People

(Reporter: Ehsan, Unassigned)

Tracking

({intermittent-failure})

Trunk
mozilla2.0b1
x86
Linux
intermittent-failure
Points:
---
Bug Flags:
in-testsuite +
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [AOMTestday])

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1275566169.1275567321.30455.gz
Linux mozilla-central opt test xpcshell on 2010/06/03 04:56:09

TEST-UNEXPECTED-FAIL | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | test failed (with xpcshell return code: 0), see following log:
  >>>>>>>
  TEST-INFO | (xpcshell/head.js) | test 1 pending
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Migrating data from schema 0
*** LOG addons.xpi: Database is missing, recreating
*** LOG addons.xpi: Creating database schema
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Add-ons list is missing, recreating
*** LOG addons.xpi: Writing add-ons list
*** LOG addons.xpi: shutdown
*** LOG addons.xpi: startup
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
TEST-INFO | (xpcshell/head.js) | test 2 pending
TEST-INFO | (xpcshell/head.js) | test 2 finished
TEST-INFO | (xpcshell/head.js) | running event loop
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 500] onNewInstall == onNewInstall
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [ensure_test_completed : 597] 0 == 0
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 53] [object Object] != null
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 54] extension == extension
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 55] 1.0 == 1.0
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 56] Test 1 == Test 1
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 57] 3 == 3
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 58] true == true
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 59] [object Object] == [object Object]
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 63] jar:file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/addons/test_install1.xpi!/install.rdf == jar:file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/addons/test_install1.xpi!/install.rdf
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 64] jar:file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/addons/test_install1.xpi!/icon.png == jar:file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/addons/test_install1.xpi!/icon.png
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 65] null == null
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 68] 1 == 1
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 69] [object Object] == [object Object]
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 72] 0 == 0
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 75] 1 == 1
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 76] [object Object] == [object Object]
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 529] 5 == 5
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 530] onInstallStarted == onInstallStarted
*** LOG addons.xpi: Starting install of file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/addons/test_install1.xpi
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 460] onInstalling == onInstalling
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 461] true == true
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 463] true == true
*** LOG addons.xpi: Install of file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/addons/test_install1.xpi completed.
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 535] 6 == 6
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [anonymous : 536] onInstallEnded == onInstallEnded
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [ensure_test_completed : 597] 0 == 0
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 96] null == null
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 99] 1 == 1
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 100] addon1@tests.mozilla.org == addon1@tests.mozilla.org
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 103] true == true
*** LOG addons.xpi: shutdown
*** LOG addons.xpi: startup
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Processing install of addon1@tests.mozilla.org in app-profile
*** LOG addons.xpi: Found updated manifest for addon1@tests.mozilla.org in app-profile
*** WARN addons.xpi: Ignoring file: /tmp/tmpsfnrwi/extensions/staged/addon1@tests.mozilla.org.json
*** LOG addons.xpi: New add-on addon1@tests.mozilla.org installed in app-profile
*** LOG addons.xpi: Restart necessary
*** LOG addons.xpi: Updating add-on states
*** LOG addons.xpi: Writing add-ons list
*** LOG addons.xpi: shutdown
*** LOG addons.xpi: startup
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 108]  == 0
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 111] [object Object] != null
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 112] extension == extension
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 113] 1.0 == 1.0
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 114] Test 1 == Test 1
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 115] true == true
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | [anonymous : 116] true == true
TEST-PASS | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/head_addons.js | [do_check_in_crash_annotation : 84] false == false
TEST-UNEXPECTED-FAIL | /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js | Add-on was installed 2539ms ago - See following stack:
JS frame :: /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/head.js :: do_throw :: line 257
JS frame :: /builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/xpcshell/tests/test_extensionmanager/xpcshell/test_install.js :: anonymous :: line 122
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/AddonManager.jsm :: safeCall :: line 41
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/AddonManager.jsm :: anonymous :: line 565
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/XPIProvider.jsm :: anonymous :: line 1747
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/XPIProvider.jsm :: anonymous :: line 3105
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/XPIProvider.jsm :: anonymous :: line 2372
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/XPIProvider.jsm :: anonymous :: line 2974
JS frame :: file:///builds/moz2_slave/mozilla-central-linux-opt-unittest-xpcshell/build/firefox/modules/XPIProvider.jsm :: anonymous :: line 2973
TEST-INFO | (xpcshell/head.js) | exiting test
*** WARN addons.manager: Exception calling callback: 2147500036
*** LOG addons.xpi: shutdown
!!! error running onStopped callback: TypeError: callback is not a function
Hrm, probably should increase the range of allowable times here. Anytime in the last minute is probably ok rather than just the 2 seconds we allow here, though it is odd it is taking so long.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Created attachment 454305 [details] [diff] [review]
patch rev 1

Bumping the timeout to 10 seconds. Realistically if the API is getting times wrong then it is likely to be out by hours if not days so this should be fine I think.
Attachment #454305 - Flags: review?(robert.bugzilla)
Attachment #454305 - Flags: review?(robert.bugzilla) → review+
Landed: http://hg.mozilla.org/mozilla-central/rev/659d4f681e39
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Flags: in-testsuite+
Flags: in-litmus-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a6
Marking as verified fixed based on no failures in the last couple of months.
Status: RESOLVED → VERIFIED
Whiteboard: [orange] → [orange][AOMTestday]
(Assignee)

Updated

5 years ago
Keywords: intermittent-failure
(Assignee)

Updated

5 years ago
Whiteboard: [orange][AOMTestday] → [AOMTestday]
You need to log in before you can comment on or make changes to this bug.