Closed Bug 1146887 Opened 10 years ago Closed 6 years ago

Intermittent places/main.testSearchSort | expected return count - 3 == 5 | successful order - "http://mozilla.com/" == "http://bandcamp.com/" | successful order - "http://mozilla.com/webfwd/" == "http://developer.mozilla.com/" ...

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: RyanVM, Assigned: evold)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

04:15:19 INFO - TEST-START | places/main.testSearchSort 04:15:19 WARNING - TEST-UNEXPECTED-FAIL | places/main.testSearchSort | expected return count - 3 == 5 04:15:19 INFO - TEST-INFO | Traceback (most recent call last): 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 688, in this.PromiseWalker.scheduleWalkerLoop/< 04:15:19 INFO - DOMPromise.resolve().then(() => this.walkerLoop()); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 746, in this.PromiseWalker.walkerLoop 04:15:19 INFO - this.handlers.shift().process(); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 867, in Handler.prototype.process 04:15:19 INFO - nextValue = this.onResolve.call(undefined, nextValue); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 179, in exports.testSearchSort/< 04:15:19 INFO - checkOrder(results, [4,3,0,2,1]); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 211, in checkOrder 04:15:19 INFO - assert.equal(results.length, nums.length, 'expected return count'); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 123, in equal 04:15:19 INFO - this.fail({ 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 88, in fail 04:15:19 INFO - this._log.fail(message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 104, in fail 04:15:19 INFO - this.console.testMessage(false, false, this.test.name, message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/harness.js", line 544, in testMessage 04:15:19 INFO - this.trace(); 04:15:19 WARNING - TEST-UNEXPECTED-FAIL | places/main.testSearchSort | successful order - "http://mozilla.com/" == "http://bandcamp.com/" 04:15:19 INFO - TEST-INFO | Traceback (most recent call last): 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 688, in this.PromiseWalker.scheduleWalkerLoop/< 04:15:19 INFO - DOMPromise.resolve().then(() => this.walkerLoop()); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 746, in this.PromiseWalker.walkerLoop 04:15:19 INFO - this.handlers.shift().process(); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 867, in Handler.prototype.process 04:15:19 INFO - nextValue = this.onResolve.call(undefined, nextValue); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 179, in exports.testSearchSort/< 04:15:19 INFO - checkOrder(results, [4,3,0,2,1]); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 213, in checkOrder 04:15:19 INFO - assert.equal(results[i].url, places[nums[i]], 'successful order'); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 123, in equal 04:15:19 INFO - this.fail({ 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 88, in fail 04:15:19 INFO - this._log.fail(message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 104, in fail 04:15:19 INFO - this.console.testMessage(false, false, this.test.name, message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/harness.js", line 544, in testMessage 04:15:19 INFO - this.trace(); 04:15:19 WARNING - TEST-UNEXPECTED-FAIL | places/main.testSearchSort | successful order - "http://mozilla.com/webfwd/" == "http://developer.mozilla.com/" 04:15:19 INFO - TEST-INFO | Traceback (most recent call last): 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 688, in this.PromiseWalker.scheduleWalkerLoop/< 04:15:19 INFO - DOMPromise.resolve().then(() => this.walkerLoop()); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 746, in this.PromiseWalker.walkerLoop 04:15:19 INFO - this.handlers.shift().process(); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 867, in Handler.prototype.process 04:15:19 INFO - nextValue = this.onResolve.call(undefined, nextValue); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 179, in exports.testSearchSort/< 04:15:19 INFO - checkOrder(results, [4,3,0,2,1]); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 213, in checkOrder 04:15:19 INFO - assert.equal(results[i].url, places[nums[i]], 'successful order'); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 123, in equal 04:15:19 INFO - this.fail({ 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 88, in fail 04:15:19 INFO - this._log.fail(message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 104, in fail 04:15:19 INFO - this.console.testMessage(false, false, this.test.name, message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/harness.js", line 544, in testMessage 04:15:19 INFO - this.trace(); 04:15:19 WARNING - TEST-UNEXPECTED-FAIL | places/main.testSearchSort | successful order - "http://webaud.io/" == "http://mozilla.com/" 04:15:19 INFO - TEST-INFO | Traceback (most recent call last): 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 688, in this.PromiseWalker.scheduleWalkerLoop/< 04:15:19 INFO - DOMPromise.resolve().then(() => this.walkerLoop()); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 746, in this.PromiseWalker.walkerLoop 04:15:19 INFO - this.handlers.shift().process(); 04:15:19 INFO - File "resource://gre/modules/Promise-backend.js", line 867, in Handler.prototype.process 04:15:19 INFO - nextValue = this.onResolve.call(undefined, nextValue); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 179, in exports.testSearchSort/< 04:15:19 INFO - checkOrder(results, [4,3,0,2,1]); 04:15:19 INFO - File "resource://test-places-at-jetpack/places/lib/test-places-history.js", line 213, in checkOrder 04:15:19 INFO - assert.equal(results[i].url, places[nums[i]], 'successful order'); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 123, in equal 04:15:19 INFO - this.fail({ 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/assert.js", line 88, in fail 04:15:19 INFO - this._log.fail(message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 104, in fail 04:15:19 INFO - this.console.testMessage(false, false, this.test.name, message); 04:15:19 INFO - File "resource://gre/modules/commonjs/sdk/test/harness.js", line 544, in testMessage 04:15:19 INFO - this.trace(); 04:15:19 INFO - ************************* 04:15:19 INFO - A coding exception was thrown in a Promise resolution callback. 04:15:19 INFO - See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise 04:15:19 INFO - Full message: TypeError: results[i] is undefined 04:15:19 INFO - Full stack: checkOrder@resource://gre/modules/commonjs/toolkit/loader.js -> resource://test-places-at-jetpack/places/lib/test-places-history.js:213:7 04:15:19 INFO - exports.testSearchSort/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://test-places-at-jetpack/places/lib/test-places-history.js:179:5 04:15:19 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:867:23 04:15:19 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7 04:15:19 INFO - this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37 04:15:19 INFO - ************************* 04:15:19 INFO - 1427199319932 Browser.Experiments.Experiments TRACE Experiments #0::enabled=true, true 04:15:19 INFO - 1427199319932 Browser.Experiments.Experiments TRACE Experiments #0::Registering instance with Addon Manager. 04:15:19 INFO - 1427199319933 Browser.Experiments.Experiments TRACE Experiments #0::Registering previous experiment add-on provider. 04:15:19 INFO - 1427199319933 Browser.Experiments.Experiments TRACE PreviousExperimentProvider #0::startup() 04:15:19 INFO - 1427199319934 Browser.Experiments.Experiments TRACE Experiments #0::_loadFromCache 04:15:19 INFO - 1427199319936 Browser.Experiments.Experiments TRACE Experiments #0::_loadTask finished ok 04:15:19 INFO - 1427199319936 Browser.Experiments.Experiments TRACE Experiments #0::_run 04:15:19 INFO - 1427199319937 Browser.Experiments.Experiments TRACE Experiments #0::_main iteration 04:15:19 INFO - 1427199319937 Browser.Experiments.Experiments TRACE Experiments #0::_evaluateExperiments 04:15:19 INFO - 1427199319938 Browser.Experiments.Experiments TRACE Experiments #0::_main finished, scheduling next run 04:15:22 WARNING - TEST-UNEXPECTED-FAIL | places/main.testSearchSort | There was an uncaught Promise rejection: TypeError: results[i] is undefined @ resource://gre/modules/commonjs/toolkit/loader.js -> resource://test-places-at-jetpack/places/lib/test-places-history.js:213 04:15:22 INFO - checkOrder@resource://gre/modules/commonjs/toolkit/loader.js -> resource://test-places-at-jetpack/places/lib/test-places-history.js:213:7 04:15:22 INFO - exports.testSearchSort/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://test-places-at-jetpack/places/lib/test-places-history.js:179:5 04:15:22 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:867:23 04:15:22 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7 04:15:22 INFO - this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37 04:15:22 INFO - TEST-INFO | Traceback (most recent call last): 04:15:22 INFO - File "resource://gre/modules/Promise-backend.js", line 91, in observe 04:15:22 INFO - PendingErrors.report(aValue); 04:15:22 INFO - File "resource://gre/modules/Promise-backend.js", line 200, in PendingErrors.report 04:15:22 INFO - obs(value); 04:15:22 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 71, in TestRunner.prototype._uncaughtErrorObserver 04:15:22 INFO - this.fail("There was an uncaught Promise rejection: " + message + " @ " + 04:15:22 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 104, in fail 04:15:22 INFO - this.console.testMessage(false, false, this.test.name, message); 04:15:22 INFO - File "resource://gre/modules/commonjs/sdk/test/harness.js", line 544, in testMessage 04:15:22 INFO - this.trace(); 04:15:48 INFO - TEST-INFO | [JavaScript Error: "1427199348934 Toolkit.GMP ERROR GMPInstallManager.simpleCheckAndInstall Could not check for addons: {"target":{},"message":"got node name: html, expected: updates"}" {file: "resource://gre/modules/Log.jsm" line: 749}] 04:20:05 WARNING - TEST-UNEXPECTED-FAIL | places/main.testSearchSort | Test timed out (after: START) 04:20:05 INFO - TEST-INFO | Traceback (most recent call last): 04:20:05 INFO - File "resource://gre/modules/commonjs/sdk/timers.js", line 40, in notify 04:20:05 INFO - callback.apply(null, args); 04:20:05 INFO - File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 490, in tiredOfWaiting 04:20:05 INFO - self.console.testMessage(false, false, self.test.name, 04:20:05 INFO - File "resource://gre/modules/commonjs/sdk/test/harness.js", line 544, in testMessage 04:20:05 INFO - this.trace(); 04:20:05 INFO - TEST-END | places/main.testSearchSort
Priority: -- → P1
Assignee: nobody → evold
Attachment #8614758 - Flags: review?(jsantell) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/eb9bf5d74fa3ec8594801ef7582cfd7626681b96 Bug 1146887 distinguish testSearchSort for history vs bookmarks and catch possible errors https://github.com/mozilla/addon-sdk/commit/b2f7e4c0293b7f49d867240579cfbd49577c224d Merge pull request #2004 from erikvold/1146887 Bug 1146887 distinguish testSearchSort for history vs bookmarks and catch possible errors r=jsantell
Priority: P1 → --
Add-on SDK is no longer supported so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: