Open Source Mobile Communications: Issueshttps://osmocom.org/https://osmocom.org/favicon.ico?16647414092017-01-10T12:20:47ZOpen Source Mobile Communications
Redmine OsmoPCU - Bug #1905 (Closed): Unit Test Suite failure in Osmo-PCU after recent commit done in lib...https://osmocom.org/issues/19052017-01-10T12:20:47Zmrinal
<p>In the latest PCU code ( commit: b3df58660f6e965799b18b5b87892a3272c4ccf1) Unit test case failure observed for "TBF" test suite.<br />On further analysis it is observed that due to recent commit on libosmocore( commit :addeaa39b172b4114bffbbfdd3dd09a029eb37b3) Test <br />case failure started.</p>
<p>Below are the snippet of Test Case failure in OSMO-PCU :</p>
<ol>
<li>---------------------------------- ##</li>
<li>osmo-pcu 0.2.875-b3df5 test suite. ##</li>
<li>---------------------------------- ##</li>
</ol>
<p>Regression tests</p>
<pre><code>1: rlcmac ok<br /> 2: ts_alloc ok<br /> 3: tbf FAILED (testsuite.at:23)<br /> 4: bitcomp ok<br /> 5: edge ok<br /> 6: types ok<br /> 7: ms ok<br /> 8: llc ok<br /> 9: llist ok<br /> 10: codel ok</code></pre>
<ol>
<li>------------- ##</li>
<li>Test results. ##</li>
<li>------------- ##</li>
</ol>
ERROR: All 10 tests were run,<br />1 failed unexpectedly.
<ol>
<li>-------------------------- ##</li>
<li>testsuite.log was created. ##</li>
<li>-------------------------- ##</li>
</ol>
<p>Please send `tests/testsuite.log' and all information you think might help:</p>
<pre><code>To: &lt;<a class="email" href="mailto:osmocom-net-gprs@lists.osmocom.org">osmocom-net-gprs@lists.osmocom.org</a>&gt;<br /> Subject: [osmo-pcu 0.2.875-b3df5] testsuite: 3 failed</code></pre>
<p>You may investigate any problem if you feel able to do so, in which<br />case the test suite provides a good starting point. Its output may<br />be found below `tests/testsuite.dir'.</p>
<p>Makefile:1180: recipe for target 'check-local' failed<br />make<sup><a href="#fn1">1</a></sup>: <b>* [check-local] Error 1<br />make<sup><a href="#fn1">1</a></sup>: Leaving directory '/home/mmishra/10_Jan_code/osmo-pcu/tests'<br />Makefile:1015: recipe for target 'check-am' failed<br />make: *</b> [check-am] Error 2</p>
<p>Below is the error log in TBF test suite:</p>
<p>=== start test_tbf_dl_llc_loss ===<br />Assert failed !check_element_exists(cnode, cmd->string) command.c:626<br />backtrace() returned 9 addresses<br />/usr/local/lib/libosmovty.so.3(install_element+0xce) [0x7fa03426914e]<br />/usr/local/lib/libosmovty.so.3(install_element_ve+0x11) [0x7fa034269581]<br />/usr/local/lib/libosmogb.so.4(gprs_ns_vty_init+0x17) [0x7fa0344840d7]<br />./TbfTest() [0x40e510]<br />./TbfTest() [0x404a46]<br />./TbfTest() [0x4029d1]<br />/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fa0332ad830]<br />./TbfTest() [0x4031e9]<br />Aborted (core dumped)</p> OsmoBTS - Bug #1865 (Rejected): TCH/F_PDCH is not working as TCH/F channel for CS voice call in U...https://osmocom.org/issues/18652016-12-02T09:59:29Zmrinal
<p>In old commit version TCH/F_PDCH was working fine as TCH/F as well as PDCH channel .We further checked the commit version using git bisect to find out the exact version from where this functionality is broken . Below is the commit version of BSC :</p>
<p>c3f72f63afde926dfc46827d6880055597515fb6 <br />dyn TS: fix: ts_subslots() for TCH/F_PDCH in PDCH mode</p>
<p>Below failure logs observed when CS call is initiated using TCH/F_PDCH channel:</p>
<p>0004> bsc_init.c:288 bootstrapping RSL for BTS/TRX (0/2) on ARFCN 563 using MCC=901 MNC=60 LAC=1 CID=0 BSIC=63<br /><0000> chan_alloc.c:355 Failed to allocate TCH_F channel<br /><0004> abis_rsl.c:1755 BTS 0 CHAN RQD: no resources for TCH_F 0xee<br /><0000> chan_alloc.c:355 Failed to allocate TCH_H channel<br /><0004> abis_rsl.c:1755 BTS 0 CHAN RQD: no resources for TCH_H 0x4d<br /><0000> chan_alloc.c:355 Failed to allocate TCH_H channel<br /><0004> abis_rsl.c:1755 BTS 0 CHAN RQD: no resources for TCH_H 0x6a</p>