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)
Tracking
()
RESOLVED
WONTFIX
| blocking-basecamp | - |
People
(Reporter: vicamo, Assigned: vicamo)
References
Details
Attachments
(4 files, 3 obsolete files)
|
2.95 KB,
text/plain
|
Details | |
|
710 bytes,
text/plain
|
Details | |
|
1.02 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
|
977 bytes,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•13 years ago
|
||
| Assignee | ||
Comment 2•13 years ago
|
||
| Assignee | ||
Comment 3•13 years ago
|
||
| Assignee | ||
Comment 4•12 years ago
|
||
Assignee: nobody → vyang
Attachment #663660 -
Attachment is obsolete: true
Attachment #681365 -
Flags: review?(htsai)
| Assignee | ||
Comment 5•12 years ago
|
||
Attachment #681366 -
Flags: review?(htsai)
| Assignee | ||
Comment 6•12 years ago
|
||
Attachment #681367 -
Flags: review?(htsai)
| Assignee | ||
Comment 7•12 years ago
|
||
We'll have to fix this to enable SMS parser test cases.
blocking-basecamp: --- → ?
Updated•12 years ago
|
Attachment #681365 -
Flags: review?(htsai) → review+
Updated•12 years ago
|
Attachment #681366 -
Flags: review?(htsai) → review+
Comment 8•12 years ago
|
||
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+
Comment 9•12 years ago
|
||
basecamp-. Please request Aurora approval to uplift.
blocking-basecamp: ? → -
Comment 10•12 years ago
|
||
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
| Assignee | ||
Comment 11•12 years ago
|
||
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 12•12 years ago
|
||
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+
Comment 13•12 years ago
|
||
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
| Assignee | ||
Comment 14•12 years ago
|
||
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
| Assignee | ||
Comment 15•12 years ago
|
||
(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
| Assignee | ||
Comment 16•12 years ago
|
||
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.
Description
•