magma / S1APTester

A test tool that simulates the s1aptest functionality of a LTE network
Other
53 stars 42 forks source link

latest S1APtester: S1 setup phase failed(causeType[4],causeValue[5]) #55

Open jayshankarnair opened 3 years ago

jayshankarnair commented 3 years ago

Ubuntu 18.04

Describe the Issue

When i run the script ./testCntrlr -f testCaseList_1.txt , there is failure in S1setup phase. The magma mme is able to receive SCTP messages. The error causeType[4], causeValue[5] is returned. I am testing against magma AGW. What does causeValue[4] signify. I didn't find the value in 3GPP document.

oot@magma-test:/home/vagrant/extra/S1APTester/TestCntlrStub/bin# ./testCntrlr -f testCaseList_1.txt [Stub] Initialising stack manager tag: AUTH_TYPE tagVal: MILENAGE [Stub] Entering trf_test_init() [Stub] Creating message queu [Stub] Sending UE App config [Stub] ../src/ts_utls.c:TC_API():460: Message Sent [Stub] ../src/ts_utls.c:TC_msg_recv():234: Entering [Stub] TC_msg_recv(): msgid=2

[Stub] Received (msgptr.msgType=2), expected (msgid=2)

[Stub] Received a message of type = 2

[Stub] UE APP Config Completed [Stub] Entering tsReadImsiAndSendUeConfig() [Stub] Reading imsi file for ueId: 1 [Stub] ueId :1 temp 2 0 8 1 1 1 2 3 4 5 6 7 8 9 0 temp len :14:: [Stub] ueId :1 IMSI imsi len :15::

[STUB]: Sending Ue Config. [Stub] ../src/ts_utls.c:TC_API():460: Message Sent [Stub] ../src/ts_utls.c:TC_msg_recv():234: Entering [Stub] TC_msg_recv(): msgid=4

[Stub] Received (msgptr.msgType=4), expected (msgid=4)

[Stub] Received a message of type = 4

[Stub] UE 1 Config Completed

[Stub]: Sending eNodeB Config [Stub] ../src/ts_utls.c:TC_msg_recv():234: Entering [Stub] TC_msg_recv(): msgid=34

**TPT open server**** 0

Server Socket FD =[12][Stub] ../src/ts_utls.c:TC_API():460: Message Sent

[Stub] Received (msgptr.msgType=34), expected (msgid=34)

[Stub] Received a message of type = 34

[Stub] Received Enodeb Config Confirm from TFW

[Stub] eNodeB configured successfully

[Stub]: eNb Config Completed

[Stub]: Sending S1 SETUP Request [Stub] ../src/ts_utls.c:TC_msg_recv():234: Entering [Stub] TC_msg_recv(): msgid=38

***** Testing *Time elapsed(in usec): for timer expiry :12933 usec [Stub] ../src/ts_utls.c:TC_API():460: Message Sent

[Stub] Received (msgptr.msgType=38), expected (msgid=38)

[Stub] Received a message of type = 38

[Stub] Received S1-SETUP Response from TFW

[Stub] S1-SETUP failed, causeType[4], causeValue[5]

[Stub] Received time to wait-IE with Value[4]

[Stub]: S1 SETUP Processing failed [Stub] Performing step by step ATTACH(IMSI) procedure [Stub] ueId(1) [Stub] Entering tsStepByStepAttachWithImsi(), ueId(1)

[Stub] Sending Attach Request, ueId(1) [Stub] ../src/ts_utls.c:TC_msg_recv():234: Entering [Stub] TC_msg_recv(): msgid=7