Skip to content
Success

#22556 (Aug 3, 2026, 9:53:53 PM)

Started 8 hr 12 min ago
Took 2 min 22 sec on build4-deb12build-ansible

Started by upstream project gerrit-osmo-trx build number 620
originally caused by:

This run spent:

  • 5 min 16 sec waiting;
  • 2 min 22 sec build duration;
  • 7 min 38 sec total from scheduled to completion.
Revision: fc07bfecd00b927d1dece56c0f735e7719a1d592
Repository: $GERRIT_REPO_URL
  • master
libosmo-trx/ep: flush pending TRXC messages on endpoint teardown

osmo_trx_ep_close() used to drop any still-queued ctrl socket Tx data
via osmo_iofd_free(), including a 'goodbye' TRXC message (i.e. "CMD
POWEROFF") that may have just been enqueued right before teardown.

Detach such a ctrl_iofd from the endpoint (which may be freed right
after osmo_trx_ep_close() returns) and let it live on its own, driven
by the same event loop, until the pending write(s) complete (or fail),
at which point it closes and frees itself. Data sockets and pending Tx
data batches are still dropped immediately, as before.

This follows the async-flush pattern used by osmo-pcap's
osmo_pcap_wr_file_flush(), adapted to the osmo_io API (there is no
osmo_iofd_flush()).

Change-Id: I69e6a3bcf49afc3cfca4a72afdf459625cb91e56
Vadim Yanitskiy at