https://osmocom.org/
https://osmocom.org/favicon.ico?1664741409
2018-11-13T10:53:21Z
Open Source Mobile Communications
OsmoBSC - Bug #3690: BSC_Tests.TC_dyn_pdch_osmo_act_deact failure: Unexpected TS Mode: "NONE mode"
https://osmocom.org/issues/3690?journal_id=12569
2018-11-13T10:53:21Z
stsp
<ul></ul><p>This seems to be a race condition.</p>
<p>The following transcripts show VTY sessions extracted from TCP streams in pcap files stored by the test.</p>
<p>A successful test run shows 'NONE mode' once on the VTY, but then shows 'PDCH mode':</p>
<pre>
Welcome to the OsmoBSC VTY interface
Copyright (C) 2008-2018 Harald Welte, Holger Freyther
Contributions by Daniel Willmann, Jan L..bbe, Stefan Schmidt
Dieter Spaar, Andreas Eversberg, Sylvain Munaut, Neels Hofmeyr
License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
........"...OsmoBSC> enable
enable
OsmoBSC# configure terminal
configure terminal
OsmoBSC(config)# network
network
OsmoBSC(config-net)# bts 0
bts 0
OsmoBSC(config-net-bts)# trx 0
trx 0
OsmoBSC(config-net-bts-trx)# timeslot 6
timeslot 6
OsmoBSC(config-net-bts-trx-ts)# phys_chan_config TCH/F_TCH/H_PDCH
phys_chan_config TCH/F_TCH/H_PDCH
OsmoBSC(config-net-bts-trx-ts)# end
end
OsmoBSC# drop bts connection 0 oml
drop bts connection 0 oml
OsmoBSC# show timeslot 0 0 6
show timeslot 0 0 6
BTS 0, TRX 0, Timeslot 6, phys cfg TCH/F_TCH/H_PDCH (NONE mode), TSC 2
NM State: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
OsmoBSC# show timeslot 0 0 6
show timeslot 0 0 6
BTS 0, TRX 0, Timeslot 6, phys cfg TCH/F_TCH/H_PDCH (PDCH mode), TSC 2
NM State: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
OsmoBSC# configure terminal
</pre>
<p>Whereas the failing test run twice saw 'NONE mode' on the VTY:</p>
<pre>
Welcome to the OsmoBSC VTY interface
Copyright (C) 2008-2018 Harald Welte, Holger Freyther
Contributions by Daniel Willmann, Jan L..bbe, Stefan Schmidt
Dieter Spaar, Andreas Eversberg, Sylvain Munaut, Neels Hofmeyr
License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
........"...OsmoBSC> enable
enable
OsmoBSC# configure terminal
configure terminal
OsmoBSC(config)# network
network
OsmoBSC(config-net)# bts 0
bts 0
OsmoBSC(config-net-bts)# trx 0
trx 0
OsmoBSC(config-net-bts-trx)# timeslot 6
timeslot 6
OsmoBSC(config-net-bts-trx-ts)# phys_chan_config TCH/F_TCH/H_PDCH
phys_chan_config TCH/F_TCH/H_PDCH
OsmoBSC(config-net-bts-trx-ts)# end
end
OsmoBSC# drop bts connection 0 oml
drop bts connection 0 oml
OsmoBSC# show timeslot 0 0 6
show timeslot 0 0 6
BTS 0, TRX 0, Timeslot 6, phys cfg TCH/F_TCH/H_PDCH (NONE mode), TSC 2
NM State: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
OsmoBSC# show timeslot 0 0 6
show timeslot 0 0 6
BTS 0, TRX 0, Timeslot 6, phys cfg TCH/F_TCH/H_PDCH (NONE mode), TSC 2
NM State: Oper 'Enabled', Admin 'Unlocked', Avail 'OK'
OsmoBSC#
</pre>
OsmoBSC - Bug #3690: BSC_Tests.TC_dyn_pdch_osmo_act_deact failure: Unexpected TS Mode: "NONE mode"
https://osmocom.org/issues/3690?journal_id=12570
2018-11-13T10:54:03Z
stsp
<ul></ul>
OsmoBSC - Bug #3690: BSC_Tests.TC_dyn_pdch_osmo_act_deact failure: Unexpected TS Mode: "NONE mode"
https://osmocom.org/issues/3690?journal_id=12573
2018-11-13T14:31:04Z
stsp
<ul></ul><p>Related proposed changes:</p>
<p>show dynamic timeslot details in 'show timeslot' vty command <br /><a class="external" href="https://gerrit.osmocom.org/c/osmo-bsc/+/11762">https://gerrit.osmocom.org/c/osmo-bsc/+/11762</a></p>
<p>attempt to fix a race condition in BSC test's f_ts_dyn_mode_get <br /><a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11763">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/11763</a></p>
OsmoBSC - Bug #3690: BSC_Tests.TC_dyn_pdch_osmo_act_deact failure: Unexpected TS Mode: "NONE mode"
https://osmocom.org/issues/3690?journal_id=12574
2018-11-13T14:31:24Z
stsp
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul>
OsmoBSC - Bug #3690: BSC_Tests.TC_dyn_pdch_osmo_act_deact failure: Unexpected TS Mode: "NONE mode"
https://osmocom.org/issues/3690?journal_id=18841
2020-06-21T14:50:32Z
laforge
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>both patches merged ages ago</p>