If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Intermittent Jetpack tests/test-places-history.testSearchSort | expected return count - 5 == 0 | Timed out

RESOLVED FIXED

Status

Add-on SDK
General
P1
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: RyanVM, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
+++ This bug was initially created as a clone of Bug #906215 +++

https://tbpl.mozilla.org/php/getParsedLog.php?id=26933696&tree=Mozilla-Inbound

Windows XP 32-bit mozilla-inbound pgo test jetpack on 2013-08-23 12:25:51 PDT for push 1cdd8cacd0ad
slave: t-xp32-ix-075

TEST-START | tests/test-places-history.testSearchSort
TEST-UNEXPECTED-FAIL | tests/test-places-history.testSearchSort | expected return count - 5 == 0
TEST-INFO | Traceback (most recent call last):
  File "resource://gre/modules/commonjs/sdk/timers.js", line 70, in null
    try { immediate(); }
  File "resource://gre/modules/commonjs/sdk/timers.js", line 79, in null
    immediates.set(id, _ => callback.apply(callback, params));
  File "resource://gre/modules/commonjs/sdk/lang/functional.js", line 65, 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 185, in resolve
    result.then(observer.resolve, observer.reject);
  File "resource://gre/modules/commonjs/sdk/core/promise.js", line 43, in then
    return { then: function then(fulfill) { fulfill(value); } };
  File "resource://gre/modules/commonjs/sdk/core/promise.js", line 118, in resolve
    deferred.resolve(onFulfill ? onFulfill(value) : value);
  File "resource://gre/modules/commonjs/sdk/places/history.js", line 55, in null
    emit(emitter, 'end', results);
  File "resource://gre/modules/commonjs/sdk/event/core.js", line 83, in emit
    for each (let item in emit.lazy.apply(emit.lazy, arguments)) {
  File "resource://gre/modules/commonjs/sdk/event/core.js", line 110, in lazy
    if (~state.indexOf(listener)) yield listener.apply(target, args);
  File "resource://gre/modules/commonjs/sdk/places/utils.js", line 165, in null
    else resolve(items);
  File "resource://gre/modules/commonjs/sdk/core/promise.js", line 185, in resolve
    result.then(observer.resolve, observer.reject);
  File "resource://gre/modules/commonjs/sdk/core/promise.js", line 43, in then
    return { then: function then(fulfill) { fulfill(value); } };
  File "resource://gre/modules/commonjs/sdk/core/promise.js", line 118, in resolve
    deferred.resolve(onFulfill ? onFulfill(value) : value);
  File "resource://gre/modules/commonjs/sdk/core/promise.js", line 118, in resolve
    deferred.resolve(onFulfill ? onFulfill(value) : value);
  File "resource://extensions.modules.23f7c04c-e38a-4097-8b85-8fccf5c46446-at-jetpack.commonjs.path.tests/test-places-history.js", line 179, in exports.testSearchSort/<
    checkOrder(results, [4,3,0,2,1]);
  File "resource://extensions.modules.23f7c04c-e38a-4097-8b85-8fccf5c46446-at-jetpack.commonjs.path.tests/test-places-history.js", line 211, in checkOrder
    assert.equal(results.length, nums.length, 'expected return count');
  File "resource://gre/modules/commonjs/sdk/test/assert.js", line 124, in equal
    operator: "=="
  File "resource://gre/modules/commonjs/sdk/test/assert.js", line 88, in fail
    this._log.fail(message);
  File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 83, in fail
    this.console.testMessage(false, false, this.test.name, message);
  File "resource://gre/modules/commonjs/sdk/test/harness.js", line 525, in testMessage
    this.trace();
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-UNEXPECTED-FAIL | tests/test-places-history.testSearchSort | Timed out
TEST-INFO | Traceback (most recent call last):
  File "resource://gre/modules/commonjs/sdk/timers.js", line 40, in notify
    callback.apply(null, args);
  File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 423, in tiredOfWaiting
    self.console.testMessage(false, false, self.test.name, "Timed out");
  File "resource://gre/modules/commonjs/sdk/test/harness.js", line 525, in testMessage
    this.trace();
TEST-END | tests/test-places-history.testSearchSort
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Priority: -- → P1
Comment hidden (Treeherder Robot)
Blocks: 913120
No longer blocks: 913120
Depends on: 913120
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Moved into addon-test, seems to fix
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.