Skip to content

SDL sends VR.GetLanguage 2 times in case HMI responds VR.IsReady with errorCode #2

Description

@KhrystynaDubovyk

Occurrence:
Always

Environment
Branch: https://github.com/smartdevicelink/sdl_core/
branch: "release/4.2.0"
commit id: 86d08a43d61634f3b9181e21638541f6fbdf05cc
HMI: N/A
ATF version: v2.2 (962e1eff8664d97af5e59ec4e22f39b9ea76f5eb)
OS: Ubuntu 14.04 LTS

Steps to reproduce:

  1. SDL is started
  2. HMI is started with VR.IsReay(available = false). Other interfaces are supported.

Actual result:
SDL sends VR.GetLanguage 2 times to HMI.
The same problem with VR.GetCapabilities, VR.GetSupportedLanguages.
HMI log
Expected result:
SDL sends VR.GetLanguage only 1 time to HMI.
The same behaviors for VR.GetCapabilities, VR.GetSupportedLanguages.
Note:

    To reproduce attached ATF script:
    1. clone https://github.com/CustomSDL/sdl_atf_test_scripts/ repository
    2. Goto cloned repo, in config.py of specify
     sdl_repository = "https://github.com/CustomSDL/sdl_core/"
     sdl_branch = "release/4.2.0",
     commit id: "86d08a43d61634f3b9181e21638541f6fbdf05cc"

    atf_repository = "https://github.com/smartdevicelink/sdl_atf/"
    atf_branch = "962e1eff8664d97af5e59ec4e22f39b9ea76f5eb"

    3. sudo apt-get install libexpat1-dev openssh-server libgl1-mesa-dev
    4.sudo add-apt-repository ppa:ubuntu-toolchain-r/test
    5 ./setup_env.sh
    6. fab -H localhost prepare
    7. Goto ~/SmartDeviceLinkCore/test_run
    8. Copy script to ATF build (~/SmartDeviceLinkCore/test_run/test_scripts/) 
    9. ./start.sh  <path to script>
 --sdl_core <path to sdl bin folder>/

Attachments :
KhrystynaDubovyk@8eb63ab

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions