Project

General

Profile

Bug #4176

ttcn3-sgsn: Sporadic failures since Iu support introduced

Added by pespin about 2 months ago. Updated about 2 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/27/2019
Due date:
% Done:

0%


Description

05:36:00.260360 410 - Component type BSSGP_Emulation.BSSGP_CT was shut down inside testcase TC_attach_pdp_act.
05:36:00.260379 410 - Final verdict of PTC: none
05:36:00.260485 414 - Disconnected from MC.
05:36:00.260533 414 - TTCN-3 Parallel Test Component finished.
05:36:00.260536 410 - Disconnected from MC.
05:36:00.260543 411 - Disconnected from MC.
05:36:00.260564 410 - TTCN-3 Parallel Test Component finished.
05:36:00.260588 411 - TTCN-3 Parallel Test Component finished.
05:36:00.260762 412 - Function BssgpStart was stopped. PTC terminates.
05:36:00.260823 412 - Terminating component type BSSGP_Emulation.BSSGP_CT.
05:36:00.260831 418 - Function main was stopped. PTC terminates.
05:36:00.260839 412 - Stop timer g_T2: 60 s
05:36:00.260854 412 - Removing unterminated connection between port BSCP and SGSN_Test-Gb2-NS2(411):NS_SP.
05:36:00.260897 418 - Terminating component type GTP_Emulation.GTP_Emulation_CT.
05:36:00.260901 412 - Port BSCP was stopped.
05:36:00.260916 418 - Removing unterminated mapping between port GTPC and system:GTPC.
05:36:00.260922 412 - Port BSSGP_SP was stopped.
05:36:00.260933 412 - Port BSSGP_SP_SIG was stopped.
05:36:00.260943 412 - Port BSSGP_PROC was stopped.
05:36:00.260953 412 - Component type BSSGP_Emulation.BSSGP_CT was shut down inside testcase TC_attach_pdp_act.
05:36:00.260974 412 - Final verdict of PTC: none
05:36:00.261065 412 - Disconnected from MC.
05:36:00.261090 412 - TTCN-3 Parallel Test Component finished.
05:36:00.261315 418 - Port GTPC was unmapped from system:GTPC.
05:36:00.261348 418 - Port GTPC was stopped.
05:36:00.261359 418 - Removing unterminated mapping between port GTPU and system:GTPU.
05:36:00.261376 418 - Port GTPU was unmapped from system:GTPU.
05:36:00.261391 418 - Port GTPU was stopped.
05:36:00.261399 418 - Port CLIENT was stopped.
05:36:00.261407 418 - Port CLIENT_PROC was stopped.
05:36:00.261415 418 - Component type GTP_Emulation.GTP_Emulation_CT was shut down inside testcase TC_attach_pdp_act.
05:36:00.261429 418 - Final verdict of PTC: none
05:36:00.261482 418 - Disconnected from MC.
05:36:00.261497 418 - TTCN-3 Parallel Test Component finished.
05:36:00.262451 413 SCCP_Emulation.ttcn:5293 Sent on MTP3_SCCP_PORT to SGSN_Test_0-M3UA(415) @SCCP_Types.ASP_MTP3_TRANSFERreq_sccp : { sio := '83'O, opc :=
 195, dpc := 188, sls := 0, data := { unitdata := { messageType := 9, protClass := { class := '0000'B, messageHandling := '0000'B }, pointer1 := 0, pointer
2 := 0, pointer3 := 0, calledPAddress := { paramLength := 4, addr := '43BC008E'O }, callingPAddress := { paramLength := 4, addr := '43C3008E'O }, data := {
 paramLength := 17, data := '0009000D00000200044001400003000180'O } } } }
05:36:00.263134 413 SCCP_Emulation.ttcn:5293 Outgoing message was mapped to @MTP3asp_Types.ASP_MTP3_TRANSFERreq : { sio := { ni := '10'B, prio := '00'B, si
 := '0011'B }, opc := 195, dpc := 188, sls := 0, data := '090003070B0443BC008E0443C3008E110009000D00000200044001400003000180'O }
05:36:00.263271 413 SCCP_Emulation.ttcn:5293 Dynamic test case error: Sending data on the connection of port MTP3_SCCP_PORT to 415:MTP3_SP_PORT failed. (Br
oken pipe)
05:36:00.263325 413 SCCP_Emulation.ttcn:5293 setverdict(error): none -> error
05:36:00.263355 413 SCCP_Emulation.ttcn:5293 Performing error recovery.
05:36:00.264681 413 - Function SCCPStart finished with an error. PTC terminates.
05:36:00.264813 413 - Terminating component type SCCP_Emulation.SCCP_CT.
05:36:00.264833 413 - Removing unterminated connection between port SCCP_SP_PORT and SGSN_Test_0-RAN(414):RANAP.
05:36:00.264910 413 - Port SCCP_SP_PORT was stopped.
05:36:00.264928 413 - Removing unterminated connection between port MTP3_SCCP_PORT and SGSN_Test_0-M3UA(415):MTP3_SP_PORT.
05:36:00.264961 413 - Port MTP3_SCCP_PORT was stopped.
05:36:00.264974 413 - Component type SCCP_Emulation.SCCP_CT was shut down inside testcase TC_attach_pdp_act.
05:36:00.264993 413 - Final verdict of PTC: error
05:36:00.265092 413 - Disconnected from MC.
05:36:00.265119 413 - TTCN-3 Parallel Test Component finished.
05:36:00.265140 mtc SGSN_Tests.ttcn:1362 Setting final verdict of the test case.

So it seems MTP3_SCCP_PORT is sending a message after being closed. SCCP_Emulation.ttcn:5293 contains:

    MTP3_SCCP_PORT.send( t_ASP_MTP3_TRANSFERreq_sccp
          (v_SIO,v_own_SPC,v_remote_SPC,v_SLS,vl_PDU_SCCP));//send Unitdata

which is part of sending_udt_in_ASP_MTP_TRANSFERreqs() in same file.

History

#1 Updated by pespin about 2 months ago

  • Status changed from New to Feedback
  • Assignee set to laforge

I submitted following patch to attempt to fix the issue, but tbh I'm not sure if it's the required fix to solve the issue:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15295 sgsn: Proper shutdown of RAN_Adapter components

laforge perhaps can confirm?

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)