https://projects.osmocom.org/https://projects.osmocom.org/favicon.ico?16647414092020-05-30T09:49:48ZOpen Source Mobile CommunicationsCellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=184862020-05-30T09:49:48Zosmith
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/18486/diff?detail_id=30628">diff</a>)</li></ul> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=184992020-06-01T21:00:48Zlaforge
<ul><li><strong>Assignee</strong> set to <i>4368</i></li></ul> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185022020-06-01T21:08:28Zlaforge
<ul></ul><p>Interestingly wireshark segfaults when trying to open <a class="external" href="https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-sip-test/lastSuccessfulBuild/artifact/logs/sip-tester/SIP_Tests.TC_mt_success_rel_sip.pcap">https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-sip-test/lastSuccessfulBuild/artifact/logs/sip-tester/SIP_Tests.TC_mt_success_rel_sip.pcap</a> - rebuilding current wireshark in the hope it actually allows me to look at the SIP messages.</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185052020-06-01T22:19:05Zlaforge
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>From the IRC log:<br /><pre>
23:07 <@LaF0rge> interestingly my wireshark segfaults when trying to open
https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-sip-test/lastSuccessfulBuild/artifact/logs/sip-tester/SIP_Tests.TC_mt_success_rel_sip.pcap
23:09 < fixeria> does not crash on my machine :/
23:10 < fixeria> so maybe rebuilding master would help
23:13 < fixeria> although my wireshark does not want to decode packet#18 as SIP (despite being forced to
using "Decode As") and shows raw bytes instead
23:17 < fixeria> LaF0rge: maybe that's the problem - there is no SIP header at all
23:18 < fixeria> the payload starts with "v=0..o=Osmocom"
23:18 < fixeria> "Dynamic test case error: SIP Test Port: syntax error "v" -> unexpected character at
character position 1."
</pre></p>
<p>So somehow the sofia-sip library used on Centos8 produces malformed SIP messages without any SIP header. This needs to be investigated.</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185112020-06-02T08:47:53Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>4368</i> to <i>Hoernchen</i></li></ul> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185122020-06-02T10:43:48ZHoernchen
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul><p>The sofia-sip provided by Ubuntu works, but centos does not offer sofia-sip, so we provide our own version based on a pristine copy of the source code which is unmaintained since 2011. As it turns out Ubuntu has fixes applied to it relating to strict aliasing violations, so that is most likely the issue we're seeing here, too.</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185282020-06-03T17:20:35ZHoernchen
<ul></ul><p>I ran the ttcn3 sip test from my host with a osmo-sip-connector in a centos container, and merely building a rpm from the opensuse forge spec file (<a class="external" href="https://build.opensuse.org/package/show/openSUSE:Factory/sofia-sip">https://build.opensuse.org/package/show/openSUSE:Factory/sofia-sip</a>) + debian sofia-sip repo that is listed as package source for the deb/ubuntu packages (<a class="external" href="https://salsa.debian.org/ron/sofia-sip">https://salsa.debian.org/ron/sofia-sip</a> debian branch) works, while our own package linked from the forge package build does not. The most reasonable fix was suggested by <a class="user active" href="https://projects.osmocom.org/users/7">laforge</a> - just create a source tarball from this and push it to our obs build once which should then be built for centos only + remove the linked package from osmo-ci/scripts/osmocom-obs-link.sh, <a class="user active" href="https://projects.osmocom.org/users/30">daniel</a> can you do that?</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185322020-06-03T18:25:37Zdaniel
<ul></ul><p>Can you check if the packages in <a class="external" href="https://build.opensuse.org/package/binaries/home:daniel_w:branches:openSUSE:Factory/sofia-sip/CentOS_8_Stream">https://build.opensuse.org/package/binaries/home:daniel_w:branches:openSUSE:Factory/sofia-sip/CentOS_8_Stream</a> work for you?</p>
<p>If it does I can push it to osmocom:network...</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185342020-06-03T20:43:36Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>Hoernchen</i> to <i>daniel</i></li></ul><p>re-assigning to <a class="user active" href="https://projects.osmocom.org/users/30">daniel</a>.</p>
<p>The rationale here is that he has plenty of OBS experience, while <a class="user active" href="https://projects.osmocom.org/users/52">Hoernchen</a> doesn't - and we want to solve this in an economic number of hours...</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185352020-06-03T22:24:07Zroox
<ul></ul><p>daniel wrote:</p>
<blockquote>
<p>Can you check if the packages in <a class="external" href="https://build.opensuse.org/package/binaries/home:daniel_w:branches:openSUSE:Factory/sofia-sip/CentOS_8_Stream">https://build.opensuse.org/package/binaries/home:daniel_w:branches:openSUSE:Factory/sofia-sip/CentOS_8_Stream</a> work for you?</p>
<p>If it does I can push it to osmocom:network...</p>
</blockquote>
<p><a class="user active" href="https://projects.osmocom.org/users/30">daniel</a> I just cleaned up the ancient openSUSE package...<br />(source and patch are from the debian package)<br /><a class="external" href="https://build.opensuse.org/package/show/home:mnhauke/sofia-sip">https://build.opensuse.org/package/show/home:mnhauke/sofia-sip</a><br /><a class="external" href="https://build.opensuse.org/request/show/811245">https://build.opensuse.org/request/show/811245</a></p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=185372020-06-04T09:05:13Zdaniel
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>50</i> to <i>100</i></li></ul><p>roox wrote:</p>
<blockquote>
<p><a class="user active" href="https://projects.osmocom.org/users/30">daniel</a> I just cleaned up the ancient openSUSE package...<br />(source and patch are from the debian package)<br /><a class="external" href="https://build.opensuse.org/package/show/home:mnhauke/sofia-sip">https://build.opensuse.org/package/show/home:mnhauke/sofia-sip</a><br /><a class="external" href="https://build.opensuse.org/request/show/811245">https://build.opensuse.org/request/show/811245</a></p>
</blockquote>
<p>Great, thanks!<br />With that package <a class="external" href="https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-sip-test/">https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-sip-test/</a> is passing.<br />I'll redirect the link once the request went through.</p> Cellular Network Infrastructure - Bug #4571: TTCN3-centos-sip-test: 4/5 tests failinghttps://projects.osmocom.org/issues/4571?journal_id=186032020-06-08T09:39:15Zdaniel
<ul></ul><p>The changes are now in openSUSE:Factory, so linking there again.</p>
<p><a class="external" href="https://build.opensuse.org/request/show/811435">https://build.opensuse.org/request/show/811435</a></p>