<matrixBuild _class='hudson.matrix.MatrixBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action _class='hudson.model.ParametersAction'><parameter _class='hudson.model.StringParameterValue'><name>BRANCH</name><value>master</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>EMAIL_NOTIFICATIONS</name><value>jenkins-notifications@lists.osmocom.org laforge@gnumonks.org</value></parameter></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>0</buildableDurationMillis><buildableTimeMillis>0</buildableTimeMillis><buildingDurationMillis>229970</buildingDurationMillis><executingTimeMillis>229970</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>6625</waitingDurationMillis><waitingTimeMillis>6625</waitingTimeMillis></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmaster _class='hudson.plugins.git.util.Build'><buildNumber>11397</buildNumber><marked><SHA1>4c6324213ac87f9979df7e6d0f596f175ddb27f6</SHA1><branch><SHA1>4c6324213ac87f9979df7e6d0f596f175ddb27f6</SHA1><name>origin/master</name></branch></marked><revision><SHA1>4c6324213ac87f9979df7e6d0f596f175ddb27f6</SHA1><branch><SHA1>4c6324213ac87f9979df7e6d0f596f175ddb27f6</SHA1><name>origin/master</name></branch></revision></originmaster><refsremotesoriginosmithwip _class='hudson.plugins.git.util.Build'><buildNumber>11003</buildNumber><marked><SHA1>7db79cc39a265a6838206df836d1bee28be1acee</SHA1><branch><SHA1>7db79cc39a265a6838206df836d1bee28be1acee</SHA1><name>refs/remotes/origin/osmith/wip</name></branch></marked><revision><SHA1>7db79cc39a265a6838206df836d1bee28be1acee</SHA1><branch><SHA1>7db79cc39a265a6838206df836d1bee28be1acee</SHA1><name>refs/remotes/origin/osmith/wip</name></branch></revision></refsremotesoriginosmithwip><refsremotesoriginmaster _class='hudson.plugins.git.util.Build'><buildNumber>7614</buildNumber><marked><SHA1>73773447715c57075ad5acb96a5346ff23d7e91f</SHA1><branch><SHA1>73773447715c57075ad5acb96a5346ff23d7e91f</SHA1><name>refs/remotes/origin/master</name></branch></marked><revision><SHA1>73773447715c57075ad5acb96a5346ff23d7e91f</SHA1><branch><SHA1>73773447715c57075ad5acb96a5346ff23d7e91f</SHA1><name>refs/remotes/origin/master</name></branch></revision></refsremotesoriginmaster></buildsByBranchName><lastBuiltRevision><SHA1>4c6324213ac87f9979df7e6d0f596f175ddb27f6</SHA1><branch><SHA1>4c6324213ac87f9979df7e6d0f596f175ddb27f6</SHA1><name>origin/master</name></branch></lastBuiltRevision><remoteUrl>https://gerrit.osmocom.org/osmo-bts</remoteUrl><scmName></scmName></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#11397</displayName><duration>229970</duration><estimatedDuration>196510</estimatedDuration><fullDisplayName>master-osmo-bts #11397</fullDisplayName><id>11397</id><inProgress>false</inProgress><keepLog>false</keepLog><number>11397</number><queueId>75175</queueId><result>SUCCESS</result><timestamp>1774862887007</timestamp><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/11397/</url><builtOn></builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/osmo-bts-trx/sched_lchan_xcch.c</affectedPath><commitId>796965d72b96ca6a9e40848a8b3397fa01d9883d</commitId><timestamp>1774606183000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/fixeria</absoluteUrl><fullName>Vadim Yanitskiy</fullName></author><authorEmail>vyanitskiy@sysmocom.de</authorEmail><comment>osmo-bts-trx: rx_data_fn(): fix copy-paste in comment

Change-Id: Ibf35c468310a690fd873cf968bb2c44b493ca5ea
</comment><date>2026-03-27 17:09:43 +0700</date><id>796965d72b96ca6a9e40848a8b3397fa01d9883d</id><msg>osmo-bts-trx: rx_data_fn(): fix copy-paste in comment</msg><path><editType>edit</editType><file>src/osmo-bts-trx/sched_lchan_xcch.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/osmo-bts-trx/sched_lchan_rach.c</affectedPath><commitId>a158425c0c586dc7a80d2c076194869a64531e24</commitId><timestamp>1774606334000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/fixeria</absoluteUrl><fullName>Vadim Yanitskiy</fullName></author><authorEmail>vyanitskiy@sysmocom.de</authorEmail><comment>osmo-bts-trx: rx_rach_fn(): remove redundant fall-back

