[Bug 71504] New: tests fail with libsofia-sip-ua0/1.12.11+20110422.1-1 (Debian)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 11 08:10:56 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71504
Priority: medium
Bug ID: 71504
Assignee: mikhail.zabaluev at gmail.com
Summary: tests fail with libsofia-sip-ua0/1.12.11+20110422.1-1
(Debian)
QA Contact: telepathy-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: simon.mcvittie at collabora.co.uk
Hardware: Other
Status: NEW
Version: git master
Component: rakia
Product: Telepathy
I'm fairly sure this is a sofia-sip bug, but I'm opening it here so other
Telepathy hackers don't get caught out, or in case we can work around it.
Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729301
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:user at somewhere.com 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:testacc at 127.0.0.1>;tag=8aN5FSZaF8g3p
** (telepathy-rakia:22577): DEBUG: To: <sip:user at somewhere.com>
** (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:user at somewhere.com 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:testacc at 127.0.0.1>;tag=SBH7vpm9aH76g
** (telepathy-rakia:21899): DEBUG: To: <sip:user at somewhere.com>
** (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
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list