https://osmocom.org/https://osmocom.org/favicon.ico?16647414092017-02-07T00:38:04ZOpen Source Mobile CommunicationsLinux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=30092017-02-07T00:38:04Zlaforge
<ul></ul><p>what I have in mind is basically something like:</p>
<a name="live-tests"></a>
<h3 >live tests<a href="#live-tests" class="wiki-anchor">¶</a></h3>
<ul>
<li>set up one link with several tunnels</li>
<li>use sgsnemu or derived tool for other end of tunnel</li>
<li>exchange packets between sgsnemu and tunnel</li>
<li>maybe even some performance testing with varying packet sizes (what to use as peer?)</li>
<li>stress testing of adding/removing links and tunnels at high rate</li>
</ul>
<a name="PCAP-replayinjection-tests"></a>
<h3 >PCAP replay/injection tests<a href="#PCAP-replayinjection-tests" class="wiki-anchor">¶</a></h3>
<ul>
<li>use some pre-recorded GTP packets and check for decapsulation as expected</li>
<li>functional testing of some features, like
<ul>
<li>handling of invalid GTP packets</li>
<li>handling of unknown TEID</li>
<li>handling of fragmentation</li>
<li>handling of "reserved" bits in GTP header</li>
</ul></li>
</ul>
<p>the actual test code could be pat of the libgtpnl repository. We could start by manually executing it against proposed patches, and later maybe move towards a jenkins installation that tracks net-next and runs the tests once per day.</p>
<p>All of the above is just dreaming for now, I personally don't expect to have time soon to fix this. But it's still worth sharing thoughts and ideas.</p> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=49982017-08-15T17:37:59Zlaforge
<ul></ul> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=50452017-08-17T06:40:55Zlaforge
<ul><li><strong>Assignee</strong> set to <i>laforge</i></li></ul> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=96542018-05-30T14:56:34Zlaforge
<ul><li><strong>Tags</strong> set to <i>GTP</i></li></ul> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=211532021-02-06T12:15:15Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-2 priority-default closed" href="/issues/3208">Bug #3208</a>: automatic test setup for OsmoGGSN with kernel-gtp-u</i> added</li></ul> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=211552021-02-06T12:15:38Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-1 priority-lowest" href="/issues/5012">Feature #5012</a>: use osmo-uecups from GGSN_Tests.ttcn</i> added</li></ul> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=211572021-02-06T12:17:57Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>laforge</i> to <i>osmith</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Low</i></li></ul><p>Note: this ticket predates our TTCN3 test suites.</p>
The "live tests" described abvove should be possible to handle via
<ul>
<li>running existing GGSN_Tests.ttcn against osmo-ggsn with kernel GTP-U (implemented in <a class="issue tracker-1 status-3 priority-2 priority-default closed" title="Bug: automatic test setup for OsmoGGSN with kernel-gtp-u (Resolved)" href="https://osmocom.org/issues/3208">#3208</a>)</li>
<li>possibly by osmo-uecups enabled tests (see <a class="issue tracker-2 status-1 priority-1 priority-lowest" title="Feature: use osmo-uecups from GGSN_Tests.ttcn (New)" href="https://osmocom.org/issues/5012">#5012</a>)</li>
</ul>
<p>The replay/injection tests are something that should be done in GGSN_Tests.ttcn, if it is not already implemented.</p> Linux Kernel GTP-U - Feature #1943: test setup for Linux kernel GTP-U tunneling modulehttps://osmocom.org/issues/1943?journal_id=273952023-07-20T15:25:25Zlaforge
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>i think the ttcn3 tests we have these days cover anything except performance testing.</p>