[Bug 222764] benchmarks/sipp Not working on FreeBSD 11.1 and 10.3
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 3 22:17:29 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222764
Bug ID: 222764
Summary: benchmarks/sipp Not working on FreeBSD 11.1 and 10.3
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: farrokhi at FreeBSD.org
Reporter: olivierw1+bugzilla-freebsd at hotmail.com
Flags: maintainer-feedback?(farrokhi at FreeBSD.org)
Assignee: farrokhi at FreeBSD.org
Hello,
I tried using sipp on FreeBSD 10.3-RELEASE and 11.1-RELEASE-p1 but it doesn't
seems to work. Or maybe there's something I'm missing/misunderstanding?
The same command lines works on Debian, so they should be correct.
On 10.3:
===============================
root at freebsd:~ # sipp -sn uac 127.0.0.1:5060
Resolving remote host '127.0.0.1'... Done.
2017-10-03 23:51:14.236841
1507067474.236841: Can't get local IP address in getaddrinfo,
local_host='freebsd', local_ip=''.
<< snip a looooot of new lines >>
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Call-rate(length) Port Total-time Total-calls Remote-host
10.0(0 ms)/1.000s 0 0.00 s 0 addr not
supported:5060(UDP)
0 new calls during 0.000 s period 0 ms scheduler resolution
0 calls (limit 30) Peak was 0 calls, after 0 s
0 Running, 0 Paused, 0 Woken up
0 dead call msg (discarded) 0 out-of-call msg (discarded)
0 open sockets
Messages Retrans Timeout Unexpected-Msg
INVITE ----------> 0 0 0
100 <---------- 0 0 0 0
180 <---------- 0 0 0 0
183 <---------- 0 0 0 0
200 <---------- E-RTD1 0 0 0 0
ACK ----------> 0 0
Pause [ 0ms] 0 0
BYE ----------> 0 0 0
200 <---------- 0 0 0 0
------------------------------ Test Terminated --------------------------------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2017-10-03 23:51:14.223386 1507067474.223386
Last Reset Time | 2017-10-03 23:51:14.223386 1507067474.223386
Current Time | 2017-10-03 23:51:14.239954 1507067474.239954
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:016000 | 00:00:00:016000
Call Rate | 0.000 cps | 0.000 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 0 | 0
Total Call created | | 0
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 0
Failed call | 0 | 0
-------------------------+---------------------------+--------------------------
Response Time 1 | 00:00:00:000000 | 00:00:00:000000
Call Length | 00:00:00:000000 | 00:00:00:000000
------------------------------ Test Terminated --------------------------------
2017-10-03 23:51:14.236841 1507067474.236841: Can't get local IP address
in getaddrinfo, local_host='freebsd', local_ip=''.
root at freebsd:~ #
===============================
Note the messages:
"2017-10-03 23:51:14.236841 1507067474.236841: Can't get local IP address in
getaddrinfo, local_host='freebsd', local_ip=''."
"addr not supported:5060(UDP)"
"2017-10-03 23:51:14.236841 1507067474.236841: Can't get local IP address
in getaddrinfo, local_host='freebsd', local_ip=''."
On FreeBSD 11.1, it doesn't work, but the messages are differents:
===============================
root at asterisk:~ # sipp -sn uac 127.0.0.1:5060
Resolving remote host '127.0.0.1'... Done.
2017-10-03 23:53:57.577494
1507067637.577494: Unknown RTP address 'addr not supported'.
Use 'sipp -h' for details.
<< snip a looooot of new lines >>
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Call-rate(length) Port Total-time Total-calls Remote-host
10.0(0 ms)/1.000s 5060 0.00 s 0 addr not
supported:5060(UDP)
0 new calls during 0.000 s period 0 ms scheduler resolution
0 calls (limit 30) Peak was 0 calls, after 0 s
0 Running, 0 Paused, 0 Woken up
0 dead call msg (discarded) 0 out-of-call msg (discarded)
1 open sockets
Messages Retrans Timeout Unexpected-Msg
INVITE ----------> 0 0 0
100 <---------- 0 0 0 0
180 <---------- 0 0 0 0
183 <---------- 0 0 0 0
200 <---------- E-RTD1 0 0 0 0
ACK ----------> 0 0
Pause [ 0ms] 0 0
BYE ----------> 0 0 0
200 <---------- 0 0 0 0
------------------------------ Test Terminated --------------------------------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2017-10-03 23:53:57.559817 1507067637.559817
Last Reset Time | 2017-10-03 23:53:57.559817 1507067637.559817
Current Time | 2017-10-03 23:53:57.580010 1507067637.580010
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:020000 | 00:00:00:020000
Call Rate | 0.000 cps | 0.000 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 0 | 0
Total Call created | | 0
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 0
Failed call | 0 | 0
-------------------------+---------------------------+--------------------------
Response Time 1 | 00:00:00:000000 | 00:00:00:000000
Call Length | 00:00:00:000000 | 00:00:00:000000
------------------------------ Test Terminated --------------------------------
2017-10-03 23:53:57.577494 1507067637.577494: Unknown RTP address 'addr
not supported'.
Use 'sipp -h' for details.
===============================
Note the messages:
"2017-10-03 23:53:57.577494 1507067637.577494: Unknown RTP address 'addr not
supported'."
"addr not supported:5060(UDP)"
"2017-10-03 23:53:57.577494 1507067637.577494: Unknown RTP address 'addr
not supported'."
I have of course tried different command lines, like:
"sipp 127.0.0.1:5060"
"sipp 127.0.0.1:5060 -sn uac"
"sipp 127.0.0.1:5060 -t t1" (to force TCP instead of UDP)
but without more luck. I also tried different IP addresses (local or distant),
but it's still not working.
I installed "sipp" with "pkg", so not compiled myself and default
configuration.
My FreeBSD 10.3 is a brand new install, with only "sipp" installed. I installed
it to be sure it wasn't a new problem in FreeBSD 11.x.
Both FreeBSD are amd64.
Has anybody know what's the problem? Or does someone have a FreeBSD 9.x around
to test? Or some i386 FreeBSD?
Best Regards,
Olivier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list