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 does not send SubscribeButton request if HMI responds to UnsubscribeButton request once default timeout expires #3860

Open
VjKlepikov opened this issue Feb 15, 2022 · 1 comment
Labels

Comments

@VjKlepikov
Copy link

VjKlepikov commented Feb 15, 2022

Bug Report

SDL does not send SubscribeButton request if HMI responds to UnsubscribeButton request once default timeout expires

Occurrences:

Rare ~1%

Reproduction Steps
  1. Mobile app is subscribed for "button"
  2. Mobile app requests UnsubscribeButton("button")
  3. SDL sends Buttons.UnsubscribeButton("button", appId) to HMI
  4. HMI does not respond during default timeout
  5. SDL responds UnsubscribeButton(GENERIC_ERROR) to mobile app
  6. HMI sends Buttons.UnsubscribeButton(SUCCESS) to SDL
Expected Behavior

SDL sends Buttons.SubscribeButton("button", appId) to HMI
receive response Buttons.SubscribeButton(SUCCESS) and keep actual subscribed state for
SDL does not send SubscribeButton response to mobile app

Observed Behavior

SDL does not send Buttons.SubscribeButton ("button", appId) to HMI

OS & Version Information
Test Case, Sample Code, and / or Example App

Test scripts: ./test_scripts/API/ButtonSubscription/SubscribeButton_UnsubscribeButton/004_UnsubscribeButton_SDL_send_SubscribeButton_after_Unsubscribe_SUCCESS_timeout.lua

Logs: Logs.tar.gz

@VjKlepikov
Copy link
Author

Please notice this is a non-regression issue. It's also reproduced on 8.0

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

No branches or pull requests

2 participants