Package: libsofia-sip-ua0
Version: 1.12.11+20110422.1-1
Severity: important

telepathy-rakia's test suite recently regressed: test-message.py (a simple
text message), and all of the VoIP tests (except for one that only tests
Telepathy internals), time out. Downgrading libsofia-sip-ua-glib-dev,
libsofia-sip-ua-glib3, libsofia-sip-ua-dev and libsofia-sip-ua0 from
1.12.11+20110422.1-1 to 1.12.11+20110422-1 fixes the regression.
I was surprised that worked, since the changelog for 1.12.11+20110422.1-1
indicates that it should just be a tarball respin with newer Autotools -
perhaps this version was miscompiled or something?

The only test I've investigated in detail is test-message.py, in which
we send the message "Hello" with what boils down to this code:

    const gchar *text = "Hello";

    nua_message(msg_nh,
                SIPTAG_CONTENT_TYPE_STR("text/plain"),
                SIPTAG_PAYLOAD_STR(text),
                TAG_END());

In the older version, this comes out as:

** (telepathy-rakia:22577): DEBUG:    MESSAGE sip:[email protected] SIP/2.0
** (telepathy-rakia:22577): DEBUG:    Via: SIP/2.0/UDP 
127.0.0.1:44958;rport;branch=z9hG4bK9Q8y0a5tDK38K
** (telepathy-rakia:22577): DEBUG:    Max-Forwards: 70
** (telepathy-rakia:22577): DEBUG:    From: 
<sip:[email protected]>;tag=8aN5FSZaF8g3p
** (telepathy-rakia:22577): DEBUG:    To: <sip:[email protected]>
** (telepathy-rakia:22577): DEBUG:    Call-ID: 
6773c41c-c58d-1231-2eac-f0def1f9ade2
** (telepathy-rakia:22577): DEBUG:    CSeq: 898293629 MESSAGE
** (telepathy-rakia:22577): DEBUG:    User-Agent: Telepathy-Rakia/0.8.0 
sofia-sip/1.12.11devel
** (telepathy-rakia:22577): DEBUG:    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, 
PRACK, MESSAGE, UPDATE
** (telepathy-rakia:22577): DEBUG:    Supported: timer, 100rel
** (telepathy-rakia:22577): DEBUG:    Content-Type: text/plain
** (telepathy-rakia:22577): DEBUG:    Content-Length: 5
** (telepathy-rakia:22577): DEBUG:    
** (telepathy-rakia:22577): DEBUG:    Hello

In the newer version, the message's content is missing:

** (telepathy-rakia:21899): DEBUG:    MESSAGE sip:[email protected] SIP/2.0
** (telepathy-rakia:21899): DEBUG:    Via: SIP/2.0/UDP 
127.0.0.1:41407;rport;branch=z9hG4bKtZQ3243ScgDyD
** (telepathy-rakia:21899): DEBUG:    Max-Forwards: 70
** (telepathy-rakia:21899): DEBUG:    From: 
<sip:[email protected]>;tag=SBH7vpm9aH76g
** (telepathy-rakia:21899): DEBUG:    To: <sip:[email protected]>
** (telepathy-rakia:21899): DEBUG:    Call-ID: 
5bd4c190-c58d-1231-9ca4-f0def1f9ade2
** (telepathy-rakia:21899): DEBUG:    CSeq: 898293624 MESSAGE
** (telepathy-rakia:21899): DEBUG:    User-Agent: Telepathy-Rakia/0.8.0 
sofia-sip/1.12.11devel
** (telepathy-rakia:21899): DEBUG:    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, 
PRACK, MESSAGE, UPDATE
** (telepathy-rakia:21899): DEBUG:    Supported: timer, 100rel
** (telepathy-rakia:21899): DEBUG:    Content-Type: text/plain
** (telepathy-rakia:21899): DEBUG:    Content-Length: 0
** (telepathy-rakia:21899): DEBUG:    

To reproduce this in a jessie chroot with build-essential:

    apt-get source telepathy-rakia            # version 0.8.0-1
    sudo apt-get build-dep telepathy-rakia
    sudo apt-get install python-dbus dbus autoconf automake libtool \
        python-twisted python-gobject
    ( cd telepathy-rakia-0.8.0 && ./configure )
    make -C telepathy-rakia-0.8.0
    make -C telepathy-rakia-0.8.0 check TWISTED_TESTS=test-message.py

Omit "TWISTED_TESTS=test-message.py" to get the whole test suite,
which all passes with sofia-sip/wheezy on my system. Debug logs from the
test end up in tests/twisted/tools/rakia-testing.log (yeah, sorry, this
test suite is more complicated than it ought to be).

Regards,
    S

-- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsofia-sip-ua0 depends on:
ii  libc6        2.17-94
ii  libssl1.0.0  1.0.1e-4

libsofia-sip-ua0 recommends no packages.

Versions of packages libsofia-sip-ua0 suggests:
pn  sofia-sip-doc  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to