Closed Bug 995800 Opened 10 years ago Closed 6 years ago

[Calendar] Intermittent failing test, configure CalDAV accounts

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kgrandon, Unassigned)

References

Details

(Keywords: leave-open)

Attachments

(2 files)

Seen this fail on travis a few times recently. I know we've done some work to fix this one recently, so maybe we're missing something. It looks like it's failing on the setup? 

configure CalDAV accounts "before each" hook:

Uncaught

Error: timeout exceeded!

at Object.Client.waitForSync (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:683:16)

at Object.Client.waitFor (/home/travis/build/mozilla-b2g/gaia/node_modules/marionette-client/lib/marionette/client.js:651:60)

at Object.Calendar.createCalDavAccount (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/calendar.js:157:17)

at /home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/caldav_test.js:27:11

at Object.<anonymous> (/home/travis/build/mozilla-b2g/gaia/apps/calendar/test/marionette/lib/radicale.js:76:13)

at /home/travis/build/mozilla-b2g/gaia/node_modules/empty-port/index.js:54:32

at Server.<anonymous> (/home/travis/build/mozilla-b2g/gaia/node_modules/empty-port/index.js:33:33)

at Server.g (events.js:180:16)

at Server.EventEmitter.emit (events.js:92:17)

at net.js:1052:10

at process._tickCallback (node.js:415:13)
Attached image screenshot.png
Also for what it's worth, this test *never* passes for me locally. I'm wondering if it's something with the radicale setup that's failing here?
Hi Kevin,

Before run the "configure CalDAV accounts" test, we need to run `make caldav-server-install` to install the caldav. And if there is no caldav server installed, the test will just be skipped.

Does "never pass" mean "always skip", or just always be failed on local?
For the screenshot, it looks like a CalDAV server issue. Somehow the Calendar app could not connect with the CalDAV server.
Assignee: nobody → evanxd
After gave it a try, the test could be passed on local.
Ok - so you think this is environmental then? I suppose we can just disable it if that's the case, I've just been seeing this fail a few times on travis recently.
And it also passes for me locally (I must've cleaned my local env and forgotten about the caldav installation step).

Anyway - I'm wondering if we should run this test 50 or so times with verbose output to see if we can get any useful logging when it fails. What do you think?
Blocks: 996413
Assignee: evan → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: