Closed Bug 1125753 Opened 9 years ago Closed 9 years ago

Fix broken Gaia Keyboard Build Integration Tests

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.2 S5 (6feb)

People

(Reporter: mnjul, Assigned: mnjul)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1125703 +++

Two keyboard build integration test failures are currently disabled, as of bug 1125703, due to false positive of Gb as described bug 1119731 comment 3:

TEST-UNEXPECTED-FAIL | apps/keyboard/test/build/integration/keyboard_test.js | Keyboard layouts building tests APP=keyboard GAIA_KEYBOARD_LAYOUTS=* GAIA_KEYBOARD_PRELOAD_DICT_LAYOUTS=* make
AssertionError: Checking js/settings/dictionaries.json in /builds/slave/test/gaia/profile/webapps/keyboard.gaiamobile.org/application.zip: expected [ Array(56) ] to deeply equal [ Array(54) ]

TEST-UNEXPECTED-FAIL | apps/keyboard/test/build/integration/keyboard_test.js | Keyboard layouts building tests APP=keyboard GAIA_KEYBOARD_LAYOUTS=noPreloadDictRequired GAIA_KEYBOARD_PRELOAD_DICT_LAYOUTS="" make
AssertionError: Checking js/settings/dictionaries.json in /builds/slave/test/gaia/profile/webapps/keyboard.gaiamobile.org/application.zip: expected [ Array(52) ] to deeply equal [ Array(50) ]

This bug deals with fixing the failures.
See Also: → 1125703
Attached file Patch (PR @ GitHub)
Turns out that the addition of `en-Africa`, `wo`, and `th` layouts broke the tests. We need to fix some json data that the test script expects.

Tim, please check this out or see if you want to re-delegate this to Rudy, thanks!
Assignee: nobody → jlu
Status: NEW → ASSIGNED
Attachment #8555787 - Flags: review?(timdream)
Assignee: jlu → nobody
No longer blocks: 844717, 1122328
Status: ASSIGNED → NEW
Whiteboard: [p=1]
Target Milestone: --- → 2.2 S5 (6feb)
Oops... mis-pressed mid-air collision button
Assignee: nobody → jlu
Blocks: 844717, 1122328
Status: NEW → ASSIGNED
Attachment #8555787 - Flags: review?(timdream) → review+
Hi George,

As per offline discussion we'll land this patch first. I'm still waiting for retriggers of Gij-10. However I'm already seeing other Gb failures popping up -- please see https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=37c94590b275 -- I'd like to make sure that those failures are what you talked about just a few moments ago, and that I'm still greenlighted to land my patch.

Thanks a lot for your assistance!
Flags: needinfo?(gduan)
Those failures are mostly intermittent failures of Gb and they should not be related to your keyboard app's build test. I just land bug 1119731 which will turn Gb to red and then we can file bugs to trace them.

Feel free to file bug on build component!
Flags: needinfo?(gduan)
Thanks George!

Retriggers are green and the patch has landed on master: https://github.com/mozilla-b2g/gaia/commit/d4b4bb70cef719b39fea8d9d618d2f9a8c11e647
Oops, forgot to change bug status.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: