Closed Bug 1153495 Opened 9 years ago Closed 9 years ago

Intermittent timer_test.js | Timer commit timers without alarms when in initial state - NotFoundError: The operation failed because the requested database object could not be found.

Categories

(Firefox OS Graveyard :: Gaia::Clock, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KWierso, Assigned: mcav)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

46 bytes, text/x-github-pull-request
mmedeiros
: review+
Details | Review
23:18:05 INFO - TEST-START | clock/test/unit/timer_test.js
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer shape:static
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer start new timer
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer reactivate an un-paused timer
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer pause timer
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer reactivate a paused timer
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer cancel
23:18:05 INFO - TEST-PASS | clock/test/unit/timer_test.js | Timer plus
23:18:05 INFO - JavaScript error: app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454, line 73: NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.
23:18:05 INFO - TEST-UNEXPECTED-FAIL | clock/test/unit/timer_test.js | Timer commit timers without alarms when in initial state - NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened. (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:73)
23:18:05 INFO - Error: NotFoundError: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened. (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:73)
23:18:05 INFO - at onerror (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4959:10)
23:18:05 INFO - TEST-UNEXPECTED-FAIL | clock/test/unit/timer_test.js | Timer commit timers without alarms when started - The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.
23:18:05 INFO - DOMException: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:73:25)
23:18:05 INFO - at withDatabase (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:53:7)
23:18:05 INFO - at withStore (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:72:5)
23:18:05 INFO - at setItem (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:98:1)
23:18:05 INFO - at timerSave (app://clock.gaiamobile.org/js/timer.js?cache_bust=1428707885454:116:1)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/js/timer.js?cache_bust=1428707885454:142:17)
23:18:05 INFO - at mar_call (app://clock.gaiamobile.org/test/unit/mocks/mock_moz_alarm.js:37:25)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/test/unit/mocks/mock_moz_alarm.js:31:7)
23:18:05 INFO - at callTimer (app://clock.gaiamobile.org/common/vendor/sinon/sinon.js:886:13)
23:18:05 INFO - at tick (app://clock.gaiamobile.org/common/vendor/sinon/sinon.js:1038:21)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/test/unit/timer_test.js:123:9)
23:18:05 INFO - at wrapper (app://clock.gaiamobile.org/common/test/mocha_generators.js:60:19)
23:18:05 INFO - at run (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:3709:7)
23:18:05 INFO - at runTest (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4081:5)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4127:7)
23:18:05 INFO - at next (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4007:1)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4016:7)
23:18:05 INFO - at next (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:3964:1)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:3984:5)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4932:28)
23:18:05 INFO - TEST-UNEXPECTED-FAIL | clock/test/unit/timer_test.js | Timer commit timers with previously-created alarms "before each" hook - The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.
23:18:05 INFO - DOMException: The operation failed because the requested database object could not be found. For example, an object store did not exist but was being opened.
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:73:25)
23:18:05 INFO - at withDatabase (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:53:7)
23:18:05 INFO - at withStore (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:72:5)
23:18:05 INFO - at setItem (app://clock.gaiamobile.org/shared/js/async_storage.js?cache_bust=1428707885454:98:1)
23:18:05 INFO - at timerSave (app://clock.gaiamobile.org/js/timer.js?cache_bust=1428707885454:116:1)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/js/timer.js?cache_bust=1428707885454:142:17)
23:18:05 INFO - at mar_call (app://clock.gaiamobile.org/test/unit/mocks/mock_moz_alarm.js:37:25)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/test/unit/mocks/mock_moz_alarm.js:31:7)
23:18:05 INFO - at callTimer (app://clock.gaiamobile.org/common/vendor/sinon/sinon.js:886:13)
23:18:05 INFO - at tick (app://clock.gaiamobile.org/common/vendor/sinon/sinon.js:1038:21)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/test/unit/timer_test.js:141:9)
23:18:05 INFO - at wrapper (app://clock.gaiamobile.org/common/test/mocha_generators.js:60:19)
23:18:05 INFO - at run (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:3709:7)
23:18:05 INFO - at next (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:3973:5)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:3984:5)
23:18:05 INFO - at (anonymous) (app://clock.gaiamobile.org/common/vendor/mocha/mocha.js:4932:28)
23:18:05 INFO - TEST-OK | clock/test/unit/timer_test.js | took 371ms
23:18:05 INFO - suite results (pass/fail): 7/3
23:18:06 INFO - JavaScript warning: app://clock.gaiamobile.org/common/vendor/chai/chai.js?time=1428707886192, line 3564: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
23:18:06 INFO - TEST-START | clock/test/unit/tabs_test.js
Marcus, this is by far the top Gaia unit test failure we're seeing. Can you please take a look at this and/or disable the test?
Flags: needinfo?(m)
Attached file Gaia PR
This disables the test. Given decent integration test coverage, little bandwidth, and forever-unchanging Clock code, it seems like the most appropriate action for now.
Assignee: nobody → m
Status: NEW → ASSIGNED
Flags: needinfo?(m)
Attachment #8642704 - Flags: review?(mmedeiros)
Attachment #8642704 - Flags: review?(mmedeiros) → review+
Keywords: checkin-needed
Keywords: checkin-needed
master: https://github.com/mozilla-b2g/gaia/commit/c41d7f1676c4e98c8fc6b8eb46e8d27a6ccdd91c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: