Skip to content
Success

#22282 (Jun 23, 2026, 7:41:53 PM)

Started 13 hr ago
Took 5 min 59 sec on build4-deb12build-ansible

Started by upstream project gerrit-osmo-bts build number 1260
originally caused by:

This run spent:

  • 5.5 sec waiting;
  • 5 min 59 sec build duration;
  • 6 min 4 sec total from scheduled to completion.
Revision: 159b51ba32f171a11a3f1f0fbbc9d524fb7af6b3
Repository: $GERRIT_REPO_URL
  • master
osmo-bts-trx: fix spurious clock skew shutdown after self-compensation

When the BTS runs ahead of the transceiver (elapsed_fn < 0),
trx_sched_clock() reschedules the timerfd to deliberately delay the
next FN.  osmo_timerfd_schedule() resets the timerfd and discards any
accumulated expirations, but last_fn_timer.tv was left pointing at
the previous callback.  The next trx_fn_timer_cb() then measures
elapsed_us all the way back to that previous callback - spanning the
deliberate delay (or any OS stall that preceded us) - and falsely
trips the "PC clock skew too high" check, shutting the BTS down
for no good reason.

Advance last_fn_timer.tv to the projected firing time of the
rescheduled timer so that the next callback measures roughly
one FN interval, as expected.

Change-Id: Icdb7db8abe70258ae008d9514b6608bd74bb2881
AI-Assisted: yes (Claude)
Related: OS#6794
Vadim Yanitskiy at