sdl_core icon indicating copy to clipboard operation
sdl_core copied to clipboard

SDL calculates an erroneous timeout for VR and UI PerformInteraction requests

Open GetmanetsIrina opened this issue 3 years ago • 0 comments

Bug Report

SDL calculates an erroneous timeout for VR and UI PerformInteraction requests

Precondition:
  1. SDL and HMI are started
  2. Mobile app is registered and activated
  3. CreateInteractionChoiseSet with VR command is added
Reproduction Steps
  1. Mobile app requests PerformInteraction(BOTH) -> HMI does not send response to VR and UI part
  2. Mobile app requests PerformInteraction(BOTH) -> HMI responds only to VR.PerformInteraction
  3. Mobile app requests PerformInteraction(VR_ONLY) -> HMI does not send response to VR and UI part
  4. Mobile app requests PerformInteraction(VR_ONLY) -> HMI responds only to UI.PerformInteraction
  5. Mobile app requests PerformInteraction(MANUAL_ONLY) -> HMI does not send response to VR and UI part
  6. Mobile app requests PerformInteraction(MANUAL_ONLY) -> HMI responds only to VR.PerformInteraction
Expected Behavior
  1. SDL starts <default timeout> + <RPC timeout> for expecting VR.PerformInteraction (timeout for UI.PerformInteraction should be started only after receiving response to VR part ) -> SDL sends PerformInteraction response to mobile app in <default timeout>+<RPC timeout>
  2. SDL starts <default timeout> + <RPC timeout> for expecting UI.PerformInteraction after receiving VR.Performinteraction response -> SDL sends PerformInteraction response to mobile app in <default timeout> + <RPC timeout> + <time to send VR.PerformIniteraction> PerformInteraction_BOTH_diagram

3.4. SDL starts <default timeout> + <RPC timeout> for expecting VR.PerformInteraction -> SDL sends PerformInteraction response to mobile app in <default timeout> + <RPC timeout> PerformInteraction_VR_ONLY_diagram

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

Observed Behavior
  1. SDL has never answers to current and all next PerformInteraction requests without responses from HMI
  2. SDL starts <default timeout>+2*<RPC timeout> for expecting UI.PerformInteraction
  3. SDL starts <default timeout>+2*<RPC timeout> for expecting VR.PerformInteraction
  4. SDL starts <default timeout>+2*<RPC timeout> + <time to send UI.PerformIniteraction> for expecting VR.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
Logs

Logs.zip

GetmanetsIrina avatar May 04 '22 12:05 GetmanetsIrina