Closed
Bug 1012507
Opened 10 years ago
Closed 10 years ago
Perma failing test, month view #months-day-view scroll
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S2 (23may)
People
(Reporter: kgrandon, Assigned: mmedeiros)
References
Details
Attachments
(2 files)
Two calendar tests started failing today for some reason: 1) month view #months-day-view scroll: Error: timeout exceeded! at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:682:16) at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:650:60) at Object.View.waitForDisplay (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/views/view.js:43:24) at Object.Calendar.createEvent (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/calendar.js:217:15) at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/month_view_test.js:18:11) at callFn (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:223:21) at Test.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:216:7) at Runner.runTest (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:374:10) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:452:12 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:299:14) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:309:7 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:247:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:271:7 at done (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:185:5) at callFn (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:228:7) at Hook.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:216:7) at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:259:10) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:271:7 at done (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:185:5) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:199:9 at Object.executeHook (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:369:18) at process._tickCallback (node.js:415:13) 2) month view should show event dots: Error: timeout exceeded! at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:682:16) at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:650:60) at Object.View.waitForDisplay (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/views/view.js:43:24) at Object.Calendar.createEvent (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/calendar.js:217:15) at createEvent (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/month_view_test.js:103:11) at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/month_view_test.js:122:5) at callFn (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:223:21) at Test.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:216:7) at Runner.runTest (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:374:10) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:452:12 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:299:14) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:309:7 at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:247:23) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:271:7 at done (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:185:5) at callFn (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:228:7) at Hook.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:216:7) at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:259:10) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:271:7 at done (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:185:5) at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:199:9 at Object.executeHook (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:369:18) at process._tickCallback (node.js:415:13)
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
TBPL is currently closed so I am not sure if this is a gecko regression or what. Disabling from travis for the time being: https://github.com/mozilla-b2g/gaia/commit/cde26dc0df48b4d8f0a31e9a0bdfd7ebbec601c2
Keywords: leave-open
Comment 4•10 years ago
|
||
Could the apps/calendar/test/marionette/month_view_test.js test could work on TBPL?
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Evan Tseng [:evanxd][:愛聞插低] from comment #4) > Could the apps/calendar/test/marionette/month_view_test.js test could work > on TBPL? We will find out soon, the tree has been closed until now due to some build bustage.
Assignee | ||
Comment 6•10 years ago
|
||
I found out the reason why this test fails.. It's because builds executed close to 1am and the created events had the default reminder (5 minutes before event), so after the notification showed up it covered the "add event" button and only created the first 2 events.. the timeout happened at (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/calendar.js:217:15) which is `editEvent.waitForDisplay();` I figured it out by going thru the build history and checking the timestamp, the screenshot was also helpful since it showed only 2 "busy dots" when it should display 3 (since we create 5 events). passing `reminders: []` to the `createEvent` call or making no reminders the default, would solve this problem. - I'll to make "no reminders" the default since this kind of error is hard to catch locally and too easy to introduce, it's a time bomb waiting to happen.
Assignee: nobody → mmedeiros
Reporter | ||
Comment 7•10 years ago
|
||
Oh wow, nice find Miller. Thanks for investigating!
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8425024 -
Flags: review?(gaye)
Comment 9•10 years ago
|
||
Comment on attachment 8425024 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19396 r=me thanks Miller for investigating
Attachment #8425024 -
Flags: review?(gaye) → review+
Assignee | ||
Comment 10•10 years ago
|
||
re-enabled the tests! https://github.com/mozilla-b2g/gaia/commit/ea7ef11479a21c4a23ce9f96a3c54b165d605f6f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.0 S2 (23may)
Comment 11•6 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•