Closed Bug 985237 Opened 10 years ago Closed 10 years ago

Intermittent jspinyin_test.js | jspinyin deactivate (save indexedDB failed) | TypeError: procFunction is undefined (http://keyboard.gaiamobile.org:8080/js/imes/jspinyin/worker.js:15)

Categories

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

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S1 (9may)

People

(Reporter: KWierso, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [test-disabled])

https://tbpl.mozilla.org/php/getParsedLog.php?id=36363852&tree=B2g-Inbound
slave: tst-linux64-spot-498


17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin empty
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin input the phrase in userdict from indexedDB
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin create new phrase into userdict
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin input the phrase in userdict that we just created
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin click backspace to clear pendingSymbols
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin switch to symbol layout
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin click a symbol
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin switch to pinyin layout
17:14:26     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin setLayoutPage
17:14:27     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin deactivate
17:14:27     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin uninit
17:14:28     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin activate (open indexedDB failed)
17:14:28     INFO -  gaia-unit-tests TEST-PASS  | keyboard/test/unit/jspinyin_test.js | jspinyin activate (load indexedDB failed)
17:14:29     INFO -  gaia-unit-tests TEST-UNEXPECTED-FAIL | keyboard/test/unit/jspinyin_test.js | jspinyin deactivate (save indexedDB failed) | TypeError: procFunction is undefined (http://keyboard.gaiamobile.org:8080/js/imes/jspinyin/worker.js:15)
17:14:29     INFO -  gaia-unit-tests INFO       | stack trace:
17:14:29     INFO -      Error: TypeError: procFunction is undefined (http://keyboard.gaiamobile.org:8080/js/imes/jspinyin/worker.js:15)
17:14:29     INFO -          at onerror (http://keyboard.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959:7)
17:14:29     INFO -  gaia-unit-tests TEST-END   | keyboard/test/unit/jspinyin_test.js | jspinyin
17:14:29     INFO -  gaia-unit-tests TEST-END   | keyboard/test/unit/jspinyin_test.js |
17:14:29     INFO -  gaia-unit-tests INFO       | suite results (pass/fail): 23/1
17:14:29     INFO -  JavaScript warning: http://video.gaiamobile.org:8080/common/vendor/chai/chai.js?time=1395188069648, line 1135: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
17:14:30     INFO -  gaia-unit-tests TEST-START | video/test/unit/thumbnail_item_test.js |
17:14:30     INFO -  gaia-unit-tests TEST-START | video/test/unit/thumbnail_item_test.js | Thumbnail Item Unit Tests
17:14:30     INFO -  gaia-unit-tests TEST-START | video/test/unit/thumbnail_item_test.js | #test object creation
17:14:30     INFO -  gaia-unit-tests TEST-PASS  | video/test/unit/thumbnail_item_test.js | Thumbnail Item Unit Tests #test object creation #empty video object
17:14:30     INFO -  gaia-unit-tests TEST-END   | video/test/unit/thumbnail_item_test.js | #test object creation
Going to try to disable this single test for now (instead of the entire file).

https://github.com/mozilla-b2g/gaia/commit/01fe45d91fdb4ae1e1e83a5c8b5fbb4efd3211f8

Needinfo? on luke so you are aware.
Flags: needinfo?(lchang)
Whiteboard: [test-disabled]
Oops, didn't realize so many different tests here were failing. I've disabled the entire file from TBPL for now: https://github.com/mozilla-b2g/gaia/commit/386b5478eb9c3970972966123517e993e8a1092a
https://hg.mozilla.org/mozilla-central/rev/4ca4284e6ce8
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S1 (9may)
Clearing ni? due to inactivity. We should re-enable the test, needs someone who will drive it though.
Flags: needinfo?(lchang)
I'm really sorry for my late reply because I was misunderstood about the "fixed" status of this bug. I will file another bug for re-enabling the test of jspinyin. Thank you for your help and sorry again to being late.
No problem, thanks Luke!
This test got accidentally re-enabled by bug 972210 because the path got changed and disabled.json never got updated. A push today (likely bug 1127429) perturbed it into failing again. Given it's previous status and discussion w/ mcmanus about the inherent raciness of the test, I've re-disabled it for now.

Master: https://github.com/mozilla-b2g/gaia/commit/4218ac24394a498e3a132a5ba18fcc38bff63545
You need to log in before you can comment on or make changes to this bug.