Skip to content
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

Sessiond module MVC phase converged core changes #3898

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

gurrapualt
Copy link
Contributor

@gurrapualt gurrapualt commented Dec 4, 2020

lte_integ_PR3898.log
Sessiond module MVC phase converged core changes

service reqest handling from AMF, UE moves to active
 --> Default QOS Changes support
 --> Default Uplink/DownLink rules adding to all sessions
 --> Multiple sessions support with PDUID instead of APN
 --> Paging request from UPF GRPC handling
 --> Upf thread handlers and Server messages support
 --> Periodic Messages Handling
 --> UPF Node message Handling
 --> GnodeB and UPF TEID and ipadress handling changes
 --> Fixing UT errors with newly added pipeline handlers
 --> Handling  Amf Notifications GRPC handling (inclduing Idle mode)
 --> All the code cleanup and fixes
 --> Review comments addressing
 --> All required MVC changes

!-- Enumerate changes you made and why you made them -->

Test Plan

Attached sessiond logs.
v1.txt

Additional Information

  • This change is backwards-breaking

Attached sessind unit test logs
Inact-act-log.txt
[lte_integ_3898] attached.

Attached latest lte integ tests
All LTE test results are splitted on below 4 files
he.log
7tests.txt
traffic.log
integ.log

@gurrapualt gurrapualt self-assigned this Dec 4, 2020
@gurrapualt gurrapualt added product: 5g mvc 5G use-case support component: agw Access gateway-related issue SessionD type: enhancement Enhancements to existing features labels Dec 4, 2020
@uri200
Copy link
Contributor

uri200 commented Dec 8, 2020

For future, can you use a meaningful name for the branch. This way we can identify it in the future.

@gurrapualt
Copy link
Contributor Author

gurrapualt commented Dec 8, 2020 via email

@gurrapualt
Copy link
Contributor Author

For future, can you use a meaningful name for the branch. This way we can identify it in the future.

sure.

@uri200
Copy link
Contributor

uri200 commented Dec 9, 2020

the insync test is failing due to your changes on pipelined.proto
You need to rebase first and then do

magma/orc8r/cloud/docker ./build.py -g

and then include the lte/cloud/go/protos/pipelined.pb.go

@gurrapualt
Copy link
Contributor Author

gurrapualt commented Dec 9, 2020 via email

@themarwhal
Copy link
Member

themarwhal commented Mar 28, 2021

Thanks for addressing the comments + build failures. Last thing, pls take a look at why SessionD is crashing in CWAG integration test. From the attached sessiond logs I see

2021-03-28T09:17:18.134875000Z Aborted (core dumped)
2021-03-28T09:17:19.508845000Z kernel.core_pattern = /var/opt/magma/cores/core.%e.%t
2021-03-28T09:17:19.606537000Z [/magma/orc8r/gateway/c/common/config/ServiceConfigLoader.cpp:33] Override file not found for service sessiond
2021-03-28T09:17:19.607031000Z I0328 09:17:19.606649     9 magma_logging.h:33] Setting verbosity to 4
2021-03-28T09:17:19.607503000Z terminate called after throwing an instance of 'YAML::TypedBadConversion<long>'
2021-03-28T09:17:19.610686000Z   what():  yaml-cpp: error at line 0, column 0: bad conversion
2021-03-28T09:17:19.618427000Z Aborted (core dumped)

This probably suggests something in the config loading part maybe? Please make sure to check that the config tag exists before loading to not cause a crash.

Probably this one: session_max_rtx_count = config["session_rtx_count"].as<long>();

@gurrapualt
Copy link
Contributor Author

gurrapualt commented Mar 28, 2021 via email

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.

Approving with the expectation that ip address and tunnel ID types (with AMF) be fixed in a later PR.

@themarwhal
Copy link
Member

Filed an issue to increase unit test coverage on SMF files: #5825

Copy link
Contributor

@ardzoht ardzoht left a comment

Choose a reason for hiding this comment

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

lgtm, but please take a look at minor comments left

lte/gateway/c/session_manager/SessionState.cpp Outdated Show resolved Hide resolved
lte/gateway/c/session_manager/SessionStateEnforcer.h Outdated Show resolved Hide resolved
lte/gateway/c/session_manager/UpfMsgManageHandler.cpp Outdated Show resolved Hide resolved
lte/gateway/deploy/hosts Outdated Show resolved Hide resolved
@gurrapualt
Copy link
Contributor Author

Approving with the expectation that ip address and tunnel ID types (with AMF) be fixed in a later PR.

sure .. already raised PR.

mattymo and others added 2 commits April 5, 2021 03:02
Signed-off-by: Matthew Mosesohn <matthew.mosesohn@gmail.com>
and changes and modifications of feature

 -->Paging request from UPF GRPC hadling
 -->Sending response to service request from SMF
 -->service reqest handling from AMF ,as UE moves back to Active mode
 --> Default QOS Changes support
 --> Default Uplink/DownLink rules adding to all sessions
 --> Multiple sessions support with PDUID instead of APN
 --> Upf thread handlers and Server messages support
 --> UPF Periodic Messages Handling
 --> UPF Node message Handling
 --> GnodeB and UPF TEID and ipadress handling changes
 --> Fixing UT errors with newly added pipeline handlers
 --> Handling  Amf Notifications GRPC handling (inclduing Idle mode)
 --> All the code cleanup and fixes
 --> Review comments addressing of marie,oriol,Alex and ulas
 --> All required MVC changes
 --> Review comments of Ulas
 --> Fixing broken Unit tests
 --> session_manager and pipeline proto changes
 --> latest master code rebase upto stable commit id
 --> Idle mode and Active mode test changes

Signed-off-by: Gurrapu Venu Kumar <venukumar.g@altencalsoftlabs.com>
Signed-off-by: Venukumar Gurrapu <venukumar.g@acldigital.com>
@gurrapualt gurrapualt changed the base branch from master to magma-5G April 5, 2021 03:20
@gurrapualt gurrapualt requested review from a team April 5, 2021 03:20
@pull-request-size pull-request-size bot added the size/XXL Denotes a Pull Request that changes 1000+ lines. label Apr 5, 2021
@themarwhal themarwhal merged commit fa8c8d2 into magma:magma-5G Apr 5, 2021
@gurrapualt gurrapualt deleted the venu branch April 6, 2021 09:14
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 component: cwag CWAG related issues product: 5g mvc 5G use-case support size/XXL Denotes a Pull Request that changes 1000+ lines. type: enhancement Enhancements to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants