-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TC-SU-2.3 OTA-R unable to start new CASE session with OTA-P #18484
Comments
Discussed with @mrjerryjohns who mentioned that #16202 is pertinent to this issue. |
Traced the code in debugger and found that when OTA-R fails to communicate with OTA-P when it is killed, OTA-R ends up calling:
Which calls: And eventually successfully releases the session object in: However, when OTA-R performs another query image when OTA-P has been restarted back up again OTA-R thinks there is a valid case session and attempts to use it. We see this in the log:
So in DefaultOTARequestor::ConnectToProvider(), OTA-R tries to find a valid session:
Which ends up in this case:
And it finds a valid session here:
|
From @mrjerryjohns: Actually, it would be preferable to call |
Problem
An intended fix for timing out a CASE session in SWU was here: #15939
However, it appears the fix is not effective. Even though we see the following in the DUT (OTA-R) logs:
... subsequent requests to the OTA-P from the OTA-R are still attempting to use the same session ID.
<what's wrong or missing, please include any applicable:
expected behavior
If OTA-P is restarted, OTA-R should time out its session and use a new session for subsequent requests.
actual behavior
Subsequent requests (even after a timeout) are continuing to attempt to use the same session.
steps to reproduce
[SWU]CASE session may be invalid, tear down session
The text was updated successfully, but these errors were encountered: