Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL calculates an erroneous timeout for VR and UI PerformInteraction requests #3914

Open
GetmanetsIrina opened this issue May 4, 2022 · 0 comments

Comments

@GetmanetsIrina
Copy link

GetmanetsIrina commented May 4, 2022

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
Logs

Logs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant