SDL calculates an erroneous timeout for VR and UIPerformInteraction requests
Precondition:
SDL and HMI are started
Mobile app is registered and activated
CreateInteractionChoiseSet with VR command is added
Reproduction Steps
Mobile app requests PerformInteraction(BOTH) -> HMI does not send response to VR and UI part
Mobile app requests PerformInteraction(BOTH) -> HMI responds only to VR.PerformInteraction
Mobile app requests PerformInteraction(VR_ONLY) -> HMI does not send response to VR and UI part
Mobile app requests PerformInteraction(VR_ONLY) -> HMI responds only to UI.PerformInteraction
Mobile app requests PerformInteraction(MANUAL_ONLY) -> HMI does not send response to VR and UI part
Mobile app requests PerformInteraction(MANUAL_ONLY) -> HMI responds only to VR.PerformInteraction
Expected Behavior
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>
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>
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 PerformInteraction requests without responses from HMI
SDL starts <default timeout>+2*<RPC timeout> for expecting UI.PerformInteraction
SDL starts <default timeout>+2*<RPC timeout> for expecting VR.PerformInteraction
SDL starts <default timeout>+2*<RPC timeout> + <time to send UI.PerformIniteraction> for expecting VR.PerformInteraction
Bug Report
SDL calculates an erroneous timeout for
VR
andUI
PerformInteraction
requestsPrecondition:
CreateInteractionChoiseSet
withVR
command is addedReproduction Steps
PerformInteraction(BOTH)
-> HMI does not send response toVR
andUI
partPerformInteraction(BOTH)
-> HMI responds only toVR.PerformInteraction
PerformInteraction(VR_ONLY)
-> HMI does not send response toVR
andUI
partPerformInteraction(VR_ONLY)
-> HMI responds only toUI.PerformInteraction
PerformInteraction(MANUAL_ONLY)
-> HMI does not send response toVR
andUI
partPerformInteraction(MANUAL_ONLY)
-> HMI responds only toVR.PerformInteraction
Expected Behavior
<default timeout> + <RPC timeout>
for expectingVR.PerformInteraction
(timeout forUI.PerformInteraction
should be started only after receiving response toVR
part ) -> SDL sendsPerformInteraction
response to mobile app in<default timeout>+<RPC timeout>
<default timeout> + <RPC timeout>
for expectingUI.PerformInteraction
after receivingVR.Performinteraction
response -> SDL sendsPerformInteraction
response to mobile app in<default timeout> + <RPC timeout> + <time to send VR.PerformIniteraction>
3.4. SDL starts
<default timeout> + <RPC timeout>
for expectingVR.PerformInteraction
-> SDL sendsPerformInteraction
response to mobile app in<default timeout> + <RPC timeout>
5.6. SDL starts
<default timeout> + <RPC timeout>
for expectingUI.PerformInteraction
-> SDL sendsPerformInteraction
response to mobile app in<default timeout> + <RPC timeout>
Observed Behavior
PerformInteraction
requests without responses from HMI<default timeout>+2*<RPC timeout>
for expectingUI.PerformInteraction
<default timeout>+2*<RPC timeout>
for expectingVR.PerformInteraction
<default timeout>+2*<RPC timeout> + <time to send UI.PerformIniteraction>
for expectingVR.PerformInteraction
OS & Version Information
Logs
Logs.zip