Condition `synch_seq != RACH_SYNCH_SEQ_TS0` is unlikely to be true,
given that no other synch. sequences are defined by 3GPP TS 45.002.
Even if this happens for whatever reason (e.g. a bug), assigning
`synch_seq` to `RACH_SYNCH_SEQ_TS0` is not needed, as `synch_seq`
is never read after the switch statement.  The logging message is
not useful either, since we already print the synch. seq. above.

Change-Id: I4cdc03dc6631ca17d13a3067ad03020e3e97eab1
</comment><date>2026-03-27 17:12:14 +0700</date><id>a158425c0c586dc7a80d2c076194869a64531e24</id><msg>osmo-bts-trx: rx_rach_fn(): remove redundant fall-back</msg><path><editType>edit</editType><file>src/osmo-bts-trx/sched_lchan_rach.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/common/tx_power.c</affectedPath><affectedPath>include/osmo-bts/tx_power.h</affectedPath><affectedPath>src/common/bts_shutdown_fsm.c</affectedPath><commitId>4c6324213ac87f9979df7e6d0f596f175ddb27f6</commitId><timestamp>1774610689000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/fixeria</absoluteUrl><fullName>Vadim Yanitskiy</fullName></author><authorEmail>vyanitskiy@sysmocom.de</authorEmail><comment>bts_shutdown_fsm: fix spurious RAMP_COMPL events in WAIT_TRX_CLOSED

With multiple TRXes ramping down in lockstep, both their final
ramp-timer callbacks fire back-to-back in the same event loop pass,
setting p_total_cur_mdBm to the target value for both before any async
hardware acknowledgement arrives.  When the first SETPOWER ack returns
and fires ramp_down_compl_cb() for TRX0, the remaining-TRX check in
st_wait_ramp_down_compl() inspects p_total_cur_mdBm for TRX1 and finds
it already at the target - concluding that all TRXes are done.  The FSM
then transitions to WAIT_TRX_CLOSED, and the second ack (for TRX1)
fires ramp_down_compl_cb() into the wrong state, producing:

  BTS_SHUTDOWN(...){WAIT_TRX_CLOSED}: Event BTS_SHUTDOWN_EV_TRX_RAMP_COMPL not permitted

The root cause is that p_total_cur_mdBm is a *requested* value set in
the timer callback, not a confirmed one.  The hardware confirmation
arrives asynchronously via power_trx_change_compl() -&gt;
power_ramp_do_step(), which is also where compl_cb() is invoked.

Fix by adding a 'complete' flag to trx_power_params.ramp that is:

* cleared when _power_ramp_start() begins a new ramp, and
* set just before compl_cb() is called in power_ramp_do_step()

The shutdown FSM remaining-TRX count then checks !ramp.complete instead of
comparing p_total_cur_mdBm against the target, correctly reflecting which
TRXes have actually received hardware confirmation of ramp completion.

Change-Id: Ia71393e871187d6b44b7f520eb421bab354aafd1
</comment><date>2026-03-27 18:24:49 +0700</date><id>4c6324213ac87f9979df7e6d0f596f175ddb27f6</id><msg>bts_shutdown_fsm: fix spurious RAMP_COMPL events in WAIT_TRX_CLOSED</msg><path><editType>edit</editType><file>src/common/tx_power.c</file></path><path><editType>edit</editType><file>src/common/bts_shutdown_fsm.c</file></path><path><editType>edit</editType><file>include/osmo-bts/tx_power.h</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/fixeria</absoluteUrl><fullName>Vadim Yanitskiy</fullName></culprit><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=lc15,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=lc15,FIRMWARE_VERSION=origin%2Fnrw%2Flitecell15,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=lc15,FIRMWARE_VERSION=v2017.01,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=oc2g,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=oc2g,FIRMWARE_VERSION=origin%2Fnrw%2Foc2g,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=oct,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=oct+trx,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=femtobts_v2.7,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v2.4,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v3.0.1pre,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v3.1,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v5.1,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=trx,FIRMWARE_VERSION=master,WITH_MANUALS=0,a4=default,label=raspbian/11397/</url></run><run><number>11397</number><url>https://jenkins.osmocom.org/jenkins/view/registry/job/master-osmo-bts/BTS_MODEL=trx,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/</url></run></matrixBuild>