sdl_core
sdl_core copied to clipboard
SDL calculates an erroneous timeout for VR and UI PerformInteraction requests
Bug Report
SDL calculates an erroneous timeout for VR and UI PerformInteraction requests
Precondition:
- SDL and HMI are started
- Mobile app is registered and activated
-
CreateInteractionChoiseSetwithVRcommand is added
Reproduction Steps
- Mobile app requests
PerformInteraction(BOTH)-> HMI does not send response toVRandUIpart - Mobile app requests
PerformInteraction(BOTH)-> HMI responds only toVR.PerformInteraction - Mobile app requests
PerformInteraction(VR_ONLY)-> HMI does not send response toVRandUIpart - Mobile app requests
PerformInteraction(VR_ONLY)-> HMI responds only toUI.PerformInteraction - Mobile app requests
PerformInteraction(MANUAL_ONLY)-> HMI does not send response toVRandUIpart - Mobile app requests
PerformInteraction(MANUAL_ONLY)-> HMI responds only toVR.PerformInteraction
Expected Behavior
- SDL starts
<default timeout> + <RPC timeout>for expectingVR.PerformInteraction(timeout forUI.PerformInteractionshould be started only after receiving response toVRpart ) -> SDL sendsPerformInteractionresponse to mobile app in<default timeout>+<RPC timeout> - SDL starts
<default timeout> + <RPC timeout>for expectingUI.PerformInteractionafter receivingVR.Performinteractionresponse -> SDL sendsPerformInteractionresponse to mobile app in<default timeout> + <RPC timeout> + <time to send VR.PerformIniteraction>
3.4. SDL starts <default timeout> + <RPC timeout> for expecting VR.PerformInteraction -> SDL sends PerformInteraction response to mobile app in <default timeout> + <RPC timeout>

5.6. SDL starts <default timeout> + <RPC timeout> for expecting UI.PerformInteraction -> SDL sends PerformInteraction response to mobile app in <default timeout> + <RPC timeout>

Observed Behavior
- SDL has never answers to current and all next
PerformInteractionrequests without responses from HMI - SDL starts
<default timeout>+2*<RPC timeout>for expectingUI.PerformInteraction - SDL starts
<default timeout>+2*<RPC timeout>for expectingVR.PerformInteraction - SDL starts
<default timeout>+2*<RPC timeout> + <time to send UI.PerformIniteraction>for expectingVR.PerformInteraction
OS & Version Information
- OS/Version: Ubuntu 18.04
- SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (https://github.com/smartdevicelink/sdl_core/commit/65947fd1eb30a392948d67003df0fe803c070c6b)
- Scripts: https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2670