Skip to content
Success

Changes

Summary

  1. ttcn3-bts-test/jenkins.sh: tweak local vars (details)
  2. ttcn3-bts-test: run bpftrace scripts (details)
  3. common/respawn: improve logging (details)
  4. ttcn3-bts-test: give bpftrace time to print stats (details)
  5. ttcn3-bts-test: mount tracingfs only when needed (details)
Commit bc32d7753e34af448cf8f44b8650a39ef5a50cd2 by Oliver Smith
ttcn3-bts-test/jenkins.sh: tweak local vars

Make it consistent.

Change-Id: I8c5597f20428f8f274ea15f62e561562e5768460
The file was modifiedttcn3-bts-test/jenkins.sh
Commit 47fce0bf8a910102ef65efa905ea30374014069c by Oliver Smith
ttcn3-bts-test: run bpftrace scripts

Add logic to run bpftrace scripts attached to osmo-bts-* while the
testsuite runs. The initial script is from Vadim:
https://gitea.osmocom.org/osmocom/bpftrace-scripts/src/branch/master/udp_sendmsg_delay.bt

Change-Id: I5c22cdbb08fe797be936ca174f65ade626fa4895
The file was modifiedREADME.md
The file was modifiedttcn3-bts-test/jenkins.sh
The file was modifiedosmo-bts-master/Dockerfile
The file was modifiedosmo-bts-latest/Dockerfile
The file was addedttcn3-bts-test/bpftrace/udp_sendmsg_delay.bt
Commit e79607f368054d02f889e0e6338836acfde72ab3 by Oliver Smith
common/respawn: improve logging

Add "[$(date)] respawn:" infront of all log messages, so it is clear
that they come from this script and so we have timestamps that we can
compare. This will be useful when running the bpftrace scripts along
with osmo-bts-*, which will get restarted at the same time as the
osmo-bts-* processes.

Change-Id: I641f17f6988eced12c9b301042fb5c5cfd757511
The file was modifiedcommon/respawn.sh
Commit 92d6cf0e865eb3479c2e5c69c6c41046dbf283e0 by Oliver Smith
ttcn3-bts-test: give bpftrace time to print stats

When running with bpftrace, send a kill signal to the bpftrace scripts
before killing the container. Otherwise the scripts don't print their
statistics, the end of the log then looks like this:

  [Thu Dec 18 18:06:06 UTC 2025] respawn: 2: starting: /data/bpftrace/udp_sendmsg_delay.sh
  + pidof osmo-bts-trx
  + bpftrace /data/bpftrace/udp_sendmsg_delay.bt -p 56
  Attaching 3 probes...
  Tracing udp_sendmsg() latency... Hit Ctrl-C to end.

Change-Id: I1781bddddf429c4c6a951b519a639b8663d397e6
The file was modifiedttcn3-bts-test/jenkins.sh
Commit 3e2224ccbcaa28195ac2de5054ab57770eedbd67 by Oliver Smith
ttcn3-bts-test: mount tracingfs only when needed

Change-Id: I59bbbc96c0686a2c8792626297e656df72e578ed
The file was modifiedttcn3-bts-test/jenkins.sh