Project

General

Profile

Actions

Bug #4957

closed

ttcn3-sip-test is broken since 15 Dec 2020

Added by fixeria about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
01/19/2021
Due date:
% Done:

100%

Spec Reference:

Description

All test cases fail under both Debian and CentOS:

https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-sip-test/1051/
https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-sip-test/238/

Although, the 'latest' is relatively stable:

https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-sip-test-latest/828/

I spent a few hours trying to investigate what's going on. Here are some intermediate results:

The test cases fail due to DTEs listed below:

  • "MNCC_CodecPort.ttcn:19 Dynamic test case error: Initializing a variable of enumerated type @MNCC_Types.MNCC_MsgType with invalid numeric value 346140544. (No such file or directory)"
  • "Dynamic test case error: SIP Test Port: syntax error "v" -> unexpected character at character position 1."
  • "MNCC_Emulation.ttcn:348 Dynamic test case error: Write error (Broken pipe)"

Sometimes it's one reason, sometimes another. Sometimes there is no DTE but "timeout of Tguard". Weird.

Actions #1

Updated by fixeria about 3 years ago

I constantly see the following error in the output of osmo-sip-connector:

20210123182608924 DSIP NOTICE sip.c:679 tport_udp_error: Connection refused (111) [icmp type=3 code=3]
20210123182608924 DSIP NOTICE sip.c:679         reported by [127.0.0.2]:0
20210123182608924 DSIP NOTICE sip.c:679 nta_agent: tport: 127.0.0.2:5060: Connection refused
20210123182608924 DSIP NOTICE sip.c:679 tport(0x564d7bfb3530): zero length packet
Actions #2

Updated by fixeria about 3 years ago

  • Assignee set to pespin
Actions #3

Updated by pespin about 3 years ago

ttcn3-sip-test-latest doesn't fail probably because it's still using MNCCv6, while master uses MNCCv7.

It could be some TTCN3 MNCCv7 specific issue. I added MNCCv7 support to osmo-ttcn3-hacks.git in 563b3d013b166115a4f9e526d5e21df36f3bd399 (Sep 9 2020), not sure how it started later (JAN 16 2021).

Actions #4

Updated by pespin about 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

Fixed by:
https://gerrit.osmocom.org/c/osmo-sip-connector/+/22635 mncc: Fix write len

As a result, osmo-sip-connector has been totally broken since Jan 12 2021.

Actions #5

Updated by pespin about 3 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

All test are now passing, closing ticket.

Actions #6

Updated by mschramm about 3 years ago

  • Subject changed from ttcn3-sip-test is broken since 15 Dec 2021 to ttcn3-sip-test is broken since 15 Dec 2020

(redacted date in subject line)

Actions #7

Updated by fixeria about 3 years ago

Back to the future!

pespin thanks a lot for fixing this!

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)