<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21932">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BSC_Tests: fix f_recv_next_si1(): skip unmatched RSL messages<br><br>Since Idb453fc894584ccf4f5f8b45a24421db958e9478, osmo-bsc does send<br>ip.access specific Measurement Pre-Processing Defaults.  This message<br>currently blocks the 'alt' statement in f_recv_next_si1(), so all<br>test cases calling it fail due to the guard timeout.<br><br>What's even worse, both TC_si_acc_rotate() and TC_si_acc_ramp_rotate()<br>dynamically configure the IUT in order to re-generate and send System<br>Information messages periodically.  If any of them fails prematurely,<br>the related configuration parameters would remain active, so the IUT<br>would continue sending System Information messages, causing failures<br>in subsequent test cases.<br><br>Let's simply ignore all unmatched messages in the 'alt' statement.<br><br>Change-Id: I1a85a046e1a8ebcd494354dddcbcc9707fdf5ee9<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index 813c94e..a1fa4dd 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -2458,6 +2458,7 @@</span><br><span>           g_system_information[rsl_idx].si1 := omit;</span><br><span>           T.stop;</span><br><span>              }</span><br><span style="color: hsl(120, 100%, 40%);">+     [] IPA_RSL[rsl_idx].receive { repeat; }</span><br><span>      [] T.timeout { setverdict(fail, "Timeout receiving next SI1"); }</span><br><span>   }</span><br><span>    return last_si1;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21932">change 21932</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21932"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I1a85a046e1a8ebcd494354dddcbcc9707fdf5ee9 </div>
<div style="display:none"> Gerrit-Change-Number: 21932 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>