Closed Bug 989974 Opened 10 years ago Closed 10 years ago

Intermittent failing unit test, system/HardwareButtons press and hold home (screen enabled)

Categories

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

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: timdream)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Noticed this test was intermittent on travis.

[system] system/HardwareButtons press and hold home (screen enabled):

Error: expected false to be true

at chaiAssert (http://system.gaiamobile.org:8080/common/test/helper.js:33:1)

at get (http://system.gaiamobile.org:8080/common/vendor/chai/chai.js:374:1)

at isTrue (http://system.gaiamobile.org:8080/common/vendor/chai/chai.js:1367:5)

at (anonymous) (http://system.gaiamobile.org:8080/test/unit/hardware_buttons_test.js:257:5)

at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:62:13)

at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)

at runTest (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007:7)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964:16)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979:7)

at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9)

at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46:13)

at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73:15)

at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979:7)

at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9)

at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46:13)

at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73:15)

at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932:28)
Flags: needinfo?(timdream)
Another intermittent test has been disabled.

https://github.com/mozilla-b2g/gaia/commit/6040687a32fee17303053faf1ab33fda2e191604

8864 passing (10s)

1 failing

1) [system] system/HardwareButtons press and release sleep (screen enabled):

Error: expected false to be true

at chaiAssert (http://system.gaiamobile.org:8080/common/test/helper.js:33:1)

at get (http://system.gaiamobile.org:8080/common/vendor/chai/chai.js:374:1)

at isTrue (http://system.gaiamobile.org:8080/common/vendor/chai/chai.js:1367:5)

at (anonymous) (http://system.gaiamobile.org:8080/test/unit/hardware_buttons_test.js:120:5)

at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:62:13)

at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)

at runTest (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007:7)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964:16)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979:7)

at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9)

at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46:13)

at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73:15)

at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3979:7)

at done (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3700:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3712:9)

at (anonymous) (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:46:13)

at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:73:15)

at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)

at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984:5)

at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932:28)
I am testing this on Travis-CI now.

Kevin, what can I do to address this on TBPL?
Assignee: nobody → timdream
Status: NEW → ASSIGNED
Flags: needinfo?(timdream) → needinfo?(kgrandon)
I didn't notice any specific errors on TBPL - so I would assume that if you take care of the intermittent issues on Travis we should be good to go.
Flags: needinfo?(kgrandon)
Comment on attachment 8403785 [details] [review]
mozilla-b2g:master PR#18101

It's green across the board.

https://travis-ci.org/mozilla-b2g/gaia/builds/22587081

r? to you. Obviously I am going to land only the first commit.
Attachment #8403785 - Flags: review?(kgrandon)
Comment on attachment 8403785 [details] [review]
mozilla-b2g:master PR#18101

It is possible that these are now fixed due to the fact that we now sandbox unit tests on travis. Perhaps some other thing in the system app was causing these to fail intermittently before. 20 runs seems good enough to me, so let's land for now and if we see a failure we can investigate further. Thanks!
Attachment #8403785 - Flags: review?(kgrandon) → review+
master: https://github.com/mozilla-b2g/gaia/commit/4bd5b516dbf6d6cd7314d85d263e2351bac2b351
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: