smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
240 stars 245 forks source link

Sometimes SDL does not send OnAppInterfaceUnregistered(FACTORY_DEFAULTS) to App during FACTORY_DEFAULTS exit #3874

Open VjKlepikov opened 2 years ago

VjKlepikov commented 2 years ago

Bug Report

Sometimes SDL does not send OnAppInterfaceUnregistered(FACTORY_DEFAULTS) to App during FACTORY_DEFAULTS exit

Occurrences: ~0.1%

Reproduction Steps

SDL and HMI are started App is registered HMI sends BC.OnExitAllApplications(FACTORY_DEFAULTS)

Expected Behavior

SDL unregisters app and sends OnAppInterfaceUnregistered(FACTORY_DEFAULTS) to it.

Observed Behavior

SDL does not send OnAppInterfaceUnregistered(FACTORY_DEFAULTS) to mobile application

OS & Version Information

OS/Version: Ubuntu 18.04 SDL Core Version: 8.0 + develop (8.1 release candidate)

Test Case, Sample Code, and / or Example App

./test_scripts/Policies/user_consent_of_Policies/221_ATF_Factory_reset.lua

Logs:

2022-03-04_02-49-51.810_failed.tar.gz

VjKlepikov commented 2 years ago

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