Closed
Bug 1115083
Opened 10 years ago
Closed 7 years ago
Intermittent day_observer_test.js | day_observer cached #on: yesterday + persist + remove + visibility - AssertionError: expected 1 to equal 2 (:0)
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Firefox OS Graveyard
Gaia::Calendar
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: RyanVM, Assigned: mmedeiros)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
07:45:34 INFO - TEST-START | calendar/test/unit/day_observer_test.js
07:45:34 INFO - TEST-INFO | calendar/test/unit/day_observer_test.js | log: app [calendar] "Configure calendar with db and router."
07:45:34 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer empty cache #on: today
07:45:34 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer empty cache #findAssociated
07:45:34 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer cached #on: today
07:45:34 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer cached #on: tomorrow
07:45:34 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer cached #on: yesterday
07:45:34 INFO - JavaScript error: , line 0: AssertionError: expected 1 to equal 2
07:45:34 INFO - TEST-UNEXPECTED-FAIL | calendar/test/unit/day_observer_test.js | day_observer cached #on: yesterday + persist + remove + visibility - AssertionError: expected 1 to equal 2 (:0)
07:45:34 INFO - Error: AssertionError: expected 1 to equal 2 (:0)
07:45:34 INFO - at onerror (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4959:10)
07:45:34 INFO - TEST-PASS | calendar/test/unit/day_observer_test.js | day_observer cached #findAssociated
07:45:34 INFO - TEST-OK | calendar/test/unit/day_observer_test.js | took 594ms
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 2•10 years ago
|
||
Is ay_observer the Fonzie test?
Summary: Intermittent ay_observer_test.js | day_observer cached #on: yesterday + persist + remove + visibility - AssertionError: expected 1 to equal 2 (:0) → Intermittent day_observer_test.js | day_observer cached #on: yesterday + persist + remove + visibility - AssertionError: expected 1 to equal 2 (:0)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 56•10 years ago
|
||
going to fix this today... getting mad with all the notifications on my email.
`busytimeStore.persist` can take way longer than expected on gaia-try so `dayObserver.on` callback might be triggered between 2 `persist` calls.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mmedeiros
Comment 57•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8552630 -
Flags: review?(gaye)
Comment 58•10 years ago
|
||
Comment on attachment 8552630 [details] [review]
[PullReq] millermedeiros:1115083-intermittent-day-observer-test to mozilla-b2g:master
Feel free to land when CI goes green.
Attachment #8552630 -
Flags: review?(gaye) → review+
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 62•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/a46c35b2c902f000b4dc2fb393387e6d4434d4a0
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 68•10 years ago
|
||
The commit for comment 62 has merged around but we're still hitting this.
Status: RESOLVED → REOPENED
Flags: needinfo?(mmedeiros)
Resolution: FIXED → ---
Assignee | ||
Comment 69•10 years ago
|
||
the error now is a little bit different.. before it was "expected 1 to equal 2" now it is "expected 2 to equal 1".... so I'll need to add the same hack to each one of the steps (everything is async and events might get fired at weird timing on gaia-try because db is slower...)
Flags: needinfo?(mmedeiros)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 103•9 years ago
|
||
Can we just disable this test already?
Flags: needinfo?(mmedeiros)
Assignee | ||
Comment 104•9 years ago
|
||
RyanVM, this test was supposed to be disabled since Feb 2: https://github.com/mozilla-b2g/gaia/commit/3f55ab2669f13d0172b7fcc5105ed55e0ab6e33b#diff-ee20aa35354a2b3caa315a985cb392f0
if `dayObserver` is broken all the views won't display the events, so it's very unlikely that we will introduce unnoticed regressions here... and marionette tests already checks the basic features (deleting events, adding events, modifying events..)
maybe one day I find the time to write the proper unit tests. this was failing because we should be using mocks since the beginning for the database calls. We'll replace the DB logic in the next couple months, so maybe after that we can revisit this.
Flags: needinfo?(mmedeiros)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 109•7 years ago
|
||
Closing all intermittent test failures for Firefox OS (since we're not focusing on it anymore).
Please reopen if my search included your bug by mistake.
Comment 110•7 years ago
|
||
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Closed: 10 years ago → 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•