Closed Bug 892998 Opened 13 years ago Closed 12 years ago

Intermittent tests/test-places-host.testHostMultiQuery | should return 2 results ORing queries - 2 == 1 | should match URL or tag - "http://firefox.com/" == "http://thunderbird.com/" | Test output exceeded timeout (60s).

Categories

(Add-on SDK Graveyard :: General, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(firefox24 unaffected, firefox25 fixed)

RESOLVED FIXED
mozilla25
Tracking Status
firefox24 --- unaffected
firefox25 --- fixed

People

(Reporter: ryanvm, Assigned: jsantell)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=25216960&tree=Fx-Team Rev4 MacOSX Snow Leopard 10.6 fx-team opt test jetpack on 2013-07-12 06:16:02 PDT for push ad8cff9af5c4 slave: talos-r4-snow-082 TEST-START | tests/test-places-host.testHostMultiQuery TEST-INFO | [JavaScript Error: "Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 975}] TEST-INFO | [JavaScript Error: "Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 975}] TEST-INFO | [JavaScript Error: "Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 975}] TEST-INFO | [JavaScript Error: "Async statement execution returned with '6', 'database table is locked'" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 147}] TEST-UNEXPECTED-FAIL | tests/test-places-host.testHostMultiQuery | should return 2 results ORing queries - 2 == 1 TEST-INFO | Traceback (most recent call last): File "resource://gre/modules/commonjs/sdk/timers.js", line 31, in notify callback.apply(null, args); File "resource://gre/modules/commonjs/sdk/lang/functional.js", line 66, in invoke function invoke(callee, params, self) callee.apply(self, params); File "resource://gre/modules/commonjs/sdk/addon/events.js", line 27, in null else request.resolve(clone(data)); File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve result.then(observer.resolve, observer.reject); File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then return { then: function then(fulfill) { fulfill(value); } }; File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve deferred.resolve(onFulfill ? onFulfill(value) : value); File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve deferred.resolve(onFulfill ? onFulfill(value) : value); File "resource://extensions.modules.429a4ff7-970d-4498-8a66-49c08cedb091-at-jetpack.commonjs.path.tests/test-places-host.js", line 242, in exports.testHostMultiQuery/< assert.equal(results.length, 2, 'should return 2 results ORing queries'); File "resource://gre/modules/commonjs/sdk/test/assert.js", line 125, in equal operator: "==" File "resource://gre/modules/commonjs/sdk/test/assert.js", line 89, in fail this._log.fail(message); File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 84, in fail this.console.testMessage(false, false, this.test.name, message); File "resource://gre/modules/commonjs/sdk/test/harness.js", line 523, in testMessage this.trace(); TEST-UNEXPECTED-FAIL | tests/test-places-host.testHostMultiQuery | should match URL or tag - "http://firefox.com/" == "http://thunderbird.com/" TEST-INFO | Traceback (most recent call last): File "resource://gre/modules/commonjs/sdk/timers.js", line 31, in notify callback.apply(null, args); File "resource://gre/modules/commonjs/sdk/lang/functional.js", line 66, in invoke function invoke(callee, params, self) callee.apply(self, params); File "resource://gre/modules/commonjs/sdk/addon/events.js", line 27, in null else request.resolve(clone(data)); File "resource://gre/modules/commonjs/sdk/core/promise.js", line 187, in resolve result.then(observer.resolve, observer.reject); File "resource://gre/modules/commonjs/sdk/core/promise.js", line 45, in then return { then: function then(fulfill) { fulfill(value); } }; File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve deferred.resolve(onFulfill ? onFulfill(value) : value); File "resource://gre/modules/commonjs/sdk/core/promise.js", line 120, in resolve deferred.resolve(onFulfill ? onFulfill(value) : value); File "resource://extensions.modules.429a4ff7-970d-4498-8a66-49c08cedb091-at-jetpack.commonjs.path.tests/test-places-host.js", line 243, in exports.testHostMultiQuery/< assert.equal(results[0].url, 'http://firefox.com/', 'should match URL or tag'); File "resource://gre/modules/commonjs/sdk/test/assert.js", line 125, in equal operator: "==" File "resource://gre/modules/commonjs/sdk/test/assert.js", line 89, in fail this._log.fail(message); File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 84, in fail this.console.testMessage(false, false, this.test.name, message); File "resource://gre/modules/commonjs/sdk/test/harness.js", line 523, in testMessage this.trace(); TEST-UNEXPECTED-FAIL | tests/test-places-host.testHostMultiQuery | Test output exceeded timeout (60s). Traceback (most recent call last): File "jetpack/bin/cfx", line 33, in <module> cuddlefish.run() File "/Users/cltbld/talos-slave/test/build/jetpack/python-lib/cuddlefish/__init__.py", line 608, in run test_all_packages(env_root, defaults=options.__dict__) File "/Users/cltbld/talos-slave/test/build/jetpack/python-lib/cuddlefish/__init__.py", line 490, in test_all_packages env_root=env_root) File "/Users/cltbld/talos-slave/test/build/jetpack/python-lib/cuddlefish/__init__.py", line 937, in run pkgdir=options.pkgdir) File "/Users/cltbld/talos-slave/test/build/jetpack/python-lib/cuddlefish/runner.py", line 745, in run_app OUTPUT_TIMEOUT, test_name, parseable) Exception: Test output exceeded timeout (60s). program finished with exit code 1
Assignee: nobody → jsantell
In speaking with Marco, seems like xpcshell has idle on and database maintenance tasks are performed during idle.. attempting to set "places.database.lastMaintenance" pref to current timestamp to see if that solves the issue by stopping Places DB maintenance
Attached file GH PR 1129
Attachment #778626 - Flags: review?(evold)
Attachment #778626 - Flags: review?(evold) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/ad2a67fffd3b6a7f6122ee8b2b4ebdc47c0eccc5 Bug 892998, disable places maintenance for each Places test https://github.com/mozilla/addon-sdk/commit/d2c4c147b6755e2157c670ba143ce3f7496ae79c Merge pull request #1129 from jsantell/892998-disable-places-maintenance-in-tests Fix Bug 892998, disable places maintenance for each Places test, r=@erikvold
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: