Closed
Bug 974731
Opened 11 years ago
Closed 11 years ago
Failing calendar marionette test create_event_test.js
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S3 (6june)
People
(Reporter: kgrandon, Assigned: mmedeiros)
References
Details
Attachments
(2 files)
This was disabled in bug 919066, then un-disabled but never fully tested-ran. Please run a minimum of 50 times before landing again.
1) creating an event "before each" hook:
Error: timeout exceeded!
at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:679:16)
at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:648:60)
at Object.Calendar.waitForMonthView (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/calendar.js:125:17)
at Context.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/create_event_test.js:36:9)
at Hook.Runnable.run (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runnable.js:211:32)
at next (/home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:257:10)
at /home/travis/build/mozilla-b2g/gaia/node_modules/mocha/lib/runner.js:269: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:197:9
at Object.executeHook (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18)
at process._tickCallback (node.js:415:13)
Updated•11 years ago
|
Assignee: nobody → gaye
Comment 1•11 years ago
|
||
kgrandon you will find this funny https://travis-ci.org/mozilla-b2g/gaia/builds/20557989
Reporter | ||
Comment 2•11 years ago
|
||
Amazing.
Assignee | ||
Comment 3•11 years ago
|
||
talked with Gareth on IRC. I did not test it, but based on the code I would investigate the `app.createEvent()` method. The code that checks if view is active looks for the `body[data-path]` and if the view element contains the class `.active`; the only way I can see that happening is if the `this.waitForElement('editEventSaveButton').click()` did not actually click the proper element or somehow the click got "lost" (maybe thread was blocked?)
suggestion to help debug it is to add some `console.log` to `calendar._isElementActive` and `calendar._isPath` to see what are the returned values. `body[data-path]` is supposed to always be in sync with the current view.
Comment 4•11 years ago
|
||
I've ran the setup block that timed out 750 times and it has only failed once, so I'm going to go ahead and re-enable. I think this is permissibly flaky, but let's keep an eye on it if these pop up again.
Comment 5•11 years ago
|
||
(750 times on travis that is)
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•11 years ago
|
||
I'm not sure if it's this bug, or the refactor, but I've seen this fail ~twice over the last two days. If it fails again we should disable it.
1) creating an event opening event in read view should display the created event in read view:
+ expected - actual
+03/25/2014
-03/26/2014
expected '03/26/2014' to equal '03/25/2014'
Comment 8•11 years ago
|
||
Thanks for pointing this out I'll take a look tomorrow
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 9•11 years ago
|
||
More failures, so disabling this test for now.
1) creating an event opening event in read view should display the created event in read view:
expected '' to equal 'Puppy Bowl dogefortlongtextfotestloremipsumdolorsitamet'
Disabled in master: https://github.com/mozilla-b2g/gaia/commit/6f196637a5090a5c5e517a48e2a20bf5871b451d
Assignee | ||
Comment 10•11 years ago
|
||
maybe related to https://bugzilla.mozilla.org/show_bug.cgi?id=988079 ?
Comment 11•11 years ago
|
||
Assignee | ||
Comment 12•11 years ago
|
||
since I'm already working on other marionette tests I'll go ahead and fix this one as well. That way Evan can write the new tests for Bug 963394 as soon as possible and we can hopefully land it till Friday.
Assignee: gaye → mmedeiros
Target Milestone: --- → 2.0 S3 (6june)
Assignee | ||
Comment 13•11 years ago
|
||
this should be pretty stable, executed 80+ times on Travis before doing the PR. see: https://travis-ci.org/millermedeiros/gaia/builds/26799663 (each TRY == 20 runs)
Attachment #8434512 -
Flags: review?(gaye)
Updated•11 years ago
|
Attachment #8434512 -
Flags: review?(gaye) → review+
Assignee | ||
Comment 14•11 years ago
|
||
landed into master! https://github.com/mozilla-b2g/gaia/commit/a88fa01e4c42736472a84159a7cf99c3420ececc
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-b2g-v2.0:
--- → affected
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Assignee | ||
Comment 18•11 years ago
|
||
Rudy, it's a different problem. Julien reported it today as well: https://bugzilla.mozilla.org/show_bug.cgi?id=1033232
Flags: needinfo?(mmedeiros)
Assignee | ||
Updated•11 years ago
|
status-b2g-v2.0:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•