Closed
Bug 875677
Opened 12 years ago
Closed 12 years ago
[Buri][BT][PTS][HFP] Bluetooth certification test case TC_AG_TWC_BV_05_I failed (Needs to follow HFP 1.6 not HFP 1.5)
Categories
(Firefox OS Graveyard :: Bluetooth, defect, P1)
Tracking
(blocking-b2g:tef+, firefox22 wontfix, firefox23 wontfix, firefox24 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed, b2g-v1.1hd fixed)
People
(Reporter: sync-1, Assigned: echou)
References
Details
(Whiteboard: [fixed-in-birch][status: landed])
Attachments
(6 files, 3 obsolete files)
4.97 MB,
application/octet-stream
|
Details | |
70.16 KB,
text/plain
|
Details | |
488.05 KB,
application/x-zip-compressed
|
Details | |
610.51 KB,
text/plain
|
Details | |
5.63 KB,
patch
|
Details | Diff | Splinter Review | |
5.70 KB,
patch
|
Details | Diff | Splinter Review |
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.111
Firefox os v1.0.1
Mozilla build ID:20130518070208
+++ This bug was initially created as a clone of Bug #457697 +++
DEFECT DESCRIPTION:
The 3 HFP cases failed
REPRODUCING PROCEDURES:
TC_AG_TCA_BV_01_I :first prompt close the SCO connection between IUT and
PTS,when I press speaker icon,the call will auto end itself.
TC_AG_TCA_BV_04_I:PTS show first prompt is :close the SCO,but have no any
prompt to have a call before,so can not do this case.
TC_AG_TWC_BV_05_I:The second time IUT dial a call(TSPX_Second phone number),it
will auto end,then the case end.
EXPECTED BEHAVIOUR:
The all supported HFP cases pass
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
5/5
For FT PR, Please list reference mobile's behavior:
++++++++++ end of initial bug #457697 description ++++++++++
CONTACT INFO (Name,Phone number):
DEFECT DESCRIPTION:
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Assignee: nobody → shuang
For TC_AG_TWC_BV_05_I. Please refer to Bug 875677 and discussion in Bug 828804.
(In reply to Shawn Huang from comment #9)
> For TC_AG_TWC_BV_05_I. Please refer to Bug 875677 and discussion in Bug
> 828804.
typo: Please refer to Bug 875686.
TC_AG_TCA_BV_04_I:PTS show first prompt is :close the SCO,but have no any
prompt to have a call before,so can not do this case.
Go to Settings and disconnect bluetooth device, PTS can pass.
TC_AG_TCA_BV_01_I:
I cannot reproduce this bug. And press speaker icon shall not end the call. Can you provide more information? From sniffer, i can only see verdict as none.
Please feedback question on Comment 11 and 12. Especially, Comment 12, I also try your buri. And I cannot reproduce this bug.
Flags: needinfo?(sync-1)
Comment 14•12 years ago
|
||
(In reply to Shawn Huang from comment #13)
> Please feedback question on Comment 11 and 12. Especially, Comment 12, I
> also try your buri. And I cannot reproduce this bug.
Hi Shawn,
It's the reporter's default,TC_AG_TCA_BV_01_I and TC_AG_TCA_BV_04_I can pass now,about TC_AG_TWC_BV_05_I, maybe we need to wait for the patch of 875686,and I'll nominate 875686 as 'tef?'.
Thanks for your support.
Flags: needinfo?(sync-1)
Updated•12 years ago
|
blocking-b2g: --- → tef?
Comment 15•12 years ago
|
||
Can somebody explain the exact user scenarios that are impacted here?
Hi Cheng-An, XIONG,
TC_AG_TCA_BV_04_I:
We found it's a valid bug. Patch is in Bug 875719. And this patch needs to go into v1.0.1. Although tester can pass this case by a tricky way to operate as Comment 11 depicted. But that's not a correct to do it. The impact of the bug mentioned in Bug 875719. Please refer it.
Flags: needinfo?(chengan.xiong)
Comment 17•12 years ago
|
||
Test case : TC_AG_TWC_BV_05_I started
- SDP Service record for PTS: 'Handsfree HF' successfully registered
- The IUT claims support for the following eSCO LMP packet types: EV3,
2-EV3,
- AT: SPP connect succeeded
- AT: Service Level Connection established
- AT: post SLC command sequence complete
- AT: RING
- AT: Received +CLIP: "02161460666",129
- HCI: Audio Connection enabled
- AT: Incoming call established
- MTC: Call established by tester
- unexpected second call completion (second outgoing call)
- FATAL ERROR (AT): (callsetup=2) received when (call=1), (callheld=1),
and there is no second outgoing call process.
- FATAL ERROR (AT): callsetup=0 received when there is a held call, and
active call, but no previously initiated CHLD action.
- HCI: Audio Connection disabled
- AT: SPP disconnect succeeded
- MTC: Test case ended
Final Verdict : Inconclusive
TC_AG_TCA_BV_05_I 的問題是符合HFP 1.5 Spec.測試結果是在此處:
+CIEV: 3,1 (callheld=1)
+CIEV: 4,2 (callsetup=2)
判定fail. 應該是PTS測試工具的問題
Assignee | ||
Comment 18•12 years ago
|
||
> TC_AG_TCA_BV_05_I 的問題是符合HFP 1.5 Spec.測試結果是在此處:
> +CIEV: 3,1 (callheld=1)
> +CIEV: 4,2 (callsetup=2)
> 判定fail. 應該是PTS測試工具的問題
Let me translate it to English:
The implementation follows HFP 1.5 spec correctly, but the test case TC_AG_TCA_BV_05_I still fails. Therefore we think it should be a issue of PTS.
Flags: needinfo?(chengan.xiong)
Comment 19•12 years ago
|
||
What is the conclusion here? Do we need to change anything in our implementation to pass BT certification?
Flags: needinfo?(echou)
Whiteboard: [tef-triage]
Reporter | ||
Comment 20•12 years ago
|
||
Comment from Mozilla:What is the conclusion here? Do we need to change anything in our implementation to pass BT certification?
Assignee | ||
Comment 21•12 years ago
|
||
Two of these three test cases could be passed with current implementation per comment 14.
About test case TC_AG_TWC_BV_05_I, we followed HFP spec 1.5 and implementation has been done for a long time. However, our partners told us that our code couldn't pass Bluetooth certification.
After investigation, we finally came up with a conclusion: it's a known issue of HFP 1.5, and it has been revised in HFP 1.6. There is an official errata which records the whole problem and the discussion. (https://www.bluetooth.org/errata/errata_view.cfm?errata_id=2459)
We should fix this, and I'll provide a patch today. Nominate as tef+ since it blocks Bluetooth certification.
Assignee: shuang → echou
Flags: needinfo?(echou)
Assignee | ||
Updated•12 years ago
|
Summary: [Buri][BT][PTS][HFP]Three HFP cases failed → [Buri][BT][PTS][HFP] Bluetooth certification test case TC_AG_TWC_BV_05_I failed (Needs to follow HFP 1.6 not HFP 1.5)
Assignee | ||
Updated•12 years ago
|
Component: Gaia::Bluetooth File Transfer → Bluetooth
Assignee | ||
Comment 22•12 years ago
|
||
The behavior of handling held calls is different between HFP 1.5 and HFP 1.6. In order to pass certification, we have to follow the mechanism defined in HFP 1.6.
Attachment #756420 -
Flags: review?(gyeh)
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Comment 23•12 years ago
|
||
Comment on attachment 756420 [details] [diff] [review]
patch 1: v1: Modify the logic of sending 'callheld' indicator to fit HFP 1.6
Review of attachment 756420 [details] [diff] [review]:
-----------------------------------------------------------------
The patch seems reasonable to me. Thanks for your effort.
::: dom/bluetooth/BluetoothHfpManager.cpp
@@ +1343,5 @@
> UpdateCIND(CINDType::CALLSETUP, CallSetupState::NO_CALLSETUP, aSend);
> +
> + if (FindFirstCall(nsIRadioInterfaceLayer::CALL_STATE_HELD)) {
> + UpdateCIND(CINDType::CALLHELD, CallHeldState::ONHOLD_ACTIVE, aSend);
> + }
I would suggest to combine the logic here with the following case of CALL_STATE_HELD becausewe will call FindFirstCall(CALL_STATE_HELD) in both cases. And, we also handle held calls separately whenever there's a disconnected call.
Attachment #756420 -
Flags: review?(gyeh) → review+
Please let me know the final patch is upload, i will verify it again.
Comment 26•12 years ago
|
||
batch update on tef+ milestones. partner to make a final on 6/3 Asia time. TEF+ needs to be resolved by 6/3 to be in the final build. thanks
Target Milestone: --- → 1.0.1 IOT3 (3jun)
Assignee | ||
Comment 27•12 years ago
|
||
* b2g18-specific patch
Assignee | ||
Comment 28•12 years ago
|
||
* m-c patch
Assignee | ||
Updated•12 years ago
|
Attachment #756549 -
Attachment is obsolete: true
Assignee | ||
Comment 30•12 years ago
|
||
Whiteboard: [tef-triage] → [fixed-in-birch]
Assignee | ||
Comment 31•12 years ago
|
||
* updated b2g18-speficic patch
Attachment #756546 -
Attachment is obsolete: true
Updated•12 years ago
|
status-b2g18:
--- → ?
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → ?
status-b2g-v1.1hd:
--- → ?
Updated•12 years ago
|
Whiteboard: [fixed-in-birch] → [fixed-in-birch][status: uplift needed]
Updated•12 years ago
|
Flags: needinfo?(ryanvm)
Updated•12 years ago
|
Assignee | ||
Comment 32•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-birch][status: uplift needed] → [fixed-in-birch][status: landed, uplift needed]
Assignee | ||
Comment 33•12 years ago
|
||
backed out due to build break:
https://hg.mozilla.org/mozilla-central/rev/d87eaee61930
Assignee | ||
Comment 34•12 years ago
|
||
Root cause: applied the previous version of patch.
I'll wait for m-c becoming all green and apply patch again.
Assignee | ||
Comment 35•12 years ago
|
||
Resend to m-c:
https://hg.mozilla.org/mozilla-central/rev/6edffc15e2dc
Assignee | ||
Comment 36•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/4785b1353fd7
https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/42555e1e72fa
Whiteboard: [fixed-in-birch][status: landed, uplift needed] → [fixed-in-birch][status: landed]
Comment 37•12 years ago
|
||
(In reply to Eric Chou [:ericchou] [:echou] (6/25 ~ 28 @ Shanghai, GSMA MAE) from comment #33)
> backed out due to build break:
>
> https://hg.mozilla.org/mozilla-central/rev/d87eaee61930
Why exactly did you land this on m-c separately if it was already on birch? It would have been merged over eventually anyway and would have saved the bustage and churn...
Flags: needinfo?(ryanvm)
Assignee | ||
Comment 38•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #37)
> (In reply to Eric Chou [:ericchou] [:echou] (6/25 ~ 28 @ Shanghai, GSMA MAE)
> from comment #33)
> > backed out due to build break:
> >
> > https://hg.mozilla.org/mozilla-central/rev/d87eaee61930
>
> Why exactly did you land this on m-c separately if it was already on birch?
> It would have been merged over eventually anyway and would have saved the
> bustage and churn...
Sorry, I don't understatnd the whole process very well. So, if I want to get the patch which has been already in birch merged into b2g18 and v1_0_1, I don't need to care about whether it's in m-c or not, right?
Assignee | ||
Comment 39•12 years ago
|
||
Comment 40•12 years ago
|
||
(In reply to Eric Chou [:ericchou] [:echou] (6/25 ~ 28 @ Shanghai, GSMA MAE) from comment #38)
> Sorry, I don't understatnd the whole process very well. So, if I want to get
> the patch which has been already in birch merged into b2g18 and v1_0_1, I
> don't need to care about whether it's in m-c or not, right?
Normally you would land on birch and birch would then be merged to m-c. The uplifts to b2g18* are typically after it lands on m-c, but we've bent the rules in the past for urgent ones (like this one must have been if it couldn't even wait until after the weekend was over).
Assignee | ||
Comment 41•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #40)
> (In reply to Eric Chou [:ericchou] [:echou] (6/25 ~ 28 @ Shanghai, GSMA MAE)
> from comment #38)
> > Sorry, I don't understatnd the whole process very well. So, if I want to get
> > the patch which has been already in birch merged into b2g18 and v1_0_1, I
> > don't need to care about whether it's in m-c or not, right?
>
> Normally you would land on birch and birch would then be merged to m-c. The
> uplifts to b2g18* are typically after it lands on m-c, but we've bent the
> rules in the past for urgent ones (like this one must have been if it
> couldn't even wait until after the weekend was over).
Oh, I know the whole birch->m-c->b2g18* process. In fact, the urgent case you mentioned is exactly where I was, and that's why I was trying to merge these two bugs into v1_0_1 in a rush. So, my question is, if I have to make the patch which has been on birch already land on b2g18*, all I have to do is check it into b2g18* but not check into m-c. Is that correct?
Comment 42•12 years ago
|
||
If it's green on birch, you can just land directly on b2g18* in a pinch, yes. Keep in mind that you'll need to watch your push per the tree rules (especially important in this case since birch has reduced builds/tests compared to m-c and b2g18*). Please leave the m-c landing for birch merges only. Also, I'm handling the v1.1hd landings by merging b2g18 over, so you don't need to worry about landing there directly.
Assignee | ||
Comment 43•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #42)
> If it's green on birch, you can just land directly on b2g18* in a pinch,
> yes. Keep in mind that you'll need to watch your push per the tree rules
> (especially important in this case since birch has reduced builds/tests
> compared to m-c and b2g18*). Please leave the m-c landing for birch merges
> only. Also, I'm handling the v1.1hd landings by merging b2g18 over, so you
> don't need to worry about landing there directly.
Very clear. Thank you, Ryan.
Comment 44•12 years ago
|
||
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•