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 doesn't send info parameter when result of ResetGlobalProperties is GENERIC_ERROR #1016

Closed
6 of 9 tasks
KhrystynaDubovyk opened this issue Nov 7, 2016 · 1 comment
Closed
6 of 9 tasks
Labels
Projects

Comments

@KhrystynaDubovyk
Copy link

KhrystynaDubovyk commented Nov 7, 2016

Occurrence

Always.

Preconditions

  1. HMI and SDL are running.
  2. Register a new application.
  3. Send ResetGlobalProperties from mobile:
    -> SDL sends to HMI UI.SetGlobalProperties request - OK
    -> SDL sends to HMI TTS.SetGlobalProperties request - OK

Steps to reproduce

  1. Do not send HMI response of UI.SetGlobalProperties OR TTS.SetGlobalProperties OR to both.
  2. Wait timeout of RPC to expire.

Expected result

According to requirement:

In case SDL splits the request from mobile app to one and/or more HMI interfaces
and at least one of the interfaces does not respond during SDL`s watchdog (important note: this component is working and has responded to previous RPCs),
SDL must:
return "GENERIC_ERROR, success: false" result to mobile app
include appropriate description into "info" parameter.
Information: template for "info" parameter in terms of the requirement: "'%interface-name%' component does not respond". (interface - UI, TTS, VR, Navigation, Buttons)

SDL shall return to mobile "GENERIC_ERROR, success: false" with "info" parameter in terms of the requirement: "'%component-name%' component does not respond".

Actual result

SDL returns to mobile "GENERIC_ERROR, success: false" WITHOUT "info parameter".

Environment

SDL branch: a6c32b4
HMI: HTML5
ATF version: 2.2
ATF repo: https://github.com/smartdevicelink/sdl_atf/
ATF branch: 962e1eff8664d97af5e59ec4e22f39b9ea76f5eb
Scripts repo: https://github.com/CustomSDL/sdl_atf_test_scripts/tree/OS_DRAFT
Scripts branch: 18cce42
OS: Ubuntu 14.04.01
Transport: Wi-Fi
Mobile device: -
Mobile OS: -
Mobile App version: -
Mobile App type (media/non-media/navi/any): any
Virtual Machine using (yes/no): no

Attachments

ayy_issue#1016.zip

Expected delivery

  • Source code updates 
  • Code comments 
  • UTs add/update 
  • ATF tests add/update (not required) 
  • Manual tests (not required) 
  • Add/update CI plans/jobs (not required) 
  • SDD updates (not required) 
  • Guidelines update (sdl_core_guides(not required) 
  • Guidelines update (sdl_hmi_integration_guidelines) (not required)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
4.5.0
Completed Bug Fixes
Development

No branches or pull requests

4 participants