Skip to content

Conversation

@VinashakAnkitAman
Copy link
Member

@VinashakAnkitAman VinashakAnkitAman commented Mar 24, 2021

Title

[Bug_Fix] [MME] Fixed MME crash for stale enb cleanup issue

Summary

MME was crashing sometimes when running test case test_continuous_random_attach.py in loop for large number of UEs. The reason was that sometimes the stale ENB entry was not cleaned up before the next test case execution and while cleaning the stale ENB entry during next s1ap association, the old ENB association was tried to get removed twice. This was leading to access of invalid pointer and crashing the MME. This PR fixes the issue.

Test Plan

Verified with sanity and multiple executions of test case test_continuous_random_attach.py

Signed-off-by: VinashakAnkitAman ankit.aman@radisys.com

@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines. label Mar 24, 2021
@magmabot magmabot added the component: agw Access gateway-related issue label Mar 24, 2021
Signed-off-by: Ankit Kumar Aman <ankit.aman@radisys.com>
@ulaskozat
Copy link
Contributor

@ardzoht were you able to reproduce this issue?

@ardzoht
Copy link
Contributor

ardzoht commented Apr 9, 2021

@ardzoht were you able to reproduce this issue?

@ulaskozat I could not reproduce given issue using 100, 500 and 1000 UEs on continuous attach test, that being said, I think we should still go ahead and merge this since anyways covers for the past stale crash and should not have a side effect on other process.

Copy link
Contributor

@ulaskozat ulaskozat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tmdzk tmdzk requested a review from ssanadhya April 9, 2021 21:09
@tmdzk tmdzk merged commit 9e0bd19 into magma:master Apr 9, 2021
electronjoe pushed a commit to electronjoe/magma that referenced this pull request Apr 16, 2021
Signed-off-by: Ankit Kumar Aman <ankit.aman@radisys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: agw Access gateway-related issue size/S Denotes a PR that changes 10-29 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Random issues discovered while testing for test_continuous_random_attach.py

7 participants