{"action":"created","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1011","repository_url":"https://api.github.com/repos/smartdevicelink/sdl_core","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1011/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1011/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1011/events","html_url":"https://github.com/smartdevicelink/sdl_core/issues/1011","id":187782600,"number":1011,"title":"Communication is not saved in SmartDeviceLinkCore.log after adding persistent data after SUSPEND","user":{"login":"DrachenkoAnastasiia","id":23258028,"avatar_url":"https://avatars0.githubusercontent.com/u/23258028?v=3","gravatar_id":"","url":"https://api.github.com/users/DrachenkoAnastasiia","html_url":"https://github.com/DrachenkoAnastasiia","followers_url":"https://api.github.com/users/DrachenkoAnastasiia/followers","following_url":"https://api.github.com/users/DrachenkoAnastasiia/following{/other_user}","gists_url":"https://api.github.com/users/DrachenkoAnastasiia/gists{/gist_id}","starred_url":"https://api.github.com/users/DrachenkoAnastasiia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrachenkoAnastasiia/subscriptions","organizations_url":"https://api.github.com/users/DrachenkoAnastasiia/orgs","repos_url":"https://api.github.com/users/DrachenkoAnastasiia/repos","events_url":"https://api.github.com/users/DrachenkoAnastasiia/events{/privacy}","received_events_url":"https://api.github.com/users/DrachenkoAnastasiia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-07T17:57:56Z","updated_at":"2017-04-18T19:14:07Z","closed_at":null,"body":"## Occurrence\r\nAlways\r\n\r\n## Preconditions\r\n1. Core, HMI started.\r\n2. Application is registered, HMI level = FULL.\r\n\r\n## Steps to reproduce\r\n1. Add some data according to APPLINK-15689, e.g. AddCommand.\r\n2. Send OnExitAllApplications(SUSPEND).\r\n3. Add persistent data. SDL saves data in app_info.data - NOK, see APPLINK-26398\r\n4. Send OnExitAllApplications(IGNITION_OFF).\r\n\r\n## Actual result\r\nIn SmartDeviceLinkCore.log times after BasicCommunication.OnExitAllApplications(\"SUSPEND\") has 1 sec difference.\r\n\r\nSee in attached logs DifferentTimestamps.7z:\r\nATF_No_Resumption_PersistentData_20161107162718.txt:\r\nHMI->SDL(16:27:55) : {\"params\":\r\n{\"reason\":\"IGNITION_OFF\"}\r\n,\"method\":\"BasicCommunication.OnExitAllApplications\",\"jsonrpc\":\"2.0\"}\r\nSDL->HMI(16:27:55) : {\"id\":119,\"jsonrpc\":\"2.0\",\"method\":\"BasicCommunication.UpdateAppList\",\"params\":{\"applications\":[]}}\r\nSDL->HMI(16:27:55) : {\"jsonrpc\":\"2.0\",\"method\":\"BasicCommunication.OnAppUnregistered\",\"params\":{\"appID\":813718822,\"unexpectedDisconnect\":true}}\r\nSDL->HMI(16:27:55) : {\"jsonrpc\":\"2.0\",\"method\":\"BasicCommunication.OnSDLClose\",\"params\":{}}\r\n\r\nSmartDeviceLinkCore.log:\r\n**BasicCommunication.OnExitAllApplications(IGNITION_OFF) - Not observed at all**\r\n16:27:54,241: BasicCommunication.UpdateAppList\r\n16:27:54,242: BasicCommunication.OnAppUnregistered\r\n16:27:54,270: BasicCommunication.OnSDLClose\r\n\r\nCan be reproduced with:\r\n[test script](https://github.com/CustomSDL/sdl_atf_test_scripts/blob/develop/test_scripts/Resumption/ATF_No_Resumption_PersistentData.lua).\r\n\r\n## Expected result\r\n1. In log of SmartDeviceLinkCore.log and in ATF log timestamps should be equal\r\n\r\n# Environment\r\nVerified on release SDL_RB_B3.37.\r\nFailed.\r\n\r\nSDL repo: https://github.com/smartdevicelink/sdl_core/\r\nSDL branch: a6c32b45832653d6b851be9b19355fa35f377e07\r\nHMI: HTML5\r\nATF version: 2.2\r\nATF repo: https://github.com/smartdevicelink/sdl_atf/\r\nATF branch: 962e1eff8664d97af5e59ec4e22f39b9ea76f5eb\r\nScripts repo: https://github.com/CustomSDL/sdl_atf_test_scripts/tree/OS_DRAFT\r\nScripts branch: 18cce42\r\nOS: Ubuntu 14.04.01\r\nTransport: Wi-Fi\r\nMobile device: -\r\nMobile OS: -\r\nMobile App version: -\r\nMobile App type (media/non-media/navi/any): any\r\nVirtual Machine using (yes/no): no\r\n\r\n# Attachments\r\n[att_issue#1011.zip](https://github.com/smartdevicelink/sdl_core/files/576203/att_issue.1011.zip)\r\n\r\n# Expected delivery   \r\n- [ ] Source code updates \r\n- [ ] Code comments \r\n- [ ] UTs add/update \r\n- [x] ATF tests add/update ***(not required)***  \r\n- [x] Manual tests ***(not required)*** \r\n- [x] Add/update CI plans/jobs ***(not required)***  \r\n- [x] SDD updates ***(not required)***  \r\n- [x] Guidelines update ([sdl_core_guides](https://github.com/smartdevicelink/sdl_core_guides)) ***(not required)***  \r\n- [x] Guidelines update ([sdl_hmi_integration_guidelines](https://github.com/smartdevicelink/sdl_hmi_integration_guidelines))  ***(not required)***"},"comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/comments/294950560","html_url":"https://github.com/smartdevicelink/sdl_core/issues/1011#issuecomment-294950560","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1011","id":294950560,"user":{"login":"JackLivio","id":12038416,"avatar_url":"https://avatars3.githubusercontent.com/u/12038416?v=3","gravatar_id":"","url":"https://api.github.com/users/JackLivio","html_url":"https://github.com/JackLivio","followers_url":"https://api.github.com/users/JackLivio/followers","following_url":"https://api.github.com/users/JackLivio/following{/other_user}","gists_url":"https://api.github.com/users/JackLivio/gists{/gist_id}","starred_url":"https://api.github.com/users/JackLivio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackLivio/subscriptions","organizations_url":"https://api.github.com/users/JackLivio/orgs","repos_url":"https://api.github.com/users/JackLivio/repos","events_url":"https://api.github.com/users/JackLivio/events{/privacy}","received_events_url":"https://api.github.com/users/JackLivio/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T19:14:07Z","updated_at":"2017-04-18T19:14:07Z","body":"I don't think this is a bug?"}}
{"actor":{"display_login":"JackLivio"}}