Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2017 22:17:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222764] benchmarks/sipp Not working on FreeBSD 11.1 and 10.3
Message-ID:  <bug-222764-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222764

            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@FreeBSD.org
          Reporter: olivierw1+bugzilla-freebsd@hotmail.com
             Flags: maintainer-feedback?(farrokhi@FreeBSD.org)
          Assignee: farrokhi@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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
root@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=3D'freebsd', local_ip=3D''.


<< snip a looooot of new lines >>


------------------------------ Scenario Screen -------- [1-9]: Change Scree=
n --
  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-M=
sg
      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 Scree=
n --
  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 addre=
ss
in getaddrinfo, local_host=3D'freebsd', local_ip=3D''.

root@freebsd:~ #
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D



Note the messages:
"2017-10-03    23:51:14.236841 1507067474.236841: Can't get local IP addres=
s in
getaddrinfo, local_host=3D'freebsd', local_ip=3D''."
"addr not supported:5060(UDP)"
"2017-10-03      23:51:14.236841 1507067474.236841: Can't get local IP addr=
ess
in getaddrinfo, local_host=3D'freebsd', local_ip=3D''."



On FreeBSD 11.1, it doesn't work, but the messages are differents:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
root@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'.
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                                    Use 'sipp -h' for detai=
ls.


<< snip a looooot of new lines >>


------------------------------ Scenario Screen -------- [1-9]: Change Scree=
n --
  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-M=
sg
      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 Scree=
n --
  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.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D




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 'ad=
dr
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 distan=
t),
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 insta=
lled
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 aro=
und
to test? Or some i386 FreeBSD?

Best Regards,
Olivier

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222764-13>