Closed Bug 1082904 Opened 11 years ago Closed 11 years ago

Intermittent day_observer_test.js | "after each" hook - TypeError: this.connection is null (app://calendar.gaiamobile.org/js/db.js:153)

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KWierso, Assigned: mmedeiros)

References

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/ui/logviewer.html#?job_id=2997051&repo=mozilla-inbound builder b2g_ubuntu64_vm mozilla-inbound opt test gaia-unit buildid 20141014125454 builduid 98ac4179d79e424480ebefa20298cb1a results warnings (1) revision a5714320ae8b slave tst-linux64-spot-768 starttime Tue Oct 14 2014 13:22:51 GMT-0700 (Pacific Standard Time) 13:40:28 INFO - TEST-PASS | calendar/test/unit/db_test.js | db #open on version change Bug 887698 should delete event if its calendar died 13:40:28 INFO - TEST-PASS | calendar/test/unit/db_test.js | db #open on version change Bug 887698 should turn busytime str calendarId into int 13:40:28 INFO - TEST-PASS | calendar/test/unit/db_test.js | db #open on version change Bug 887698 should not modify busytime int calendarId 13:40:29 INFO - TEST-PASS | calendar/test/unit/db_test.js | db #open on version change Bug 887698 should delete busytime if its calendar died 13:40:29 INFO - TEST-PASS | calendar/test/unit/db_test.js | db #open after version change open 13:40:29 INFO - TEST-OK | calendar/test/unit/db_test.js | took 2051ms 13:40:29 INFO - suite results (pass/fail): 13/0 13:40:29 INFO - JavaScript warning: app://calendar.gaiamobile.org/common/vendor/chai/chai.js?time=1413319229482, line 1135: 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 13:40:31 INFO - TEST-START | calendar/test/unit/day_observer_test.js 13:40:31 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer #on cached 13:40:31 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer #on not cached 13:40:31 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer #on add more 13:40:31 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer #on multiple days 13:40:31 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer remove off 13:40:31 INFO - JavaScript error: app://calendar.gaiamobile.org/js/db.js, line 153: TypeError: this.connection is null 13:40:31 INFO - TEST-UNEXPECTED-FAIL | calendar/test/unit/day_observer_test.js | "after each" hook - TypeError: this.connection is null (app://calendar.gaiamobile.org/js/db.js:153) 13:40:31 INFO - Error: TypeError: this.connection is null (app://calendar.gaiamobile.org/js/db.js:153) 13:40:31 INFO - at onerror (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4959:10) 13:40:31 INFO - TEST-OK | calendar/test/unit/day_observer_test.js | took 265ms 13:40:31 INFO - suite results (pass/fail): 5/1 13:40:31 INFO - JavaScript warning: app://calendar.gaiamobile.org/common/vendor/chai/chai.js?time=1413319231881, line 1135: 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 13:40:33 INFO - TEST-START | calendar/test/unit/compare_test.js 13:40:33 INFO - TEST-PASS | calendar/test/unit/compare_test.js | compare 13:40:33 INFO - TEST-OK | calendar/test/unit/compare_test.js | took 27ms 13:40:33 INFO - suite results (pass/fail): 1/0 13:40:34 INFO - JavaScript warning: app://calendar.gaiamobile.org/common/vendor/chai/chai.js?time=1413319234117, line 1135: 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 13:40:35 INFO - TEST-START | calendar/test/unit/calc_test.js 13:40:35 INFO - TEST-PASS | calendar/test/unit/calc_test.js | calendar/calc #dayOfWeekFromSunday 13:40:35 INFO - TEST-PASS | calendar/test/unit/calc_test.js | calendar/calc #dayOfWeekFromMonday 13:40:35 INFO - TEST-PASS | calendar/test/unit/calc_test.js | calendar/calc #hourDiff 13:40:35 INFO - TEST-PASS | calendar/test/unit/calc_test.js | calendar/calc #getDayId 13:40:35 INFO - TEST-PASS | calendar/test/unit/calc_test.js | calendar/calc #getMonthId
See Also: → 1091453
Assignee: nobody → mmedeiros
Depends on: 1091453
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.