Skip to content

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

Description

@GetmanetsIrina

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions