Closed Bug 793373 Opened 13 years ago Closed 12 years ago

B2G SMS: xpcshell test script test_ril_worker_sms.js fails

Categories

(Core :: DOM: Device Interfaces, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
blocking-basecamp -

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

Attachments

(4 files, 3 obsolete files)

test_ril_worker_sms.js has been broken for a long time. The first breakage, which can be fixed with a simple patch, was introduced in bug 712933 due to `message.body` being renamed to `message.fullBody`. The second major breakage was introduced in bug 744709 by bringing in Settings API into RadioInterfaceLayer's constructor.
Attached file error 1
Attached file error 2
Attached patch fix for error 1 (obsolete) — Splinter Review
Blocks: 806811
Assignee: nobody → vyang
Attachment #663660 - Attachment is obsolete: true
Attachment #681365 - Flags: review?(htsai)
We'll have to fix this to enable SMS parser test cases.
blocking-basecamp: --- → ?
Attachment #681365 - Flags: review?(htsai) → review+
Attachment #681366 - Flags: review?(htsai) → review+
Comment on attachment 681367 [details] [diff] [review] Part 3: fix test_ril_worker_sms.js test failed due to getting Settings service in RadioInterfaceLayer Review of attachment 681367 [details] [diff] [review]: ----------------------------------------------------------------- Yes, test passed! Thank you.
Attachment #681367 - Flags: review?(htsai) → review+
basecamp-. Please request Aurora approval to uplift.
blocking-basecamp: ? → -
Blocks: 810547
Try run for 22dc6aaf20d6 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=22dc6aaf20d6 Results (out of 306 total builds): success: 292 warnings: 12 failure: 2 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/vyang@mozilla.com-22dc6aaf20d6
Sorry, I forget its existence at all :S A super-tiny fix comes to my mind after bug 833697. We can simply skip the constructor of RadioInterfaceLayer and preserve everything other than the test case itself.
Attachment #681366 - Attachment is obsolete: true
Attachment #681367 - Attachment is obsolete: true
Attachment #717024 - Flags: review?(htsai)
Comment on attachment 717024 [details] [diff] [review] Part 2: don't call ctor of RIL in xpcshell tests Review of attachment 717024 [details] [diff] [review]: ----------------------------------------------------------------- Great catch!
Attachment #717024 - Flags: review?(htsai) → review+
Try run for 728a7669d105 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=728a7669d105 Results (out of 18 total builds): exception: 18 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/vyang@mozilla.com-728a7669d105
Reset platform to x86_64 linux because this bug only happens when we run B2G xpcshell test cases in desktop build.
OS: Gonk (Firefox OS) → Linux
Hardware: ARM → x86_64
(In reply to Mozilla RelEng Bot from comment #13) > Try run for 728a7669d105 is complete. > Results (out of 18 total builds): > exception: 18 Cancelled manually. A new run is available in https://tbpl.mozilla.org/?tree=Try&rev=55adef2232f7
Apparently somehow this breaks B2G ARM xpcshell tests. Since we have bug 775281, easy of use |test.sh xpcshell| script, been landed, this bug is no longer meaningful. Mark as WONTFIX.
Status: NEW → RESOLVED
Closed: 12 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: