Skip to content

Loading builds...

Changes

#685 (Feb 4, 2026, 2:11:07 PM)

osmo-ns-master: drop python3-osmopy-utils / --enable-external-tests

--enable-external-tests requires python3-osmopy-utils, however this
package is no longer available for debian:10.  We're not running
tests, so it's not really needed.  Removing it fixes ttcn3-ns-test-fr.

Change-Id: I342099be87175dfe189a8906b53ee26328c0a417
Vadim Yanitskiy at

#684 (Jan 30, 2026, 7:46:09 PM)

ttcn3-bts-test: fail on unexpected respawn count

Suggested-by: Pau Espin Pedrol <pespin@sysmocom.de>
Change-Id: Idd9f8dcf1a7186a0715c1026da44f404c1c574d9
Oliver Smith at

#683 (Jan 21, 2026, 12:36:09 PM)

debian-trixie-obs-latest: fix signed-by= path

Fix for:
  Error: Failed to parse keyring "/usr/share/keyrings/osmocom-misc.asc"

Fixes: 59d469 ("debian-trixie-build: install the osmocom:misc repo")
Change-Id: Ib90abcdf96fc2b555f477899bac730c6f4a76fad
Oliver Smith at

#682 (Jan 20, 2026, 2:26:06 PM)

debian-trixie-build: install the osmocom:misc repo

Install the osmocom:misc repository, so we can use the latest bpftrace
version in ttcn3-bts-test.

Related: OS#6927
Change-Id: I58e91932b089a92f4f4c31814cd1fd7d202b04c0
Oliver Smith at

#681 (Jan 16, 2026, 12:47:19 PM)

debian-trixie-obs-asan: new container

Switching to debian 13 by default requires this new container for
ttcn3-bts-test-asan.

Fixes: 82bee6c4 ("jenkins-common: use debian 13 by default")
Change-Id: Icda707751fca8a314e92200bce0e473e43e426f3
Oliver Smith at

#680 (Jan 15, 2026, 10:41:09 AM)

ttcn3-bts-test: add --no-warnings to bpftrace

Since switching to debian 13 and having bpftrace 0.23.2 instead of
0.17.0, bpftrace is constantly printing warnings. Turn off warnings by
default so we don't end up filling up the disk space of jenkins runners
while ttcn3-bts-test runs for >2h.

We can turn on warnings in copies of the main jenkins job for
development, while also ensuring that we only run a few tests instead of
the whole testsuite.

Warnings look like this:

  root@deb12build-ansible:/home/osmocom-build/jenkins/workspace/ttcn3-bts-test/logs/bts/bpftrace# head udp_sendmsg_delay.log
  [Thu Jan 15 01:31:13 UTC 2026] respawn: 0: starting: /data/bpftrace/udp_sendmsg_delay.sh
  + pidof osmo-bts-trx
  + bpftrace /data/bpftrace/udp_sendmsg_delay.bt -p 9
  Attaching 3 probes...
  Tracing udp_sendmsg() latency... Hit Ctrl-C to end.
  /data/bpftrace/udp_sendmsg_delay.bt:29:3-13: WARNING: Invalid argument
  Additional Info - helper: get_ns_current_pid_tgid, retcode: -22
    @start[tid] = nsecs;
    ~~~~~~~~~~
  /data/bpftrace/udp_sendmsg_delay.bt:30:3-13: WARNING: Invalid argument

Change-Id: I0e4c62f27f67d4b8601516ce5c1ebfa415331b4a
Oliver Smith at

#679 (Jan 15, 2026, 10:36:09 AM)

debian-trixie-obs-latest: new container

Switching to debian 13 by default requires this new container for all
the -latest jobs that are still docker-playground based.

Fixes: 82bee6c4 ("jenkins-common: use debian 13 by default")
Change-Id: Id78e445ff93dbe63751f4579a52f122d524e0003
Oliver Smith at

#678 (Jan 14, 2026, 3:11:09 PM)

jenkins-common: use debian 13 by default

The testsuites were still using debian 12, switch to the current stable
version (13).

This also gives us a much newer bpftrace version:
* Debian 12: 0.17.0-1
* Debian 13: 0.23.2-1

Change-Id: I231e1e93724faf6d659132be9b9d0e164502bf95
Oliver Smith at

#677 (Jan 7, 2026, 5:41:08 PM)

bpftrace: Introduce ksys_write_delay.bt

This will record latency of write() calls during ttcn3-bts-test run,
where some write() call on stderr seems to be taking ~0.32 seconds,
stalling the timerfd (71 times) and making osmo-bts exit.

Related: OS#6794
Change-Id: Ia1d2036ac7c6c9e2818d07e8787d857b3b3e5881
Pau Espin Pedrol at

#676 (Jan 6, 2026, 9:41:07 PM)

Upgrade redmine to 5.1.11 (security fixes)

As the official docker image still has 5.1.10 we're temporarily using a
custom build of the redmine base container.

Change-Id: Id06331c1f169cd02340730d5499bcb8a1ad3ea22
Closes: OS#6915
laforge at

#675 (Dec 19, 2025, 11:31:07 AM)

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
Oliver Smith at
ttcn3-bts-test: mount tracingfs only when needed

Change-Id: I59bbbc96c0686a2c8792626297e656df72e578ed
Oliver Smith at

#674 (Dec 19, 2025, 9:16:06 AM)

ttcn3-bts-test/jenkins.sh: tweak local vars

Make it consistent.

Change-Id: I8c5597f20428f8f274ea15f62e561562e5768460
Oliver Smith at
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
Oliver Smith at
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
Oliver Smith at

#673 (Dec 10, 2025, 7:21:07 PM)

ttcn3-bts-test: Run fake_trx with sched-prio-rr

Change-Id: Ie8c395bb7de1823ac5de951e6a66085148e9c224
Depends: osmocom-bb.git I3c7f36c17fc7b9cae1023b4a0ed37f983dc286dc
Pau Espin Pedrol at

#672 (Nov 14, 2025, 1:41:05 PM)

nplab-m3ua-test: Parametrize git branch and change it to osmocom/master

I just pushed a new "osmocom/master" branch to our fork pointing to
laforge/python3.

Change-Id: I78b2a27b355f11ba64476216bc7ef76713e8f61e
Pau Espin Pedrol at
nplab-m3ua-test: Configure Network Indicator as International

That's what we are using at the osmo-stp configuration.
Until now it didn't matter since libosmo-sigtran didn't validate NI
matching configuration on received messages, but since
1af56bf8cf266dd708b623e75d6d175a58f3dd47 it does.

Change-Id: Iae825ebc588524c7a3761c80392940733f3887a6
Pau Espin Pedrol at

#671 (Nov 6, 2025, 9:06:06 AM)

gerrit: update to 3.10.9 (latest 3.10 patch release)

Change-Id: Id3f70d0a2de8b2bd640c36796e643b953f6716cb
laforge at
gerrit: update to 3.11.x as 3.10.x will become EOL on November 10, 2025

see https://www.gerritcodereview.com/2025-09-17-gerrit-3.13-release-plan.html

Change-Id: Icfbed5017e867f4195ee2922331c0e76b64139a0
laforge at

#670 (Oct 22, 2025, 1:11:08 PM)

common/Release.key: update

Source: https://obs.osmocom.org/projects/osmocom/public_key
Change-Id: I5bee715ad50830ab12472fc3946b30ec3d9ace16
Oliver Smith at

#669 (Oct 13, 2025, 6:21:08 AM)

debian-trixie-build: add libgcrypt20-dev

Add libgcrypt20-dev as it is needed by open5gs's dependency
freeDiameter:

../../../../../build/src/open5gs/subprojects/freeDiameter/include/freeDiameter/meson.build:146:15: ERROR: C shared or static library 'gcrypt' not found

Without this installed, gerrit-verifications for osmo-dev fails.

Change-Id: Ifc0cc2e3900530cb75651125c0f769f8689748b2
Oliver Smith at

#668 (Oct 8, 2025, 12:41:09 PM)

debian-trixie-build: new container

Create a copy of debian-bookworm-build for trixie.

Change-Id: I880b5d9c57642af98c116fcb4137a54c58f5f7b4
Oliver Smith at
debian-trixie-build-arm: new container

Change-Id: I1c0efb85324b70b6370ea94f74f440e639442da5
Oliver Smith at

#667 (Sep 29, 2025, 6:31:06 AM)

debian-bookworm-build: add gdb

Add gdb to display backtraces for coredumps in jenkins.

Change-Id: I0069b157501ac37ef0a6be814b3f78e7504436a8
Oliver Smith at

#666 (Sep 24, 2025, 5:31:10 PM)

redmine: set session_store to active_record_store

Change the session store to fix the
"ActionDispatch::Cookies::CookieOverflow" errors we are getting.

IMPORTANT: after deploying this change, the following commands must be
executed once manually to create the session table:

  # docker compose exec redmine bash
  $ rails generate active_record:session_migration
  $ rake db:migrate

Related: OS#5476
Change-Id: Iacec800b9179cfac894f41e9eb1a5cca7e56ff1c
laforge at

#665 (Sep 24, 2025, 3:06:09 PM)

redmine: upgrade from 5.1.7 to 5.1.10 (security update)

Change-Id: I526679bd35baea3ba71c66b34fee9ccea44ca312
laforge at
titan: upgrade to libfftranscode 0.6 (updated NGAP ASN.1 to V17.5.0)

Change-Id: I56034ef75cd6cca88fc9d353e097086bce6d639c
laforge at

#664 (Jul 31, 2025, 12:21:09 PM)

ttcn3-bts-test: show respawn count at the end

As mentioned in the last commit, we currently must use respawn.sh to be
able to recover from clock skew errors seen in jenkins. Let's display
the respawn count at the end as warning.

Related: OS#6794
Change-Id: I4e5c3dd46ec682bfd79f2328195b0050fe3f186d
Oliver Smith at

#663 (Jul 30, 2025, 3:16:07 PM)

Revert "ttcn3-bts-test: do not use respawn.sh"

This reverts commit 57f680439f378f5bb5c6582297ae0636db6650f8.

We're observing a lot of turbulence in ttcn3-bts-test due to the
clock instability:

  Shutting down BTS, exit 1, reason: PC clock skew too high

Even though it's no longer necessary to respawn osmo-bts-trx,
let's restore the respawn.sh to recover from such failures.

Related: OS#6794
Change-Id: I1177e9068c49bf31a4010cd21700839dfa8d5050
Oliver Smith at

#662 (Jul 30, 2025, 9:51:08 AM)

osmo-s1gw-master: align with the upstream

Change-Id: I3c694af378c500002752c208c8fcc040fdac5587
Related: osmo-s1gw.git I5681ca103daf1c497218b4513b0ca97b1aae03d3
Related: SYS#7332
Vadim Yanitskiy at

#661 (Jul 29, 2025, 2:26:05 PM)

Use debian archive for deb10 libssl package

As Debian 10 is EOL, this debian 10 package we are still using here to
make mongodb work is getting removed from the mirrors. Currently some
still have it, some have deleted it already. Use the archive instead.

Fix for currently failing osmo-gsm-tester jobs:

  1.879 + wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb
  1.885 --2025-07-29 08:34:52--  http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb
  1.885 Resolving security.debian.org (security.debian.org)... 151.101.2.132, 151.101.66.132, 151.101.130.132, ...
  1.886 Connecting to security.debian.org (security.debian.org)|151.101.2.132|:80... connected.
  1.891 HTTP request sent, awaiting response... 404 Not Found
  1.898 2025-07-29 08:34:52 ERROR 404: Not Found.

Change-Id: Ia447d850d38c662aac567aa88685d984c0b42238
Oliver Smith at

#660 (Jul 29, 2025, 11:26:09 AM)

Makefile: add missing OSMO_S1GW_BRANCH

Change-Id: I952fd357ccc1d8ceaf51700134f8786c4dbc96e6
Vadim Yanitskiy at

#659 (Jul 14, 2025, 12:11:06 PM)

Use debian/eol:buster instead of debian:buster

Change-Id: Ic960320dcc6c5e8d8cc4d0bdf7541da4b692e10e
Oliver Smith at

#657 (May 26, 2025, 8:46:07 AM)

debian-bookworm-build: add deps for osmo-dev test

Prepare to run new tests for gen_makefile.py in osmo-dev in CI. This
requires pytest and open5gs dependencies to pass "meson setup".

Related: osmo-dev I8bb2af7ffb902fd690e83e36739c2b4415b9ab80
Change-Id: I528565fe21b5989fff1d1b005e53136af5be429e
Oliver Smith at

#656 (May 23, 2025, 9:11:06 AM)

debian-bookworm-erlang: add libnftables-dev

Change-Id: I08e08954dbf90f6548d817e0d179cc1bfbe6f315
Related: osmo-s1gw.git I498d2854447a2d53d2abddd38652f3e2bbb1fbdd
Related: SYS#7307
Vadim Yanitskiy at

#655 (May 12, 2025, 7:36:06 AM)

Fix remaining users of deprecated git.osmocom.org

git.osmocom.org is deprecated and will be removed at some point. Make
sure we don't use it anywhere in our docker containers.

Notably this drops the following line without replacement:
  ADD http://git.osmocom.org/python/osmo-python-tests/patch/?id=$OSMO_PYTHON2_TESTS_COMMIT /tmp/osmo-python-tests2-commit

This was not needed, because the patch for OSMO_PYTHON2_TESTS_COMMIT
will never change, it points to a commit hash (unlike checking master,
where the patch can change).

Change-Id: I2c7ab8fe9e87dd973df44ae1c5ff90930627040c
Oliver Smith at

#654 (May 9, 2025, 12:56:06 PM)

nplab: don't use deprecated git.osmocom.org

Update the git clones to point to gitea.

Change-Id: If6859323b5af3bd13a974cd1d676d4f19aa16773
Oliver Smith at

#653 (May 9, 2025, 8:01:09 AM)

{osmo-dev-on-,}debian-sid: remove

I just discovered this while updating the remaining users of legacy
git.osmocom.org. These containers have been added in 2017 and don't
build anymore, let's remove them. I highly doubt anybody is still these,
and if they do, we can bring them back easily.

Change-Id: I379d56676327a59962d955bb3d4a0562142228e3
Oliver Smith at

#652 (May 8, 2025, 8:01:06 AM)

common/ttcn3-docker-prepare: add _scripts symlink

The ttcn3-*-{start,stop}.sh scripts include a file from the _scripts dir
since Ia63c37b54fb42a8c64a676334cef6f9df4152e18. As they are called
through symlinks in / in docker-playground.git, we must make the another
symlink available for _scripts as well.

Fix for:
  ../ttcn3-tcpdump-start.sh: 3: .: cannot open ../_scripts/tcpdump-dumpcap.inc.sh: No such file

Change-Id: I3a093ac7058d31db958785692444cb58525a6181
Oliver Smith at

#651 (May 7, 2025, 8:41:07 AM)

debian-bookworm-rp2040: add openssh-client, rsync

Add packages required for publishing binaries.

Related: OS#6784
Change-Id: Ie82eff2de77cbe2770b677439f6942f515572f06
Oliver Smith at

#650 (Apr 30, 2025, 2:46:08 PM)

debian-bookworm-rp2040: new container

Related: OS#6784
Change-Id: I2a26ebc3c01a54dc2b0847b6b88d2f66934488c6
Oliver Smith at

#649 (Apr 17, 2025, 9:36:08 AM)

fixup: ttcn3-bts-test: use an older version of fake_trx.py

Setting OSMO_BB_BRANCH=ttcn3-bts-test did not achieve the goal, because
it was not consumed by the osmocom-bb-host-master's Makefile.  Setting
it in jenkins.sh does the trick.

Change-Id: Ib6857fafd4085aae91eec9c67f08766bdabeb2b7
Fixes: 8540ae7 ("ttcn3-bts-test: use an older version of fake_trx.py")
Vadim Yanitskiy at

#648 (Apr 16, 2025, 9:26:05 AM)

ttcn3-bts-test: use an older version of fake_trx.py

The latest version of fake_trx.py [re-]introduces burst queueing [1],
making its behavior more closely resemble that of a real transceiver.
However, this change has also introduced stability issues, leading
to increased flakiness in ttcn3-bts-test.

As a temporary workaround, use an older version predating this change.
Unset the "--sched-rr-prio" [2], which is not supported by that version.

Change-Id: I251082474bb29d0169f88b5bd545c97d487c8353
Related: [1] osmocom-bb.git I41291708effdd2c767be680fff22ffbd9a56815e
Related: [2] 6374a9e ("ttcn3-bts-test: Run fake_trx with sched-prio-rr")
Related: OS#6672
Vadim Yanitskiy at

#647 (Apr 14, 2025, 11:16:07 AM)

osmo-ns-master: build without uring for debian 10

In preparation for running FR tests with debian 10, adjust
osmo-ns-master to build libosmocore without uring support as
liburing-dev is not packaged for debian 10.

Related: OS#6494#note-19
Change-Id: I1278bc3435c791c429b38a21b53c8efe20e741df
Oliver Smith at
debian-buster-obs-latest: new container

Add this container in preparation for running
ttcn3-gbproxy-test-fr-latest with debian 10.

Related: OS#6494#note-19
Change-Id: I38c3ecb5cd40a6f67901388068ec1c8316a70fd4
Oliver Smith at
jenkins-common: support {latest,master}-debian10

It is required that we run the FR tests with debian 10. Adjust
jenkins-common.sh so we can use IMAGE_SUFFIX=master-debian10 and
IMAGE_SUFFIX=latest-debian10.

The related osmo-ci patch will configure jenkins to make use of this.

Related: OS#6494#note-19
Related: osmo-ci Ibd4cb705048ef5c39fa4192870e2b0f0d067842f
Change-Id: I1a41ca8ddd06f716c4bf29d60a0c2f0f82dc4e35
Oliver Smith at
Remove ttcn3 testsuites ported to testenv, part 3

Related: OS#6494
Change-Id: Ic07793fb7d8889684fd89b00860ebd0b17561a9e
Oliver Smith at

#646 (Apr 14, 2025, 11:06:07 AM)

upgrade to gerrit 3.10.x as 3.9 is EOL on May 12th

Change-Id: I906b4ff47cf714010697eeb226af826edfbaf911
laforge at

#645 (Apr 9, 2025, 8:01:08 AM)

debian-bookworm-build: remove pysispm, pydbus

Remove pysispm as it currently breaks building the container and as it
is unlikely that we actually need this library as it is for switching
on/off power strips.

I've seen it mentioned first in c9fa2a ("Introduce osmo-gsm-tester
docker setup") from where it apparently was copy pasted to debian 10, 11
and 12 containers afterwards c1f302c2 ("Add debian-buster-jenkins docker
setup").

Remove pydbus as well, it was apparently copy pasted with the same
history and isn't used in Osmocom software.

Fix for:
  #17 30.93 ERROR: Could not find a version that satisfies the requirement pysispm (from versions: none)
  #17 30.93 ERROR: No matching distribution found for pysispm

Change-Id: I731e171c85d530984279dc05544b6f02cec7cb3c
Oliver Smith at

#644 (Apr 3, 2025, 8:06:05 AM)

debian-bookworm-build: fix lcov-to-cobertura-xml

Use a specific commit with lcov-to-cobertura-xml, as the latest master
currently can't be installed with pip.

Change-Id: I2e248bf988be055a3a88cc414946e0377e266e1e
Oliver Smith at

#643 (Mar 18, 2025, 7:51:08 PM)

ttcn3-bts-test: Run fake_trx with sched-prio-rr

Depends: osmocom-bb.git I3c7f36c17fc7b9cae1023b4a0ed37f983dc286dc
Change-Id: I8f9df66e0819881587b55c93043fed9a294ab5e8
Pau Espin Pedrol at
ttcn3-bts: Allow running osmo-bts-trx with rt prio

osmo-ttcn3-hacks.git Change-Id I0251ed3ec0645617cf4e9bcc03e75c805bf1634c
adds "policy rr" to VTY config of osmo-bts-trx. Allow the process to set
it inside docker.

Change-Id: Ie85d62a865db9ee0ec26a476bb42e4a6ca0ef70b
Pau Espin Pedrol at

#642 (Mar 17, 2025, 12:01:06 PM)

osmo-{bsc,bts,sgsn}-master: remove unused deps

Change-Id: I8350091e3b0ce7af48edba10bd0b88875fe8ec41
Vadim Yanitskiy at

#641 (Mar 14, 2025, 9:46:05 AM)

debian-bookworm-build: add xxd

The xxd program is now required for building osmo-asf4-dfu.

Related: osmo-asf4-dfu I1403d35497cdea41ea5bed2c94b9e729ca352772
Change-Id: I8064c6a24ad7dfc0a6c83c1ff5bcb7b47fdd66f4
Oliver Smith at

#640 (Mar 13, 2025, 3:01:10 PM)

update redmine to latest 5.1.7 (security update)

Change-Id: Ia628674900376623626d8ad5f2a97324ed8780a1
laforge at
nplab-{m3ua,sua}-test: Record pcap of all testsuite run

Scripts are cherry-picked from osmo-ttcn3-hacks.git/ttcn3-tcpdump-{start,stop}.sh,
8fc1b2152ff7615f610e7a040cb3b5135dfc5351.

Change-Id: If4ea74c07d5aaca1278811ce8398dff23c386c10
laforge at

#639 (Mar 11, 2025, 10:11:05 AM)

debian-bookworm-build: add linting tools

Prepare for being able to run these linting tools in CI.

* clang-format gets used for osmo-asf4-dfu
* ruff gets used for testenv in osmo-ttcn3-hacks

Related: osmo-asf4-dfu I9768bc2590ca5306ee19d3276f0953c6b0b6f926
Related: osmo-ttcn3-hacks 157897523e54762ec3739cd7842c7b5f5d724ac2
Change-Id: I0a287b991a3efa50090587739529f95de32225bc
Oliver Smith at

#638 (Feb 25, 2025, 12:16:09 PM)

ttcn3-bts-test: do not use respawn.sh

Re-spawning osmo-bts is no longer necessary.  For quite some time now,
it has been able to attempt OML link re-establishment in a loop instead
of exit()ing.

Additionally, using respawn.sh makes crashes harder to detect.  Whether
we should restart the IUT process and continue executing the remaining
test cases after a crash is debatable.  However, none of the other
testsuites (except ttcn3-pcu-test, which actually requires restarting
osmo-pcu after each TC) use respawn.sh for that purpose.

Change-Id: I770a0530f90c5e03d2073bfc1c4cfd0e840379c9
Related: OS#6728, OS#6729
laforge at

#637 (Feb 25, 2025, 9:56:08 AM)

debian-bookworm-aram-applet: new container

Add a container for building aram-applet.

Related: SYS#7293
Change-Id: I6ed01bb837bffe6581a4c0d0b1cda39abb375fd5
Oliver Smith at

#636 (Jan 21, 2025, 9:16:08 AM)

osmo-pcap-master: depend on libosmo-netif

Fix the TTCN3-centos7-pcap-client-test jenkins job by adding the now
missing dependency on libosmo-netif.

Related: osmo-pcap I3562185f98685ea5a412273212e6dfbe55b360e2
Change-Id: Idc3cd011bc019c094d9b8b534dbd86056b76476c
Oliver Smith at

#635 (Jan 6, 2025, 10:31:07 AM)

upgrade gerrit to 3.9.7

Change-Id: Idd60966d7d7dc17dad0390ecc09e9601724136d7
laforge at
redmine: upgrade to 5.1.5

Change-Id: I47444b672e4a1bacec85762c6bad4dbb2a281ca4
laforge at

#634 (Dec 13, 2024, 12:56:08 PM)

ttcn3-remsim: Enable debug output of bankd

Change-Id: I8cd9d32b2612390bde31fa2814a51ecda20f920e
Pau Espin Pedrol at

#633 (Dec 5, 2024, 1:16:10 PM)

make: Fix OSMO_REMSIM_BRANCH not passed

Change-Id: Iae85a99d998f91f9fda8f416155059a00da35296
Pau Espin Pedrol at

#632 (Nov 19, 2024, 7:16:10 AM)

debian-bookworm-android: new container

Add a container for building android-apdu-proxy and possibly more
android projects in the future.

Related: OS#6367
Change-Id: Ic7a454be23072c3f0ed609d370fc88f49205b04c
Oliver Smith at

#631 (Nov 14, 2024, 11:51:07 AM)

jenkins-common: add NO_DOCKER_IMAGE_PULL

The docker_images_require function runs "docker build" with the "--pull"
argument to automatically get new base images (typically debian
bookworm).

Recently this started to cause an error when building the arm32/v7
image debian-bookworm-build-arm on the now arm64/v8 (aarch64) rpi4.

Add NO_DOCKER_IMAGE_PULL to be able to omit "--pull". The related patch
adjusts osmo-ci to pull separately beforehand.

Related: OS#6627
Related: osmo-ci Ibf91bc098f34b43f46680d0395928e60cdd478fc
Change-Id: I6e0a84ce7f8357611abc5da856f36d0df247de75
Oliver Smith at

#630 (Oct 28, 2024, 10:01:06 AM)

Remove ttcn3 testsuites ported to testenv, part 2

Related: OS#6494
Change-Id: I61fd5523dbd5664763b006d5ba9a368cd9caf9b9
Oliver Smith at

#629 (Oct 17, 2024, 7:56:06 AM)

osmo-gsm-tester: use debian-bookworm-build

osmo-gsm-tester was the last user of debian-buster-jenkins, and it just
broke again for some reason. Instead of adjusting debian-buster-jenkins
again this time, I've adjusted osmo-gsm-tester to run with
debian-bookworm-build instead so we can avoid the maintenance effort of
keeping debian-buster-jenkins working, as well as the additional time
needed to build this container.

We held off from upgrading to debian-bookworm-build, because no mongodb
debian packages are available for bookworm. However in the meantime we
have just installed the bullseye mongodb package in bookworm together
with the older libssl from bullseye that it was build against - we did
this in other containers already, so do this here too.

Other adjustments:
* Pip needs --break-system-packages now (it is fine in a docker
  container)
* Patchelf in bookworm is >= 0.11 (getting installed in the apt install
  call already), so we don't need to build it from source anymore.
* Remove 'if [ "$(arch)" = "x86_64" ];' around the mongodb code. This
  was needed earlier when we used to build this container on arm devices
  too, but AFAIK we don't do that anymore and it wasn't really useful in
  the first place. (And if we do we can bring this back easily.)
* Add rpm2cpio and cpio, because these are used during the
  osmo-gsm-tester_build-osmocom-bb job which will use this docker image
  with an upcoming osmo-ci patch (currently it is not using docker to
  build the Osmocom programs, but that leads to missing library errors
  once we upgrade to bookworm here). IMHO the build process should be
  reworked so that this is not necessary, but given that osmo-gsm-tester
  isn't really maintained currently, this is the bare minimum needed to
  migrate it away from debian buster.

Related: OS#6126
Change-Id: I5ed3b92f07f23c96b8f953e0a93991cc89476a12
Oliver Smith at

#628 (Oct 16, 2024, 8:56:09 AM)

make/Makefile: Update git branch references for asterisk and pjproject

The branches were modified a while ago to point to a development branch
while in heavy development phase. The work has been merged into feature
branches now, so move to those now that bulk of work is done.

Change-Id: I28e86f8d9ce5d46e1a891f83ec365ac9ca4e289f
Pau Espin Pedrol at

#627 (Oct 12, 2024, 4:51:06 PM)

upgrade gerrit to 3.8.6

Change-Id: I794db60131534619c0de85eeab7f493bcd4e9106
laforge at
upgrade gerrit to 3.9.5

Change-Id: I5d82853c8c533f055ff0590bfef343e601280520
laforge at
redmine: upgrade our docker container to redmine 5.1.3

Change-Id: Ie65cfa0cfb4b1914966525be0d8db77dc98b7fa0
laforge at

#626 (Oct 7, 2024, 7:01:08 AM)

fpga-build: Update RISC-V toolchain to riscv-none-elf

The riscv-none-embeded was deprecated ...

Change-Id: Iecdeae61f730d55d4e76056472100ca926229270
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut at

#625 (Sep 20, 2024, 12:51:06 PM)

debian-bookworm-titan: chown 1000 for deps

Change the ownership of the "deps" directory to a not yet created user
with the ID 1000. This user gets created when the gerrit verifications
use the container for building. Changing the ownership of the deps
directory allows using them and updating them as needed (e.g. if the
patch in review changes a commit of one of the deps).

Chowning here once results in faster jobs, compared to if we did it
every time the gerrit verifications job ran.

Creating the user here would result in conflicts with other containers
depending on debian-bookworm-titan that may create their own user with
the same UID.

Related: osmo-ci I4bea336097e8180b19b3afa41c0b984d93c21bd1
Change-Id: Id51885d0929f4966b1a4a181b3453c06d7956b53
Oliver Smith at

#624 (Sep 12, 2024, 2:11:06 PM)

debian-buster-jenkins: remove pysim

This container is still used for osmo-gsm-tester_virtual (OS#6126).
pysim doesn't build anymore for some reason since the new dependency on
pyosmocom was added to it. Since we don't use pysim in osmo-gsm-tester,
simply don't install it in this container anymore.

Change-Id: I89f667fe5603526d9f0118fc338745aab8273070
Oliver Smith at

#623 (Sep 12, 2024, 1:56:07 PM)

osmo-stp-master: libosmo-sccp -> libosmo-sigtran

Related: OS#6239
Change-Id: Ifc8dea67746a0f785831c6b0c6b7dd391d3afa52
Oliver Smith at

#622 (Sep 11, 2024, 8:21:10 AM)

debian-bookworm-build-arm: FROM: add arm32v7

Use the arm32v7 architecture explicitly, instead of implicitly using the
same architecture as the host. That way we can use the arm32v7 image on
a raspberry pi 4, even if the host system is 64 bit arm.

Using 32 bit arm instead of aarch64 is needed for the osmo-trx jenkins
jobs, which test -mfpu=neon and -mfpu=neon-vfpv4 build flags.

Related: https://github.com/docker-library/official-images#architectures-other-than-amd64
Change-Id: I93986569a9f492237da28fbc534ac5ccd176f120
Oliver Smith at

#621 (Sep 10, 2024, 7:56:07 AM)

osmo-*-master: don't install libosmo-sccp-dev

The libosmo-sccp-dev package is no longer provided by libosmo-sccp.
Without this patch, an older version of the library from debian packages
gets installed, resulting in a conflict for sccp_types.h which is now in
libosmo-sccp-dev.

Fix for:
  #6 8.585 dpkg: error processing archive /tmp/apt-dpkg-install-llkDLH/25-libosmo-sigtran-dev_1.9.0.3.fc4c.202409092026_amd64.deb (--unpack):
  #6 8.585  trying to overwrite '/usr/include/osmocom/sccp/sccp_types.h', which is also in package libosmo-sccp-dev:amd64 1.6.0+dfsg1-3

Related: libosmo-sccp I299a32a2f8f61477cf49c8126567fef2092d5407
Change-Id: I3e7c3c14649d8ebf71fa2968709816dae7bff20c
Oliver Smith at

#620 (Sep 9, 2024, 7:11:06 AM)

Remove ttcn3 testsuites ported to testenv, part 1

Related: OS#6494
Depends: osmo-ci I6c7f88bb268a9f339b3af1d31d665e4376b34e48
Depends: osmo-ci Iac626d0c7c87c49ee6ba540ae1894abdb2336642
Change-Id: I7182c7e8eb00a9323fe1b6d27f630d253b4d34f6
Oliver Smith at

#619 (Aug 23, 2024, 11:41:06 AM)

ttcn3-epdg-test: restore osmo-epdg.latest.config

The osmo-epdg.latest.config is needed, as it has a different libdir:
-  {libdir, "/usr/lib"}
+  {libdir, "/tmp/osmo-epdg/_build/default/lib/gen_socket/priv/lib"}

Fix for:
Failed to load NIF library: '/tmp/osmo-epdg/_build/default/lib/gen_socket/priv/lib/gen_socket_nif.so: cannot open shared object file: No such file or directory'

Change-Id: Icb3e79d5f5ca9af67037c2746318d61fd2713967
Oliver Smith at

#618 (Aug 13, 2024, 10:36:06 AM)

ttcn3-epdg-test: fix osmo-epdg path for latest

Restore the proper path for osmo-epdg when running with -latest, which
has been removed by accident in the earlier commit that should only
have changed the config.

Fix for:
/data/epdg.sh: line 14: /tmp/osmo-epdg/_build/default/bin/osmo-epdg: No such file or directory

Fixes: 00e68245 ("ttcn3-epdg-test: remove latest code path")
Change-Id: I0547f62a3610a62e90ad767f447c68851e8a725d
Oliver Smith at

#617 (Aug 9, 2024, 8:01:08 AM)

ttcn3-epdg-test: remove "cp osmo-epdg.latest.config"

I've overlooked this in my last patch. Fix for:
  cp: cannot stat 'osmo-epdg.latest.config': No such file or directory

Fixes: 00e68245 ("ttcn3-epdg-test: remove latest code path")
Change-Id: I720e718a9daec125e94cf2e98127ec3aa48820f8
Oliver Smith at

#616 (Aug 8, 2024, 9:21:08 AM)

ttcn3-epdg-test: remove latest code path

Use the same config in latest as in master, as a new version 0.1.0 has
been released recently. This fixes the two currently failing tests on
latest. The ttcn3-epdg-test has not been replaced by testenv (OS#6494)
yet, so let's fix it here.

Change-Id: I522824a6df3c58d26788c8d9e978759e7ec8a462
Oliver Smith at

#615 (Aug 8, 2024, 9:11:08 AM)

common/Release.key: update

The current key was about to expire at the end of the month, so I've
regenerated it. The new key is valid until 2026-10-16.

Source: https://obs.osmocom.org/projects/osmocom/public_key
Change-Id: I7446565ff3bbbcd30e53234786d84109583284a5
Oliver Smith at

#614 (Aug 5, 2024, 12:31:09 PM)

debian-bookworm-build: update sphinx-argparse branch

Our changes are now in the "inside-classes" branch.

Fix for:
  Collecting sphinx-argparse
    Cloning https://github.com/osmocom/sphinx-argparse (to revision master) to /tmp/pip-install-cff9hqce/sphinx-argparse_4b90c55018034988836549dbf04f94ad
    Running command git clone --filter=blob:none --quiet https://github.com/osmocom/sphinx-argparse /tmp/pip-install-cff9hqce/sphinx-argparse_4b90c55018034988836549dbf04f94ad
    WARNING: Did not find branch or tag 'master', assuming revision or ref.
    Running command git checkout -q master
    error: pathspec 'master' did not match any file(s) known to git

Change-Id: I666972097db269dd1e46031854719210e993a71a
Oliver Smith at

#613 (Aug 2, 2024, 1:26:07 PM)

scripts/kernel-test/smoke-test.sh: Log qemu output to stdout

This allows logging the run-qemu.sh output/progress to eg.
/tmp/logs/ggsn-v6_only/osmo-ggsn.log when running the jenkins.sh.

Change-Id: Ia638b0b9631518a9bb58e70ef55029085ce0fa9c
Pau Espin Pedrol at

#612 (Aug 2, 2024, 9:31:06 AM)

ttcn3-ggsn-test: Reduce timers for ggsn-test-kernel-torvalds

The TTCN3 test already assumes that t3 = 1 and n3 = 2 and sets the
timers accordingly. The osmo-ggsn config for the non-kernel test already
includes these timer values and doesn't need to be updated.

Change-Id: I738b460996b29ca828c62427e01b9bb6b995c051
dwillmann at

#611 (Jul 27, 2024, 8:41:06 AM)

ttcn3-stp-test: remove <= 1.8.x code path

Change-Id: I3c134df2e194dbad47261eed5c0b3b54ed39a383
Oliver Smith at

#610 (Jul 24, 2024, 3:26:08 PM)

ttcn3-sgsn: Use new 172.18.8.104 in emulated RNC

I forgot to push with last commit the change in IP address using the new
IP address in the emulated HNBGW. Doing it here to avoid test breakage.

Fixes: 594e021b9b699600a2f89a16676b05446a64fbdc
Change-Id: I20801e22bf20d2b2e67697fbf15811fe8eaa2996
Pau Espin Pedrol at

#609 (Jul 24, 2024, 3:16:08 PM)

ttcn3-sgsn: Use 2nd IP address on emulated HNBGW

In 3G, both HNBGW and GGSN talk GTPv1U, and osmo-sgsn uses
Direct Tunnel feature to connect both together.
Since GTPv1U uses a fixed port, we need 2 IP addresses, one set for the
emulated GGSN and one for the emulated HNBGW.

This is a preparation towards adding tests validating creation of PDP
context in 3G, which was not yet tested.

Related: SYS#5435
Change-Id: I21882dc5a9f5167ac9104d4ac48d5e5631505463
Pau Espin Pedrol at

#608 (Jul 24, 2024, 10:31:10 AM)

asterisk: Enable use of EVS codec

We want to test Asterisk using only EVS against the IMS Core.

Related: SYS#7012
Change-Id: I8bf781cbb0ae40a2bc67ede1110d50721d1f6025
Pau Espin Pedrol at

#607 (Jul 18, 2024, 10:11:09 AM)

asterisk: extensions.conf: Allow extra MO call from SIP UA which HOLDed previous call

We need to keep track of the SIP UA using the IMS endpoint, so that when
the IMS call is set on HOLD we can identidy that the same SIP UA can
still initiate new calls on the IMS endpoint.

Related: SYS#7003
Change-Id: Idad9e613669466f3aac8b1c7b43f8d9b6e0494e6
Pau Espin Pedrol at

#606 (Jul 16, 2024, 5:51:07 PM)

ttcn3-asterisk: pjsip.conf: Update config name s/ims_aka/volte/g

The config key was renamed today, so update the tests to avoid failing
reading the config file.

Change-Id: I29d8ecb0f514de4745de22711234b0d514b2eb39
Pau Espin Pedrol at

#605 (Jul 16, 2024, 5:41:07 PM)

ttcn3-asterisk: extensions.conf: Reject subsequent MO/MT calls in VoLTE when busy

Reject calls when the VoLTE endpoint is already busy with an ongoing
call.

Related: SYS#7003
Change-Id: If4ce1fee36e51ac72681ac2ce04531d501ccb56c
Pau Espin Pedrol at
ttcn3-asterisk: extensions.conf: Reject calls if all SIP UAs busy in call

Before this patch, asterisk would ring on local SIP UAs already in a
call, which is not the expected behavior for this project.

Related: SYS#7003
Change-Id: Id9e3ead6e28a53793c6cceb6f23d5e6d987521d8
Pau Espin Pedrol at

#604 (Jul 12, 2024, 10:41:08 AM)

asterisk: dnsmasq.conf: Avoid forwarding queries to other DNS servers

This creates problems when requesting resolution of the IPv6 address.
For some reason, dnsmasq was forwarding the request to the non-available
google DNS servers, and Asterisk docker container pre-start commands
checking for DNS resolution would never pass when run in jenkins node.

Change-Id: I0ee7a7b0c307cc83acfb1c4c8f4bdc092133fddb
Pau Espin Pedrol at
asterisk: timeout ping DNS validations after 3 seconds

Change-Id: I9f1bcbc2b868cf7c894a57ca77e28b5bfbba0eac
Pau Espin Pedrol at
asterisk: Wait for Asterisk ready before starting testsuite

A recent commit made Asterisk wait for dnsmasq to be ready before
starting it. This means Asterisk takes more time now to be ready itself,
hence we need to delay launching the testsuite until it is ready.
Otherwise, the entire set of tests may be run even before Asterisk gets
to answer on the AMI socket.

Change-Id: I337d57f3eb3e6688dbf3c61d55978da10d84b2cb
Pau Espin Pedrol at

#603 (Jul 12, 2024, 9:11:07 AM)

centos7: use vault.centos.org

The centos7 images try to use mirrorlist.centos.org to determine the
fastest mirror, and then download binary packages from there. But
mirrorlist.centos.org isn't online anymore. Use the vault instead.

Without this patch, the mirrors that can't be reached are ignored, and
later on it fails to properly install packages because of missing
dependencies.

Related: https://serverfault.com/a/1161847
Change-Id: I0a8f93bb16dd9245760b8a1ad53f0642d446b4cf
Oliver Smith at

#602 (Jul 11, 2024, 1:56:07 PM)

asterisk: Wait for dnsmasq resolver ready before starting Asterisk

Otherwise Asterisk wil lfaill to add the identify match at startup:

[2024-07-11 10:35:02.199] ERROR[14]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("ims.mnc001.mcc238.3gppnetwork.org", "(null)", ...): Temporary failure in name resolution
[2024-07-11 10:35:02.199] ERROR[14]: res_pjsip_endpoint_identifier_ip.c:553 ip_identify_apply: Identify 'volte_ims' failed when adding resolution results of 'ims.mnc001.mcc238.3gppnetwork.org'
[2024-07-11 10:35:02.199] ERROR[14]: res_sorcery_config.c:422 sorcery_config_internal_load: Could not create an object of type 'identify' with id 'volte_ims' from configuration file 'pjsip.conf'

Related: SYS#7010
Change-Id: I01475c1ed2aa20fb9b8b8722a7b965ea9b63e8a9
Pau Espin Pedrol at

#601 (Jul 11, 2024, 1:16:07 PM)

dnsmasq: Log additional query info with --log-queries=extra

Related: SYS#7010
Change-Id: I445b7900769418d8f3958f37d0613283ca9a7b78
Pau Espin Pedrol at

#600 (Jul 10, 2024, 11:26:09 AM)

asterisk: pjsip.conf: Forward Hold/Resume SIP UA -> IMS Core

This is needed for forward the a=sendonly when a local SIP UA wishes to
hold a call.

Related: SYS#7002
Change-Id: I70e7e5df2d9c91acdc85c689cf8e48c5a44b2a34
Pau Espin Pedrol at

#599 (Jul 9, 2024, 4:16:07 PM)

ttcn3-s1gw-test: update logging config in osmo-s1gw.config

Bring logging configuration in sync with erlang/osmo-s1gw.git.

Change-Id: I3853c40c94d3ee2bbd5d6f6b345bfd87cce134d0
Related: erlang/osmo-s1gw.git Ib88801b8d38976b98a02ed06e1638e0e9056bafb
Vadim Yanitskiy at

#598 (Jul 9, 2024, 2:26:07 PM)

seccomp_profile: import

Import the current default seccomp profile from docker, commit from
current master branch. The next patch will re-enable the io_uring
syscalls in the profile.

Source:
https: //raw.githubusercontent.com/moby/moby/c4dcaa0d9adb8cc0a0d95393e8cf3e853254eacb/profiles/seccomp/default.json

Related: OS#6405
Change-Id: Ib6f7bc04cb58815190fc2102900e873da301ce95
Oliver Smith at
seccomp_profile: enable io_uring

Revert 891241e7 ("seccomp: block io_uring_* syscalls in default
profile") from upstream:
https://github.com/moby/moby/commit/891241e7e74d4aae6de5f6125574eb994f25e169

This will be used by osmo-ci Iaeb84627fc1404014e5a8a2e88a02ee66cfb880d.

Related: OS#6405
Change-Id: I27567c2a5d9543c3509c316226c082ab950c5ebc
Oliver Smith at

#597 (Jul 8, 2024, 8:21:07 AM)

ttcn3-asterisk: Allow running testsuite with IPv4 and IPv6 configs

Requires [1] to be able to run SIPmsg_PT in Asterisk_Tests with IPv6
support.

[1] https://gitlab.eclipse.org/eclipse/titan/titan.TestPorts.SIPmsg/-/merge_requests/4

Related: SYS#6982
Change-Id: I1de922c681fef4d308898cd592544aef25901c7b
Pau Espin Pedrol at

#596 (Jul 5, 2024, 4:51:05 PM)

ttcn3-asterisk: Small improvements to ease introducing IPv6 support

Change-Id: If5200e9ba7774f5ec1037584dcb1f8ca2e45f835
Pau Espin Pedrol at

#595 (Jul 4, 2024, 7:06:07 PM)

osmo-epdg: add support for testing for latest

Create a new osmo-epdg-latest docker image.
Use a different configuration for ttcn3-epdg-test if running the latest.
The latest comes from the obs repository and has different paths for libraries.

Change-Id: Ia31a92446e82a25fb592a2c91d0204db8f265d52
lynxis at

#594 (Jul 4, 2024, 1:31:05 PM)

jenkins-common.sh: Store IP subnet prefix in global variable

Change-Id: Icc492aea1ddb91f672c7a0cec764b42711789fb6
Pau Espin Pedrol at

#593 (Jul 4, 2024, 12:51:10 PM)

ttcn3-asterisk: Move ttcn3 docker related files to ttcn3/ subdir

Other files belonging to other containers are already placed in subdirs,
so do the same for these ones too.

Change-Id: Ie2b3de22df9ab155f42a717bccf718fccd388fc6
Pau Espin Pedrol at

#592 (Jul 4, 2024, 12:46:08 PM)

asterisk: conf: Handle precondition through app_waitforprecondition.so

This module has been introduced recently, which allows handling
precondition FSM during MT calls.

Change-Id: I84eefec6cd38d50e88633ac01f606b1dda06bb43
Pau Espin Pedrol at
asterisk: Allow alaw code from IMS until evs is supported

EVS codec is not yet fully supported, specially if no specific
implementation of the EVS API is available. Let's allow using alway
from/to IMS for now, so calls can be made and tests work.

Change-Id: I4835f73ef1b13343ff209f1aba84fab43427aa9d
Pau Espin Pedrol at

#591 (Jul 3, 2024, 12:11:08 PM)

ttcn3-ggsn-test/jenkins: tweak loop logic

Iterate over TEST_CONFIGS instead of TEST_CONFIGS_ALL and then filtering
with test_config_enabled.

Change-Id: Ie7701abe6ab7cff139766eca9240e0f26af32231
Oliver Smith at

#590 (Jul 2, 2024, 5:16:08 PM)

asterisk: pjsip.conf: Set IMEI

Newer asterisk VoLTE code being developed (jolly/work) now has a config
to set the IMEI instead of the whole contact header. Use it.

Change-Id: I5d4584fac309bea4afe3929bdca047c31c93b457
Pau Espin Pedrol at

#589 (Jul 2, 2024, 1:46:06 PM)

ttcn3-asterisk: Fix ICSI value encoding

As seen in TS 24.229 7.2A.8.2 example.

Change-Id: I02b3d54003bb02e999b27b533a651299dbb53503
Pau Espin Pedrol at

#588 (Jun 26, 2024, 9:56:05 AM)

asterisk: logger.conf: Log milliseconds in timestamps

Change-Id: I4d518547d1e284b18034ae195e6d05da283593de
Pau Espin Pedrol at
asterisk-master: Fetch required branch directly

When I added the Dockerfile I initially wrote it in a 2 step fetch &
build, to try to avoid recompiling the whole thing every time some patch
from one of the devs was pushed to our building branch.
This, whoever, creates problems sometimes due to how the build system
for pjproject is generated when building asterisk, so let's drop the
2stage setup to avoid problems fetching from different branches, etc.

Change-Id: Id9fbee9cdb8f9387e0daefd7925df2542d384a91
Pau Espin Pedrol at
asterisk-master: Build from jolly/work branch by default

That one will not be the final branch, but it's the one where most of
the development is happening. Hence, switch to that branch by default
for now, so that jenkins nightly job runs that branch.

Change-Id: Iabf141ae0b997f9707a7dbd555307e052b92d355
Pau Espin Pedrol at

#587 (Jun 25, 2024, 3:51:10 PM)

ttcn3-asterisk: pjsip.conf: Avoid advertising support for +g.3gpp.smsip

Asterisk doesn't so far support SMS over IMS, so avoid announcing it
during REGISTER.

Related: SYS#6981
Change-Id: I1546b7106d25ebfb1c92c1a27db1f44c51b0413a
Pau Espin Pedrol at
ttcn3-asterisk: pjsip.conf: Use reliable provisional responses if peer supports it

The default 100rel=yes won't use reliable provisional responses unless
the peer "requires" it, while we should instead be using them if the
peer "supports" it.

Related: SYS#6980
Change-Id: I40764e24f2c80ce48d6634e09797fefe97d99e51
Pau Espin Pedrol at
ttcn3-asterisk: Set mp_ims_imei matching pjsip.conf

Since recently, the testsuite validates the IMEI received at IMS Core
over REGISTER Contact header matches the one configured at Asterisk
config file.
Hence, add the same value to Asterisk_Tests.cfg so it can match the
value.

Depends: osmo-ttcn3-hacks.git Change-Id I866d89ec137d264e257b05226900b744a93c257e
Related: SYS#6877
Change-Id: Id8bb7886ffcea506348496148e17f71cef1edc90
Pau Espin Pedrol at

#586 (Jun 23, 2024, 10:41:10 AM)

ttcn3-s1gw-test: start osmo-s1gw container with --user=root

For some reason, on Arch with docker 26.1.3 it implicitly starts
with --user=root, while with docker 20.10.5 on Debian bookworm it
starts with --user=build.  This results in permission errors:

  + ip addr add 172.18.74.100/24 dev eth0
  RTNETLINK answers: Operation not permitted
  + true
  + ip addr add 172.18.74.200/24 dev eth0
  RTNETLINK answers: Operation not permitted

Pass --user=root explicitly to bring consistency and fix those.
Hopefully, ttcn3-s1gw-test will be passing on Jenkins with this patch.

Change-Id: I5cc67d1c3192fd55560c16c8cc44b13b2c9b3e98
Fixes: 9ca9bed "ttcn3-s1gw-test: fix using unassigned addr for osmo-s1gw"
Vadim Yanitskiy at

#585 (Jun 22, 2024, 7:36:10 PM)

debian-{bullseye,bookworm}-erlang: fix non-alphabetic pkg order

Purely cosmetic change, bringing a bit of consistency.

Change-Id: I956a15304cbdcdc5572e181dcefd0da884b8fc63
Vadim Yanitskiy at
debian-{bullseye,bookworm}-erlang: install iproute2

Change-Id: I753a8c97c17e6a143dd96b168ddc88400f0fc02d
Vadim Yanitskiy at
ttcn3-s1gw-test: fix using unassigned addr for osmo-s1gw

The S1GW container gets assigned the primary addr 172.18.10.100/24
by docker_network_params().  The secondary addr 172.18.10.200/24,
which is used for eNB connections, needs to be assigned manually.

This patch finally makes ttcn3-s1gw-test pass.

Change-Id: I109a5feaca5acf050008e883cc8b4e1e28beebab
Related: SYS#6772
Vadim Yanitskiy at

#584 (Jun 18, 2024, 10:16:09 PM)

ttcn3-s1gw-test: fixup: align with the moduleparam naming changes

Change-Id: Ibbc8501b01e4b168c856b6817e5b92bfd9816669
Vadim Yanitskiy at

#583 (Jun 18, 2024, 7:06:08 PM)

ttcn3-s1gw-test: align with the moduleparam naming changes

Change-Id: I37b7d91e9e18df463f54cac3e5586942aea21a69
Related: osmo-ttcn3-hacks.git Ice665662c8448c8314d5e6cc1e401e62b635872c
Vadim Yanitskiy at

#582 (Jun 17, 2024, 7:51:05 AM)

s1gw: add osmo-s1gw-master

Change-Id: Ic732f57940fa41fe21a26af663fea559551b1811
Related: SYS#6772
Vadim Yanitskiy at
s1gw: add ttcn3-s1gw-test

Change-Id: I95000d7a9d778df1da830cd5059e5b6899391fbe
Related: SYS#6772
Vadim Yanitskiy at

#581 (Jun 12, 2024, 8:41:08 PM)

jenkins-common: Treat -asan builds the same as -master

This fixes the jenkins test failures seen in ttcn3-stp-test-asan. TTCN3
tries to connect to stp via TCP, but since the jenkins.sh script doesn't
consider this a build from master the corresponding config is not added
to osmo-stp.cfg.

Also change the function names from image_suffix_is_* to osmo_repo_is_*
to better reflect what they are doing (instead of how).

Related: OS#6486
Change-Id: Ibf93880345f38668f8dc812d1523b985d368dfcc
dwillmann at

#580 (Jun 11, 2024, 1:01:09 PM)

debian-bookworm-*: useradd -d -m instead of mkdir

Shorten the logic for adding the user slightly, as suggested by Vadim in
code review.

Change-Id: Ief8837bd9f89f51e66857a453f7fc4645620159f
Oliver Smith at

#579 (Jun 11, 2024, 10:11:09 AM)

asterisk: extensions.conf: Route non-local extensions towards IMS side

Previous config had only 1 digit extensions being routed, plus the fact
that the endpoint name was incorrect (now "volte_ims").

Change-Id: Icce5e55ab75c0c9fdacc4d8504e6714b99d385b4
Pau Espin Pedrol at
ttcn3-asterisk: Add extra IP addr in ttcn3 docker for IMS Core

TTCN-3 docker container is emulating both the SIP UAs and the IMS Core.
So far all the components being emulated there were running under the
only local IP address available in the docker container.
This means, both the SIP UAs and the IMS Core were using the same IP
address.

This is actually causing problems for Asterisk, since on the VoLTE side
it needs to be configured to identify the endpoint based on the IMS Core
domain name.
Since the default identify matching ordered in Asterisk is:
"endpoint_identifier_order=ip,username,anonymous"
That means it always first checks the source IP address, which means
messages coming from local SIP UAs are misunderstood to be coming from
the IMS Core (since ims.mnc001.mcc238.3gppnetwork.org resolves to same
IP address).

The issue can be fixed by swapping the order to "username,ip", because
then the well-known 50X extensions are matched before attempting to
match by IP address.
However, this is all deviating config for the expected usual network
configuration, since the local IP network will be different than the IP
address coming from VoLTE.
Hence, let's instead properly separate the local SIP and VoLTE networks
with different IP addresses, which then solves the issue.

Change-Id: I6e5a261748ec61bb1cfa4aafee8c748d0f46aa9e
Pau Espin Pedrol at
asterisk: extensions.conf: Forward call from VoLTE to all registered local UAs

Change-Id: Id3e14ca660f0aa4ed685a90f527feb8732a83806
Pau Espin Pedrol at

#578 (Jun 11, 2024, 9:31:08 AM)

debian-bookworm-obs-asan: new container

Copy debian-bookworm-obs-latest and configure it to use the
osmocom:nightly:asan repository. Adjust jenkins-cmmon.sh for running the
testusite against the asan repository.

Related: OS#5301
Change-Id: I4219d927d4617232584d5401debd0be04df67ea0
Oliver Smith at

#577 (Jun 6, 2024, 11:46:10 AM)

asterisk: pjsip.conf: Set default p_access_network_info

The value is overwritten if set through AMI PJSIPAccessNetworkInfo
action.

Change-Id: I2bb0b89ec36137bbae613962ff5f5aad56721f34
Pau Espin Pedrol at

#576 (Jun 5, 2024, 9:16:07 PM)

asterisk: pjsip.conf: Update IMS port asterisk config

The config names changes recently during development.
Adapt to the new range style fields.

Change-Id: I4aceb3b62ce7f446abd02b1a53993a3baecf2f20
Pau Espin Pedrol at

#575 (Jun 5, 2024, 11:06:07 AM)

Introduce dnsmasq docker container

This container will be used by the ttcn3-asterisk testsuite setup, so
that asterisk can resolve NAPTR nameservers for the IMS 3gpp DNS.

Change-Id: Ic1490334375c2a9b11b923a6757e844faf524634
Pau Espin Pedrol at
ttcn3-asterisk: Use dnsmasq to let asterisk resolve IMS DNS

Depends: osmo-ttcn3-hacks.git Change-Id I23afdc8b70132dbd947c280f6e5aadbc84849f01
Change-Id: I2da10c80a81ef5603082e4ee1445a39745c0c24f
Pau Espin Pedrol at
asterisk: pjsip.conf: Configure Contact field

Change-Id: I0b52407f9e7d1ca7f186c77db8f9e1a0ca272ff7
Pau Espin Pedrol at
asterisk: pjsip.conf: identify incoming register started by local SIP UAs

This config section is needed so that Asterisk can figure out the endpoint
when receiving a "REGISTER sip:172.18.248.10". Without it, it will answer with
a 404 Not Found.

Change-Id: I39568c3cebb89fc5a62a8144f448b50c48d79f10
Pau Espin Pedrol at

#574 (Jun 4, 2024, 10:06:08 PM)

asterisk: pjsip.conf: Fix msisdn not used in From field during IMS INVITE

Related: SYS#6950
Change-Id: I972e75b36457c532bd7528ffb5a7b80544abba4a
Pau Espin Pedrol at

#573 (Jun 4, 2024, 12:56:09 PM)

asterisk-master: Install AMR enc/dec dependencies

Change-Id: Ic5de8ae6ac8ade375b9692427e5865bee49dc01f
Pau Espin Pedrol at

#572 (Jun 4, 2024, 8:31:08 AM)

asterisk: pjsip.conf: Use TCP when forwarding INVITE to IMS core

Change-Id: I67bc01e4d53d47eb805e81736378f292b2834fd2
Pau Espin Pedrol at
asterisk: pjsip.conf: Disable remote bridging between local SIP and IMS

While implementing a first ttcn3 test validating the MO call scenario
(SIP-UA -> Asterisk -> IMS-CORE) [1] I was running into the scenario
where, after the first SIP INVITE + 200 OK + ACK, Asterisk was sending
a RE-INVITE to both parties to attempt to remotely bridge them (RTP
traffic flowing directly between them without passing through Asterisk).

This happened in part because I'm so far configure A-LAW on both sides
so asterisk figures out it can do so. I still need to change IMS-core
to EVS only.

In any case, regardless of the codecs used, my understanding is that
asterisk should never attempt remote bridging when using the "volte_ims"
endpoint, since that network segment is separate from the local network
where the local SIP UAs are located.

The "direct_media=no" option just addresses the issue; Asterisk no longer
tries to re-invite after the call is established

Related: SYS#6782
Change-Id: I4edea96151b31f02bf292b43b757922389375429
Pau Espin Pedrol at

#571 (May 29, 2024, 11:41:06 AM)

asterisk: pjsip.conf: Stop Asterisk doing unexpected REGISTER on IMS

REGISTER should only be done when the IMS APN is ready, and baseband
then interface asks it to register.

Change-Id: I56249d4138c0a1f5824e089c14c095badc41dc95
Pau Espin Pedrol at
asterisk: pjsip.conf: Enable USIM Auth over AMI interface

Astersik_Tests already implement the related AMI procedures, hence
configure Asterisk to use them.

Depends: osmo-ttcn3-hacks.git ddc4c709e51b92dae4d10f0c71b062e4719da673
Change-Id: Iab2e9ad21ff6271ae51329608658ffe353173f38
Pau Espin Pedrol at

#570 (May 21, 2024, 9:06:09 AM)

ttcn3-bts-test: also execute tests from BTS_Tests_ASCI

We do have 5 ASCI (VBS/VGCS) testcases in osmo-ttcn3-hacks.git,
but we never executed them on Jenkins so far.  Fix this.

Change-Id: I1bcdccb6e2c48542d6447d7757fe1d56c1bf8406
Related: osmo-ttcn3-hacks.git I3727c471663b731117a264f60d2f1ba5fd16928e
Vadim Yanitskiy at
ttcn3-bsc-test: also execute tests from BSC_Tests_ASCI

We do have 13 ASCI (VBS/VGCS) testcases in osmo-ttcn3-hacks.git,
but we never executed them on Jenkins so far.  Fix this.

Change-Id: I03f1ac2ed9ca59b90fead73fee3cf333b6146344
Vadim Yanitskiy at

#569 (May 17, 2024, 12:51:06 PM)

ttcn3-asterisk: Configure docker testsuite to be able to set up ipsec tunnels

Depends: osmo-ttcn3-hacks.git Change-Id Ic042422788ee406f5b71ca3878bc5617e5455579
Change-Id: I3379e4991a5c705b5b0a14e5fee2eb165cc8a1e3
Pau Espin Pedrol at

#568 (May 17, 2024, 10:46:10 AM)

debian-*: install pylint from debian repos

Get pylint from the debian repositories to be on the same version until
we use the next debian version, instead of always installing the latest
pylint version from pip.

Change-Id: I721db1c18db43cc7a2d38177e9846c43dbdd0ae3
Oliver Smith at

#567 (May 17, 2024, 9:46:09 AM)

Revert "ttcn3-docker-run.sh: Fix dumpcap failing to access /data inside docker"

This reverts commit 2b9c8e3db8cf77c5ce5c3f888365f983f3ee8d76, as it
causes a lot of testsuites to fail with e.g.

  + network_replace_subnet_in_configs
  + set +x
  Applying SUBNET=161 to: /home/osmocom-build/jenkins/workspace/ttcn3-ggsn-test/logs/ggsn-all/osmo-ggsn.cfg
  Applying SUBNET=161 to: /home/osmocom-build/jenkins/workspace/ttcn3-ggsn-test/logs/ggsn-tester-all/GGSN_Tests.cfg
  sed: couldn't open temporary file /home/osmocom-build/jenkins/workspace/ttcn3-ggsn-test/logs/ggsn-tester-all/sedsByWIc: Permission denied

Let's discuss how to fix the dumpcap problem instead in OS#6455.

Change-Id: Ic98e8206d8251060b777fc7d0b4497ba3e1caf7f
Oliver Smith at

#566 (May 17, 2024, 8:36:09 AM)

ttcn3-ggsn-test-ogs: run smf in 4g only mode

Remove the SBI related configuration, so open5gs-smf does not attempt to
connect to the NRF every few seconds.

Fix for:
  [sbi] WARNING: [299d78ae-fae5-41ee-84a3-dbd9fa117ce7] Retry registration with NRF (../lib/sbi/nf-sm.c:182)
  [sbi] WARNING: [7] Failed to connect to 127.0.1.10 port 7777 after 200 ms: Couldn't connect to server (../lib/sbi/client.c:698)

Change-Id: I61d60e6e71b671c3deb20cc7ff8abb81ea4d5f03
Oliver Smith at

#565 (May 16, 2024, 8:36:06 AM)

ttcn3-asterisk: Configure asterisk for initial SIP register on IMS side

This set of pjsip config requires work done by jolly in our fork of
asterisk adding IMS features.

Depends: osmo-ttcn3-hacks.git Change-Id Idb3b19ccd82cad25948106b2c72aa424d7f79cd8
Change-Id: I66d128192146ad600203ea2a41b8bf019311d603
Pau Espin Pedrol at
ttcn3-docker-run.sh: Fix dumpcap failing to access /data inside docker

In docker, the /data dir is mapped to $VOL_BASE_DIR, which is created by
docker-playground.git jenkins-common.sh, hence as the user running
jenkins.sh in the host system.
As a result, when the dir is mapped to /data, inside the container it
will have the UID:GID of the outter user, not the one inside docker.

Before this patch, if a ttcn3 container was started in jenkins.sh with
--cap-add=NET_ADMIN, then osmo-ttcn3-hacks.git/ttcn3-tcpdump-start.sh
would select dumpcap instead of tcpdump, to attempt to record a pcap
file to /data/$testcase.pcap.
Due to some unknown way of dropping privileges done by dumpcap though,
it was unable to open the /data/$testcase.pcap due to /data being owned
to another user (tcpdump doesn't have this problem).

This patch fixes the above scenario by making sure /data is chowned to
the user running stuff inside docker. This is already kinda expected
since there's a fix_perms() script in jenkins-common.sh reverting files
created during the test so that they can be accessible by outter user
once everything is finished.

Change-Id: I1229a91cdbb1aa73fd94f1bf7e26f34086f06b25
Pau Espin Pedrol at

#564 (May 15, 2024, 12:01:10 PM)

ttcn3-asterisk: Enable debug in log file

Change-Id: Ifbc8208507ba47e9f6a1eaf5a43465d2a1af08c1
Pau Espin Pedrol at
ttcn3-asterisk: Enable debug for pjproject

Change-Id: I7de6ac31f7a75411fb515501611187f97e829ab3
Pau Espin Pedrol at

#563 (May 13, 2024, 9:26:09 AM)

asterisk: Enable capabilities required to set up ipsec

Change-Id: I2dc040cf87169c9a59dc7e9f1af0e1c17bde6683
Pau Espin Pedrol at

#562 (May 10, 2024, 2:31:08 PM)

ttcn3-asterisk: Update Asterisk_Tests.cfg to adapt to new AMI_Adapter implementation

Change-Id: I8d89e1694347f93e84c692d23b375062e003878e
Pau Espin Pedrol at

#561 (May 10, 2024, 2:26:07 PM)

asterisk: manager.conf: Give more permissions to AMI user

These are required to use eg. PJSIPRegister command, otherwise Asterisk
answers with "Permission Denied".

It also seems to help in getting more events from Asterisk.

Change-Id: Ia77a9d88758f648a5539dbc7511b75c20fe7dd6b
Pau Espin Pedrol at

#560 (May 10, 2024, 1:36:07 PM)

asterisk: pjsip.conf: Mark templates accordingly

Mark templates as such, in order to remove error messages during
asterisk setup when trying to apply the templates (which lack fields
such as "username", provided by config sections using the templates).

Reference: https://docs.asterisk.org/Fundamentals/Asterisk-Configuration/Asterisk-Configuration-Files/Templates/Template-Syntax/

Change-Id: Ia132c2e90cf6ee44145ca2e2555cf2dc6c1cfd51
Pau Espin Pedrol at

#559 (May 9, 2024, 3:31:10 PM)

ttcn3-asterisk: Configure new IMS ConnHdlr

Configure new component added to Asterisk_Tests to emulate an IMS Core.

Depends: osmo-ttcn3-hacks.git Change-Id Ibbbadd54b7facf4ef7384499704e742f482a1252
Change-Id: I0ee6cb8955fc4f7dec3db97c768430905374f115
Pau Espin Pedrol at

#558 (May 6, 2024, 6:56:07 PM)

asterisk-master: Use pjproject from external git repo

By default, asterisk.git build system will fetch pjproject tarball from
https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION),
where PJPROJECT_VERSION is defined in asterisk/third-party/versions.mak:
PJPROJECT_VERSION=2.14
On top of that, it applies some patches adapting build system, found in
asterisk/third-party/pjproject/patches/.

The build system also allows to use an out-of-tree pjproject (eg from a
git repo) by symlinking the directory to
asterisk/third-party/pjprojec/source/.

This is all documented in asterisk/third-party/pjproject/README-hacking.md.

Since we want to develop on pjproject too, fetch our own pjproject.git
repo, where we can push changes, and build asterisk using that repo.

Bear in mind that, when asterisk.git builds with out-of-tree pjproject,
it wont apply pjproject patches under asterisk.git/third-party/pjproject/patches.
Hence, I created an "asterisk/2.14" branch in our pjproject.git repo which points
to tag "2.14" (the one used by asterisk 20.7.0, which we use), and has the 2 patches
applied on top.
Then, we have our own "sysmocom/2.14" branch on top of that "asterisk/2.14"
branch, where we put our development. WIP development can also be done  in whatever
branch  on top of "asterisk/2.14" branch.

Change-Id: I73f3323db1b6897fc43215578b0a011fdb6909c5
Pau Espin Pedrol at

#557 (Apr 25, 2024, 8:47:41 AM)

ttcn3-sgsn-test-sns: add missing symlink to osmo-stp.cfg

This commit fixes the following error:

cp osmo-stp.cfg /home/osmocom-build/jenkins/workspace/ttcn3-sgsn-test-sns/logs/stp/
cp: cannot stat 'osmo-stp.cfg': No such file or directory

Change-Id: Ie0f887dc68e89d2fa1f9a2ee8dfd7f8ce71fc329
Fixes: e4fdd72 "ttcn3-sgsn-test-sns: add missing symlink to osmo-stp.cfg"
Vadim Yanitskiy at

#556 (Apr 23, 2024, 9:46:07 AM)

ttcn3-sgsn-test: add missing SGSN_Tests_NS.control

This does not enable the SNS testcases though.  We need a separate
job with its own configuration files for running the SNS testcases.

Change-Id: I605526dff6d3c0ec4c5dc58dc00ca51b4ccd68a7
Related: osmo-ttcn3-hacks.git Ib2bffbb110961474928f35d212cb492d4b6fdee0
Vadim Yanitskiy at
ttcn3-sgsn-test: add config files for running SNS testcases

Change-Id: I767ec223585002d6420eda27ed338722f764c902
Vadim Yanitskiy at

#555 (Apr 18, 2024, 6:11:07 PM)

ttcn3-hnbgw: Apply latest changes to 'with-pfcp' scenario

Recent commits applied changes to the default scenario, but forgot to
apply them to the 'with-pfcp' subdir.

Fixes: 6de89a5fb529928ce9b7b3320e0ca2e3e568d458
Fixes: 3736d31fc0314cb5d39c707374eecdcfe33241c9
Fixes: 0bdbcd6815358a7b1c4b0bb4575a585c45a01e57
Fixes: 2c22a96355b8e057dbd85ac1922ae84cc63f8b1e
Fixes: d3711e67103691171d7ed3e224c050e78c1f5bc4
Change-Id: Ie02a0754a6ca985e60e08f1f171f532b6cc16264
Vadim Yanitskiy at

#554 (Apr 18, 2024, 1:51:08 PM)

ttcn3-asterisk: Set Asterisk AMI IP address in Asterisk_Tests

The Asterisk_tests testsuite recently gained initial AMI support.
Configure it with the proper IP address.

Depends: osmo-ttcn3-hacks.git Change-Id I2c570e4d04e7ab8c44962cf484e4bbc946209aee
Change-Id: Ibb6af1cbfb652214b2fdd2a6eb9a4887c9a9cfb0
Pau Espin Pedrol at

#553 (Apr 16, 2024, 9:16:08 PM)

ttcn3-hnbgw: osmo-hnbgw.cfg: Switch from deprecated 'mgcp' node to 'mgw'

Change-Id: Ie27dcae05fa719cd0eac9faa6e2fb6b63581ac28
Pau Espin Pedrol at
ttcn3-hnbgw: osmo-hnbgw.cfg: Enable color in log file

Change-Id: Iffd28619ca075e0cf870e10989cfced6096ca8d7
Pau Espin Pedrol at

#552 (Apr 16, 2024, 12:41:10 PM)

ttcn3-hnbgw: Set STATSVTY.CTRL_HOSTNAME to correct IP address

Also update osmo-hnbgw.cfg to configure statsd, as done in
osmo-ttcn3-hacks.git 904b5f1a56629b84f67807a75d5c0b356cc7d726.

Change-Id: I80c228b7ad4b9fb06b1651f23a2932bf19374297
Pau Espin Pedrol at

#551 (Apr 16, 2024, 11:21:08 AM)

ttcn3-asterisk: Configure AMI

Change-Id: I590d89e9173b0372611790d4178747e28a1215d1
Pau Espin Pedrol at

#550 (Apr 16, 2024, 11:01:07 AM)

ttcn3-hnbgw: Set new mp_local_statsd_ip module paramter to correct IP addr

Depends: osmo-ttcn3-hacks.git Change-Id I213173c99ec314c2eebfb8836c4d3467b3a7f818
Change-Id: I16cddef5833bf2abff0edb82ec3eb9f6ce976364
Pau Espin Pedrol at

#549 (Apr 5, 2024, 2:31:08 PM)

{open5gs,osmo-uecups}-latest: don't hardcode UID

Adjust open5gs-latest and osmo-uecups-latest to not hardcode a UID. This
is in preparation for creating a "build" user in
debian-bookworm-obs-latest, like we have it in debian-bookworm-build.

Change-Id: Icaebf46487056cea745805527fdc545d9a1846cd
Oliver Smith at
debian-bookworm-obs-latest: add build user

Copy the block for configuring the build user and disabling man pages
from debian-bookworm-build. This fixes failures on
ttcn3-ggsn-test-kernel-latest* (non-latest worked fine since these use
containers based on debian-bookworm-build).

Fixes: 5a48bfbe ("scripts/kernel-test: build initrd+kernel as user")
Change-Id: Idee29d5b9796e8905bdf822d076f25612cbc77a0
Oliver Smith at

#548 (Apr 5, 2024, 11:46:08 AM)

debian-bookworm-build: add libnftnl-dev

For osmo-hnbgw, osmo-upf.

Related: OS#6425
Change-Id: I5fdaa634d12bc6c8643c130a43d30e840890d572
Oliver Smith at

#547 (Apr 3, 2024, 12:46:08 PM)

scripts/kernel-test: do shallow fetch

Instead of fetching the entire history, only fetch the most recent
commit.

Change-Id: I92d90c1451ff6abff2df3b1318b5194880e77f2e
Oliver Smith at
kernel-test/kernel-build: update net-next branch

The branch of net-next is now called main. Update the default
KERNEL_BRANCH to main, as the default KERNEL_URL points to net-next.git.

Related: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/
Change-Id: Ic4b13c3cbc0933db9d520e6d737c45b6b08e8c48
Oliver Smith at
jenkins-common: fix_perms: chown files too

Ensure the user that runs docker owns files in cache and data dirs
during fix_perms, if an old job created them as root.

Change-Id: I43af48bd87e27abad5ad52e734256d78651f67c3
Oliver Smith at
scripts/kernel-test: put mknod commands in init.sh

Prepare to run the preparation without root rights.

Change-Id: I07648f058ca55515ffc7396598147a03dcfe7976
Oliver Smith at
scripts/kernel-test: build initrd+kernel as user

Refactor code to build the initramfs and kernel as user, instead of
running related code as root. Put the smoke_test.log into /tmp instead
of the cache dir, so we don't write as root into the cache dir. We cat
it on error anyway, so we don't need to have it in the workspace.

Change-Id: I1670dd86f2670f42eb99e4527d483965d8222402
Oliver Smith at

#546 (Apr 3, 2024, 12:01:08 PM)

debian-bookworm-build: add virtualenv

Fixes: OS#6430
Change-Id: I5d087b8edb9e77a5226df9e4f55e04480eea45dd
Oliver Smith at

#545 (Apr 2, 2024, 9:16:10 AM)

Introduce asterisk-master docker image

This Docker image allows building and running Asterisk from git.
Default config is to build the sysmocom fork used to develop new
features (hence pointing to sysmocom/master branch in that repo.

Related: SYS#6782
Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238
Pau Espin Pedrol at
Introduce ttcn3-asterisk-ims-ue-test

This dockerized setup allows running the Asterisk_Tests ttcn3 testsuite
against Asterisk from the asterisk-master docker image, in order to test
the IMS UE feature which will be developed soon.

Related: SYS#6782
Depends: osmo-ttcn3-hacks.git Change-Id I66f776d5df6fb5dc488d9e589b84a6b2385406e8
Change-Id: Idd262b9224ea879a6e941792944fe0b0db3e68ba
Pau Espin Pedrol at

#544 (Apr 2, 2024, 8:26:06 AM)

*/osmo-bsc.cfg: BTS type 'sysmobts' (deprecated) -> osmo-bts

Change-Id: I98ea9e96d490473efbbe189842ed9f547060dc7d
Vadim Yanitskiy at
ttcn3-bsc-test-sccplite: osmo-bsc.cfg: remove deprecated 'mgw remote-ip'

Change-Id: Ie322315dd1608636002d4003e5f8629925041476
Vadim Yanitskiy at

#543 (Mar 26, 2024, 2:31:10 PM)

ttcn3-bts-test: fix start_config_oml(): do not start BSC

As the comment states, the BSC container is not needed for the OML
tests.  The testsuite itself "speaks" OML to the IUT in this case.

Change-Id: Iab44b9ed83e917475c9e2e86ad32b303b05b2ace
Fixes: aad045f5 "ttcn3-bts-test: add env var to not run all configs"
Fixes: OS#6421
Vadim Yanitskiy at

#542 (Mar 25, 2024, 5:36:08 PM)

ttcn3-*-test: set OSMO_SUT_{HOST,PORT} for more testsuites

Let's also retrieve talloc reports for these testsuites.

Change-Id: Iaa94dd200fdb98962b784cb507c9995096232dc9
Vadim Yanitskiy at

#541 (Mar 25, 2024, 2:01:07 PM)

ttcn3-ggsn-test: ignore failure to kill osmo-ggsn

Don't fail if osmo-ggsn can't be killed at the end of a testsuite
run. This happens currently with ttcn3-ggsn-test-kernel-latest-* jobs,
in the v6_only configurations, because osmo-ggsn latest doesn't support
ipv6 yet and exits. The jenkins.sh should keep going and try other
combinations, and exit without error in the end.

Fixes: d8c51cce ("ttcn3-ggsn-test: run with multiple configurations")
Change-Id: I6f3154a9ef114f31bcb5868ee09d1ebc10f35d07
Oliver Smith at

#540 (Mar 25, 2024, 1:36:07 PM)

ttcn3-bts-test: use start_config functions

As suggested by Pau in code review, refactor the file to use functions
for starting the testsuites, SUT and related containers with specific
configurations.

Related: https://gerrit.osmocom.org/c/docker-playground/+/36389/comment/67a7c35e_766943a3/
Change-Id: If3cb7dbe585c03d21e5ec6353fd25575ccac7af0
Oliver Smith at

#539 (Mar 25, 2024, 1:21:07 PM)

ttcn3-bts-test: abort if missing osmo-config-merge

Change-Id: I9cea4affac0b3981c88078581a070f98649da667
Oliver Smith at

#538 (Mar 25, 2024, 11:26:08 AM)

ttcn3-bts-test: add env var to not run all configs

Make it possible to e.g. run only one of the generic/oml/hopping
configurations.

I made a version of this patch a few weeks ago for testing OS#6375,
and I'm submitting it now so I can add multiple configurations for
ttcn3-ggsn-test in the next patch with the same logic.

Change-Id: I1dce5e6aa4b5d67f9f8c96ced611ab2875c353c8
Oliver Smith at
ttcn3-ggsn-test/jenkins: add functions for start ggsn/testsuite

Prepare to run start_ggsn and start_testsuite multiple times with
different configurations in a follow-up patch.

Related: OS#6096
Change-Id: I0754b0df5f1b0b162732c3db0797f65676553ab0
Oliver Smith at
ttcn3-ggsn-test: move confgs to subdirs

Prepare to add variations of the configs: move them to subdirs, so we
don't cullter the main directory.

Related: OS#6096
Change-Id: I03a06f9f516922c47e3092ff7d7c2c68b0852c1b
Oliver Smith at
ttcn3-ggsn-test: run with multiple configurations

The kernel ttcn3-ggsn-tests have been failing since the osmo-ggsn
config for kernel-gtp has been adjusted for v4v6 instead of v4 only.

This new configuration caused a regression with:
* linux kernel without Pablo's GTP IPv6 patches
* latest stable release of osmo-ggsn, which does not support IPv6

As the kernel patches aren't merged yet, this caused all tests to fail.

Avoid this by running the ttcn3-ggsn-test with multiple configurations:
* v4_only: one APN with v4
* v6_only: one APN with v6
* v4v6_only: one APN with v4v6
* all: multiple APNs with all of the above

With this change, the tests running in the v4_only configuration will
pass again with the stable versions of osmo-ggsn, libgtpnl and kernel.
And with new versions, most test in the other configurations will pass
too.

As discussed with Harald, this does not only split up the configuration
for osmo-ggsn with kernel gtp-u, but also with the userspace
implementation. The "all" config currently only works with the
userspace gtp implementation (OS#6106).

Related: OS#6096
Depends: osmo-ttcn3-hacks I6d94a8b18200fbb2119406827b74b83e912e3ecc
Fixes: e24442f9 ("ttcn3-ggsn-test: kernel-gtp: add ipv6")
Change-Id: Ia2fe0c3ed4ccf06e72fd258d085e4a79cecd5f26
Oliver Smith at

#537 (Mar 20, 2024, 11:46:09 AM)

openbts-umts: fix apt: use archive.debian.org

This helps to get access to Debian 8 repositories in 2024.

Change-Id: Ia869476feeb67e2b3313b5d75ca01eaff41597ba
Vadim Yanitskiy at

#536 (Mar 18, 2024, 12:01:10 PM)

debian-bookworm-build: add libbladerf-dev

Related: OS#6409
Change-Id: I3c3fe95d8ebb21f7691a491144885c7deb8049a5
Oliver Smith at

#535 (Mar 7, 2024, 12:01:10 PM)

ttcn3-stp-test: enable M3UA-over-TCP testing for master

Change-Id: I210b7d62845075dcfe147f2f77603625cc1e64f9
Depends: osmo-ttcn3-hacks.git I5d0b05aa434c057ad379125ac293f5fc9a240b6f
Related: osmo-ttcn3-hacks.git I1e2a887aa22f317783b3207494fd707d7b426439
Related: SYS#5424
Vadim Yanitskiy at

#534 (Mar 4, 2024, 7:11:06 PM)

ttcn3-epdg: Set up params to get GTP-U echo working

Set the new module parameter added in the test.
Make sure the gtp_u_kmod osmo-epdg.config IP address is updated to the
proper docker network subnet.

Depends: osmo-ttcn3-hacks.git Change-Id I3fd96f212175959cb113d2f6a362c0e77e5ca0d7
Change-Id: I5cd9dcd6188227baed71823b0cbceb77dc771011
laforge at
ttcn3-epdg: Test GTP-U userplane

Set the assigned IP address for the UE in the EPDG docker container on
the eth0 interface. This way the emulated UPF (ttcn3) can test
decaps+encaps of osmo-epdg tun by pinging the UE IP address and
expecting a pong back.

Related: OS#6235
Change-Id: Icc5710b42e5a5374aade6b952e1c543565ffad2e
laforge at

#533 (Mar 4, 2024, 12:01:10 PM)

ttcn3-ggsn-test: enable dynamic debug

Enable loglevel=8, as otherwise the messages do not show up.

Change-Id: I048646c4f90233939809546d30c94c4218eedbb1
Oliver Smith at
ttcn3-ggsn-test: tweak log options

Change-Id: I6c3095f4d3378d2026d3720bc32e27ce4c8345b3
Oliver Smith at
cosmetic: .txt file shouldn't have execute permissions set

Change-Id: Ib1e0a79b97ae1af07e206b3be7762cc805820ae1
laforge at

#532 (Mar 4, 2024, 7:51:07 AM)

scripts/kernel-test: add /dev/null

Some busybox programs need /dev/null, add it to the initramfs.

Change-Id: Ie583ae816b517c10d13d77aa45155fc4d1209c26
Oliver Smith at

#531 (Feb 28, 2024, 1:16:08 PM)

ttcn3-pgw-test: Configure open5gs-smfd S2b/S6b/P-CSCF related bits

Depends: osmo-ttcn3-hacks.git Change-Id I38e469edf0e00feca5a648035b64645e2c905937
Change-Id: I3ff503990167f52ddb94a7719e2773db3f889a39
Pau Espin Pedrol at

#530 (Feb 28, 2024, 10:11:08 AM)

ttcn3-ggsn-test: kernel-gtp: add ipv6

Related: OS#6096
Change-Id: If3549db216ff89bdb963744bb38015ad68d4cf6a
Oliver Smith at

#529 (Feb 22, 2024, 4:16:08 PM)

ttcn3-epdg: Create tun with iface name gtp0

As done in the default/usual config.

Change-Id: I066c22a381ab85762c8ef247a5eb248f7adf6c71
Pau Espin Pedrol at
ttcn3-epdg: Give some time for osmo-epdg to start

erlang osmo-epdg is a bit slow starting up, and sometimes the first ttcn3
test may start when osmo-epdg is still not yet listening on the GSUP
socket, specially when the system is on high load.
Give some head time to make sure it is properly started.

Change-Id: I14e39db6548409b203e15fb562e0b44a90bd44cd
Pau Espin Pedrol at

#528 (Feb 19, 2024, 9:41:06 AM)

ttcn3-ggsn-test/fragment.config: add NET_NS, VETH

Build the kernel with NET_NS and VETH, so libgtpnl's qemu tests can
download the kernel and use it.

Related: OS#1952
Related: libgtpnl Ibf75514b866fffb11e90529e4705f126b23d7415
Change-Id: I6e893b64718f853b8595de36c090a1326db34419
Oliver Smith at

#527 (Feb 15, 2024, 1:56:08 PM)

epdg: Configure gtpu tunnel

Related: OS#6235
Change-Id: Ifeece08cdcceb378ae1e195cada5bfef54a1e2bd
Pau Espin Pedrol at

#526 (Feb 12, 2024, 6:06:07 PM)

fixup: ttcn3-bts-test: do not start osmo-bts-virtual / virtphy containers

Change-Id: I9a38356be1f970a2b8f1bf51bfc220471502682f
Related: OS#6352
Vadim Yanitskiy at

#525 (Feb 9, 2024, 11:21:06 AM)

ttcn3-bts-test: do not start osmo-bts-virtual / virtphy containers

We cannot execute the virtphy based testcases due to the limitations
of Docker (see https://github.com/moby/libnetwork/issues/2397).  The
function starting the testsuite was already commented out, but not
the lines starting containers with osmo-bts-virtual and virtphy.

To put it simple, we start and immediately terminate those containers.
And since recently (Feb 1st), we started seeing socket creation errors
in both containers, causing jenkins.sh to abort early.  It's yet
unclear what's the cause of those socket errors, but regardless of
that we should still be running other pending testcases.

Change-Id: I7c9ccc9cc400edb7a05e222e51671fd49631a4cd
Fixes: OS#6352
Vadim Yanitskiy at

#524 (Jan 22, 2024, 4:01:06 PM)

ttcn3-epdg: Run osmo-epdg with CAP_NET_ADMIN

This will be needed since soon osmo-epdg will start creating tunnel
devices througth gtp_u_kmod, which requires CAP_NET_ADMIN, plus it will
need probably need to set up local IP addresses.

Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
Pau Espin Pedrol at

#523 (Jan 19, 2024, 1:46:08 PM)

ttcn3-epdg: Add section to control logging

Similar as to what's defined in osmo-epdg.git/config/sys.config.

Change-Id: I7b9a3421b5f0f384324bb0f9b6de3fffdceaef53
Pau Espin Pedrol at

#522 (Jan 18, 2024, 1:06:09 PM)

osmo-epdg-master: Remove rebar.lock to force build against updated dependencies

This way we notice when some dependency update breaks build, and
prevents running against old dependencies if developer forgot to update
rebar.lock.

Change-Id: Ia9112d641e80d1eddcddea1e54e4c135d6efcc5b
Pau Espin Pedrol at

#521 (Jan 17, 2024, 3:56:07 PM)

ttcn3-epdg: Set new osmo-epdg diameter connect/wathdog configs

Depends: osmo-epdg.git Change-Id I99b5e02264c2c35a3fbfcd2d6083a07e2cfea566
Change-Id: I3632abb8b33d5f2636f443573196d73ea8d3c818
Pau Espin Pedrol at
ttcn3-epdg: Update renamed config fields

The config file fields have been renamed recently, update them.

Depends: osmo-epdg.git Change-Id I63fe4c7acc7460575a921b254adf066134c0527f
Change-Id: Ic9f2f33b8ffae7b4273e6fac8a42b6e9e1e38ed8
Pau Espin Pedrol at

#520 (Jan 10, 2024, 4:06:06 PM)

debian-{buster,bullseye}-jenkins: Add python3-cryptography from debian

This avoids having to use rust to build the cryptography module
during pySim requirements.txt

Change-Id: I9246c9260b1d227ce6e290058caa33e04407d11f
laforge at
upgrade gerrit to 3.7.6

Change-Id: I6266b1dbfbad71aca95d45f812354f7336b8bd69
laforge at

#519 (Jan 9, 2024, 3:51:09 PM)

ttcn3-msc-test: also execute ASCI (VBS/VGCS) testcases

These new testcases were added to osmo-ttcn3-hacks.git back in August
2023 (see the related patch), but have never been executed automatically
on Jenkins because the config file was not updated in this repo...

Change-Id: I9ec0a03658ead382eaaef175090cfc3650ffd9b7
Related: osmo-ttcn3-hacks.git I4bbe739ea55ecf9f7ebf9ee413df69f29aa642f8
Vadim Yanitskiy at

#518 (Jan 9, 2024, 1:18:20 PM)

ttcn3-msc-test: set 'hlr' / 'ipa-name' explicitly

Old osmo-msc versions do not include the Source Name IE in SMS related
GSUP messages, unless it's set explicitly in the config file ('hlr' /
'ipa-name').  Recent osmo-msc versions (see the related osmo-msc patch)
do include this IE even if it's not set explicitly ('unnamed-MSC').

Because of this, some testcases in ttcn3-msc-test are currently
failing for osmo-msc master, but still passing for the -latest.

Let's set the 'ipa-name' explicitly in osmo-msc.cfg, so that we can
expect both -master and -latest to include the Source Name IE.

Change-Id: I7757aae1d01b679f530b5c0a6c95b224cb9f204f
Related: osmo-ttcn3-hacks.git Ic24d3082fe3dce08e43e8f3ecb6d6132503c55c6
Related: osmo-msc.git I7bacd001b81326c32bc262c7d0c0491ded822fa8
Related: OS#6135
Vadim Yanitskiy at

#517 (Jan 3, 2024, 12:26:07 PM)

mme: Use LAC from SGSN with most significat bit set to 0

Adapt to the new default value used by ttcn3 tests.

Depends: osmo-ttcn3-hacks.git Change-Id Iaf89228f6f026e04d5f583211959025e6d8d4a1d
Change-Id: Ifefbd9bf2ed1bce8089e3dc4c6f9fe901e72308e
Pau Espin Pedrol at

#516 (Jan 2, 2024, 11:01:10 AM)

ttcn3-mme: Set log level of open5gs-mmed to debug

INFO is in general not enough to debug tests.

Change-Id: Ic91571f0caf138dc2ac798d75b0600ad265473c3
Pau Espin Pedrol at

#515 (Dec 15, 2023, 1:16:06 PM)

ttcn3-pcu-test: set PCUIFv12 for both -master and -latest

osmo-pcu v1.4.0 (recently tagged) now also speaks PCUIFv12.

Change-Id: If0b2209af645f391817f65b4227736b52ca59e2e
Related: OS#6191
Vadim Yanitskiy at
ttcn3-bts-test: set PCUIFv12 for both -master and -latest

osmo-bts v1.7.2 (recently tagged) now also speaks PCUIFv12.

Take a chance to fix ttcn3-bts-test-2023q1 by setting PCUIFv10.

Change-Id: I70f0c30d6c514614095dcbbcac5d025001861fbc
Vadim Yanitskiy at

#514 (Nov 29, 2023, 2:36:08 PM)

ttcn3-pcu-test/sns: fix PCUIF version number (follow up patch)

Unfortunately we had to revert [1] because it worked for current master
but not for latest. The mistake here was to change the PCUIF version
number in PCU_Tests.cfg to PCUIF v12. This is indeed the correct version
for current master, but latest still uses v11. Also the change we made in
jenkins-sns only affected 2023q1 builds, it does not affect latest. This
is the reason why the previous patch broke latest.

This follow up patch now copies the approach we already successfully use
with the normal ttcn3-pcu-test / ttcn3-pcu-test-latest. (see also
jenkins.sh)

[1] I0b37f01f4c7bb829053231339e39ab734f4c8cbc

Change-Id: I1f94a0459e35d7b5632c81d7f7e2e60eb0d0229f
Related: OS#6275
pmaier@sysmocom.de at

#513 (Nov 29, 2023, 10:06:22 AM)

Revert "ttcn3-pcu-test/sns: fix PCUIF version number"

Unfortunately this patch only fixes ttcn3-pcu-test-sns but it breaks
ttcn3-pcu-test-sns-latest, this means a different solution is needed.

This reverts commit c9820d7b36eb3f75c32d193394da46aad9406cb2.

Change-Id: I101d27ae8ed7449b199e49795a3561436c2532dd
Related: OS#6275
pmaier@sysmocom.de at

#512 (Nov 29, 2023, 9:21:06 AM)

ttcn3-pcu-test/sns: fix PCUIF version number

The current master of OsmoPCU is now using PCUIF version number 12.
However, the configuration file of the the SNS tests still sets it to
11.

Related: OS#6275
Change-Id: I0b37f01f4c7bb829053231339e39ab734f4c8cbc
pmaier@sysmocom.de at

#511 (Nov 24, 2023, 8:36:06 AM)

open5gs configs: duplicate cfgs for latest/master

The config format just changed significantly in main/master. Duplicate
the configs, so we can run latest with the old versions.

Related: OS#6267
Change-Id: I2446695172b92ccf75305f878cb932a82e44fdd2
Oliver Smith at
open5gs configs: update to current format

Adjust open5gs configs to the new formats from:
https://github.com/open5gs/open5gs/pull/2739

This fixes all open5gs programs from crashing on startup with various
errors such as:
  11/21 07:39:25.971: [core] FATAL: epoll_init: Assertion `context->epfd >= 0' failed. (../lib/core/ogs-epoll.c:77)

Related: OS#6267
Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
Oliver Smith at

#510 (Nov 24, 2023, 8:21:06 AM)

open5gs configs: remove comments

A lot of these comments got outdated with recent config changes
in the related PR. Instead of syncing the comments again and having a
big diff, remove the comments once and then only have diffs of
actual config changes in future patches. This will make it easier to
maintain these configs.

Related: https://github.com/open5gs/open5gs/pull/2739
Change-Id: I67c2a198b9682e15e23a466380e62a976e6236cd
Oliver Smith at

#509 (Nov 21, 2023, 9:21:06 AM)

ttcn3-bts/pcu-test: Use PCUIF v12 for current master and PCUIF v11 for latest

At the moment we use PCUIF v11 in latest and in master. This will now
change (see Depends) so that we will have to use v12 in master. This
patch adds the necessary conditional config changes.

Depends: osmo-pcu.git I48eb75f65ab54fdec41ef913e24c1f18cd4a4047
Change-Id: I5c0914c0bf906b51a500a3b099578700798cf8c0
Related: OS#6191
pmaier@sysmocom.de at

#508 (Nov 15, 2023, 9:56:09 PM)

Use 2023q1 osmo-ttcn3-hacks branch for 2023q1 SUTs

Fix the TTCN3-centos-pcu-test-2023q1 jenkins job where currently most
tests are failing. This is because 2023q1 is using an older PCUIF
version that is no longer supported by osmo-ttcn3-hacks.git. As
discussed, use a 2023q1 branch of osmo-ttcn3-hacks where the support was
not removed yet.

Fixes: SYS#6638
Change-Id: Id82425aca4a8ff87feb8a130d31712bc62fa27ed
laforge at

#507 (Nov 14, 2023, 8:41:09 PM)

ttcn3-dia2gsup-test/osmo_dia2gsup: set connect timer to 200 ms

Related: OS#5657
Change-Id: I22839cdf76120bb6152b32059822001cbd7979d8
lynxis at

#506 (Nov 9, 2023, 10:31:07 AM)

ttcn3-hnbgw-test: reduce X31 to 5s

Set X31 to 5s as expected by the testsuite to fix currently failing:
  - TC_ranap_cs_mo_disconnect
  - TC_ranap_ps_mo_disconnect

It was recently increased to 15s in the related patch.

Related: osmo-hnbgw I24225cfc0addf326c239ec658a27b93b83a3e751
Change-Id: I223d38e9ec2ca0f9f2ce2ac5311932789f328c9a
Oliver Smith at
ttcn3-hnbgw: Use new module param mp_hnbgw_timer_x31

Depends: osmo-ttcn3-hacks.git I176ef96e193f2ca39077bcee3a2187768ddb45ce
Change-Id: I98e1d4d649ea07b006a7d4c15f8d94a9b4b3de1d
Oliver Smith at

#505 (Nov 7, 2023, 12:26:08 PM)

redmine: run 'apt upgrade' in Dockerfile to get glibc fix from Debian

https://lwn.net/ml/oss-security/20231003175031.GA16924@localhost.localdomain/

Change-Id: Ice5c5e86cd519446fc59c09d64b20836f998d384
laforge at
sigtran-tests: Add note on why this is still using buster

Change-Id: I403401be7e469085f9a82944b3eaa6b8c8ea6319
laforge at

#504 (Oct 24, 2023, 9:36:07 PM)

ttcn3-epdg: Configure S6b interface

Configure the newly added S6b interface on both TTCN3 emulation code as
well as osmo-epdg.

Depends: osmo-ttcn3-hacks.git Change-Id Ia50698a3f6f5ed8251486b84c09f84edfd6d3951
Depends: osmo-epdg.git Change-Id Ia2b138317cb291a95882853f5403949c5e6a5a1b
Change-Id: I1145ee1068a2fdd2fe8d3e48b80c8e6c1fcb50ad
Pau Espin Pedrol at

#503 (Oct 23, 2023, 2:51:09 PM)

ttcn3-epdg-test: Update config file to set up GTPv2C socket

Depends: osmo-epdg.git I6f00b7fce2d5fcdc484bfd45629b9141f16bc579
Depends: osmo-ttcn3-hacks.git I8f18c927b1897806233cc9d049c25694c1e639d4
Change-Id: I05ae2d87e16cef9772bc5c3690f687e5ecbd5f51
Pau Espin Pedrol at

#502 (Oct 19, 2023, 9:16:10 AM)

Introduce osmo-epdg-master

Related: OS#6204
Change-Id: Iefc43ffa47f443f2826b8979d4dd0c5542dda1c5
Pau Espin Pedrol at
Introduce ttcn3-epdg-test

Change-Id: I77a4d66c1bd0236dee8fc54e03a9d6bf8d63f204
Pau Espin Pedrol at

#501 (Oct 16, 2023, 2:56:10 PM)

debian-bookworm-erlang: use debian's rebar3

Use debian's version of rebar3 instead of downloading a binary. This
was useful when the container was based on debian 11 where rebar3
wasn't in debian's repositories. Debian 12 has version 3.19.0.

This also solves a caching problem on one of the jenkins nodes, which
currently fails at this line:
  ADD  https://github.com/erlang/rebar3/archive/refs/tags/${REBAR3_VERSION}.tar.gz /tmp/rebar3.tar.gz
with:
  ERROR: failed to solve: failed to load cache key: invalid not-modified ETag: "fce57989250a021a2be5fe5eddd655d6d415eef04f769bf1437f3d6dddfa5559"

My understanding is that docker has cached an ETag that is no longer
valid / maybe the format changed - and instead of simply requesting the
file again, it just fails there.

Related: https://en.wikipedia.org/wiki/HTTP_ETag
Change-Id: I69e02d004a0bd6f9d3a462f4e184b3e9361cc7fe
Oliver Smith at

#500 (Oct 16, 2023, 8:56:08 AM)

common/ttcn3-docker-run.sh: add TEST_NAME env var

Make it possible to run only one test by setting an environment
variable.

Change-Id: I1f45a05e089b429918096fcd64f7c02033d5a9dd
Oliver Smith at

#499 (Oct 15, 2023, 9:51:09 PM)

open5gs-latest: Support debian bookworm

The open5gs Debian_12 is available since today [1]; hence starting using
debian 12 now.

[1] https://github.com/open5gs/open5gs/issues/2669
Related: SYS#6588
Change-Id: Ib11a55294b525e3c3806246b133f8e479554a068
Pau Espin Pedrol at
Introduce ttcn3-hss-test-ogs

Related: SYS#6588
Depends: osmo-ttcn3-hacks.git Ic2fccd9c54aea04f1a31649a0af47c974939fb2f
Change-Id: Iebeefd9689ae2efa54678b99ff929ca255ec64d1
Pau Espin Pedrol at
ttcn3-hss-test-ogs: Adapt mongodb db setup to pass new test

Add DB config for new subscriber required by TC_ulr_ula_subscr_op_det_barring_7.

Depends: osmo-ttcn3-hacks.git I8deea9e284447f8991bdeced982c14fae2f211c5
Related: SYS#6588
Change-Id: I42d6af42bada50c55914ec94c4090fccbe8d1c97
Pau Espin Pedrol at

#498 (Oct 12, 2023, 2:31:10 PM)

debian-bookworm-titan: add ccache

Add ccache, so it can be used when rebuilding the testsuite from source
from a development branch. Ccache is not used by default.

Related: osmo-dev I800062d0379295a6905851db29e820ff16217653
Change-Id: I94d22b8da9f897974c5913b2a8138c653c215446
Oliver Smith at

#497 (Oct 10, 2023, 4:46:09 PM)

open5gs-master: Make mongodb available in the image

The open5gs-latest image installs mongodb, but the master one doesn't.
Having a mongodb image is required to run together with open5gs-hssd.

Related: SYS#6588
Change-Id: Id6dde5f54b666279c102eb14fabb87194192c9e4
Pau Espin Pedrol at

#496 (Oct 10, 2023, 4:16:09 PM)

open5gs-master: Install open5gs-dbctl to /usr/bin

meson install doesn't install that file because it's aimed at
developers. However, debian package does install it manually in
debian/open5gs-common.install.
Hence, the app is available in open5gs-latest docker image, but not in
open5gs-master. Manually copy it to /usr/bin to have both behave the
same in this aspect.

Related: SYS#6588
Change-Id: I54a760d04e6522d843e6d65b94ef6067e502fbaa
Pau Espin Pedrol at

#495 (Oct 10, 2023, 3:41:09 PM)

open5gs-master: Fix indentation

Use tabs everywhere, as usual with other Dockerfiles (eg.
open5gs-latest).

Change-Id: Ie4e72f484797ada718915e837cd38be574136631
Pau Espin Pedrol at

#494 (Oct 10, 2023, 12:26:08 PM)

ttcn3-pcu-test: use PFUIF v10 for 2023q1

Change-Id: Iae895240276fa68bfd9fdb2e13358a3a7fb65f59
Oliver Smith at

#493 (Oct 5, 2023, 8:41:08 PM)

Fix osmo_dia2gsup-master not pulling in debian-bookworm-erlang dep image

Change-Id: I8d9bd77bbfac14a9951a549a21ee6bc4ea7b267a
Pau Espin Pedrol at

#492 (Sep 29, 2023, 11:36:07 AM)

make/Makefile: update DISTRO, UPSTREAM_DISTRO

Update the Makefile, so it does not pick the wrong base distribution
when running make in e.g. osmo-bsc-master directly (without going
through ttcn3-*/jenkins.sh as jenkins does).

Change-Id: I31b2a1b8c70b973f4ec0f93d6e9e5e417afec994
Oliver Smith at

#491 (Sep 21, 2023, 8:41:07 PM)

ttcn3-mme: Fix missing IP/port config for S11 interface

This fixes failure when running MME_Tests.TC_s1ap_attach

Depends: osmo-ttcn3-hacks.git Change-Id Ia94f50a11292a83dcbd2da8d6df608ef71842b50
Change-Id: I941da52a4d9e10d954a44f32680cf8e8f7a8086a
Pau Espin Pedrol at

#490 (Sep 13, 2023, 8:11:10 AM)

ttcn3-bts: Use PCUIF v11

Since osmo-bts 1.7.0 which was just released, PCUIF v11 is supported, so
use it both in master and latest.

Change-Id: I6c905d074ffc324dd72d6a5c9ce79f3c241ac780
laforge at
ttcn3-hnbgw: Update config files for latest after osmo-hnbgw new release

Change-Id: Id184686ba50ec07532b2f11cc9513626f66ed94c
laforge at

#489 (Sep 2, 2023, 1:16:06 PM)

gerrit: update to 3.6.6

Change-Id: I3935d1c6ac671e4c2ba2db685c9ddf75d77ab7f1
laforge at
gerrit: upgrade to 3.7.4

Change-Id: Ie96b0fabd39248d3f20b073b51d163004ae3dd8a
laforge at

#488 (Aug 31, 2023, 9:41:09 AM)

ttcn3-dia2gsup: Avoid retrieving unexisting talloc report

The OSMO_SUT_{HOST,PORT} envvars are used to trigger retrieving of
talloc reportes from the VTY port in osmo-ttcn3-hacks.git
ttcn3-tcpdump-stop.sh.
osmo_dia2gsup is an erland app and hence it makes no sense trying to
retrieve such information.

Change-Id: I6ee3fa83758e09898d1cd05bf15bc3428e2ffd11
Pau Espin Pedrol at

#487 (Aug 29, 2023, 8:41:07 AM)

dia2gsup: Fix logfile name

Change-Id: I26e480ee8358476dcda72d51c3d135a0806ca82b
Pau Espin Pedrol at

#486 (Aug 28, 2023, 3:21:06 PM)

Introduce osmo-dia2gsup-master, ttcn3-dia2gsup-test

- Add a docker container to run osmo_dia2gsup from git master.
- Add infrastructure to run the osmo-dia2gsup container against
  osmo-ttcn3-hacks.git/dia2gsup testsuite.

Related: OS#5757
Change-Id: I646096d5a010df02af75aefa33b023b55997a6d7
Pau Espin Pedrol at

#485 (Aug 28, 2023, 12:26:10 PM)

debian-*-erlang: Install libsctp to enable sctp support in erlang apps

The current "--enable-sctp" flag when building erlang consists of
supporting SCTP if the libsctp library is found at runtime, by
dynamically linking to it only when SCTP features are requested.

The erlang package in debian only lists libsctp as a Build-Depends, but
it is not installed by default, so apps wishing to use SCTP will fail:
"""
[error] CRASH REPORT Process <0.155.0> with 0 neighbours crashed with reason: no match of right hand value {error,{shutdown,{open,eprotonosupport}
"""

Installing the libsctp library fixes the issue.

Related: OS#5757
Change-Id: I5ca332f9064c16491116608577b3f68379d840e6
Pau Espin Pedrol at

#484 (Aug 28, 2023, 11:21:09 AM)

debian-bookworm-build: add curl

Add curl, as required by the coverity job to submit the API request.

Change-Id: I70eb2b94d0eda4b371d674e1087b4dc13397dcdf
Oliver Smith at

#483 (Aug 25, 2023, 1:16:05 PM)

debian-bookworm-build: add libnftables-dev

Add libnftables-dev, which is needed for osmo-upf. This is required to
move the coverity jenkins job to use this docker container.

Order the list alphabetically again while at it.

Change-Id: I25862a7e3c8a73e13fd4a9237ab57500d8dfc95c
Oliver Smith at

#482 (Aug 22, 2023, 9:06:07 AM)

debian-bookworm-build: inkscape -> librsvg2-bin

Merge at the same time as the osmo-gsm-manuals patch.

Depends: osmo-gsm-manuals I0d132f8f6fd73fbe14b5bfa10a8659acaddf38f7
Change-Id: I012c61eb777e6dc267dd4a52500da98c01ac1438
Oliver Smith at
fpga-build: use debian-bookworm-build

* Remove code that is in debian-bookworm-build already (all packages
  that get installed, creating the build user, installing osmo-ci and
  osmo-gsm-manuals).
* Put toolchain installations in single RUN commands, so the unextracted
  tarballs are not stored in image layers.

Related: OS#6057
Change-Id: Iaaca6367b76a6ec860c63d57c767954f82edfee5
Oliver Smith at
release-tarball-build-dist: remove

Remove the container, as the job has been rewritten to not require its
own docker container anymore, see the osmo-ci patch.

Depends: osmo-ci I9f8b671b9780da500637a64fc4dbc72b450f9d11
Change-Id: Ic35a28a386170b85d32aab8f2bd33e48e6d45392
Oliver Smith at
Cosmetic: debian-buster-jenkins: update comment

Related: OS#6126
Change-Id: I15be64a662e97e7e819abeda1c6c955d8198176c
Oliver Smith at

#481 (Aug 14, 2023, 9:31:07 AM)

debian-bookworm-titan{,-master}: new containers

Add new containers based on debian-bookworm. Make some improvements
over the bullseye containers while at it:
* Remove sed for cversion.h, as the #error it is trying to replace is a
  warning now so it is a no-op, and we use our own eclipse-titan package
  instead of debian's package.
* Make apt commands consistent
* Move commands around to make better use of the cache
* Clone osmo-python-tests from gerrit instead of gitea and invalidate
  cache when master changes
* Tweak comments

Related: OS#6057
Change-Id: I4415fcde6518bd26d1e2cb5785ddaf84ac2116b3
Oliver Smith at
ttcn3: use debian-bookworm-titan

Related: OS#6057
Change-Id: I2017dd3888670c475b96e692d911a433484f3df9
Oliver Smith at

#480 (Aug 10, 2023, 1:26:07 AM)

hnbgw: fixup: with-pfcp cfg: missing 'pfcp' section

Change-Id: I02be7c857d7dbf032bcadbea0812af732d27784f
Neels Hofmeyr at

#479 (Aug 10, 2023, 12:46:06 AM)

hnbgw: fixup: with-pfcp cfg: set missing x26 timer

Change-Id: Id9af3f99dedcc04424793560b171e595b88af0d7
Neels Hofmeyr at

#478 (Aug 8, 2023, 5:46:06 AM)

ttcn3-hnbgw-latest: fixup for cnpool: bind CTRL to 0.0.0.0

Change-Id: I70c8d8fc61830cb46dcc580b7e344425f7c6c26d
Neels Hofmeyr at

#477 (Aug 8, 2023, 5:16:06 AM)

hnbgw: fixup for cnpool: fix ASP IP addresses in osmo-stp.cfg

Change-Id: Ib6175eee69a7f37f987f996049351b9e1a545f58
Neels Hofmeyr at

#476 (Aug 8, 2023, 4:31:05 AM)

hnbgw: fixup for cnpool: re-add lost MGCP cfg

Change-Id: I3491e2f9a675b737c12d84484f6d0219e8db0900
Neels Hofmeyr at
hnbgw: fixup: adjust with-pfcp cfg like without-pfcp

Change-Id: Ice5aa8a6db512edad3535a55c5dba841670837ec
Neels Hofmeyr at

#475 (Aug 8, 2023, 4:26:05 AM)

hnbgw: tweak log

Change-Id: I974272b800bad4efc277d9832357e9caf34e2dd8
Neels Hofmeyr at

#474 (Aug 8, 2023, 4:06:05 AM)

hnbgw-latest: fixup for cnpool: use correct osmo-stp.cfg file name

Change-Id: I80ecfc694adb1cb44dddec30e845237676a4eead
Neels Hofmeyr at

#473 (Aug 8, 2023, 3:51:10 AM)

hnbgw-latest: fixup for cnpool: use correct cfg file name

Change-Id: I40c2aca069114f9a07840eed11e608921ed65d26
Neels Hofmeyr at

#472 (Aug 8, 2023, 3:46:10 AM)

hnbgw: fixup for cnpool: bind CTRL to 0.0.0.0

Change-Id: Ia71688f5468b3eabdead2996cc1470e467b9c10b
Neels Hofmeyr at

#471 (Aug 8, 2023, 2:51:08 AM)

hnbgw: adjust cfg for cnpool tests

Config changes matching cnpool tests added in osmo-ttcn3-hacks, see
'Related'.

Keep a copy of the old config files named "-legacy", to not break the
'latest' tests, because osmo-hnbgw 'latest' does not yet support the new
config options.

Depends: osmo-ttcn3-hacks I027a059faed3f140f8801f84338956cd004043b5
Change-Id: I94aa0b2adfc48b98cb4b1efe595c2432fc603d6c
Neels Hofmeyr at

#470 (Aug 7, 2023, 12:41:06 PM)

ttcn3-mme-test-ogs: configure Gn interface

The Gn interface is not configured yet, hence TC_gn_echo_request fails.

Related: OS#5760
Change-Id: Ia89a137103f558ae96e269c935fabe80bb2e2884
pmaier@sysmocom.de at

#469 (Aug 3, 2023, 12:41:09 PM)

debian-bookworm-build{,-arm}: fix temp dir removal

Change-Id: I6a0e0869986550ddfa710dfc15d7e78d8974dbc5
Oliver Smith at

#468 (Jul 25, 2023, 3:26:08 PM)

osmo-uecups-master: make osmocom user avilable

Bring back the osmocom user that was removed earlier to fix a UID
conflict with the build user.

The osmocom user is being used after all, the TTCN-3 PGW tests use it to
start commands as "osmocom" user in osmo-uecups-master. This lead to e.g.
PGW_Tests.TC_createSession_ping4 failing.

Rename the user instead of adding a new one, so it can write log files
to the log dir as the same UID as the user that runs docker.

Fixes: 94f8a8 ("osmo-uecups-master: remove useradd")
Related: OS#6057
Change-Id: I2b29d7fedcf3e0a4c17bfbad16077098f94c529b
laforge at
debian-bullseye-titan-*/Dockerfile: Replace inetutils-ping with iputils-ping

iCurrently we install inetutils-ping in some docker images and
iputils-ping in others; let's make it more uniform to avoid running
different implementations in different images.
The iputils-ping provides further linux-specific features, such as the
"-I interface" param, which is used by some images, so let's pick that
one everywhere.

Change-Id: If11a1c2ae1115b585b6a44a45e9569c16856d8c4
laforge at

#467 (Jul 25, 2023, 3:21:08 PM)

ttcn3-hnbgw: fix disabling talloc report checks for hnbgw-latest

Older commit disabled the talloc report checks but forgot to add the
same line to the with-pfcp/ variant, and as a result the sed command in
jenkins.sh won't work there.

Fixes: cb4897e4c09f7213c929dfd85f1657d697e6bf3d
Change-Id: Id4eed548b3a552747e95784be3654952e10e96ab
Pau Espin Pedrol at

#466 (Jul 21, 2023, 11:31:07 AM)

scripts/kernel-test: add KERNEL_SKIP_REBUILD

Speed up local test cycles by not building the kernel again from source
if not needed.

Change-Id: Iaa401918d7c09ec92ec546071d8961e99a4cbb47
Oliver Smith at
scripts/kernel-test: add KERNEL_SKIP_SMOKE_TEST

Speed up local test cycles by not running the smoke test every time.

Change-Id: I505b74e8c9b221655a97c5464f6fe4f21204a894
Oliver Smith at
kernel_test_prepare: use $DOCKER_ARGS

Use $DOCKER_ARGS in the docker run call to kernel-test/prepare.sh, which
builds the initramfs. I use this to make a local build of osmo-ggsn +
depends available in the docker container in /usr/local with the
ttcn3.sh script in osmo-dev.git.

Change-Id: Ie2500fa1bd9d57e2531463ce93fdd9930ad829d3
Oliver Smith at

#465 (Jul 21, 2023, 11:06:09 AM)

open5gs-master: useradd: don't hardcode uid

Give the user that runs open5gs a different UID than the build user from
the debian-bookworm-build container.

Fix for:
useradd: UID 1000 is not unique

Related: OS#6057
Change-Id: I49051e038740cfccbb11ad33a1884bb7de318710
Oliver Smith at
open5gs-master: drop unknown option metrics_impl

The metrics_impl option has been dropped in the related commit as
prometheus is now the default in open5gs. With newer meson, unknown
options are treated as errors (used to be warnings before).

Fix for:
ERROR: Unknown options: "metrics_impl"

Related: OS#6057
Related: https://github.com/open5gs/open5gs/commit/982ac61894ba5ac7b532661773df0cae859bb4f1
Change-Id: Ib859ef7389928019addecae08df2011eecda80ad
Oliver Smith at

#464 (Jul 20, 2023, 8:06:09 AM)

open5gs-master: use DISTRO variable

Instead of hardcoding bullseye, use the DISTRO variable so it now
defaults to bookworm.

Related: OS#6057
Change-Id: Ia392de80ee1f0844563f08a6dc775678ef6b263f
Oliver Smith at

#463 (Jul 18, 2023, 3:16:08 PM)

Cosmetic: ttcn3-ggsn-test: env vars -> README

Prepare to add more kernel related env vars. Instead of duplicating the
descriptions here, point to the README file.

Change-Id: I324f12930c5521e29312b309d6344ed5ffbd2581
Oliver Smith at

#462 (Jul 18, 2023, 1:31:07 PM)

hnbgw: Skip asn1 talloc mem checks in osmo-hnbgw-latest

Depends: osmo-ttcn3-hacks.git Change-Id I5c18cf2d6797bcf0bef13d71ab0b69f1403b474f
Change-Id: I1a933795ffef3cea97fcf34b1c513e71f3256c83
Pau Espin Pedrol at

#461 (Jul 18, 2023, 1:11:07 PM)

scripts/kernel-test: fixup for initrd_add_file

The previous versions happened to work too in my testing with
osmo-ggsn. Use the correct loop variable.

Fixes: 0660fc4e ("scripts/kernel-test: adjust to usr-merge")
Change-Id: I0c0ca91116a8cd156b185bb53512371bbcb76515
Oliver Smith at

#460 (Jul 18, 2023, 12:21:07 PM)

scripts/kernel-test: adjust to usr-merge

In debian bookworm, the /usr merge has been implemented:

  /bin → /usr/bin
  /sbin → /usr/sbin
  /lib → /usr/lib
  /lib64 → /usr/lib64

The initramfs filesystem layout is derived from the paths of the
binaries and libraries in the full system. Create the same symlinks and
adjust initrd_add_bin so it does not trip over the symlinks.

I've also considered to change all input for initrd_add_bin to point at
the /usr/… paths. But this is not possible, for example ldd/lddtree will
point at libraries in /lib and /lib64, and this gets passed to
initrd_add_bin.

Without this patch, the init script and all binaries called from it
cannot be executed.

Related: OS#6057
Related: https://wiki.debian.org/UsrMerge
Change-Id: I975d3af0fa88869688673936a08189de800fba29
Oliver Smith at
scripts/kernel-test/run-qemu: set init=/init

Set init= so the kernel doesn't try to run other scripts if /init
fails:

[    2.946381] Run /init as init process
[    2.948885] Failed to execute /init (error -2)
[    2.949051] Run /sbin/init as init process
[    2.949329] Run /etc/init as init process
[    2.949566] Run /bin/init as init process
[    2.949795] Run /bin/sh as init process

Change-Id: I063c7625acaa15130d8361d4e944c3773c9b37c4
Oliver Smith at
scripts/kernel-test/run-qemu: update qemu args

Fix these warnings:

warning: short-form boolean option 'server' deprecated
warning: short-form boolean option 'nowait' deprecated

Change-Id: Iba84d8e61c2d9cbd687d803066db0c04aca9f805
Oliver Smith at

#459 (Jul 18, 2023, 11:46:06 AM)

osmo-uecups-master: remove useradd

debian-bookworm-build already adds a user (as it is a combination of
debian-bullseye-build and debian-bullseye-jenkins, and the latter did
it). Remove the additional useradd in osmo-uecups-master to fix:

useradd: UID 1000 is not unique

I've looked through related configs and scripts and the username is not
hardcoded there.

Related: OS#6057
Change-Id: I28f2a110167f550e1b38332ed4e7124b9e76f312
Oliver Smith at

#458 (Jul 17, 2023, 8:56:07 AM)

jenkins-common: add + set default: debian bookworm

Related: OS#6057
Change-Id: I37e5393398f17c5c8809e17bb363fa86d769f2c2
Oliver Smith at

#457 (Jul 17, 2023, 6:36:06 AM)

debian-bookworm-build(-arm): new docker containers

Create debian bookworm (12) based containers for building all Osmocom
projects in master/gerrit/ttcn3 jenkins jobs.

This is a combination of debian-bullseye-build (ttcn3) and
debian-bullseye-jenkins(-arm) (master/gerrit), which were used for this
purpose but had several differences. Combining them solves the
following problems:
* The naming was confusing, as both the -jenkins and -build containers
   were used in jenkins and were used to build the Osmocom stack.
* This lead to adding the dependencies to the wrong containers / not
   adding them to both containers.
* Now we are sure that if a program builds from source in the master
   and gerrit verifications, it will also build in the ttcn3 jobs.

Other notable changes from the debian 11 containers:
* Python2 is finally gone (OS#5950, for the few projects that still
   need it like openbsc, I'll use debian 11 for the jenkins jobs)
* Removed osc and git-buildpackage, now that OBS package building is
   done in different docker containers (see osmo-ci/scripts/obs)
* Combined multiple RUN commands into one as they the image build
   down, used set -x to display what commands run exactly
* Use UID variable instead of hardcoding 1000
* Optimized order of commands, so e.g. the LLVM for Arm that we will
   rarely change gets installed/cached before the big list of apt pkgs
* Replaced old git.osmocom.org urls
* Removed apt-get upgrade; the base image will get upgraded from time
   to time, no need to upgrade within the image
* Add --depth=1 option to git clones and remove temporary git clones
* Removed generating locales code, it was only done by one of the two
   images and I couldn't find in the git log why we would need this (if
   we do need it we can add it back later)

The following patches add more debian bookworm containers and have
similar improvements.

Related: OS#6057
Change-Id: I49aaf62b5b97775f923453611df3b91354a640a0
laforge at
debian-bookworm-erlang: new docker container

Related: OS#6057
Change-Id: I797ec0e6700860be8fb59bf6b1fab6fa44e53421
laforge at
debian-bookworm-obs-latest: new container

Related: OS#6057
Change-Id: Ie30135362e37558010f9894bb80a3684786f5aee
laforge at

#456 (Jul 13, 2023, 3:26:10 PM)

adjust HNBGW_Tests.cfg to changed HNBGW_Tests.ttcn

Fix current jenkins test breakage:

Adjust HNBGW_Tests.cfg after changes to osmo-ttcn3-hacks in
"hnbgw: prepare cn pool: add multiple MSCs and SGSNs"
Ia29565cabc072de9aa46565b57232e1eda65874f

Change-Id: I912e8ad1f528d0d726b778a02a0f54c77b298f54
Neels Hofmeyr at

#455 (Jul 11, 2023, 2:51:07 PM)

Install  liburing-dev in jenkins and build containers

Change-Id: I048c43d3bcbecfdfd26e087109fb99315e1629ec
laforge at

#454 (Jul 11, 2023, 2:31:07 PM)

debian-bullseye-jenkins: add libcdk5-dev

Prepare for osmo-bsc I8b3d5efb769437a5d3036e1e627b8d477275d93e where
jenkins.sh will explicitly build meas_vis and configure.ac will stop if
libcdk5-dev is not installed.

Currently meas_vis only gets built if libcdk5-dev is installed, meaning
right now it doesn't get built by the jenkins verification and
master-build jobs (only by the debian package build verification).

Related: OS#5173
Change-Id: I015b6d7cb834e99ea5d04206ba5f8c519c4e6af1
Oliver Smith at

#453 (Jul 11, 2023, 1:56:10 PM)

MME_Tests: add docker tests for MME

an MME testsuite exists in osmo-ttcn3-hacks but it is not executed in
docker yet.

Related: OS#5760
Change-Id: Ic1ce1dace47353b0dcf321c923a78567e3ddefb9
Pau Espin Pedrol at

#452 (Jul 9, 2023, 8:16:06 AM)

ttcn3-bts-test/jenkins.sh: set mp_pcuif_version

OsmoBTS currently uses PCUIF v.10 but will move to v.11 soon. (see
Depends). Unfortuantely this means that we have to execute the TTCN3
testsuite in master with PCUIF v.11 and in latest with PCUIF v.10. This
will be the case until the current master becomes the new latest on the
next release.

Depends: osmo-bts.git I25816ac12e63cc6b641eb414e6bc7eaa9c85fc25
Depends: osmo-ttcn3-hacks.git I08de02e951e10bc8b4381cc2ad32e63f2747e3c4
Change-Id: Ia28bc0d6d3cbfe63be19443db86631fb67bb80fb
Related: OS#5927
laforge at

#451 (Jul 5, 2023, 1:51:06 PM)

*/osmo-stp.cfg: Explicitly define role & sctp-role

It was recently decided it's a good practice to always specify the role
and sctp-role for all ASPs configured in the VTY, since it's an
important configuration providing feedback on the network setup
expectancies.

Change-Id: Ia495bc3c5dd4421e5730c74b2f5dc4e4cdc1a673
Pau Espin Pedrol at

#450 (Jul 5, 2023, 11:31:10 AM)

redmine: fix auto-scan of repositories

While inspecting the running docker container I found that the script
already runs as redmine user. I had assumed that it runs as root
earlier. Running 'su' as redmine user fails, therefore it currently does
not run the fetch_changesets command.

Related: OS#6083
Change-Id: I195311b93868eb5fd73ad6e3c165d48f3b7b53ce
Oliver Smith at

#449 (Jun 20, 2023, 12:56:10 PM)

ttcn3-bts-test: fix config merge caching problem

Do "docker run" directly inside the Makefile, without wrapping it
through the "run" target in make/Makefile. Use $(USER)/ttcn3-bts-test as
image name, instead of $(REGISTRY)/$(USER)/ttcn3-bts-test. The
$(REGISTRY)/ part is hardcoded in make/Makefile.

This fixes TTCN3-centos-bts-test, because it uses the ttcn3-bts-test
image that gets built in jenkins.sh before running 'make cfg'. Without
the patch, an image downloaded some time ago from the registry gets
used (a new image is not pulled), leading to the stale config.

Fixes: OS#6065
Change-Id: Iebd81e814d84e8cf8360568419ceda7ffc38e742
Oliver Smith at

#448 (Jun 8, 2023, 7:01:06 PM)

Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client

Until recently, the asp-clnt-* ASPs, which have specific handling in osmo_sccp_simple_client_on_ss7_id(),
were being always forcedly set to sctp-role CLIENT by code in that
function.
This prevented user of that API from explicitly configuring the ASP as
"sctp-role server" through the VTY as the option would be overwritten silently.

Now, the sctp-role from config is followed if the ASP is
defined/configured through the VTY (not dynamically created at the time
osmo_sccp_simple_client_on_ss7_id() is called).

Since the default for a VTY-specified ASP is to be in "sctp-role
server", the config files need to be updated to properly configure the
ASP to be in "sctp-role client", which is the desired mode here.

Same applies for "role", where the default is SG but it is actually used
as "ASP" here.

Change-Id: Idf84502ffa199926a5f0ee616313b515743811ab
Depends: osmo-ttcn3-hacks.git Change-Id I4eb5b5f6b4b24df079b4c74e2a2e2ebb8769b0bd
Pau Espin Pedrol at

#447 (Apr 22, 2023, 1:56:06 AM)

stp: Expand osmo-stp.cfg for "norctx" tests

In osmo-ttcn3-hacks.git I81052ece7d1cc8b43da6155356ed1c4d9620acdc
we're adding support for so-called "norctrx"tests, covering
operation without routing-context IEs.  For this, we need additional
AS/ASP definitions in the osmo-stp.cfg

Change-Id: Ie00d96d04dd36c71c79f3b73713c3fe1c26a5145
Related: OS#6003
laforge at

#446 (Apr 18, 2023, 10:06:06 AM)

ttcn3-ggsn: Speed up tests by lowering retransmission T3,N3 timers

Every test needs to wait for T3*N3 seconds before exiting in order to
make sure the queues waiting for duplicates are cleared, otherwise state
from previous state may affect next tests.
Since 1.10.0, osmo-ggsn supports having those timers changed through
VTY. Let's set them to a lower value than default specified by spec, in
order to speed up each test 15 seconds -> 2 seconds.

Only ttcn3-ggsn (against osmo-ggsn) and not ttcn3-ggsn-ogs (against
open5gs-smfd) is updated, since the later doesn't support changing the
default timer values using the config files yet.

Related: OS#5485
Change-Id: Ica346bd791a67b72fad597702d750383e8ac5895
Pau Espin Pedrol at

#445 (Apr 5, 2023, 7:12:11 PM)

debian-bullseye-jenkins: add iproute2

Add iproute2 to make "ss" available. It is used in the openbsc testsuite
to dump socket statistics. If it isn't available, it does not cause
tests to fail, but prints an error message that looks like it might be
the real cause for the test failures:

  > ss -tn
  /bin/sh: 1: ss: not found

I've also asked Harald if we should just retire the master-openbsc job,
but we want to keep it around to ensure new libosmocore builds with this
old codebase.

Change-Id: I306caeda9bcd4020734eb3b343420c8115958ded
Oliver Smith at

#444 (Mar 27, 2023, 12:16:10 PM)

ttcn3-bts-test: enable running GPRS related tests with trxcon

Change-Id: I06ad8e6403e2538c64d650f19a8d0bd4a344edbe
Depends: osmo-ttcn3-hacks.git Ib8f4459480bbe12584a6fa71882f745f03c5055d
Related: osmocom-bb.git I9567d64f9d00262e36147e8d7e541e5e246bda5f
Related: OS#5500
Vadim Yanitskiy at

#443 (Mar 22, 2023, 9:16:05 AM)

debian-bullseye-jenkins: sync with buster-jenkins

Prepare to let jenkins master-builds use debian-bullseye-jenkins
instead of debian-buster-jenkins. Add almost everything from the buster
Dockerfile to the bullseye Dockerfile that is not there, except for:
dh-systemd (not available in debian11)

Also add python2, as some projects still require it to run tests
(OS#5950).

Related: OS#5949
Change-Id: I51925d0ab9e5a779379efab59c381ef12fb60929
Oliver Smith at
debian-bullseye-jenkins-arm: add new container

Add a bullseye based container that can be used instead of
debian-buster-jenkins-arm. The master-builds jenkins jobs will attempt
to use this jenkins job for the arm builds after setting the main
default image from debian-buster-jenkins to debian-bullseye-jenkins.

Related: OS#5949
Change-Id: I8e1741f86ffb8abd658d1e4e0415dfd11fb1a8a1
Oliver Smith at

#442 (Mar 20, 2023, 12:51:07 PM)

README: add example: nightlies from different date

Change-Id: I1b21c90b13a11aa1e51ea337207775c729709676
Oliver Smith at

#441 (Mar 17, 2023, 12:31:07 PM)

debian-buster-jenkins: add ghostscript

Add the ghostscript package, it contains ps2pdf which is now used in
osmo-gsm-manuals to shrink pdfs.

Related: SYS#6380
Change-Id: If7b30d0c948604211f4f5242aca8564c310a6ce3
Oliver Smith at

#440 (Mar 7, 2023, 9:06:08 AM)

docker kill: wait until containers are stopped

As "docker kill" / "docker container kill" (alias) doesn't block until
the given container stops, make sure to always run "docker wait"
afterwards.

Closes: OS#5928
Change-Id: I0242ece96541d8036ebbf8b0f498ebf231db26b5
Oliver Smith at

#439 (Mar 2, 2023, 2:01:09 PM)

Introduce debian-bullseye-titan-master

This Dockerfile allows building a given repo and branch of
titan.core.git which can then be used by any ttcn-*-test/ environment by
simply changing its Dockerfile "FROM" line from
$REGISTRY/$USER/debian-bullseye-titan to
$REGISTRY/$USER/debian-bullseye-titan-mater.

This is useful to debug or develop titan.core or test whether a given
testsuite works fine with a newer version of titan.core.

Change-Id: I19ee98a319ccad167d06c4f183fe80ecac909483
Pau Espin Pedrol at

#438 (Feb 27, 2023, 10:46:06 AM)

ttcn3-ggsn-test-ogs: update open5gs-{smf,upf} config files

Change-Id: Ic92d73e93b47abb4fae99fc9bece0c93bf9b91ef
Related: I27adbab6a6b95ddf4c6d39803e4f7dd079f11a4c
Related: OS#5913
Vadim Yanitskiy at

#437 (Feb 27, 2023, 8:51:07 AM)

ttcn3-pgw-test: make the testsuite dir writable by all users

When running jenkins.sh as root or any other user with UID different
than UID=1000 of the 'osmocom' user we have in open5gs-{master,latest}
images, programs spawned by osmo-uecups-daemon (e.g. ping) may fail to
start.  In such cases, osmo-uecups-daemon reports unexpected program
termination with exit code=512.  This is happening because the
stdout and stderr of a spawned program are being redirected to
"$VOL_BASE_DIR/pgw-tester/TESTCASE.prog.std{out,err}", for which
the 'osmocom' user needs to have write permissions.

Change-Id: Icb6b30e618e290d974a919fef34c6b5cb7eeb648
Related: OS#5913
Vadim Yanitskiy at

#436 (Feb 24, 2023, 9:01:07 AM)

ttcn3-pgw-test: update open5gs-{nrf,smf,upf} config files

As stated in the ticket, both open5gs-{nrf,smf} daemons refuse to
start since build #326 because of the following error:

  [sbi] ERROR: TLS enabled but no server key (../lib/sbi/context.c:186)

The problem is that the recent open5gs (v2.6.0-39-g22be888 at the
moment of writing) is attempting to employ TLS verification for SBI
even if it's not explicitly configured in the config files.

  commit 05fbaf69587488e53b5e741a9ada9f9fa5749322
  Author: Sukchan Lee <acetcom@gmail.com>
  Date:   Sat Feb 18 10:58:29 2023 +0900

    [SBI] HTTP2-TLS verification - ConfFile Changed

Our config files are slightly outdated, so let's take a chance
to update them and specify the missing TLS params.  Check out
open5gs-{nrf,smf,upf}.yaml from the latest git version.

The updated files are confirmed to work with both:

* latest release for Debian v2.5.8, and
* latest git version v2.6.0-39-g22be888.

Change-Id: I27adbab6a6b95ddf4c6d39803e4f7dd079f11a4c
Related: OS#5913
Vadim Yanitskiy at

#435 (Feb 21, 2023, 8:29:01 AM)

osmo-uecups-latest: install missing iputils-ping

ping is needed for ttcn3-pgw-test.  In the case of osmo-uecups-master
it's available from the parent $DISTRO-build image, but for the -latest
it needs to be installed by the inherited image itself.

Change-Id: Ia1b9124f09203c7dcf6d26dee78b09d5a139a04f
Related: OS#5913
Vadim Yanitskiy at
open5gs-latest: install missing packages for ttcn3-pgw-test

These are present in open5gs-master, but missing in open5gs-latest.

Change-Id: Ic9227033d65d621e7f6c5e196a9a8d6a1b73d5da
Related: OS#5913
Vadim Yanitskiy at
open5gs-master: fix comment in Dockerfile

Change-Id: I34577dd39051f429af8257afe075f22b20cfdfe4
Related: OS#5913
Vadim Yanitskiy at
open5gs-latest: add osmocom user for ttcn3-pgw-test

In ttcn3-pgw-test we're running open5gs-upfd as a non-root user.
We do have this user in open5gs-master, but not in open5gs-latest.

Change-Id: I9139fc52fa6973cf495559d3c4202d9f804a2079
Related: OS#5913
Vadim Yanitskiy at

#434 (Feb 20, 2023, 11:25:31 AM)

debian-bullseye-*: apt-key is deprecated, use [signed-by] instead

The following warning message appears when running apt-key:

  apt-key is deprecated. Manage keyring files in trusted.gpg.d instead

The apt-key man page mentions that the "use of apt-key is deprecated,
except for the use of apt-key del in maintainer scripts to remove
existing keys from the main keyring".  What's more, "apt-key will last
be available in Debian 11 and Ubuntu 22.04".

Additionally, while the deprecation message says to "manage keyring
files in trusted.gpg.d instead", the Debian wiki states otherwise.
It's recommended to store the keys in /usr/share/keyrings instead,
and then use the 'signed-by' option to reference them.

https://salsa.debian.org/apt-team/apt/-/commit/ee284d5917d09649b68ff1632d44e892f290c52f

Change-Id: I1cae4f49e72f5e4f9d703cdb8f6d117e18e3567c
Vadim Yanitskiy at
osmo-uecups-latest: new Dockerfile

osmo-uecups is available in the latest feed since recently.

Change-Id: I89c16dd0a71d2461981d978d2abf36f62bb9b339
Related: SYS#5602
Vadim Yanitskiy at
ttcn3-pgw-test: allow using osmo-uecups from the latest feed

Change-Id: I4f92577f062e8a9be29af83026214636dff19d78
Vadim Yanitskiy at

#433 (Feb 19, 2023, 12:56:10 PM)

upgrade to gerrit 3.6.3

Change-Id: I56eadf8c6dd4c131dcdaf451e493f619576ae198
laforge at

#432 (Feb 13, 2023, 10:21:48 PM)

ttcn3-bsc-test: sleep 1s before starting testsuite

Give OsmoBSC time to connect to OsmoSTP, so BSSMAP RESET from the
testsuite doesn't fail in OsmoSTP with:
  MTP-TRANSFER.req for DPC 187: no route!

Without this patch, it would fail every other time on my system when
only having one test enabled in BSC_Tests.cfg.

Change-Id: Ic7f80bdfe2fe58e93c2f2e3baa6d7645fcdc3062
Oliver Smith at

#431 (Feb 9, 2023, 8:21:09 AM)

release-tarball: support git submodules

osmo-trx 1.5.0 is now using a git submodule for osmocom-bb, so add
support for it.

Change-Id: I35e9ef6d976ae8cf2bfb4f3c410e6b2cb3ca7841
Oliver Smith at
release-tarball: fix osmo-trx 1.5.0

Run configure with the --with-mstrx argument, so LIBTRXCON_DIR is not
pointing at an empty directory.

Fix for:
  make[2]: Entering directory '/build/_temp/repos/osmo-trx/osmocom-bb'
  make[2]: *** No rule to make target 'distdir'.  Stop.

Change-Id: I2f067409f98119d4e35cf86cc2c816fc3c19e3f5
Oliver Smith at
release-tarball: remove PARALLEL_MAKE variable

Probably copy pasted from another script, doesn't make much sense here
since only the release tarballs are built. Nothing gets compiled here,
the variable was not used.

Change-Id: Ie74ee6976759f9634503b21e964e93efcc925679
Oliver Smith at
release-tarball: add var to use list from jenkins

Add a parameter that can be used to reproduce the failure locally with
the last list from jenkins, without having SSH set up to download the
list of existing tarballs.

Change-Id: I9af310c24aa65c21cc4bd365d3df7804cba02df7
Oliver Smith at
release-tarball: add libosmo-pfcp, libgtpnl

Change-Id: I4096c21352366c16167efce5c2a97f4e04c1addb
Oliver Smith at

#430 (Feb 8, 2023, 1:26:07 PM)

release-tarball: add missing cd /build

Fix for:
  upload: no tarballs generated, nothing to do.

Change-Id: I047546b26f379c5302d8558b92b77e4fa311a0a0
Oliver Smith at

#429 (Feb 8, 2023, 11:46:06 AM)

ttcn3-*: Update test setup after Osmocom CNI release 202302

Change-Id: If34b043a55177e6c0d1be3949fc2a2682258cc84
Pau Espin Pedrol at

#428 (Feb 8, 2023, 10:56:06 AM)

jenkins-common.sh: open5gs-latest does not require debian-bullseye-build

We're not *building* anything for the open5gs-latest, but simply
downloading and installing DEBs from Sukchan's opensuse.org repo.

Change-Id: Iec7ccab28c37d274a731e08a2f893ec0514c1068
Fixes: 62ac21133a828bab849c072f27664102790fcb91
Vadim Yanitskiy at

#427 (Jan 30, 2023, 1:31:09 PM)

FR testsuites: clean up all networks before start

Add a new network_clean_remove_all_ttcn3 function and use it in the fr
related testsuites to ensure no network is running before the test
starts. We just had the situation where the network link between
gtp0-deb10fr (where these testsuites run exclusively, and only one at a
time) and the jenkins host went down. And so the clean up trap
apparently did not run and starting a new test fails as the old network
still exists and has the network devices attached.

Related: OS#5802
Change-Id: I6a9464a11edcba978be08764bec9de19760a5c77
Oliver Smith at

#426 (Jan 23, 2023, 1:11:09 PM)

debian-buster-jenkins-arm: new image

Add a minimal image to use on the raspberry pis, so it doesn't need to
spend 1-2 hours building debian-buster-jenkins on the raspberry pis,
full of things we don't actually use there.

I've verified that osmo-bts, osmo-pcu, osmo-trx build with this image
(the only projects which we build on the rpis).

Related: OS#5863
Change-Id: I4fb4b48b233acaef815c4c27ec6f17f12cfe836b
Oliver Smith at

#425 (Jan 18, 2023, 4:31:09 PM)

ttcn3-bts-test: replace subnets during 'make cfg'

Make ttcn3-bts-test work as expected again by replacing the subnets
hardcoded in the confmerge files and Makefile.

Related: OS#5802
Change-Id: I733619f80b4e2456da070649634d3c942bb6d95f
Oliver Smith at

#424 (Jan 18, 2023, 9:21:07 AM)

debian-buster-jenkins: install ccache

Make ccache available inside debian-buster-jenkins. An upcoming osmo-ci
patch will make use of it in gerrit-verification and master jobs. With
this docker-playground patch alone it's not used yet since
/usr/lib/ccache is not in the default PATH.

Related: OS#5848
Change-Id: I164c7835f99436e8d768a864f36118eaf799d109
Oliver Smith at

#423 (Jan 17, 2023, 2:51:09 PM)

kernel_test_wait_for_vm: increase timeout to 15s

As we run more testsuites in parallel, the load was higher and so this
timeout was reached.

Related: OS#5802
Change-Id: I823010106a99a4906e32198ed42b36f9fe662c4e
Oliver Smith at

#422 (Jan 17, 2023, 12:51:09 PM)

network_create: set NET_NAME after next SUBNET

Put the current SUBNET into NET_NAME, not the previous one. Without this
patch it works too, but this makes more sense.

Related: OS#5802
Change-Id: I6c90505fd6c0ba62244ff67709b0bf31bf44b449
Oliver Smith at

#421 (Jan 17, 2023, 12:36:09 PM)

jenkins-common: replace subnet in scm files too

Replace the subnet in *.scm configs of nplab-sua-test and
nplab-m3ua-test too.

Related: OS#5802
Change-Id: Ia734df3721a4ae3408a17d33c835282b79174132
Oliver Smith at

#420 (Jan 17, 2023, 9:16:06 AM)

network_create: put SUBNET in NET_NAME

Fix the bug that running a test twice on the same host results in the
second test stopping the containers and network of the first test:

* Have the subnet name in the network name, so there's no collision of
  network names when cleaning up the network.

* Don't clean up the network when creating a new network. Rely on the
  clean up trap to clean up the network instead.

* Don't set NET_NAME when sourcing jenkins-common.sh anymore, as
  network_create will set it. There's also network_bridge_create, which
  only gets used by osmo-ran (which we don't run in jenkins). Add a
  check to this function to ensure NET_NAME is set before calling it,
  which osmo-ran is already doing.

Related: OS#5802
Change-Id: Ifcd384272c56d585e220e2588f2186dc110902ed
Oliver Smith at

#419 (Jan 16, 2023, 3:21:05 PM)

network_create: find free subnet automatically

Try multiple subnet numbers until successfully creating a network. This
way we can run the same ttcn3 testsuite multiple times in parallel
without conflicts (e.g. once against latest, once against nightly). Also
we don't need to make sure each new testsuite has a unique subnet
number anymore.

I've considered also adjusting network_bridge_create, but that gets used
exclusively by osmo-ran/jenkins.sh, a script which we don't actually run
in jenkins. It seems that in this script it makes more sense to not get
a random subnet number.

Related: OS#5802
Change-Id: I57152b08ef0f38e17e7019a8df032189b03f56cf
Oliver Smith at

#418 (Jan 16, 2023, 11:46:08 AM)

ttcn3-*/jenkins*.sh: use $SUBNET everywhere

Use the SUBNET variable instead of hardcoding it in some places. Split
commands across multiple lines while at it to improve readability.

Related: OS#5802
Change-Id: I08f83089ef97f5f92d4bbfa5743301e7375e9f0f
Oliver Smith at

#417 (Jan 12, 2023, 2:46:06 PM)

*/Dockerfile: clone from gerrit.osmocom.org using https://

* Do not clone using deprecated git://, use https:// instead.
* Clone from the main repo gerrit.osmocom.org (if possible).
* Use the gitiles plugin to fetch the last commit from Gerrit.

Change-Id: I204fa6e3e3ebbdb8732393b897fca35659d61ae8
Vadim Yanitskiy at

#416 (Jan 9, 2023, 4:21:07 PM)

ttcn3-upf-test: fetch /tmp/commit from gerrit, not from cgit

Change-Id: Id327720258a9ece1efb79db0d7c4fcbe19864c92
Vadim Yanitskiy at

#415 (Dec 22, 2022, 3:16:07 PM)

jenkins-common: tweak echo messages

Use 'set +x' before echo, so messages are not printed twice and the
output becomes more readable.

Example:
  + echo Creating network ttcn3-bts-test
  Creating network ttcn3-bts-test

Related: OS#5802
Change-Id: I213cb80bd1d9401281ae1fb7394b2319453550dd
Oliver Smith at
ttcn3-ggsn-test: cp initrd-ggsn.sh to VOL_BASE_DIR

Prepare for a future patch where a free subnet will be figured out
automatically instead of having a hardcoded one, by moving
initrd-ggsn.sh to $VOL_BASE_DIR as the subnet will be replaced in files
in this directory.

Related: OS#5802
Change-Id: Ie4f35b77a2bff20f2a0479890a429754768cafd2
Oliver Smith at
scripts/regen_doc: use SUBNET variable

Add a $SUBNET parameter and use it throughout the script, similar to
other ttcn3-*/jenkins.sh scripts. This is in preparation for figuring
out a free network in network_create() automatically in a future patch.

Related: OS#5802
Change-Id: I3bda4bd7280469ad5ee02104295134a2e0b768e3
Oliver Smith at

#414 (Dec 22, 2022, 2:24:01 PM)

*-repo-install-test: remove

Remove the docker containers for repo-install-test, as it is now running
in qemu + kvm.

Related: OS#5365
Depends: osmo-ci Ie7f1bccb05779cb3614016c0b965b810bbb1471b
Change-Id: Ic40fddcc6b30318b3a6e63fe99b010939b95be25
Oliver Smith at

#413 (Dec 2, 2022, 11:16:09 AM)

ttcn3-docker-run.sh: Use interface "up" flag, not operstate

Don't use the "operstate" sysfs attribute to determine if an interface
is "up", use the actual UP-flag (0x01) in the "flags" sysfs attribute.

The "operstate" attribute may at least occasionally be "unknown" and
remain in that state (causing jenkins jobs to wait indefinitely), while
the flags (which we don't look at before this patch) indicates it is "up".

This is a fixup to the below commit:

commit d2014603a736a17d6b92006b25aa41482365ef3d
Author: Harald Welte <laforge@osmocom.org>
Date:   Wed Feb 3 22:05:43 2021 +0100

    debian-stretch-titan: Wait for interface to be _up_ not just its existance

Change-Id: Ib5c3bbe470ce874217437c2518df5ae07f0d8301
Closes: OS#5803
laforge at

#412 (Dec 1, 2022, 3:26:05 PM)

osmo-gsm-tester: fix getting latest commit

Get the latest commit from gerrit.osmocom.org, because after we moved
repositories from git.osmocom.org it currently answers with a 404.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Git_infrastructure
Change-Id: I0e2215d067dec1e2327f765b5a97ba7512812647
Oliver Smith at

#411 (Nov 30, 2022, 4:46:09 PM)

release-tarball-build-dist: order install pkgs

Change-Id: I059f400db20e858b379704363e32d39a7897984a
Oliver Smith at
release-tarball-build-dist: move rsync into docker

Prepare to use ssh inside the docker container to check if tarballs
already exist, see the next patch.

Remove the '' around UserKnownHostsFile as using SSH_COMMAND in the next
patch without rsync fails otherwise with:
  command-line: line 0: Bad configuration option: 'userknownhostsfile

Change-Id: I6dfe5d587d05063c6cf2c9ec683e7b7e499b79c1
Oliver Smith at
release-tarball-build-dist: check exists on server

Previously this job relied on always running on the same jenkins node,
and having the previously built release tarballs in a workspace
directory that does not get removed. It would only skip building a
release tarball if the file already exists locally.

As part of OS#5793 this job needs to be moved away from that jenkins
node. When trying to run the job on a different node, it will build all
release tarballs again which takes unnecessarsily long and actually
fails on libosmocore-0.9.4 due to a missing python2.

This probably happens because the job was refactored at some point and I
didn't realize that the python2 dep is now missing as the previous
tarballs existed.

In general it doesn't make much sense to build previous release tarballs
again and to always keep the legacy environments around for that. Change
the code to check if a tarball exists on the server, and skip building
the tarball in that case.

Related: OS#5793
Related: https://jenkins.osmocom.org/jenkins/view/All%20no%20Gerrit/job/Osmocom-release-tarballs/1281/console
Change-Id: I4b8c149c9cdbe7c613eea5d9be15794de5e5ddce
Oliver Smith at
release-tarball-build-dist: fix missing dir crash

Don't fail if no tarball was generated and therefore the
_release_tarballs directory does not exist.

Related: OS#5793
Change-Id: Ib7c551e5376776eb267140bc4b897d5bb1634cbc
Oliver Smith at
release-tarball-build-dist: fix permission errors

Run all commands inside the docker containers as a user with the same
UID as on the host system, not as root. This is a good idea in general
and also fixes permission problems when jenkins tries to wipe the
workspace.

Related: OS#5793
Change-Id: I0d949e5ab4b1a709d18a316def0a98c3b244457e
Oliver Smith at

#410 (Nov 30, 2022, 12:41:06 PM)

upgrade gerrit to 3.4.8

Change-Id: I0be6e5f0c616b6c671635da62ba02afff2985592
laforge at

#409 (Nov 21, 2022, 11:31:06 AM)

ttcn3-{pgw,ggsn}-test: Update smf.yml with new metrics section location

The "metrics" section was moved inside each program node to avoid
clashes when several network programs are run in the same process and
use the same config file.

Depends: open5gs.git 2d4fbf92eb1be9ffe84df6dc103ee7401d1d3b0f
Change-Id: Iae16bfccfbaaed37701e671ba619f8082f55506d
Pau Espin Pedrol at

#408 (Nov 15, 2022, 7:41:05 PM)

ttcn3-pgw-test: update freeDiameter-smf.conf

Recent open5gs changed location of the TLS key and certificate files:

  commit 0859dd44530a944076c207c750188572effc2709
  Author: Sukchan Lee <acetcom@gmail.com>
  Date:   Sat Nov 12 09:37:43 2022 +0900

      Follow-up on #1865

Updating paths makes the open5gs-master work, however the -latest
still installs these files to '/etc/freeDiameter/'.  Let's remove
both 'TLS_Cred' and 'TLS_CA' params, we are not using TLS anyway.

Change-Id: Ic90f713fb127f8d5407c18553b29b3c2be141420
Vadim Yanitskiy at
ttcn3-ggsn-test-ogs: update freeDiameter-smf.conf

Recent open5gs changed location of the TLS key and certificate files:

  commit 0859dd44530a944076c207c750188572effc2709
  Author: Sukchan Lee <acetcom@gmail.com>
  Date:   Sat Nov 12 09:37:43 2022 +0900

      Follow-up on #1865

Updating paths makes the open5gs-master work, however the -latest
still installs these files to '/etc/freeDiameter/'.  Let's remove
both 'TLS_Cred' and 'TLS_CA' params, we are not using TLS anyway.

Change-Id: Iacd7287f217db7a23ceece1d4508ef674b696d35
Vadim Yanitskiy at
open5gs-latest: migrate from debian:buster to debian:bullseye

Change-Id: Ia09aa712a916686f7220da9a5d2f4a02a8b7b8db
Vadim Yanitskiy at

#407 (Nov 7, 2022, 10:23:46 AM)

hnbgw: Only build with_pfcp on master

The functionality is not in -latest yet so running osmo-hnbgw with this
configuration fails which in turn fails the test in jenkins instead of
just marking it unstable.

Change-Id: I4309c323c1d61e8f22dae499c407d57999f6f13a
daniel at

#406 (Nov 4, 2022, 10:21:07 AM)

debian-buster-jenkins: add more pysim related deps

Install all depends to properly generate the manuals. Otherwise it
prints errors like the following and the resulting manual has empty
sections:
  /build/docs/shell.rst:329: ERROR: Failed to import "LinFixedEF" from "pySim.filesystem".
  No module named 'smartcard'

Get the requirements.txt directly from the git repository, so we don't
need to update the list of dependencies here. Remove the dependencies
from the list that I added recently for pysim, and which are are also
in requirements.txt.

Add swig, as otherwise pyscard fails to install.

Related: OS#5497
Change-Id: I13a0b0dc8be81bf4034b08b1ef1100f1420fa3a1
Oliver Smith at

#405 (Nov 3, 2022, 4:36:08 PM)

ttcn3-bsc-test: Fix ttcn3-bsc_sccplite-latest

Re-add the msc 0->mgw config line since the "latest" version of osmo-bsc still uses
it. This was probably caused by fixing fallout from osmo-bsc.git commit
da4af65a51ee8b8d7b380330c0301de293347563 in master.

The config line is ignored in master so should be safe to keep until a
new osmo-bsc version is released.

Change-Id: I85231bf66a78232567eb91b92b8542ca7f728beb
dwillmann at

#404 (Oct 24, 2022, 2:16:06 PM)

debian-buster-jenkins: add pysim doc/lint depends

The lint and docs parts of pysim's contrib/jenkins.sh will run on a
different jenkins node than the tests (which has to run on simtester).
Add the depends for lint and docs to debian-buster-jenkins, so we can
run them in docker.

The python libraries construct, pytlv, pyyaml are needed so pylint
doesn't print false errors like "Undefined variable 'TLV'".

Related: OS#5497
Change-Id: Id5c75725d2fab46b29773fa4f637fa2d73fa7291
Oliver Smith at

#403 (Oct 20, 2022, 2:56:09 PM)

ttcn3-bsc: Update osmo-bsc cfg files to use mgw pooling VTY commands

OsmoBSC has supported this VTY interface since more than a year ago.
Let's update the config files to use the new "mgw" node.

The recently submitted VTY commands without the redundant "mgw" prefix
are still not used here in order to have the config file work with
latest release which still doesn't support those.

Change-Id: Iabf117f9e6de02cac16e44d9a0ca32a30d71847c
Related: SYS#5987
Pau Espin Pedrol at

#402 (Oct 17, 2022, 9:41:10 AM)

debian-buster-jenkins: skip llvm for arch !x86_64

The pre-built LLVM toolchain we are downloading is built for x86_64, so
this fails on other architectures.

Related: OS#5260
Change-Id: Ie5a851d8c4e808ced09b20d7478679bf1ecc1cbb
Oliver Smith at

#401 (Oct 14, 2022, 11:11:07 AM)

Revert "debian-buster-build: add LLVMEmbeddedToolchainForArm"

Wrong docker container, debian-buster-jenkins is used for the build, not
debian-buster-build. The next patches will adjust the right one.
This reverts commit 1ce91ecfb027134c035d81756e47f27ba86e2be6.

Change-Id: Idff1d5a263181070133743c781615b1102311efb
Oliver Smith at
debian-buster-jenkins: order pkgs alphabetically

Change-Id: I32dffc65239f1ad650b9e8d6ed6e4fe48878b916
Oliver Smith at
debian-buster-jenkins: add LLVMEmbeddedToolchainForArm

This is needed for simtrace2. As the bootloader goes beyond partition
size in modern gcc, we'll use clang instead.

Related: OS#5260
Related: simtrace2 I2aa2e20e75e334560dbe1f6db9fd1491873ff91f
Change-Id: I4f3fd7f7a40e5fa00bbfc713c1365f573febfe41
Oliver Smith at

#400 (Oct 13, 2022, 11:51:06 AM)

debian-buster-build: order pkgs alphabetically

Change-Id: I16da41b9bcb3d1137218b0ed5c2f6adf2a723fce
Oliver Smith at
debian-buster-build: add LLVMEmbeddedToolchainForArm

This is needed for simtrace2. As the bootloader goes beyond partition
size in modern gcc, we'll use clang instead.

Related: OS#5260
Related: simtrace2 I2aa2e20e75e334560dbe1f6db9fd1491873ff91f
Change-Id: Ib82a53fa7edc62d21e772efbb9b2c049d1b50c4d
Oliver Smith at

#399 (Oct 12, 2022, 1:26:09 PM)

ttcn3-mgw: Increase number of enpoints in osmo-mgw.cfg

This is needed by test TC_crcx_osmux_257

Related: osmo-ttcn3-hacks.git Change-Id I74e6c760e076fe2547b6297a54524255fb8b
Related: SYS#5987
Change-Id: I14e3abdf63c585e4518b0c0a61dbc57e6710a998
Pau Espin Pedrol at

#398 (Oct 11, 2022, 7:26:06 PM)

ttcn3-mgw: jenkins.sh Fix centos tests

The sed lines dropping the new configs must be applied to any non-master
run.

Fixes: e077fec68419d13c2dbe347b6799f407dd927ffd
Change-Id: I369bb61f3979bd9118fad17c3d202253411ba14b
Pau Espin Pedrol at

#397 (Oct 5, 2022, 8:46:06 AM)

ttcn3-mgw: Set osmux bind-ip(-v6) VTY configs

Until now we forgot to properly configure the osmux socket local ip, but
that was fine because 0.0.0.0 was taken as a default.
With addition of IPv6, this changed, and the socket is not bound unless
an IP address is set (to allow conditional use of IPv4, IPv6 or both).

Depends: osmo-mgw.git Change-Id I446cd7da217e9f4a74995d7784ae55dcc60a29b7
Change-Id: Ib7e9428a10238fae395a1707d6034dc5c97b9024
Pau Espin Pedrol at

#396 (Oct 3, 2022, 9:16:06 AM)

ttcn3-pcu-test: osmo-pcu.cfg: use 'gsmtap-category enable-all'

Change-Id: I19fbb75890935a338c31b7eb5e624ec988f91468
Vadim Yanitskiy at
ttcn3-pcu-test: osmo-pcu.cfg: use 'gsmtap-remote-host'

Change-Id: Ib7d6e564e12db08a8dd4890426d2599b3260fa9d
Vadim Yanitskiy at

#395 (Sep 26, 2022, 12:16:06 PM)

.gitignore vim swp files

Change-Id: I5e67c42271aca9f81711e166324f70663e34cfcf
Neels Hofmeyr at
add osmo-upf-master

Will be used by ttcn3-upf-test in subsequent patch
I7a651bb85861de4b2677a731b9f17fa0d790c621.

Change-Id: Iceec912eef05bf4903ccc1fc30b0c7362145a1f1
Neels Hofmeyr at
add ttcn3-upf-test

Related: I43cd55c9395f2c706369afe1a9a7f475be47339f (osmo-ci)
Related: I5964979b3db86268f6011df0afbee7131557f405 (osmo-ci)
Change-Id: I7a651bb85861de4b2677a731b9f17fa0d790c621
Neels Hofmeyr at

#394 (Sep 21, 2022, 2:01:07 PM)

ttcn3-hnbgw: Set different junit xml file name prefix for with-pfcp variant

Similar to what's done in BTS_Tests and REMSIM_Tests

Change-Id: Iee69774ae8885ab216d0d707ee5fd0269a438c83
Pau Espin Pedrol at
ttcn3-hnbgw: sed junit file in the clean_up trap

Same as done in BTS_Tests. This makes sure the files are always properly
updated even if something goes wrong (such as docker kill failing to
stop hnbgw because it exited earlier due to unsupported feature).

Change-Id: Iac3bd9cf3448e18930dcef6c9ae4b6530939ffe6
Pau Espin Pedrol at

#393 (Sep 20, 2022, 12:41:08 PM)

Use gerrit as osmo-ttcn3-hacks.git git remote

Other remotes are mirrors of gerrit one, which means there's some delay
between pushing some ref to the gerrit remote and having them available
in the mirrors.
Hence, it becomes annoying while developing and new stuff to test is
pushed. Let's simply use gerrit since it's the master remote.

Change-Id: Ic87c196f8b91a3a3e6ddde2cca36482ce7070df7
Pau Espin Pedrol at

#392 (Sep 15, 2022, 5:21:05 PM)

add ttcn3-hnbgw-test variant with-pfcp

Run HNBGW tests a second time with PFCP enabled. Just run all the same
tests again, no matter if they are related to PS RAB Assignment or not,
to also ensure no ill side effects from PFCP configuration.

Related: SYS#5895
Depends: I511e758807e0512c18f3f9e0a8c4699b9a3f5992 (osmo-ttcn3-hacks)
Change-Id: I02b60941343000a4618e95f56326bec170c32bfe
Neels Hofmeyr at

#391 (Sep 15, 2022, 12:56:08 PM)

osmo-hnbgw-master: build with --enable-pfcp

Change-Id: If84261cba2bf3b75c454fd5d16fd19a88a468eb7
Neels Hofmeyr at

#390 (Sep 14, 2022, 12:21:08 PM)

ttcn3-bts: Add osmux configurations

Requires: osmo-ttcn3-hacks.git I1af23c7a60b05edc3b544f1fea0023f48e89f7a7
Requires: osmo-bts.git Ib80be434c06d07b3611bd18ae25dff8b14a7aad9
Related: SYS#5987
Change-Id: I185b77eb4fa05501f098d89b80b66168349175bb
Pau Espin Pedrol at

#389 (Sep 13, 2022, 12:01:07 PM)

ttcn3-hnbgw: Enable gsmtap logging

Change-Id: I2c5c98349190bc6c37013acd2bd84887cbe1d059
Pau Espin Pedrol at

#388 (Sep 7, 2022, 9:41:09 AM)

osmo-bts-master: Depend on libosmo-netif

Since osmo-bts.git a2dc808acc5b99122e97c9013cb1ec2ae0c4a2a1, osmo-bts
depends on libosmo-netif. Let's add the dependency when building.

Change-Id: If033ed7f25bb69a66ecff56b2a1781d6339a6d7e
Pau Espin Pedrol at

#387 (Sep 5, 2022, 11:31:08 AM)

debian-bullseye-titan: Discontinue the use of git://

Change-Id: I188a04dd6ecae3c92186d5cbf6cd002ad518efc3
laforge at

#386 (Aug 31, 2022, 11:06:06 AM)

debian-bullseye-titan: Use gitea, not obsolete cgit

When downloading the deps/Makefile, use gitea instead of the obsolete
and now defunct cgit deep-link

Change-Id: Ifbcb992e70a1faefc3829df28f8bf4dfaf2143e1
Related: OS#5670
laforge at

#385 (Aug 30, 2022, 4:01:09 PM)

ttcn3-bsc: Enable OSMUX feature in osmo-bts-omldummy

This feature is used to indicate to the BSC that the BTS supports Osmux.

Requires: libosmocore 18c6a8183f92915e77368ecffb1cbf7f555453a3
Related: SYS#5987
Change-Id: Ia402b7514b636750442d0859d5ebc3fcad67dd9f
Pau Espin Pedrol at

#383 (Aug 17, 2022, 6:01:05 AM)

osmo-hlr-master: install libsqlite3-dev/sqlite-devel

osmo-hlr is using libsqlite3 directly, not via libdbd.

Change-Id: I99e43dff8f94fbef1a2dd9934caf6ba1fa7cc1f7
Vadim Yanitskiy at
osmo-msc-master: install libsqlite3-dev/sqlite-devel

Since recenly, osmo-msc is using libsqlite3 directly.

Change-Id: I4b0ecfcc9a25797eb8e12f07e039160dfc296d4c
Vadim Yanitskiy at

#382 (Aug 4, 2022, 12:51:08 PM)

fix_perms: use debian:bullseye

Use debian:bullseye instead of debian-bullseye-build. Building the
latter requires a lot of time, it's definitively not needed for just
running chmod. Use debian:bullseye, since we use it as base for most
images and it's therefore very likely that it's already downloaded
(and if not, it would get downloaded here).

Change-Id: I88f513a0a8ee04628842a7aa1b663c390d2032cd
Oliver Smith at

#381 (Aug 4, 2022, 11:41:07 AM)

ttcn3-cbc: Update osmo-cbc.cfg, CBC_Tests.cfg to latest ttcn3 testsuite

New changes in ttcn3 also test SBcAP and CBSP links as client mode in
osmo-cbc.

Related: OS#4945
Requires: osmo-ttcn3-hacks.git c832c10b28c70f244423143f133cf63aea937997
Change-Id: I14a50d3d2284ceffc0607880fecddbff2a048284
Pau Espin Pedrol at

#380 (Aug 3, 2022, 2:26:08 PM)

osmo-hnodeb-latest: new container

Change-Id: I4c8cba31b792810b7e73af37c1f63edb12e8b37d
Oliver Smith at

#379 (Aug 2, 2022, 8:41:08 AM)

ttcn3-cbc: Adapt ports in osmo-cbc.git to default ttcn3 ones

This is intended to ease adding new emulated MMEs and BSCs by using next
available port strting from the one defined in the TTCN3 test module
parameter.

Requires: osmo-ttcn3-hacks.git Ib443aba9396aebe0a56b1a79719bbcf66302a1aa
Change-Id: Ib1387284c8f361572057b6d036429366238382a6
Pau Espin Pedrol at
ttcn3-cbc: Disable gsmtap_log debug for dasn1c category

This category prints incredibly large output of ASN1c encoder/decoder,
which clogs the logging subsystem while debugging general issues.
Since the encoder/decoder is somehow determenistic, let's disable
logging all the debugging; it can be enabled by the user when
specifically debugging any enc/dec related issue.

Change-Id: I53cc2fe717fa70a8f187788fc4d31d28e0d4e98a
Pau Espin Pedrol at

#378 (Jul 27, 2022, 11:56:07 AM)

ttcn3-cbc: Set mode server in osmo-cbc.cfg

TCP/SCTP client support was added recently in osmo-cbc. Since then, the
connection mode (client|server|disabled) needs to be specified in the
config. Let's update osmo-cbc.git to provide the correct info in here.

Requires: osmo-cbc.git Change-Id I3ec54b615b41b56f7a9c64298e3fcaac37f4b60e
Change-Id: I2e3a806a8371011cdb4c3b1f194e132d3896374e
Pau Espin Pedrol at

#377 (Jul 22, 2022, 5:51:06 PM)

ttcn3-cbc: Adapt osmo-cbc 'peer' node to new format

Requires: osmo-cbc.git Change-Id I47756dddd8f9b8450ba14c914614fd2391d5486e
Change-Id: I3654acdf4b68886133af7f418726903f3fee57eb
Pau Espin Pedrol at

#376 (Jul 22, 2022, 11:56:08 AM)

ttcn3-cbc: Reorder osmo-cbc.cfg nodes

This is the new expected working order.

Related: osmo-cbc.git I7623ea5874552e57764327e94a9c3a4de7b71d67
Change-Id: Ia6f9cb6ac5935b8253521a6bfe11e6905e77523d
Pau Espin Pedrol at

#375 (Jul 20, 2022, 1:51:06 PM)

osmo-cbc-master: Fix missing ldconfig

osmo-cbc installs now libosmo-sbcap.so.0, so ldconfig must be run.

Related: OS#4945
Change-Id: Ia02323639af57ed76cf7106934ace1fa4a0c2c77
Pau Espin Pedrol at

#374 (Jul 19, 2022, 3:11:07 PM)

ttcn3-cbc: Update osmo-cbc.cfg to test SBc-AP

Requires: osmo-ttcn3-hacks.git Ia6743e0a3e7974a5f2dd3ecf74ec331f646f6bc2
Requires: osmo-cbc.git Iceea1a2281f8784d64b4227601d8757b7ae39176
Change-Id: Ie6fb464890c4b7b9816ef8602633df107e5e61ee
Pau Espin Pedrol at

#373 (Jul 12, 2022, 2:46:08 PM)

ttcn3-cbc: Enable gsmtap log

Change-Id: I15ecf18e062218efb4a4319e29f182ba4331a37b
Pau Espin Pedrol at

#372 (Jul 12, 2022, 2:36:08 PM)

debian-bullseye-jenkins: new container

Related: OS#6041
Change-Id: I849568826b1993fd9fb652779e631188af4a319e
Oliver Smith at

#371 (Jul 8, 2022, 8:26:07 PM)

debian11-repo-install-test: add container

Change-Id: I7bb98b209481b25317301bdb69f48e644389745f
Oliver Smith at

#370 (Jul 6, 2022, 3:21:09 PM)

Remove several unused containers

* alpine-*: looks like they were never used
* debian-{jessie,stretch}-*: EOL
* debian9-repo-install-test: EOL
* gitolite: never used? / upstream container last updated 3 years ago
* osmo-gerrit-libosmo: unused example from 2017, based on jessie
* patchwork: looks like never used, ancient version
* public-inbox: added in 2018 for playing around, apparently unused
* tmp: unfinished and unused
* ubuntu-zesty-build: was added for testing ubuntu 17.04, unused

Related: OS#5601
Change-Id: Ic09046379ddff049629bb66850ead7ba479c4450
Oliver Smith at

#369 (Jul 6, 2022, 12:06:07 PM)

release-tarball-build-dist/Makefile: update

Adjust the Makefile as well after the docker container has been migrated
to debian 11 in Ib6039724a7200abce5252f95407047296b72cd51.

Change-Id: Ibebca7be7daccd17bbf1b382108d87eb5a93ecf1
Oliver Smith at
*/.release: remove

These files are in .gitignore and get generated at the end of running
'make'. Remove them to have less cluttered 'git grep' output.

Change-Id: Ie5bf05220359ac0941f62cc86ed843363548784a
Oliver Smith at

#368 (Jun 29, 2022, 1:26:07 PM)

release-tarball-build-dist: upgrade from debian 9

Let it use debian bullseye and rename the directory once, so we don't
need to rename it in the future when switching the debian version
again.

The reason I'm doing this now is that building with debian 9 failed
due to obs.osmocom.org related changes. It would be trivial to fix that,
but I decided to rather upgrade to the latest debian version.

Change-Id: Ib6039724a7200abce5252f95407047296b72cd51
Oliver Smith at
release-tarball-build-dist: move osmo-ci code here

Add a jenkins.sh that does the same as the previous lengthy shell
command in the jenkins-job-builder file, and add
osmocom-release-tarballs.sh. This makes it easier to test the
script, and only patching one repository is needed from now on when
changing to a newer debian version.

Depends: osmo-ci I15f6c08b807f1462f91e95b624cdc1aad0592dd6
Change-Id: I4cf66097f508c029f688ec8af1cab2238d42f84f
Oliver Smith at

#367 (Jun 29, 2022, 9:36:09 AM)

osmo-gsm-tester: use debian's soapysdr-module-lms7

After switching from build.opensuse.org to obs.osmocom.org's published
packages, the soapysdr0.7-module-lms7 binary package we had does not
exist anymore.

I'm not sure where it came from, from the name it looks like it was
built from version 0.7 sources, but we only have a soapysdr_0.5.4
package in OBS that was added for debian 8/ubuntu 16.04 compatibility 4
years ago, and builds have been disabled for all architectures:
https://build.opensuse.org/package/show/network:osmocom:nightly/soapysdr

Instead of relying on this leftover binary package, use the one provided
by debian instead. This osmo-gsm-tester docker container is based on
debian-buster, which has soapysdr 0.6 packaged. If we should really need
0.7, we could switch it to bullseye or build it from source while
building the container, or add it back to obs.osmocom.org.

I verified that the container builds with this change.

Fix for:
  E: Unable to locate package soapysdr0.7-module-lms7

Change-Id: Ie2408258eda407d9db6c2f0f5fbe475861756778
Oliver Smith at

#366 (Jun 28, 2022, 3:37:18 PM)

debian-stretch-jenkins: add apt-transport-https

Fix installing packages from https with debian-stretch-jenkins after we
switched the packages mirror to https://downloads.osmocom.org/packages.

Fix for:
  E: The method driver /usr/lib/apt/methods/https could not be found.

Related: SYS#5557
Change-Id: I9ece7ffb295d8b371a0000a91b9b6d0f7174535d
Oliver Smith at

#365 (Jun 28, 2022, 2:11:08 PM)

Install ca-certificates before Osmocom repo

Prepare for using https://downloads.osmocom.org/packages/ instead of
http://download.opensuse.org to download packages. Install
ca-certificates before attempting to use the repository, otherwise it
will print a warning and not use the repository and e.g. install
eclipse-titan from debian's repository instead of our repo.

Fix for:
W: https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/./InRelease: No system certificates available. Try installing ca-certificates.

Related: OS#5557
Change-Id: Icb6764601671b6e66591f33ede6d0f822811545a
Oliver Smith at
Use Osmocom OBS

Related: OS#5557
Change-Id: I880f8134e4f7e6ae4125237e6b3983c04cea9ec6
Oliver Smith at

#364 (Jun 20, 2022, 7:11:09 PM)

cgit: fix Atom feed hostname from localhost to cgit.osmocom.org

Before:
$ curl -s https://cgit.osmocom.org/libosmocore/ | grep "Atom feed"
<link rel='alternate' title='Atom feed' href='http://localhost/libosmocore/atom/?h=master' type='application/atom+xml'/>

After:
$ curl -s https://cgit.osmocom.org/libosmocore/ | grep "Atom feed"
<link rel='alternate' title='Atom feed' href='http://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>

Change-Id: Iaab14e254acc0356f0d3639924e3b6b528d57973
laforge at
cgit: Fix Atom feed scheme from http to https

before:
<link rel='alternate' title='Atom feed' href='http://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>

after:
<link rel='alternate' title='Atom feed' href='https://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>

Change-Id: I4000f32ee8e7c55a711f928a19379b3a80a8446f
laforge at

#363 (Jun 19, 2022, 2:21:09 PM)

add debian-sid-jenkins

Trying to get the gerrit build job for osmo-upf to work,
for patch Ic0d319eb4f98cd51a5999c804c4203ab0bdda650
which adds use of nftables.

Maybe a newer debian version for the docker image may help.

Change-Id: Ieb4fb1ddee80315b547ea7e3405a56fcc41daaad
Neels Hofmeyr at

#362 (Jun 16, 2022, 9:56:07 PM)

make: Allow passing OSMO_CBC_BRANCH to docker

Change-Id: I0ff3e8f298bd0d743b91d41620623d14911fef63
Pau Espin Pedrol at

#361 (Jun 15, 2022, 8:36:09 PM)

debian-bullseye-titan: Update libfftranscode 0.3->0.5

New version is needed for SBcAP support.

Related: OS#4945
Change-Id: Ifcbd01e8ff4d00dbf1413e4d80a60e3e038d1661
Pau Espin Pedrol at

#360 (Jun 10, 2022, 4:06:08 AM)

gerrit: update to 3.4.5

Change-Id: I767a5e13d8f73b95aee7997f9f4b0a4f64c19483
laforge at
cgit: more verbose logging format in access.log

Change-Id: Iee684c8732410971719044b281a4e810fe0f7945
laforge at

#359 (Jun 8, 2022, 7:01:06 PM)

ttcn3-bsc-test/jenkins-sccplite.sh: configure 4 TRX for BTS2

This is another fixup for [1].  I didn't notice that the sccplite
variant of ttcn3-bsc-test has its own copy of jenkins.sh.

Change-Id: I21219724adbeda4166963b4940b08aad281a62cb
Fixes: [1] Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: SYS#5460
Vadim Yanitskiy at
ttcn3-bsc-test/jenkins-sccplite.sh: fix missing osmo-bts-omldummy logs

Change-Id: I823c34a754701dc71cd52df0ca660bd8fe3c02ab
Vadim Yanitskiy at

#358 (Jun 8, 2022, 12:41:08 PM)

open5gs: Enable libmetrics prometheus implementation

metrics support using Prometheus has been recently added to open5gs
(28e40a0f1b9048768958344e213c69994be671f5). However, it is still not
enabled by default. Let's enable it and update open5gs config files to
make use of it.

Change-Id: I6ec827d66241e20d631f3a851457921718c168a0
Pau Espin Pedrol at

#357 (Jun 7, 2022, 10:31:09 AM)

ttcn3-bsc-test-sccplite/osmo-bsc.cfg: configure 3 additional TRX instances for BTS2

This should have been done as part of [1] in order to avoid
regressions in ttcn3-bsc-test-sccplite.

Change-Id: I2d0045533814a2bacc384c06287066f2209a5f38
Fixes: [1] Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: SYS#5460
Vadim Yanitskiy at

#356 (Jun 7, 2022, 9:51:09 AM)

ttcn3-bsc-test/osmo-bsc.cfg: configure 3 additional TRX instances for BTS2

Change-Id: Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: Ie1241c54abac9a56906c525155cbf7482bca738e
Related: SYS#5460
Vadim Yanitskiy at

#355 (May 30, 2022, 11:41:10 AM)

jenkins-common: docker_depends: add open5gs

Change-Id: Ibcca8cf399abb4a4778318d1743985da8afde185
Oliver Smith at

#354 (May 30, 2022, 11:31:10 AM)

common/Release.key: update

Looks like the key already expired again. This key is now valid until
2024-08-02 according to

$ gpg --import Release.key
$ gpp --list-keys

Key added again from:
https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key

Change-Id: I56a8708ae55cc4cc5928cd80bb57d63f32e22423
Oliver Smith at

#353 (May 30, 2022, 9:11:08 AM)

osmo-bsc.cfg: change logging level nm info -> notice

Stop spamming logs with tons of DNM messages (state changes, events).
GSMTAP emits all these messages (including 'debug' ones) anyway.

Related: I9e60ea0968a44aa29753226626864ac9f4c1f8ab (osmo-ttcn3-hacks.git)
Change-Id: I49352b3caf9f6bbdd594cfcdea54038fc0eaa874
Vadim Yanitskiy at

#352 (May 19, 2022, 7:36:10 PM)

common/Release.key: update

The current key is about to expire (2022-05-22). Update to the new one,
obtained from:
https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key

Change-Id: I30d51435108c4763a92d57de223503d4ca4b0969
Oliver Smith at

#351 (May 15, 2022, 8:11:06 AM)

*/Dockerfile: drop MAINTAINER line

MAINTAINER is deprecated, drop the line in all Dockerfiles as suggested
by Vadim.

Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: If1ef3032af2075d792c526ae744ec4c0c091da3a
Oliver Smith at

#350 (May 13, 2022, 4:21:06 PM)

osmocom-bb-host-master: modernize

Do not set up the Osmocom repository inside osmocom-bb-host-master, it
is done in debian-bullseye-build. Without this patch, we actually
installed the debian 9 version of libosmocore-dev in the debian 11
container.

This is part 1/2 of fixing TTCN3-centos-bts-test, which has been failing
since OSMOCOM_REPO_MIRROR was changed in osmo-ci.git. Part 2 is in
osmo-ci I8201f34a0f9747eea78c358a626cc3981d7407c4.

Change-Id: I78e0445a1b82e5cd72ecaa86e8fe25516b19f485
Oliver Smith at

#349 (May 4, 2022, 9:16:06 AM)

debian-bullseye-build: add libmnl-dev

As required by libosmocore, e.g. when building programs directly in this
container with osmo-dev.git/ttcn3/ttcn3.sh.

Change-Id: I4cd05ef2c164dfb765ee365ab38b8dfd4f955ac6
Oliver Smith at

#348 (May 3, 2022, 4:19:48 PM)

ttcn3-bsc-test: set osmo-bts-omldummy features

Add arguments to osmo-bts-omldummy to properly report the features that
were previously assumed for osmo-bts even without reporting them, until
this was changed in osmo-bsc I7fca42a39a4bc98a6ea8b9cfab28c4bad3a6a0aa.

Related: SYS#5922, OS#5538
Change-Id: Ib22f25431330676d59900de7bfb3d89e7872baf1
Oliver Smith at

#347 (May 3, 2022, 9:11:10 AM)

ttcn3-ggsn-test-ogs: set CAP_NET_RAW for open5gs-upfd

The SO_BINDTODEVICE feature (used for VRF) requires CAP_NET_RAW. Since
we run open5gs-upfd as user "osmocom", that seems to be causing some
permission problems under some systems (like jenkins). Let's make sure
we add the capabilitites to the binary before launching it as user
"osmocom".

Change-Id: I51ee6954a6c019a41cfcd50b2d99166316989d9b
Pau Espin Pedrol at

#346 (Apr 24, 2022, 4:21:08 PM)

debian-buster-jenkins: install libelf-dev

Add libelf-dev to be able to build kernel modules with
defconfig_x86_64.

This is an update to commit d6c5c7a0341c966ddef235a5d6e00a536c1a857c,
which should have not just modified the stretch but also the buster
Docker image

Change-Id: I4c442d86688278ff634a286b98637189eef88bfb
Related: OS#5407
laforge at

#345 (Apr 22, 2022, 10:01:06 AM)

ttcn3-pgw: Configure Gy interface

Depends: osmo-ttcn3-hacks.git Ie4e567f62bbbdba276e6b3221111c8d9f82cde14
Change-Id: Iaeed2086aa058e1079295cb1911ad80e9613f8fa
Pau Espin Pedrol at

#344 (Apr 17, 2022, 2:16:09 PM)

ttcn3-bsc-test/osmo-bsc.cfg: set AMR link adaptation params

Change-Id: Idf5b22c7d50d283d24edf5ccd8de9051f7c2642f
Related: osmo-bsc.git Ic5f8d55d250976d8d4c9cae2d89480fd52326717
Related: SYS#5917
Vadim Yanitskiy at

#343 (Apr 17, 2022, 1:16:06 PM)

Revert "osmo-bsc-{master,latest}/osmo-bsc.cfg: set AMR link adaptation params"

This reverts commit 029c8df99981bb08ff6aaf35506ea3bf491e446e.

I actually meant to change osmo-bsc.cfg in ttcn3-bsc-test.

Change-Id: I85c577cbc608a77d6d6a5816f1fb7205361f7b4a
Related: SYS#5917
Vadim Yanitskiy at

#342 (Apr 15, 2022, 4:56:06 AM)

osmo-bsc-{master,latest}/osmo-bsc.cfg: set AMR link adaptation params

The default AMR link adaptation parameters have been changed in
the recent osmo-bsc, so set the old expected default explicitly.

Change-Id: Ic1c46d54ef97278100bd52156ad5627418ef5c97
Related: osmo-bsc.git Ic5f8d55d250976d8d4c9cae2d89480fd52326717
Related: SYS#5917
Vadim Yanitskiy at

#341 (Apr 14, 2022, 4:56:06 PM)

open5gs-latest: fix Dockerfile: avoid using curl for downloading keys

Since recently, curl fails to download the key from www.mongodb.org:

'''
$ curl --verbose https://www.mongodb.org/static/pgp/server-4.2.asc
GET /static/pgp/server-4.2.asc HTTP/1.1
Host: www.mongodb.org
User-Agent: curl/7.82.0
Accept: */*

Mark bundle as not supporting multiuse
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Date: Wed, 13 Apr 2022 20:50:19 GMT
Location: https://pgp.mongodb.com/server-4.2.asc
Connection: Keep-Alive
Content-Length: 0
'''

By default, curl would not follow redirects unless '-L' is specified.
Let's use Docker's 'ADD' command instead, like many Dockerfiles do.
Also, update the address as suggested in the server's response.

Change-Id: I9757fcce084595341b1a68822bad454b64941eb1
Related: SYS#5602
Vadim Yanitskiy at

#340 (Apr 12, 2022, 12:21:08 PM)

ttcn-pgw-test: Improve osmo-uecups cfg file

Bind to specific container IP address.
Use more uniform logging config settings as most of the other osmocom processes.

Change-Id: I36bb04a388ab65aaa03a82c159a1b258886ec0d0
Pau Espin Pedrol at

#339 (Apr 12, 2022, 11:41:08 AM)

ttcn-ggsn: Configure open5gs-smfd to connect to TTCN3 OCS

Change-Id: I5a7ace64cefead2c05437ea75ba29ecc969d426e
Pau Espin Pedrol at

#338 (Apr 12, 2022, 10:01:05 AM)

make: Allow passing OSMO_UECUPS_BRANCH

Change-Id: I6060364843b1a3e3547a45d98a1248ead22f3970
Pau Espin Pedrol at

#337 (Apr 11, 2022, 12:06:05 PM)

ttcn3-pgw: Pass config file to osmo-uecups

Change-Id: I714172ca063c76a3104daf06f52b5823f304dffe
Pau Espin Pedrol at
ttcn3-pgw: Parallel docker container stop

Stopping all the containers takes quite a lot of time. Let's stop them
all in parallel to gain some time.

Change-Id: Iabf63ebdee9d1bf13a364ea3eb530ed9dae9b2a5
Pau Espin Pedrol at

#336 (Apr 7, 2022, 6:51:06 PM)

ttcn3-ggsn-ogs: Rename config files

Let's make names similar to what's used in PGW_Tests. Also, in
open5gs.git, config files don't contain the "d" at the end.

Change-Id: If56d1a890a4f1b80b4f04ae22644f9cb9cdd35f4
Pau Espin Pedrol at
ttcn3-pgw-test: Log stdout to find crashes

Change-Id: I573637866787ce1f613bd56a009251578c98cbf3
Pau Espin Pedrol at
ttcn3-pgw-test: Use process name in log file

This way it becomes similar to what we use in ttcn3-ggsn-tests-ogs.

Change-Id: Ibac0e6bc9dc7c2e576a4f5d1ccb730211d1e1427
Pau Espin Pedrol at
ttcn3-{pgw,ggsn}-tests: Add comment with procedure to get open5gs-smfd bt automatically

Some specific gdb commands need to be run in open5gs-smfd to get the
desired result (some signals need to be ignored).
gdb use is not enabled by default. Furthermore, if one wants to use it,
editing the Dockerfile to install gdb is required.

Change-Id: I1ac8b77e84d57040fc09964356bc8a01e5d721e3
Pau Espin Pedrol at
ttcn3-pgw-tests: use same bootstrap for upfd as in ttcn-ggsn-tests-ogs

This approach has several benefits:
* We end up with ip/tun setup output in the same log file as
  open5gs-upfd process output.
* We configure all ip/tun *before* the open5gs-upfd process starts.

Furthermore, we have same procedure as in ttcn3-ggsn-tests-ogs, which
simplifies maintainment/use.

The IP address pool for UEs is still different in pgw-tests and
ggsn-tests-ogs. We can make them the same in subsequent patches.

Change-Id: I94219abbeb5e004ce707407b5aa5ee8ad6c3a80e
Pau Espin Pedrol at
ttcn3-pgw-test: Log open5gs-nrfd stdout/stderr

This way we see potential crashes.

Change-Id: I31f2ff2dd5daa68756e910c4cb91acefdad50cb1
Pau Espin Pedrol at
ttcn3-{ggsn,pgw}-test: Avoid open5gs itself logging to a file

We already log stdout/stderr to a file, so there's no need to log a file
internally. We prefer logging that through stdout/stderr in order to
catch more stuff, like segfaults.

Change-Id: Ifdc010f26abdc8cefeec0c72a1f617911ec375d7
Pau Espin Pedrol at

#335 (Mar 27, 2022, 10:41:08 AM)

gr-gsm-master: migrate from archlinux to debian-bullseye-build

Arch Linux ships gnuradio-3.9.4.0, while gr-gsm has not been migrated
to 3.9 yet.  Let's use debian:bullseye, which ships gnuradio-3.8.2.0.

Change-Id: I9900addf152fd254283ef340cea16583ee5ac1c5
Vadim Yanitskiy at

#334 (Mar 16, 2022, 12:56:09 PM)

ttcn3-ggsn-ogs: Use new bind_dev config option for GTP sockets

This way we validate the feature is run and open5gs-smfd/upfd don't fail
when applying it.

Related: SYS#5846
Change-Id: Ie23db8ffb4868e4bc75783e2f6eb7a725b376ea7
Pau Espin Pedrol at

#333 (Mar 9, 2022, 1:16:09 PM)

ttcn3-ggsn-ogs: Change diameter node id to pcrf

This better identifies the peer, specially since we'll also connect to
an OCS in the future.

Depends: osmo-ttcn3-hacks.git Change- Id I1eb03d907b46c4bb24491f390ef468e831190e08
Change-Id: I4c9f90de1456cf1515c9a0608b44a44fa8acb311
Pau Espin Pedrol at

#332 (Mar 7, 2022, 12:56:06 PM)

centos8-repo-install-test: set UPSTREAM_DISTRO=almalinux:8 in Makefile

Otherwise 'debian:bullseye' is used by default when running make.

Change-Id: I1744f5199b1686ee615173572afee524104eb91f
Vadim Yanitskiy at

#331 (Mar 1, 2022, 11:56:09 AM)

debian-*-jenkins: git clone from gerrit

Avoid occasional clone failures by replacing https://git.osmocom.org
with https://gerrit.osmocom.org.

  Step 18/28 : RUN git clone https://git.osmocom.org/osmo-ci osmo-ci && cp -v $(find osmo-ci/scripts -maxdepth 1 -type f )    /usr/local/bin
   ---> Running in c1c0bc9fb861
  Cloning into 'osmo-ci'...
  error:  (curl_result = 56, http_code = 200, sha1 = ded2f31cbac2e7b0ae6c3c4147f4e21ab1ce9b98)
  error: Unable to find ded2f31cbac2e7b0ae6c3c4147f4e21ab1ce9b98 under https://git.osmocom.org/osmo-ci
  Cannot obtain needed tree ded2f31cbac2e7b0ae6c3c4147f4e21ab1ce9b98
  while processing commit bff275075548c443596aa1eb80d784e4cd3c2231.
  error: fetch failed.

Related: SYS#5857
Change-Id: I9ad8e5755c5d520ff33d85792a5a70da62d05253
Oliver Smith at

#330 (Mar 1, 2022, 11:46:09 AM)

ttcn3-ggsn: Modify configs to alloc bigger IPv4 pools

This is needed for test TC_lots_of_concurrent_pdp_ctx, which creates up
to 1000 pdp contexts.

Change-Id: If3344c8acc9bc3b43ed0a13af52807d2a6050a81
Pau Espin Pedrol at

#329 (Feb 22, 2022, 12:01:07 PM)

ttcn3-fr-test/jenkins.sh: revert docker run --rm

Revert the change of adding a --rm to the "docker run" commands done in
I48b01c43fedf379b8a565eaab0369806d7831bd8.

This script runs the containers in the background, waits until they are
done, copies the logs and then removes them afterwards.

Fix for:
  + docker kill jenkins-ttcn3-fr-test-384-frnet
  jenkins-ttcn3-fr-test-384-frnet
  + docker logs --timestamps jenkins-ttcn3-fr-test-384-ttcn3-fr-test
  Error: No such container: jenkins-ttcn3-fr-test-384-ttcn3-fr-test

Change-Id: I56dc07820ccfa8ad6936764262a7c6c272e59c37
Oliver Smith at
ttcn3-fr-test/jenkins.sh: make use of clean_up()

Move cleaning up logic to clean_up(), so it runs as part of the
clean_up_trap if any command in the previous code fails.

For example, if the first docker container started properly, but the
second docker container failed to start: without this patch, it would
just stop the script without running the clean up code.

Change-Id: I4624e37d5d2fa90b71b32d72067b3645f69805da
Oliver Smith at

#328 (Feb 21, 2022, 10:41:08 AM)

ttcn3-ggsn-test-ogs: Run all tests

Change-Id: If400fe325d3fc9a0df168d41b3a1fe68c0e37d2f
Pau Espin Pedrol at

#327 (Feb 18, 2022, 3:16:08 PM)

Add ttcn3-hnbgw-test docker container

Only works in OSMO_HNBGW_BRANCH=pmaier/mgw2 for now

Change-Id: I7e06c1d4365a34b8b6b02a4748714694dfa14554
dwillmann at

#326 (Feb 17, 2022, 7:36:08 PM)

osmo-hnbgw-master: Fix build dependencies

Change-Id: I44c7bb81138b0a10519e59440a20fc7a43e3e480
dwillmann at

#325 (Feb 16, 2022, 7:31:07 PM)

Remove debian-buster-erlang

We don't need the image anymore, we use debian-bullseye-erlang.

Change-Id: I6f22642f5f67a173b17db55aa7a7bda3d9debd54
Pau Espin Pedrol at

#324 (Feb 16, 2022, 5:48:34 PM)

debian-bullseye-erlang: Build rebar3 from source

This way we ensure it is always built against the same erlang OTP
installed in the system.

Change-Id: I6cd8a61ca52c7beda98b357f82ce42eba54e196b
Pau Espin Pedrol at

#323 (Feb 16, 2022, 3:36:09 PM)

Add debian-bullseye-erlang docker image

Copied from debian-buster-erlang, references to debian 10 and buster
modified to debian11 and bullseye.

Change-Id: I5c13eedcbfa721b7e1939e571470ea7044c00211
Pau Espin Pedrol at

#322 (Feb 14, 2022, 8:06:07 AM)

treewide: fix missing --rm for "docker run"

Add "--rm" to each "docker run" command, so they don't continuously fill
up disk space.

Fix this even in the pipework script. We don't use the code path there,
but by always having --rm after "docker run" (same line or next line),
a new lint script in osmo-ci I8ab9c291504475d670bdefc50c4524c5bdd4c880
can help us avoid this in the future.

In ttcn3-ggsn-test/jenkins.sh, move one existing --rm in a later line
upwards so the linter can find it.

Related: SYS#5827, OS#5099
Related: https://github.com/jpetazzo/pipework/pull/248
Change-Id: I48b01c43fedf379b8a565eaab0369806d7831bd8
Oliver Smith at

#321 (Feb 14, 2022, 7:51:07 AM)

make/Makefile: always use docker run --rm

Add --rm to the "docker run" line in make/Makefile, and remove it from
RUN_ARGS.

Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
Related: SYS#5827
Change-Id: Iea063aa39a08397ea64d2018b433991a130e7f56
Oliver Smith at
common/pipework: deduplicate

Move the pipework script from several image directories to the common
dir.

Change-Id: I88ff40ca69c9ee76bef9bb8f24f66ca9d5ac751a
Oliver Smith at

#320 (Feb 11, 2022, 6:41:05 PM)

ttcn3-ggsn-tests-ogs: Set correct DNS address to get ping working

The DNS address provided is used by the test to ping. In osmo-ggsn, we
configured the DNS to be the shared address between GTPC and GTPU. In
open5gs, the addresses are different. Hence, let's pass the GTPU address
instead of the GTPC address to make the setup easier (no need to have
proper routing working between UPFD and SMFD containers).

Change-Id: I2a452ad871612d1c88b94579dadbe62b718b1475
Pau Espin Pedrol at
ttcn3-ggsn-tests-ogs: Configuration fixes for IPv6 tests

Change-Id: I6fe98f6642bbd42376c9ed7353b58451c104eaca
Pau Espin Pedrol at

#319 (Feb 11, 2022, 12:06:07 PM)

make/Makefile: allow overriding '-it' for target 'run'

Allocating a pseudo-TTY (-t, --tty) fails when 'run' is executed
inside of a Jenkins or cron script.  This change fixes
ttcn3-bts-test, which invokes 'run' to fetch the config files.

Change-Id: If22f682be4f004c5bb43e65098079a4f4fe6158d
Fixes: If15461240f3037c142c176fc7da745a1701ae3f8
Vadim Yanitskiy at

#318 (Feb 10, 2022, 4:56:09 PM)

ttcn3-bts-test: use osmo-config-merge to generate config files

This uses the config files from osmo-ttcn3-hacks.git instead of keeping
local copies around here, which has shown many times will get out of
sync.  Extract the original files (*.src.cfg) from the testsuite image
(ttcn3-bts-test) and merge them with the local *.confmerge files using
osmo-config-merge.  Use the resulting files (*.gen.cfg).

Unfortunately, osmo-config-merge is not capable of removing text blocks
or substituting specific parts, so we fall-back to using sed where it's
needed.  A good example is 'log gsmtap 127.0.0.1', as there is no
command for removing a logging target of such type.

Co-Authored-By: Vadim Yanitskiy <vyanitskiy@sysmocom.de>
Co-Authored-By: Oliver Smith <osmith@sysmocom.de>
Change-Id: If15461240f3037c142c176fc7da745a1701ae3f8
Vadim Yanitskiy at

#317 (Feb 10, 2022, 4:51:08 PM)

ttcn3-bts-test: move generic config files into a directory

Change-Id: I1bc5c51306525c6829e9d8e2991555a99c9b49a2
Vadim Yanitskiy at

#316 (Feb 8, 2022, 4:46:09 PM)

ttcn3-ggsn-test-ogs: Configure correct GTP-U GGSN address

Change-Id: Id42b591ba03f451e89b0e332edcf8f2cded9f444
laforge at

#315 (Feb 7, 2022, 5:21:07 PM)

make/Makefile: generalize passing additional build arguments

Building of some images may require additional options to be passed.

Change-Id: Id1761062ac6ec1d1a4eb6a6b724e42cf576c848f
Vadim Yanitskiy at

#314 (Feb 7, 2022, 10:56:08 AM)

open5gs-master: install dependencies using apt-get build-dep

This is a 3-rd party project, which may introduce new dependencies
in the future.  Rather than maintaining our own list of packages
to install, let's employ 'apt-get build-dep'.  This tool parses
'debian/control' and installs all dependencies automatically.

Change-Id: I71ad7256116ee30f15aff38fd38588aa2bfab456
Related: SYS#5602
Vadim Yanitskiy at
open5gs-master: ensure consistent install paths with '-latest'

This allows running TTCN-3 test cases against both '-latest' and
'-master' images using the same configuration files.

Change-Id: Ib4dcf3a9f77205dcdd0ff4932763e202cb89001c
Related: SYS#5602
Vadim Yanitskiy at

#313 (Feb 7, 2022, 9:41:07 AM)

fixup: debian-bullseye-titan: run 8 parallel jobs for 'make deps'

Change-Id: I8fe9ff0b7c27ae7c71bd9bac6048b3073adf6bda
Vadim Yanitskiy at

#312 (Feb 7, 2022, 8:51:07 AM)

Add ttcn3-ggsn-ogs testsuite

This new setup allows running TTCN3 GGSN_Tests against open5gs, which
will soon gain GTPv1C support.

Change-Id: Ia6c122fce951d369a5d2362cbe99d10d61c15f49
Pau Espin Pedrol at

#311 (Feb 4, 2022, 1:36:08 PM)

debian-bullseye-titan: run 8 parallel jobs for 'make deps'

This reduces the time required for building test suites.

Change-Id: I6349d8304a248c7ae2a5373bf23a691f3a1cb991
Vadim Yanitskiy at
debian-{bullseye,buster,jessie}-build: install 'equivs' package

This package is required by Debian's mk-build-deps tool.

Change-Id: Id599d70dc7e5222d62aa5c155bbc75420b913de5
Related: SYS#5602
Vadim Yanitskiy at
open5gs-master: migrate to debian-bullseye-build

It's a common practice to have a shared '-build' image and base
the '-master' images on top of it to avoid installing same
dependencies across different images.

Finally we can use more recent meson from debian's repositories,
so no need to depend on python and install it using pip.

Change-Id: I93422916b232f686dc27a2ff452e20e73db50f58
Related: SYS#5602
Vadim Yanitskiy at

#310 (Feb 4, 2022, 1:16:08 PM)

debian-stretch-jenkins: install libelf-dev

Add libelf-dev to be able to build kernel modules with
defconfig_x86_64.

Related: OS#5407
Change-Id: Id72d19ad08681cd7cb3194de2226292f19e96df5
Oliver Smith at

#308 (Feb 4, 2022, 8:41:06 AM)

make: Add OPEN5GS_BRANCH build arg

Change-Id: I29f85a18f5629e50dc1db527e931a248ab69f8e4
Pau Espin Pedrol at

#307 (Feb 3, 2022, 12:06:07 PM)

ttcn3-pgw-test: configure the 'ogstun' device for open5gs-upfd

Unlike osmo-ggsn, open5gs-upfd does not configure the tun interface
itself.  All IPv4/IPv6 addresses must be assigned manually.  This
is exactly why both PGW_Tests.TC_createSession_ping4[_256] fail:

  [sock] ERROR: ogs_write() failed (5:Input/outputerror) (../lib/tun/tunio.c:84)
  [upf] WARNING: ogs_tun_write() failed (../src/upf/gtp-path.c:448)

Take Harald's setup.sh from open5gs-master and execute it in the
container running open5gs-upfd.  This fixes the ogs_write() errors.

Change-Id: I0730b1f69285484a0aa0ebd664dafd8e476b294f
Related: SYS#5602
Vadim Yanitskiy at
open5gs-master: remove both setup.sh and pgw.sh

Having these scripts makes no sense anymore, because:

  * setup.sh was moved to ttcn3-pgw-test,
  * pgw.sh runs non-existing open5gs-pgwd.

Change-Id: I96abc3ac57ade34cd79af6451bb201e36f5cd7f7
Related: SYS#5602
Vadim Yanitskiy at

#306 (Feb 2, 2022, 5:46:09 PM)

ttcn3-pgw-test: make osmo-uecups-daemon more verbose

Change-Id: Id491b4f9db63c82f3dc58f3fc523b4f84fea01e0
Related: SYS#5602
Vadim Yanitskiy at
osmo-uecups-master: install iputils-ping for ttcn3-pgw-test

In ttcn3-pgw-test we order osmo-uecups-daemon to execute `ping`,
which is not available in Debian images.  Install it.

Change-Id: I73a78949d2e433d7cc4233395e45665056f083c8
Related: SYS#5602
Vadim Yanitskiy at
ttcn3-pgw-test: set PGW_Tests.mp_run_prog_log_path to '/data'

Change-Id: Idd5a37e5768c400d410958149b97869db1e92fb1
Depends: I04ab92c13fcd893d39dbb6a8a8af5ff41d207e36
Related: SYS#5602
Vadim Yanitskiy at

#305 (Feb 2, 2022, 10:06:06 AM)

treewide: use almalinux instead of centos8

CentOS Linux 8 is EOL, attempting to install packages in it results in
an error. CentOS Linux is a rebuild of RHEL (stable versions). The
CentOS projects recommends to use CentOS Stream instead, which is a
build of the "public development branch for RHEL".

After the early EOL was announced on 2020-12-08, alternative projects
AlmaLinux and Rocky Linux have been established as binary compatible
forks of RHEL 8 (stable versions).

Both Alma and Rocky seem to be solid projects, see related Wikipedia
articles and their sources. Pick Alma and adjust the whole tree to use
the almalinux:8 docker image instead of centos:centos8.

Fix for:
  Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Related: SYS#5818
Related: https://www.centos.org/cl-vs-cs/
Related: https://www.centos.org/centos-linux-eol/
Related: https://bugs.centos.org/view.php?id=18394
Related: https://en.wikipedia.org/wiki/AlmaLinux
Related: https://en.wikipedia.org/wiki/Rocky_Linux
Change-Id: I30e1a773b901b1d2187214445116c7f2aecc4e36
laforge at

#304 (Jan 31, 2022, 9:56:08 AM)

ttcn3-bsc-test-vamos: set OSMO_SUT_{HOST,PORT}

This enables the test suite to obtain talloc reports between the
test case executions, which get stored together with the PCAP files.

Change-Id: Ia9525778fcecc60177be651624e2b2cf9bc75422
Vadim Yanitskiy at
ttcn3-bsc-test-sccplite: set OSMO_SUT_{HOST,PORT}

This enables the test suite to obtain talloc reports between the
test case executions, which get stored together with the PCAP files.

Change-Id: I4e5474e8fc51d2ba8a0baca68e11df1346d7d4ab
Vadim Yanitskiy at

#303 (Jan 29, 2022, 1:01:08 PM)

ttcn3-pgw-test: fix jenkins.sh: do not use bash specific syntax

On some systems /bin/sh is a symbolic link to bash, so everything
works fine.  On systems where /bin/sh is a real sh, copy fails:

  cp: cannot access 'open5gs-{smf,upf,nrf}.yaml': No such file or directory

Change-Id: I64e9ddefdb6deb21b3bce3bc1af875a92919e6c9
Related: SYS#5602
Vadim Yanitskiy at

#302 (Jan 26, 2022, 4:51:17 PM)

ttcn3-pgw-test: add Dockerfile, jenkins.sh and configs for open5gs

Change-Id: I69e2f5be8204cc4fd0cc0f4eb019ef1104121b60
Tweaked-By: Vadim Yanitskiy <vyanitskiy@sysmocom.de>
Related: SYS#5602
Vadim Yanitskiy at
ttcn3-pgw-test: set '--ulimit core=-1' for open5gs-{nrf,upf,smf}

Change-Id: I2da2d502f339fc4cbea8fa72414eeaeb6078dfd9
Related: SYS#5602
Vadim Yanitskiy at
ttcn3-pgw-test: set '--ulimit core=-1' for osmo-uecups-daemon

Change-Id: I16f4eefa2bb48486c139ca63f2a48346f0532a8c
Related: SYS#5602
Vadim Yanitskiy at
osmo-uecups-master/Dockerfile: fix copy-pasted ARG OSMO_BSC_BRANCH

Change-Id: Id713ddd24b7ba674d1a2035a0b3b62b1b9d26d9e
Related: SYS#5602
laforge at
osmo-uecups-master: add more complete osmo-uecups-daemon.cfg

Change-Id: I16e3f60485039efd3b965009608982c27511b680
Related: SYS#5602
laforge at
ttcn3-bsc-test/jenkins.sh: fix '--ulimit core=-1' set twice

Change-Id: I3223f8f4cc09797de44971215a94fc62ad8d263b
laforge at

#301 (Jan 17, 2022, 5:31:06 PM)

gerrit: upgrade to 3.3.9 based container

... primarily as intermediate step towards 3.4

Related: OS#5404
Change-Id: Iabb36f0754773dc2e8a5be7d44979b85034e2d01
laforge at
gerrit: Upgrade to 3.4.3

Change-Id: I91ebd53ea7279f76950cde959ffa2472d8f78593
Closes: OS#5404
laforge at

#300 (Jan 5, 2022, 5:46:06 PM)

Use osmo-hnbgw from osmo-hnbgw.git instead of osmo-iuh.git

Starting with release 1.2.0 of both repos, osmo-hnbgw binary is in
osmo-hnbgw.git, not osmo-iuh.git anymore.

Change-Id: I4ac6ede6a5b25ada211674bf3c46d79d7720a4bc
Pau Espin Pedrol at

#299 (Dec 24, 2021, 12:26:09 PM)

osmo-hnodeb-master: no longer depend on libgtp

Newer osmo-hnodeb no longer depend on libgtp, get rid od the dependency.

Depends: osmo-hnodeb.git Change-Id I53ad4915aaed3bc7574036e963be10514e370fe2
Related: SYS#5516
Change-Id: I4e223823d08c7e9e17d87f54d9554429d31c8091
Pau Espin Pedrol at

#298 (Dec 24, 2021, 10:59:05 AM)

osmo-remsim-test-latest: install client-shell

Fix for failing ttcn3-remsim-test-latest, in osmo-remsim-client.log:
  /bin/sh: 1: osmo-remsim-client-shell: not found

Change-Id: Ia3041ea6f19ebe53e05117806acf88d3f86d4479
laforge at

#297 (Dec 23, 2021, 5:21:10 PM)

jenkins-common.sh: add d9 to upstream_distro func

After the default UPSTREAM_DISTRO was changed from debian:stretch to
debian:bullseye, the "debian9-repo-install-test" container has gotten
built with bullseye instead of stretch. This is the reason for failures
of the jenkins job Osmocom-repo-install-debian9 we have seen over the
past days.

With this patch applied, it runs through again:
https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-debian9/339/

Change-Id: I98a19184ba936114c03cd5cc4f54a3173cbd9cfe
Oliver Smith at

#296 (Dec 17, 2021, 3:26:07 PM)

scripts/kernel-test/run-qemu.sh: update qemu args

Get rid of -nodefconfig, it has been removed in qemu 3.1. We are
supposed to use -no-user-config instead, which we already do.

Fix for this error we see since migrating to debian-bullseye:
  qemu-system-x86_64: -nodefconfig: invalid option

Related: OS#4969
Related: https://qemu.readthedocs.io/en/stable/about/removed-features.html#nodefconfig-removed-in-3-1
Change-Id: I4a00f90980bf6d141ef8d86786e08d405db6db0b
Oliver Smith at
osmo-ggsn-*: install iproute2 for kernel tests

Add the package providing "ip", as debian bullseye doesn't have it
installed by default anymore.

Fix for:
  /kernel-test/qemu-ifup.sh: 9: ip: not found

Related: OS#4969
Change-Id: I95560868a899169bf0cb05a02d5034d9a77b6af7
Oliver Smith at

#295 (Dec 16, 2021, 4:06:07 PM)

debian-bullseye-titan: sort pkgs alphabetically

Change-Id: Id5e1d6a3a1705234f25e7c346e2fcf1d3741570d
Oliver Smith at
debian-bullseye-titan: install ping

Add ping, so ttcn3-tcpdump-start.sh from osmo-ttcn3-hacks.git works as
expected. It is supposed to wait until tcpdump is properly capturing
packets, by generating dummy packets with ping and waiting until the
pcap file gains size. However since ping is currently not installed, it
will just wait 10 seconds before executing tests.

Fix for:
  Waiting for packet dumper to start... 0
  Waiting for packet dumper to start... 1
  Waiting for packet dumper to start... 2
  Waiting for packet dumper to start... 3
  Waiting for packet dumper to start... 4
  Waiting for packet dumper to start... 5
  Waiting for packet dumper to start... 6
  Waiting for packet dumper to start... 7
  Waiting for packet dumper to start... 8
  Waiting for packet dumper to start... 9

Related: OS#4969
Change-Id: I46cf22e7eab7dcd4b3835a8c7aa48654aef6c65a
Oliver Smith at

#294 (Dec 16, 2021, 1:41:06 PM)

Add Dockerfile for OpenBTS-UMTS

Change-Id: Ibbab5973b84047ee7654a5fb2a8e4b36e1d43847
Vadim Yanitskiy at

#293 (Dec 16, 2021, 12:11:05 PM)

debian-bullseye-obs-latest: new image

Add missing container for -latest tests. Currently this causes the
-latest tests to fail.

Related: OS#4969
Change-Id: I1230e87784bc21b5a6424db0bd8734181ead9bfd
Oliver Smith at

#292 (Dec 16, 2021, 10:56:09 AM)

titan: move from debian-stetch-titan to debian-bullseye-titan

So far we were executing all our TTCN-3  tests from a container
image with Debian stretch (9) plus a custom more recent eclipse-titan
package from the osmocom feed.

Let's update the container base OS from stretch (9) to bullseye (11)
while using the same packaged eclipse-titan version (8.0.0) for running
the tests.  So this should be a low-risk change, as titan runtime
remains identical.

I've executed all test suites locally and couldn't see any regressions.

Related: OS#4969
Change-Id: Ib3bdfa3bec8f8ef42c55ca61cdee8fbca923874f
laforge at
Switch ttcn3-* master tests from Debian stretch to bullseys

So far we were using ancient Debian 9 (stretch) for our IUT
containers.  Let's upgrade that to Debian 11 (bullseye).

Related: OS#4969
Change-Id: Ic6bece9cb695e6eccfcb1e83fdbf1048724a3cf9
laforge at
nplab: Switch from stretch to buster

The test suites require guile-2.0 so we have to stay with buster
and cannot upgrade to bullseye (guile-3.0 only).

Related: OS#4969
Change-Id: I30c05efbc6c7a21cad71b207e723ef958f1ac9be
laforge at
sctp-test: Upgrade to bullseye

Change-Id: I681802fd779530878c2d2358ebf90b8e2adb4870
Oliver Smith at

#291 (Dec 16, 2021, 10:41:08 AM)

jenkins-common.sh: non-jenkins: unique build tag

Support running multiple TTCN-3 testsuites in parallel when the
jenkins.sh scripts get called from outside of jenkins too.

Closes: OS#5358
Change-Id: Iaaf5719f758553687f2ab57975be275e7ac07e36
Oliver Smith at

#290 (Dec 15, 2021, 8:11:07 PM)

nplab-*test: Fix printing of junit on stdout

Before this patch the printing of the junit.xml to stdout fails:

+ collect_logs
+ cat '/tmp/tmp.CzafJpQyw8/*/junit-*.log'
cat: '/tmp/tmp.CzafJpQyw8/*/junit-*.log': No such file or directory
+ true

Change-Id: I600d3bdb3de23ef6f381cd5b81e2b851856b2b9b
laforge at

#289 (Dec 15, 2021, 6:06:06 PM)

sync debian-buster-build with debian-stretch-build

Change-Id: I6f871613fc4e8dd069cbe8c4a0ef3d1725be8c7a
laforge at
Add debian-bullseye-build container

Change-Id: Ie2c75f30a5fc46979812ddfbea349e3d2fa91a7d
laforge at
debian-{buster,stretch}-*: Explicitly specify DISTRO variables

It seems a manual 'make' in the respective directories no longer
works, as always the default distro is used as upstream reference.

Let's work around this by adding DISTRO variable assignments to the
respective makefiles.

Change-Id: I8769d504ca7afde07d4a0ad1f03aaaec892bf576
laforge at
bsc-test: Reduce log verbosity of osmo-stp

I don't really see the point of crating 19 MBytes of logs for every
ttcn3-bsc-* test run that consists mainly of debug messages about
sending a message from left to right. osmo-stp is not the IUT here,
but merely a part of the test fixture.  Let's reduce log verbosity.

Change-Id: If1d22814d89c4e52b3b7804110256d896b7cc99f
laforge at

#288 (Dec 15, 2021, 5:21:06 PM)

osmo-remsim-latest: fix apt install command

Adjust to the renamed subpackage in the "apt install" command to fix:
  E: Unable to locate package osmo-remsim-client

Related: osmo-remsim I6c634572af5036fd7f9ce1fee6d1474e06bdaa5a
Related: https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-remsim-test-latest/253/console
Change-Id: I349111f4dd968f8e4de9598cc35aa99df221e06b
Oliver Smith at
osmo-remsim-latest: add logic for centos pkgs

Change-Id: If888f69fdcd349c71da06a0f0cf2b6b2f6319fb8
Oliver Smith at

#287 (Dec 15, 2021, 2:41:05 PM)

hnodeb: Update Dockerfile, configs with new deps, configs

Pull in libgtp, configure LL socket, etc.

Change-Id: I5b223149cbbea16e4ccd9b3874874c6366fe7969
Pau Espin Pedrol at

#286 (Dec 15, 2021, 2:31:09 PM)

ttcn3-{sgsn,ggsn}-test: set OSMO_SUT_{HOST,PORT}

This enables the test suite to obtain talloc reports between the
test case executions, which get stored together with the PCAP files.

Change-Id: I61fef7763e6445c231ff2664036e243a9ac96ff6
Related: Icd4c2d80db934535d499598282ed9416d8088163
Vadim Yanitskiy at

#285 (Dec 14, 2021, 1:18:28 PM)

ttcn3-bts-test/osmo-bts.cfg: use default {fn,rts}-advance values

It's better if we run ttcn3-bts-test with the default values, given
that they were significantly reduced some time ago.

Change-Id: If8438adfdbc506d2b6b7858ea8a0ea859ba246a1
Related: I7da3d0948f38e12342fb714b29f8edc5e9d0933d (osmo-bts)
Related: OS#4487
laforge at

#284 (Dec 13, 2021, 3:31:06 PM)

debian-stretch-build-dist: add python3-nwdiag

Recent versions of osmo-gsm-manuals need python3-nwdiag instead of the
python2 version. Install that too to successfully run the configure
script.

Related: OS#5347
Related: https://jenkins.osmocom.org/jenkins/job/Osmocom-release-tarballs/920/console
Change-Id: I127bd3855d44ccc68a5b0c4d83147fb470cc10c9
Oliver Smith at

#283 (Dec 13, 2021, 12:11:05 PM)

osmo-pcap-master: doesn't need libosmo-netif

Don't attempt to install libosmo-netif in this Dockerfile. I've noticed
this because we want to build osmo-pcap for CentOS7 with this container
to run the TTCN-3 tests, and we don't have libosmo-netif for CentOS7.

Add pkgconfig(libosmogb), which is required to build osmo-pcap
according to configure.ac. In Debian, this gets installed as part of
libosmocore-dev.

Related: SYS#5754
Change-Id: I9c3a3b43ee7c25c06042f3303b9edb4005e7db31
Oliver Smith at
osmo-pcap-latest: fix install path for centos

Adjust to the package not being split in rpm packaging. This was not
noticed before, because we did not run TTCN-3 tests for osmo-pcap with
CentOS8.

Related: SYS#5754
Change-Id: I775776ff7f358fee3d085f814c295c49225f5170
Oliver Smith at

#282 (Dec 13, 2021, 12:01:05 PM)

debian-stretch-build-dist: osmo-gsm-manuals deps

Add dependencies for osmo-gsm-manuals, so we can build the release
tarballs for it (autoreconf -fi; ./configure; make dist-bzip2) in the
related jenkins job. During update of the list of projects for which we
build these tarballs, it became apparent that it was missing. Following
patches will add dependencies needed to build release tarballs for all
other projects that were missing from the list.

Related: OS#5347
Change-Id: Iba2e71b2e757bc527561d0f3e4a1af5f024a3cd7
Oliver Smith at
debian-stretch-build-dist: osmo-hnodeb deps

Related: OS#5347
Change-Id: I9d708d86bf29f9fca0446fb990c606780bd7a1cb
Oliver Smith at
debian-stretch-build-dist: osmo-pcap deps

Related: OS#5347
Change-Id: If0f00dd09ce0db6a05972a564474a707d2d3174b
Oliver Smith at
debian-stretch-build-dist: osmo-remsim deps

Related: OS#5347
Change-Id: I8fd4b9d3734dd3bc0e3fca8ceaedda2aedc6a055
Oliver Smith at
debian-stretch-build-dist: osmo-uecups deps

Related: OS#5347
Change-Id: I19b6b0363aeeb89ab6aac2b125359589e6b9b5a7
Oliver Smith at

#281 (Dec 11, 2021, 3:21:06 PM)

Add centos7 containers

Related: SYS#5754
Change-Id: Iadf3d0d7143c2d81ea5e87fd07a3f4cd9239cb46
laforge at

#280 (Dec 10, 2021, 11:01:08 PM)

osmo-pcap-latest: fix typo in Dockerfile: s/clint/client/

This patch fixes 'ttcn3-pcap-client-test-latest' job on Jenkins.

Change-Id: Ibf472ec712624b16adff4b0f043771f257e7d71f
Vadim Yanitskiy at

#279 (Dec 6, 2021, 9:26:09 AM)

jenkins-common.sh: fix redundant titan image build

Do not build debian-stretch-titan, when registry.osmocom.org is enabled.
The image that would be built at this point is not useful, since other
images like ttcn3-msc-test will use the debian-stretch-titan image from
the registry instead of the one that was just built locally.

Related: OS#5336
Change-Id: I7127e3ebac3a6a985c3ba50ba8c7cb8c5de978d9
Oliver Smith at
jenkins-common.sh: pull registry.osmocom.org imgs

Pull debian-stretch-titan from registry.osmocom.org if the repository is
enabled. Otherwise the image gets only pulled the first time, and does
not get updated once it becomes outdated.

Fixes: OS#5336
Change-Id: I1cf998c21e4ee1f723c3b783703e339328377f3e
Oliver Smith at

#278 (Dec 3, 2021, 12:41:05 PM)

Revert "osmocom-bb-host-master: install python-enum as fake_trx dependency"

This reverts commit c034da05476429f1470c1245ad949fe45f08dc97.
Python 2 is EOL, we are using Python 3 now with built-in enums.

Change-Id: I6aa653f2165bb9a81aa8253fabc0fb436bcba009
Vadim Yanitskiy at
ttcn3-msc-test/osmo-msc.cfg: remove deprecated 'periodic location update'

Let's keep osmo-msc.cfg up to date with the one in osmo-ttcn3-hacks.

Change-Id: I0576f21230dff2c96060430ef9ffb6001d19542d
Related: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26415
Vadim Yanitskiy at
ttcn3-msc-test/osmo-msc.cfg: disable encryption for UTRAN

The Iu/UMTS specific test cases in ttcn3-msc-test expect no
encryption in Security Mode Command by default (only integrity),
while osmo-msc would permit both UEA1 and UEA2 unless configured
explicitly.  This causes the related test cases to fail.

A similar change was merged to osmo-ttcn3-hacks, updating the
osmo-msc.cfg in there, however the actual configuration file
that is used to execute test cases on Jenkins was not updated.

Change-Id: I43f80e3fbd73be21fb89006e16de0e1df9ba03f5
Related: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26389
Fixes: OS#5333
Vadim Yanitskiy at

#277 (Dec 3, 2021, 11:31:06 AM)

open5gs-latest: fix Dockerfile: remove custom mirror list

I was experiencing problems with Debian's mirrors while working on
this image, so I had to use a custom mirror list.  This is a left-
over that should have been removed before merging.

Change-Id: I313bb604b09293bff8753edeefa7f78cafc9cc22
Related: SYS#5602
Vadim Yanitskiy at
Revert "osmo-msc-latest: centos8: add libdbi-dbd-sqlite"

This reverts commit 9a526e876f6a939f8bf6531b40876d1642a1e997.
There is no need to install this dependency explicitly anymore.

Change-Id: I093f17981f5a09346cf46fe33b94c4b7833757c5
Vadim Yanitskiy at

#276 (Dec 1, 2021, 1:56:10 PM)

ttcn3-sccp-test/jenkins.sh: fix typo

Fixes: 305ce55 ("ttcn3: write Osmocom repository to configs")
Change-Id: I79734da2744502a2b8c4db9d38f992b77fe6a42a
Oliver Smith at

#275 (Dec 1, 2021, 1:51:05 PM)

ttcn3-{bts,bsc,msc,hlr}-test: set OSMO_SUT_{HOST,PORT}

This enables the test suite to obtain talloc reports between the
test case executions, which get stored together with the PCAP files.
Let's see how it works with the mentioned projects first;  others
can be configured later.  See [1] for more details.

Change-Id: Icd4c2d80db934535d499598282ed9416d8088163
Related: [1] I1b03b17426d8760c55976e3b78ca2f3af248c055
Related: OS#5328
Vadim Yanitskiy at

#274 (Dec 1, 2021, 11:41:09 AM)

debian-stretch-titan/Dockerfile: install osmo-python-tests

We need osmo_interact_vty.py in order to obtain talloc reports for
each test case automatically.  See [1] for more details.

Change-Id: Ida8e08e7fe4f171f934a2d4eef4568da7c398f5c
Related: [1] I1b03b17426d8760c55976e3b78ca2f3af248c055
Vadim Yanitskiy at

#273 (Dec 1, 2021, 10:41:08 AM)

redmine: process changelogs every 10 minutes

Wrap the original entrypoint script with a custom one that also runs a
loop in the background, which periodically lets redmine fetch git
repositories. When repositories are fetched, redmine interpretes
"closes" etc. in commit messages to mark issues as resolved.

Closes: OS#5331
Change-Id: I2a65fd6be22ae541a93c08c71cf286e4b5ad370f
Oliver Smith at

#272 (Nov 30, 2021, 7:21:10 AM)

ttcn3: write Osmocom repository to configs

Write a line like 'Misc_Helpers.mp_osmo_repo := "nightly"' into the
TTCN-3 config file (e.g. BSC_Tests.cfg), before starting the testsuite.
This allows executing different code paths in the tests based on the
repository.

Related: OS#5327
Change-Id: Ic06532f7a67e59458652c5cf4c8f6fee8113e703
Oliver Smith at

#271 (Nov 24, 2021, 10:26:07 PM)

Introduce Docker image for osmo-hnodeb-master

Change-Id: I35e5324d981be8130fbc4e6dcd3e8933181e6821
Pau Espin Pedrol at
Introduce Docker image for ttcn-hnodeb-test

Change-Id: I191b9a29c75d0a1f0bc38d4e29facfc45826cd31
Pau Espin Pedrol at

#270 (Nov 23, 2021, 10:51:08 AM)

make/Makefile: allow specifying optional command for 'run'

Change-Id: I676c5525effe8f34ae11f7b8ed4da0d8961209bf
Related: SYS#5602
Vadim Yanitskiy at
open5gs-latest: new Dockerfile for latest open5gs from packages

Change-Id: I06b90b84d22ba8d34bed9f84861ff94bdcabe6c3
Related: SYS#5602
Vadim Yanitskiy at

#269 (Nov 19, 2021, 12:46:05 AM)

open5gs-master: there is no 'master' anymore, use 'main'

Change-Id: If02740d8ddb4775cc22e9d4ed78226d09c466626
Related: SYS#5602
Vadim Yanitskiy at
open5gs-master: add missing dependencies

Change-Id: I39806a8cc33a1f975b03839fb16466dabb57a26d
Related: SYS#5602
Vadim Yanitskiy at

#268 (Nov 18, 2021, 7:41:08 PM)

ttcn3-stp-test: do not set mp_osmo_stp_newer_than_1_4_0

Setting a non-existing parameter makes TITAN unhappy:

  HC@fd91bc0a2114: Error while setting parameter field
                   'STP_Tests_M3UA.mp_osmo_stp_newer_than_1_4_0' to 'true':
                   Module parameter cannot be set, because no parameter with
                   name 'mp_osmo_stp_newer_than_1_4_0' exists in module
                   'STP_Tests_M3UA'.

Change-Id: Ie4fba3eb73e0da60bc20859efddecc5ec816cb9e
Vadim Yanitskiy at

#267 (Nov 17, 2021, 10:41:07 AM)

ttcn3-bsc-test: Leave mp_enable_dyn_sdcch8_test enabled in latest

Release 1.8.0 is already released, so latest should support this.

Change-Id: I560cb7d0ab61b5373982160032040a65dc043ce4
Pau Espin Pedrol at
ttcn3-sgsn: latest osmo-sgsn release supports RIM

osmo-sgsn 1.8.0 supporting the VTY commands was released, so no need to
drop those.

Change-Id: I803514a28491ebe142691062f6033f179474b064
Pau Espin Pedrol at
ttcn3-sip: Don't force mncc version 7 for latest

osmo-sip-connector 1.6.0 supporting latest mncc version was released.

Change-Id: Iff2bcbfb3e84140cccdf93b0924ede09e44793b0
Pau Espin Pedrol at
ttcn3-pcu: Update config for latest after new osmo-pcu release

New osmo-pcu 1.0.0 which supports all expected features. Hence we can
drop special quirks to have tests passing in latest.

Change-Id: Ieb85dac479e6960e4160767e514084b80edd297b
Pau Espin Pedrol at
ttcn3-stp: osmo-stp in master is >1.4.0 now

osmo-stp 1.5.0 was released today, so we can drop those specific checks.

Change-Id: I354c1487d9a32e2c7d48c57e7b63007f5360677e
Pau Espin Pedrol at

#266 (Oct 28, 2021, 2:41:05 PM)

ttcn3-sip-test: use MNCCv7 for the '-latest' SUT

Change-Id: Ic1e6e5f9ea959166b727795232bb58b9a25cc049
Related: OS#5282, OS#5164
Vadim Yanitskiy at

#265 (Oct 27, 2021, 5:11:06 PM)

upgrade to redmine 4.1

this requires a local patch to ruby-openid, as it apparently doesn't
suppor rails 5.x (Paramters are not a hash anymore, hence lenth
method cannot be used)

Change-Id: I028d6d72757abf5d990ca2e8327e5f0a9fe3d333
laforge at
redmine: upgrade to 4.2

Change-Id: I38b3ee8c47f22c601c3a26c5c7238ac8bebe33a8
laforge at

#264 (Oct 24, 2021, 1:11:07 PM)

upgrade gerrit to 3.2.12

Change-Id: I1d3e4a0198085e7cd2bfe32b080b89ab2632bdf4
laforge at

#263 (Oct 19, 2021, 6:46:06 PM)

ttcn3-ns-test-fr: fix wrong NS dialect

The failing test case should never run. The framerelay must run
it's test with dialect NS2_DIALECT_STATIC_RESETBLOCK

Change-Id: I2b1ae7cbe26c94a4a66b6a456b76b864251e0acb
lynxis at
ttcn3-ns-test-fr: set correct ns configuration to match tests

Change-Id: I2a5ac42e8861f0176f76bbf5164e990e723a872d
lynxis at

#262 (Oct 15, 2021, 4:56:08 PM)

ttcn3-ns-test: add second NSVC to allow TC_tx_blocked_foreign_nsvc to work

TC_tx_blocked_foreign_nsvc requires to ipa NSVCs

Change-Id: I3a4baaacdbaab245ba10a1857f0183e56defcdf4
lynxis at

#261 (Sep 14, 2021, 9:16:06 AM)

ttcn3-pcu: use new Neighbor Address Resolution interface in master

Since current master, osmo-pcu and osmo-bsc support Address Neighbor
Resolution using new PCUIF over IPA multiplex, deprecating the old CTRL
interface used until now.

Since the old CTRL interface is not yet removed in order to avoid
breakage of old deployments (only marked as
deprecated and not used by default), let's keep support to run the
existing tests with the old interface to keep them being tested in
latest release, while instruction both osmo-pcu and TTCN3 PCU_Tests to
use the new interface in master.

Once we do a new osmo-pcu release, we can drop support for the old
interface in tests, and drop it completely from osmo-pcu over the
following next release.

Depends: osmo-ttcn3-hacks.git Change-Id I05f1aabc64fc5bc4740b0d8afd8990b485eacd50
Related: SYS#4971
Change-Id: I01d0604f294dc88dc32137c976f424655849d57e
Pau Espin Pedrol at

#260 (Sep 7, 2021, 6:11:06 PM)

ttcn3-ns-test: add second NSVC to allow SNS tests to work

The SNS tests need both NSVCs. The NS_Tests.sns.cfg from the
ttcn3 repository can be used as reference.

Change-Id: I92f2ca61af1e3d0427e6810eddab8f2d6299242d
lynxis at
ttcn3-ns-test-sgsn-sns: add test run for ns sgsn role with sns

Change-Id: I1a9205885d381c04141dad752de0b39d9268ab69
lynxis at

#259 (Aug 20, 2021, 9:21:06 AM)

osmo-mgw.cfg: configure control interface

The configuration file of osmo-mgw lacks the control interface
configuration.

Change-Id: I309db472e22d0258bf31a4f5865a89364ed7af2c
pmaier@sysmocom.de at

#258 (Aug 16, 2021, 9:36:08 AM)

ttcn3-stp-test: rename mp_stp_has_asp_quirk

Rename the option to mp_osmo_stp_newer_than_1_4_0, because I'm going to
use the variable in an upcoming osmo-ttcn3-hacks.git patch for something
unrelated to the asp quirk so we can avoid introducing another variable.

Related: osmo-ttcn3-hacks I43b1aa2c029c88c88320d40f60df46a5eb6c4c24
Related: OS#4239
Change-Id: I6a32398242b53c827a94cf65e4a35900a7c4171a
Oliver Smith at

#257 (Aug 12, 2021, 3:46:09 PM)

osmo-mgw: add missing statsd configuration

The recently added test TC_dlcx_wildcarded depends on statsd information
from osmo-mgw but in the osmo-mgw configuration no statsd is configured.

Change-Id: Ic4f0c57f56fe400bdb9a1948917f0eeb1d7e7427
Related: SYS#5535
pmaier@sysmocom.de at

#256 (Aug 10, 2021, 10:41:07 AM)

ttcn3-pcu-test: add mp_osmo_pcu_newer_than_0_9_0

Related: SYS#4878
Change-Id: Iabd0cf658f2b8e2913824b899c5bd012c587c21d
Oliver Smith at

#255 (Aug 9, 2021, 9:02:42 AM)

ttcn3-pcap-client-test: set vty port to 4227

After moving the default VTY port for osmo-pcap-client from 4237 to
4227, it is different in nightly and latest. Configure the SUT and
testsuite to use 4227 for both nightly and latest.

Related: OS#5203
Change-Id: I6d45340429925fe5e98cc4e597a01ef51e8322ae
Oliver Smith at

#254 (Aug 6, 2021, 2:16:09 PM)

MGCP_Test: set STATSVTY.CTRL_HOSTNAME

The the following patch I61e23e264bc85eb36d07431c7839fb445c110947
introduces the stats interface on the MGCP_Test testsuite. This means
that STATSVTY.CTRL_HOSTNAME must be set up correctly, otherwise all
testcases will fail.

Change-Id: I693cc17dbf6836e7a74b34111671b6e589744a63
Related: SYS#5535
laforge at

#253 (Jul 28, 2021, 1:46:06 PM)

debian-stretch-titan: Wait for interface to be _up_ not just its existance

I've seen at least one instance where -EIFDOWN was returned when the
test suite was coming up.  This is a race condition, as we first
have to move the netdev into the namespace and only then can configure
it.  "pipework wait" only waits for its existence, not until it is up.

We cannot revert the order, as the netdev looses its state when it
is moved to a different netns.

Change-Id: I1bfb6eb925bca4e4e1901e06eed831152cddbbe2
dwillmann at

#252 (Jul 22, 2021, 11:01:08 AM)

ttcn3-bsc: Disable dyn TS SDCCH8 tests for latest

With this we'll avoid running the test in latest. This way we'll not
fail after changing the TS for the test and hence other tests won't be
affected.

Related: SYS#5309

Change-Id: If941c110501cd5f9c1d5084cc4d054e1eafb14f4
Pau Espin Pedrol at
ttcn3-bsc: Drop mp_enable_osmux_test

This module parameter is never set to false anymore, since latest
already supports the feature for a while.
The module parameter will be removed soon in osmo-ttcn3-hacks, so let's
drop using it here too.

Change-Id: Idf459365e9aa42f7efd2a418cadea63ec49bdd7a
Pau Espin Pedrol at

#251 (Jul 19, 2021, 9:01:06 AM)

ttcn3-bts-test: set bind address for the RTP Emulation

Otherwise the loopback address is used, what causes test cases
employing the RTP Emulation component to fail:

  Connection refused (unexpected)

Change-Id: Ia20ccd9e6db61d7a105523648c678db90ad345eb
Vadim Yanitskiy at

#250 (Jul 12, 2021, 8:06:10 AM)

jenkins-common.sh: add NO_LIST_OSMO_PACKAGES

Allow to optionally skip listing the installed packages. This is useful
to speed up tests when running locally.

Related: osmo-dev I3d9976d07f088e2d106d23259889a4bffe1abbcb
Change-Id: Iaafb81e9ee94850ae3b6318574ad5370d74a2838
Oliver Smith at

#249 (Jul 11, 2021, 5:46:09 PM)

Revert "ttcn3-bsc-test: enable A5/4 support in osmo-bsc.cfg"

The test that needs A5/4 enables it dynamically, and a new test requires
a defined value to reset to.
This reverts commit 8005014b55f3c7261731fd8f059ff2be1ea02f9c.

Related: OS#4975
Depends: osmo-ttcn3-hacks I3cf36c6ef86a0db050507f3737f4b0c10dcd52ed
Change-Id: I55135ca00ef51de5cf6eaec75cfc20c21beef665
Oliver Smith at

#248 (Jun 29, 2021, 6:46:07 PM)

jenkins-common.sh: add image_suffix_is_master()

Since recently, we also have a new IMAGE_SUFFIX '2021q1-centos8'.
We cannot rely on image_suffix_is_latest() anymore, because this
prefix does not qualify as 'latest'.  If one needs to enable a
feature that is only available in master, then here is a way:

  if ! image_suffix_is_master; then
      # Patch the configuration files
  fi

Change-Id: I65df66cd2e14934bed8114618d6ffad7831d1025
Vadim Yanitskiy at
ttcn3-bsc-test: enable A5/4 support in osmo-bsc.cfg

Conditionally exclude it for non-master versions of the IUT.

Change-Id: I59f81c2dd72ddc2d292f8f34281fa79289d49c6d
Related: SYS#5324
Vadim Yanitskiy at

#247 (Jun 28, 2021, 9:06:09 PM)

bts-oml: Set mp_pcu_socket

Since recently (osmo-ttcn3-hacks.git
I78880098a55d1cb456011746efa0a47832a86ca8), BTS_Tests_OML use
mp_pcu_socket to set up PCUIF, which is used in some tests (like
validating forwarding of PCUIF messages PCU<->BSC).

Related: SYS#5303
Change-Id: Iac4aac8d98e2f45021858ddaa5e20ca4c6effb31
Pau Espin Pedrol at

#246 (Jun 17, 2021, 2:11:08 PM)

Don't run "dpkg --add-architecture i386" on ARM

Building debian-stretch-jenkins on ARM currently results in a few
libraries getting installed for the i386 architecture. This results in
the following build failures for master-osmo-trx and master-osmo-pcu:

  checking for LIBGNUTLS... no
  configure: error: Package requirements (gnutls >= 2.12.0) were not met:

  No package 'gnutls' found

It is weird that we are only seeing this now, the dpkg-line has been in
debian-stretch-jenkins since the Dockerfile was added to osmo-ci four
years ago in Icb0406f96b0c18e77be51ad8317c2668fb23a45e. I'm also
wondering why it was added in the first place, and if we need it
anymore. In any case, running this on anything but x86_64 does not make
sense, so disable it there.

Change-Id: I8d890b7ebc7b99a4c79779709d1e56e0a5a6d4b9
Oliver Smith at

#244 (Jun 7, 2021, 2:32:21 PM)

debian-stretch-jenkins: install libcdk5-dev

Build meas_vis from osmo-bsc.git in gerrit-verifications and
master-builds.

Related: OS#5173
Change-Id: I8c98542bf9902d6b4fbd2f8718006027b8520f19
Oliver Smith at

#243 (Jun 5, 2021, 8:36:08 PM)

add ttcn3-bsc-test-vamos

The purpose is to run osmo-ttcn3-hacks/bsc/BSC_Tests_VAMOS.ttcn with
  osmo-bts-omldummy -f VAMOS
(send BTS_FEAT_VAMOS = true).

Change-Id: I2146388bf683cfba99cef5592b8b141c3a6eabb1
Neels Hofmeyr at

#242 (Jun 4, 2021, 9:51:05 PM)

ttcn3-bts-test/BTS_Tests.cfg: execute VAMOS specific test cases

Change-Id: I421f6ce5b689cd221f000043fcc0f5985e266e95
Related: SYS#4895, OS#4941
Vadim Yanitskiy at

#241 (May 28, 2021, 4:56:07 PM)

ttcn3-gbproxy-test*: Update gbproxy NS timers

Change-Id: I7d436327bb57a3f6c6b071c28308c8a74561d93c
Related: OS#4952
dwillmann at

#240 (May 21, 2021, 3:41:07 PM)

jenkins-common.sh: add image_suffix_is_latest

Make sure we run the latest-code paths for "latest-centos8" too.

Change-Id: Ibcc7dfb092b3766ef9b189ae990b43fdb746a022
Oliver Smith at

#239 (May 21, 2021, 3:36:08 PM)

ttcn3-sgsn-test: fix config sed for latest

Change-Id: I17d0554188fad6f890f844bf978d622661290fce
Oliver Smith at

#238 (May 19, 2021, 11:41:07 AM)

ttcn3-sgsn: Update config to test RIM over GTPCv1

Related: SYS#5314
Depends: osmo-ttcn3-hacks.git I9dcf6ee2dc55bc6aba178eca30080233254f025e
Change-Id: I002da9afe5a7a3263fa4fda5d82fbc8d0faa0e18
Pau Espin Pedrol at

#237 (May 13, 2021, 8:46:08 PM)

ttcn3-stp-test: Add mp_stp_has_asp_quirk:=false for latest

Change-Id: Ib9a07a96f1adf871150e63eaf49a7e18c57d067e
laforge at

#236 (May 12, 2021, 5:41:06 PM)

osmo-gsm-tester: Update srsLTE references to srsRAN

Change-Id: I58d4c26337382ad9e66a569a482e77442137383a
Pau Espin Pedrol at

#235 (May 4, 2021, 12:11:08 PM)

jenkins-common.sh: support 2021q1 feed

Adjust docker_depends and docker_dir_from_image_name for 2021q1. Extend
README.md with examples.

Related: SYS#5370
Change-Id: Icf1e3f1928658ff3d82190c4176252cf3590a1f5
Oliver Smith at

#234 (May 4, 2021, 10:06:06 AM)

centos8-build: use nightly URL to invalidate cache

Fix copy paste mistake.

Change-Id: I1c5cfe782207af2a2e505fa30e77b9ea9fd143c5
Oliver Smith at
centos8: don't download .repo file

Generate the .repo file on the fly instead of downloading it from the
OBS repository. Ensure the gpgkey gets downloaded via HTTPS. I'm about
to use centos8-obs-latest with an alternative repository, which does not
have the .repo file. Adjust other containers for consistency.

Related: SYS#5370
Related: https://download.opensuse.org/repositories/network:/osmocom:/latest/CentOS_8/network:osmocom:latest.repo
Related: https://download.opensuse.org/repositories/network:/osmocom:/nightly/CentOS_8/network:osmocom:nightly.repo
Change-Id: Ic9ffa79cfe5a74bdc59d5ddd505a9af7be574bf9
Oliver Smith at
make: add OSMOCOM_REPO_PATH

Allow to change the path between OSMOCOM_REPO_MIRROR and
OSMOCOM_REPO_VERSION. While at it, tweak related comments (comment above
the variable as usually, replace "repo" wording with "feed" for the
latest/nightly variable as we usually refer to it as feed), and mention
OSMOCOM_REPO_* in README.md.

In order to be able to use a different mirror for testsuite and systems
under test, the testsuite related Dockerfiles (osmocom-bb-host-master,
debian-stretch-titan) are not using OSMOCOM_REPO_PATH. We could add a
OSMOCOM_REPO_TESTSUITE_PATH on demand, as mentioned in the next commit.

Related: SYS#5370
Change-Id: I8010a4d49d4620a5c47c2ff4f909a9aeeaad7b73
Oliver Smith at
make: add OSMOCOM_REPO_TESTSUITE_MIRROR

Make it possible to set a different mirror for debian-stretch-titan than
for all other containers. 2021q1 doesn't have the eclipse-titan package
and it doesn't make sense to build it there.

I've thought about adding OSMOCOM_REPO_TESTSUITE_PATH and
OSMOCOM_REPO_TESTSUITE_VERSION too, but we don't have any use for these
right now. Let's add them later if we should need them.

Related: SYS#5370.
Change-Id: I7187473c2188a864b60b03789eff62e0a527404a
Oliver Smith at
centos8-obs-latest: use OSMOCOM_REPO_VERSION

Related: SYS#5370
Change-Id: I5eb0d9943ac5c3ffe800774f1a91897fdf0ca0c3
Oliver Smith at
osmo-*-latest: use OSMOCOM_REPO_VERSION

Related: SYS#5370
Change-Id: I237a296ea8a1e08bc31f351c5f42a59fe7438815
Oliver Smith at

#233 (May 3, 2021, 2:21:06 PM)

arm-none-eabi-gcc-4.8.2: install missing packages

These are needed for building osmocom-bb and its libosmocore.

Change-Id: I1cee58985225bd1c6600b0025d0417d66f441449
Vadim Yanitskiy at

#232 (Apr 29, 2021, 1:11:06 PM)

make: add UID as --build-arg

Allow to give the user running inside docker the same UID as the user
outside.

Change-Id: I4b3689a626c50c9ac38eca6b5449b8ec0344c3de
Oliver Smith at
debian10-obs-submit: new container

Add new container to be used by osmo-ci
Icc89e20950c2aaa67b209340d1d797b76fce32d2.

Related: SYS#5370
Change-Id: Ibb55ad18d2ccf4313f52fa3e3c10d4420c84dced
Oliver Smith at

#231 (Apr 28, 2021, 5:31:05 PM)

osmo-mgw: Use DSCP value in valid range (<= 63)

DSCP is a 6-bit value, it cannot be 184.

Change-Id: I72133e6ac5674577595f9d98e3fc68f8d741819c
laforge at

#230 (Apr 27, 2021, 1:36:06 PM)

remove deprecated 'logging level all everything' from configs

it has been deprecated in libosmocore.git 2.5 years ago:

commit 7e0686c6b4b456ec4e6e15689694b1bcf96c301f
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date:   Mon Sep 10 20:58:52 2018 +0200

Change-Id: Ia6946fae497319a894d4e664ac8642340620822e
laforge at

#229 (Apr 25, 2021, 11:21:07 AM)

Add osmo-pcap-master

Change-Id: I8ff63d028310fecbd07328073d0f4bf15489ded4
laforge at
Add osmo-pcap-latest

Change-Id: I1da28383117d0f81d7857fa27ba837d77f0079e0
laforge at
Add ttcn3-pcap-client-test

This runs pcap-client IUT against the TTCN3 ATS for pcap-client

Change-Id: Ie94106b1d1f348cd66f4b5304be6021dbaf732e1
laforge at

#228 (Apr 14, 2021, 12:46:10 PM)

ttcn3-pcu-sns: add vty parameter to allow ttcn3 to connect

Otherwise it will try to connect to 127.0.0.1.
Fixes jenkins ttcn3 test TC_sns_1c1u_unconfigured_nsvc.

Change-Id: I4b375a60c4f948c282337ca30643d14407f8239e
daniel at

#227 (Apr 14, 2021, 11:46:10 AM)

osmo-gsm-tester: open5gs deps only for x86_64

mongo-db is only available for x86_64 from their third party
repository. Don't attempt to install it for another architecture. As
this is part of the open5gs dependencies, don't install any of them
either.

This should fix the currently failing "update-osmo-ci-on-slaves"
jenkins job. I've considered disabling the build of the osmo-gsm-tester
container for ARM altogether, but the osmo-gsm-tester manual explicitly
mentions ARM trails.

Change-Id: Ieed36b1adf4b9ae147c7ee7ade22d4855c3dbac8
Oliver Smith at

#226 (Apr 12, 2021, 1:41:11 PM)

gbproxy: Switch to IP-SNS on the BSS side

When testing gbproxy with an IP BSS, we want to use IP-SNS as that
is the more relaistic use case in practice.

This un-breaks the dockerized tests since I90bd101096979b170c38fa2a80abb80d296c4d2e
was merged in osmo-ttcn3-hacks.git

Change-Id: Id1324e019b7f148f8d33977c0089e996089e1e59
laforge at

#225 (Apr 12, 2021, 12:16:10 PM)

ogt: Add support to build open5gs

meson from open5gs requires debian10's version. physicial sysmocom OGT
setup already migrated to debian10, do the same here.

Related: SYS#4805
Change-Id: Id329726f93251b617219beeb674046065c30a436
Pau Espin Pedrol at

#224 (Apr 12, 2021, 8:11:07 AM)

gbproxy: Add mp_gbproxy_ip to check BVC FSM state

In docker-playground.git I272e43b9be8ba53d8a815e8ab099c939f63413a7
we introduce FSM state introspection and we need to add the CTRL
hostname here.

Change-Id: Idcd77353a661cfc1685ded64b5993ff63637addc
laforge at

#223 (Apr 7, 2021, 6:41:08 PM)

docker_images_require: list installed Osmocom pkgs

Display an overview of installed Osmocom packages at the start of each
ttcn3-*/jenkins.sh script (and others making use of
docker_images_require).

Closes: OS#5091
Change-Id: I62670017d790fd67c6a0d8d464386c0f8e94c1a8
laforge at

#222 (Apr 7, 2021, 4:50:21 PM)

Check in GCC 4.8.2 based cross compiler for ARM EABI target

I used this one for building old OsmocomBB branches, which do not
compile with modern arm-none-eabi-{gcc,binutils,newlib} toolchain.

Change-Id: Ide93843836f059a3750e92a973d0a6d9cf9a5638
laforge at

#221 (Mar 31, 2021, 8:21:09 AM)

Add ttcn3-ns-test-sns container

Change-Id: I8fc4f6453f04aa579762da9200900f25e78034c5
Related: OS#5396
laforge at
Add ttcn3-ns-test-fr container

... which requires some modifications to osmo-ns-master
regarding pipework / docker-entrypoint.sh

Change-Id: I418f81eb1fbb2b15335ef64a3aa04d1c98a452c9
Related: SYS#5396
laforge at

#220 (Mar 30, 2021, 6:36:07 PM)

add osmo-ns-master container with osmo-ns-dummy binary

Change-Id: I8372088722f5a487e0068418d543bd5cc707a5a1
Related: OS#5396
laforge at
Add ttcn3-ns-test container

Change-Id: I45d211f4edd39e5be8f63185f1b7bd100fb2644b
Related: OS#5396
laforge at

#219 (Mar 22, 2021, 11:41:06 AM)

ogt: Update base image to debian buster

The OGT build setup and the physicial setup use now debian buster. Let's
update this container too to buster to avoid different versions of libs
during build and runtime (such as libasan).

Change-Id: If5adfb3c52ec5ded2adaca984e7a8c05f5866d34
Pau Espin Pedrol at

#218 (Mar 19, 2021, 7:21:05 AM)

Add debian-buster-jenkins docker setup

It will be used by osmo-gsm-tester docker image right now, and at some
point in the future jenkins nodes will also migrate to it.

Change-Id: Ibfdec6007357a90212dea7d39300f04ce8ffdf65
laforge at

#217 (Mar 18, 2021, 1:41:09 AM)

ttcn3-bts-test: use 'gsmtap-remote-host' parameter

Command line argument '-i' has been deprecated.

Change-Id: Ib01069a55a27e79c67b76abe39763c1b645075e5
Related: I17676a21c4e0c9cbc88f2c5c53a39c6c6c473ca1
Vadim Yanitskiy at
ttcn3-bts-test: use 'gsmtap-sapi enable-all' parameter

Keep PDTCH/PTCCH disabled, it will blow up PCAPs otherwise.

Change-Id: I551a6da7858342279db3c5e8ebff250a7922a291
Vadim Yanitskiy at
ttcn3-bts-test: OML tests ivolve no GSMTAP Um logging

Change-Id: I50891130eaf7957efbf71839564a5dd9d58a1e3f
Vadim Yanitskiy at

#216 (Mar 16, 2021, 4:26:07 PM)

fr: kill the frnet container before trying to 'rm' it

+ docker container rm jenkins-ttcn3-fr-test-109-frnet jenkins-ttcn3-fr-test-109-ttcn3-fr-test
jenkins-ttcn3-fr-test-109-ttcn3-fr-test
Error response from daemon: You cannot remove a running container 4f5ec7f412b2d37d00b2738b2bcddffada36efebfe7ce32ed196543ee436154e. Stop the container before attempting removal or force remove

Change-Id: I66ed0d073bdd6962f78da54232d6bc58adc09e2c
laforge at

#215 (Mar 16, 2021, 3:56:07 PM)

ogt: Drop old arfcn leftovers from resources.conf

Those arfcn objects were never really used smartly and new versions of
OGT don't support it.

Change-Id: I0cbcd0f3df92393f03f29c81013e1f4b6b9aa830
Pau Espin Pedrol at

#214 (Mar 16, 2021, 3:11:07 PM)

ttcn3-docker-prepare.sh: fix handling of multiple PROJECTs

Change-Id: Ib921d7c5cb2c628f3eca8d5c886375f3288e1dd6
Vadim Yanitskiy at

#213 (Mar 16, 2021, 3:01:07 PM)

ttcn3-fr-test: store execution logs for both containers

Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7
Vadim Yanitskiy at

#212 (Mar 16, 2021, 10:31:10 AM)

ttcn3-fr-test: add missing TTCN3_PCAP_PATH for '-frnet' container

Change-Id: Ide1b10f342f1f9d2b3bf432291218ed057f51de8
Vadim Yanitskiy at

#211 (Mar 15, 2021, 4:21:06 PM)

ttcn3-sgsn-test/osmo-sgsn.cfg: drop deperecated log categories

Change-Id: I7e307eb2c504ff392edda5e6a25cdda5fcdc6442
Vadim Yanitskiy at

#210 (Mar 13, 2021, 9:16:09 AM)

debian-stretch-build: add missing respawn.sh

In I3ec86c8610b3b43d39ea8e3da444861d317ced4e the container-individual
respawn.sh has been replaced with a common one - but unfortuantely
missing to update the debian-stretch-build, which made (at least)
ttcn3-bts-test builds fail for two nights now.

Change-Id: I15dcfe317d7ba81b9df0b5ceef142f4eae1ef3f3
laforge at

#209 (Mar 12, 2021, 11:56:07 AM)

ttcn3-pcu: Disable sending all DATA.ind on pcu -latest

Change-Id: I4365d54c64e750a708e04e36ea131ec7499560f1
Depends: osmo-ttcn3-hacks.git Change-Id Ib4f97a9bcfa68230945effeb6412218faa64ec78
Related: OS#5020
Pau Espin Pedrol at

#208 (Mar 11, 2021, 2:11:08 PM)

make/Makefile: use git to get the project's root directory

Change-Id: I87a425515692e62df7b593a3c2a5b88a765d217d
Vadim Yanitskiy at
Make respawn.sh a common part of *-build/-obs images

Maintaining several versions of the same file in different folders
is a bad idea, because at some point their content gets out of sync.
This is exactly what happened to 'respawn.sh': sleep()ing was only
implemented in 'osmo-bts-master/respawn.sh', other versions of this
file would simply ignore '$SLEEP_BEFORE_RESPAWN'.

The easiest solution would be to have all common files in a single
directory, however Docker does not allow to ADD files from outside
of the build context.  In other words, all files must be in the
same directory as the Dockerfile itself.

Modify 'make/Makefile' in order to copy the contents of common
directory to the current build context ('pre-build' target) and
remove it after building ('post-build' target).

Change-Id: I3ec86c8610b3b43d39ea8e3da444861d317ced4e
Vadim Yanitskiy at
Share a single instance of Release.key between all images

This change employs the same approach as [1] for Release.key.

Change-Id: Ic51d6e6557ee0b56d21d8ff4feaf04bc02e41a2e
Related: [1] I3ec86c8610b3b43d39ea8e3da444861d317ced4e
Vadim Yanitskiy at

#207 (Mar 10, 2021, 2:46:09 PM)

debian-stretch-build-dist: use -obs-latest

Change debian-stretch-build-dist to be based on
debian-stretch-obs-latest instead of debian-stretch-build. The latter
installs the nightly OBS repository now (as that is what we need for the
TTCN-3 builds using debian-stretch-build), but debian-stretch-build-dist
needs to install packages from OBS latest.

Fixes jenkins failures:
  The following packages have unmet dependencies:
   libasn1c-dev : Depends: osmocom-latest but it is not going to be installed
   ...

Related: OS#5049
Change-Id: I2cf6ed732e55b8f0e63bd8fc040749bd16676d0f
Oliver Smith at

#206 (Mar 10, 2021, 10:56:08 AM)

osmo-msc-latest: centos8: add libdbi-dbd-sqlite

The missing dependency is being added to osmo-msc master's
contrib/osmo-msc.spec.in file. Until the next release is done, which
contains the patch, install the library explicitly to fix:
  <0009> db.c:648 Failed to create database connection to sqlite3 db 'sms.db';
                  Is the sqlite3 database driver for libdbi installed on this system?

Related: https://gerrit.osmocom.org/c/osmo-msc/+/23284
Change-Id: I27d4573de22a8e013623ec606e056d348102abd1
Oliver Smith at

#205 (Mar 9, 2021, 1:36:07 PM)

*/osmo-bsc.cfg: remove obsolete no-op parameters

Change-Id: Idebf9df98648b3fe8213cae550ce50e9805bac96
Vadim Yanitskiy at

#204 (Mar 9, 2021, 12:46:07 PM)

*/osmo-bts.cfg: remove obsolete 'uplink-power-target'

Change-Id: Idbfe29f1eed05f9d70d6664f21c92cf44c954c26
Vadim Yanitskiy at
fix ttcn3-bsc-test under CentOS: install missing osmo-bts-omldummy

In binary packages for Debian, osmo-bts-omldummy is (for some reason)
part of 'osmo-bts-virtual' package.  For CentOS this binary is
shipped properly in a separate package, so let's install it.

This change fixes ttcn3-bsc-test under CentOS failing with:

  /usr/local/bin/respawn.sh: line 9: osmo-bts-omldummy: command not found

Change-Id: Ibbfd88d914a31dcfd3e33c6025d612d456b6b124
Vadim Yanitskiy at

#203 (Mar 9, 2021, 10:36:06 AM)

debian-stretch-jenkins: install osmo-trx depends

Add liblimesuite-dev and libuhd-dev, so we can successfully build
osmo-trx in docker in master-builds and gerrit-verifications.

Related: OS#5055
Change-Id: Ieec31fd6a2034c4430be81afd1d370816cd577d5
Oliver Smith at
osmo-remsim-master/Dockerfile: add missing libcsv-devel dependency

Change-Id: Id15932c554e8bc3f64f0372555ec563f222efe5d
Vadim Yanitskiy at

#202 (Mar 8, 2021, 7:36:07 PM)

Revert "ttcn3-pcu: Disable sending all DATA.ind on pcu -latest"

This reverts commit b70b3c1a80110329aa7c6a8be5a9e0ced511be13.t

The patch was merged too quickly before osmo-ttcn3-hacks.git one.
Revert temporarily to avoid all tests failing due to non-existant module
parameter.

Change-Id: I61850cb0ea5ef2a86657dc8390ad7dbcb943b4bf
Pau Espin Pedrol at

#201 (Mar 8, 2021, 9:36:08 AM)

ttcn3-pcu: Disable sending all DATA.ind on pcu -latest

Depends: osmo-ttcn3-hacks.git Change-Id Ib4f97a9bcfa68230945effeb6412218faa64ec78
Related: OS#5020
Change-Id: Id265d08a31f6bc803c565c3ca465bc19f1088b92
Pau Espin Pedrol at

#200 (Mar 8, 2021, 8:36:07 AM)

debian-stretch-obs-latest: new container

Move common code from osmo-*-latest to debian-stretch-obs-latest:
* add the OBS repository key
* add the OBS repository with "latest" feed
* install telnet
* invalidate the cache once the repository is updated

This is in preparation to make osmo-*-latest work with centos8,
preventing the following issues we would have without this refactoring:
* avoid need to read the repository index of both debian-stretch and
  centos8, and to invalidate the cache if either of them changes
  (instead of just the relevant one). This is currently a problem in
  osmo-*-master/Dockerfile, Id69f3eaf37f823bac0947366f27a25edd277a4cb
  will fix it there.
* no need to add boilerplate code to install the centos8 repository to
  each osmo-*-latest/Dockerfile

While at it, also remove deprecated MAINTAINER lines.

Related: OS#5049
Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: I443d52eba416ea298cc5421e280ad2f4ca59283b
Oliver Smith at
osmo-*-latest: support centos8

Add a new centos8-obs-latest container with shared code (just like
debian-stretch-obs-latest) and adjust the package install blocks in
osmo-*-latest.

Related: OS#5049
Change-Id: I274b31d4903df07e99fd434af25bdb72991f6923
Oliver Smith at
osmo-*-master: move common code to *-build

Move common code from osmo-*-master to debian-stretch-build and
centos8-build:
* add the OBS repository key (debian only)
* add the OBS repository with "nightly" feed (debian only, already done
  for centos8)
* install telnet
* invalidate the cache once the repository is updated

While at it, remove deprecated MAINTAINER lines.

This fixes the need to read both the repository index of debian-stretch
and centos8 and having to invalidate the cache if either of them changes
(instead of reading just the relevant index and invalidating the cache
only if the relevant one changes).

A similar change was done with osmo-*-latest in
I443d52eba416ea298cc5421e280ad2f4ca59283b.

Related: OS#5049
Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: Id69f3eaf37f823bac0947366f27a25edd277a4cb
Oliver Smith at

#199 (Mar 5, 2021, 4:01:06 PM)

osmo-ggsn-latest: add more kernel build depends

Add everything needed to run ttcn3-ggsn-test-kernel-* jobs.
osmo-ggsn-master needs less dependencies, as more get installed in the
base image debian-stretch-build.

Related: OS#3208
Change-Id: Iaef87c3418b8e6f1e427b2abd9d40e9e28dc63e9
Oliver Smith at
osmo-msc-latest: implicit libdbd-sqlite3 install

Remove the explicit mention of libdbd-sqlite3, as it is in the depends
of osmo-msc now.

Related: OS#3771
Change-Id: I0b6d8ea4295021ce5470ee342ed7d89b42886348
Oliver Smith at

#198 (Mar 2, 2021, 12:21:10 PM)

Add osmo-gbproxy-latest container

Change-Id: I285cb51da03b793eab994ff3c00de16097e3f992
laforge at

#197 (Mar 2, 2021, 11:21:10 AM)

add osmo-smlc-latest container

Change-Id: I714758ddd832e77b592dec5d17ef3568420d11ff
laforge at

#196 (Mar 1, 2021, 12:31:10 PM)

kernel-test: verify REMOTE_NAME and URL

If the checked out git repository already has a remote with the name
KERNEL_REMOTE_NAME, make sure that the KERNEL_URL matches the remote
URL.

Motivation for this change is osmo-ci
I5d4202a67a24d9c15a5b211fa29ce9d5b5a9d9c1, which will expose the
parameters in the jenkins job.

Related: OS#3208
Change-Id: I18b29011e3e8e2577bdf1a9c64c4370309cc8399
Oliver Smith at
README.md: describe OSMO_*_BRANCH

Copy description from wiki, so the README.md describes all environment
variables, and the wiki page can link to the README.md.

Change-Id: I23077edf153b76f7936f0b874e87bb7424766b19
Oliver Smith at

#195 (Feb 28, 2021, 10:21:09 AM)

ttcn3-cbc-test: fix copy+paste error regarding osmo-stp.cfg

Change-Id: I1517238e997605cbcf265b97526694d17137f00e
laforge at

#194 (Feb 26, 2021, 4:21:06 PM)

kernel-test: don't try to use KVM if not available

Disable KVM if /dev/kvm is missing, as it is apparently the case on our
jenkins nodes. This makes the tests run a bit slower, but not much. Add
kernel_test_wait_for_vm to sleep until the VM is booted up (~5s instead
of ~1s without KVM), so the first test in the testsuite does not fail
when using KVM.

The variable is useful to test the non-KVM code path even if KVM is
available on the host.

Related: OS#3208
Change-Id: I1f337af1e2de6db05b22636bc31a535404235559
Oliver Smith at

#193 (Feb 26, 2021, 3:36:05 PM)

Get rid of uneeded param StatsD_Checker.mp_enable_stats

This param is currently set to true by default and will be removed soon.

Related: OS#5042
Depends: osmo-ttcn3-hacks.git Change-Id I4e2049c109986906d3c985ca2282174b1abff581
Change-Id: I3c7e7dc985a339d884dc388b33bf8a6ec986c5b7
Pau Espin Pedrol at
ttcn3-bsc: Get rid of uneeded param BSC_Tests.mp_media_mgw_offer_ipv6

This param is true by default and there's no one setting it to false
anymore (and soon will be removed).

Related: OS#5042
Change-Id: I1780320c69ec4a9f086677fd4884dec674f8332e
Pau Espin Pedrol at
bts-test: Drop uneeded module param RSL_Emulation.mp_rslem_patch_ipa_cid

Since we updated -latest to new releases, this param is never set to
true anymore. Furtermore, it will be dropped soon completely.

Related: OS#5042
Depends: osmo-ttcn3-hacks.git Change-Id I39e9c1986ea682d54dcb22b31798ca91f1677949
Change-Id: I4bda577f1ed6964a2114df1aba366177998f0854
Pau Espin Pedrol at
ttcn3-hlr: Drop uneeded module param HLR_Tests.mp_hlr_supports_dgsm

Since -latest was updated to newer releases, this param is never set to
false anymore, and it already defaults to true, so there's no need to
set it here explicitly. Furthermore, it will be completely dropped soon.

Change-Id: Icab36eba29ad4fadd07ec804ef713910b80ce706
Pau Espin Pedrol at
ttcn3-msc: Drop uneeded module params

Since -latest was updated to newer releases, there's no need to change
the values of these params. Furthermore, they will be completely dropped soon.

Change-Id: I6121b435c5b984eab64d953e9d3f26eecc0e7bc5
Related: OS#5042
Pau Espin Pedrol at
ttcn3-sip: Drop uneeded module param MNCC_Emulation.mp_mncc_version

Since -latest was updated to newer releases, this param is never set to
changed anymore, so there's no need to set it here explicitly.

Change-Id: Ia9d6b7f383d6532f8f2da381e80f98af82a98e74
Related: OS#5042
Pau Espin Pedrol at

#192 (Feb 26, 2021, 8:36:08 AM)

jenkins-common.sh: add common clean up trap

Add set_clean_up_trap() in jenkins-common.sh and run it at the beginning
of the jenkins.sh files. Move the common clean up code from the end of
every jenkins.sh file into clean_up_common(), which gets called by the
trap. Add a custom clean_up() function to those jenkins.sh files that
need additional clean up.

Replace explicit container stop commands (for containers attached to the
docker network) with one call to network_clean() in clean_up_common(). It
kills all containers attached to the docker network.

The motivation for this change is the upcoming optional build of initrd
and kernel during ttcn3-ggsn-test/jenkins.sh. After building these, a
short smoke test will be performed to make sure we can boot the kernel
and initrd, before continuing to run the entire testsuite against it. If
building or the smoke test fails, we must do a proper clean up of the
network and fix permissions.

Related: OS#3208
Change-Id: I807c6221d22fec31db23e2516e477a3eb43347fb
Oliver Smith at
*/jenkins.sh: set -e after setting clean up trap

Abort the script and trigger the clean up script, whenever any of the
commands below to prepare the testsuite are failing. This saves time
with figuring out why suddenly all or most tests are failing, and avoids
running the entire testsuite on jenkins if it's obviously not going to
work.

Related: OS#3208
Change-Id: Ie68da2affda8c96b3a515a857a921a05f1bf8ef7
Oliver Smith at
jenkins-common: put fix_perms() in clean_up_common

Don't call fix_perms from collect_logs anymore, it looks like it was
only added there to avoid adding it at the end of each jenkins.sh. Now
that we have clean_up_common, put it there.

Related: OS#3208
Change-Id: I6e7e5b35198f420e130b1282eb948b96ccd6c8e0
Oliver Smith at
osmo-ggsn-master: add configure --enable-gtp-linux

Related: OS#3208
Change-Id: I8cf3de4775aa82bfdad1bf2c40aab3b50e910db3
Oliver Smith at
ttcn3-ggsn-test: add kernel test

Make it possible to run ttcn3-ggsn-test against osmo-ggsn with the GTP
kernel module. This feature is enabled by environment variables
explained in ttcn3-ggsn-test/jenkins.sh, and can either use the
pre-built kernel from Debian, or build a kernel from source.

The kernel runs inside QEMU inside the usual osmo-ggsn-master docker
image.

Thanks to Pau for providing the kernel config and kernel-test scripts
that this patch is based on! I ended up modifying them quite a bit to
fit the docker use case, and to build the initrd (so we can use the
stock debian kernel).

Related: OS#3208
Change-Id: I54e752048eed2a170a1cf4e0fd410de255b9de5d
Oliver Smith at

#191 (Feb 25, 2021, 4:51:06 PM)

Remove test backward compatibility with older osmo-* versions

These changes are no longer needed since master versions of whole CNI
have been recently released.

Related: OS#5042
Change-Id: I6f491b58d4576b22c8ff3ab56a7b9e17163a8739
Pau Espin Pedrol at

#190 (Feb 23, 2021, 7:56:06 PM)

add osmo-cbc-latest container

Change-Id: Ia0071a52a7cdb4f8e53570e05d0d4c2848d0577a
laforge at

#189 (Feb 22, 2021, 1:46:10 PM)

cbc: Add osmo-cbc-master container

Change-Id: I7f144899725cd0f049f860beced45e37b3242a93
laforge at
cbc: New ttcn3-cbc-test container

Change-Id: I4386aeee8ba6d7aec7f879bad28208b7f27a45d9
laforge at

#188 (Feb 19, 2021, 5:16:05 PM)

gbproxy: update sns configuration to use ip-sns-bind

With libosmocore commit the SNS configuration requires a ip-sns-bind vty configuration
to define the binds which should be use.

Related: SYS#5354
Depends-on: I9ab8092bf286e7d90e92f5702a5404425e959c84 (libosmocore)
Change-Id: I11541540468584fc17a18fa294da5c9813c28d64
lynxis at

#187 (Feb 16, 2021, 5:41:09 PM)

ttcn3-gbproxy-test: remove broken merge logs cmd

Remove commands that result in a docker error message, like in
Ie6f8270230e1f0372b63d610b7868ea8719b18ad.

Change-Id: I9dec8d27c0f09cd8ee75255c8dfa314c70387ee9
laforge at

#186 (Feb 15, 2021, 11:31:08 AM)

gerrit: update to 3.2.7 for security reasons

Change-Id: Ib51cb5466ec2eddeb76e1853a4c1206f9a8e5fd0
laforge at

#185 (Feb 15, 2021, 7:11:07 AM)

Revert "RFC: allow to set configuration and/or specific testcases"

Fix error message reported by Pau:
  docker: invalid reference format: repository name must be lowercase.

This happens in the "docker run" command after the "Starting container
to merge logs" message, because the arguments to --entrypoint are not in
quotation marks. The command fails.

Logs were merged anyway, because
If03422bb8fb126fe6f204a4f8bc6edf0cbb7f194 had already reverted half the
patch and added the log merging back to the Dockerfile.

This reverts commit 73663b01f21e9a01cf3e5048d802270c482852cf.

Change-Id: Ie6f8270230e1f0372b63d610b7868ea8719b18ad
Oliver Smith at

#184 (Feb 12, 2021, 3:01:09 PM)

ttcn3: use REGISTRY arg with debian-stretch-titan

Allow jenkins to fetch the image from our private docker registry.
Outside of jenkins, the image is built locally just like before.

Related: OS#5017
Change-Id: I46cc176ea09d8badc359b627d7ce2f459211258c
Oliver Smith at

#183 (Feb 11, 2021, 3:11:08 PM)

ttcn3: remove /root/projects/git symlink

Remove leftover from old TTCN-3 build scripts, before refactoring ttcn3
Dockerfiles. This line has already been removed in 357ec806 from 2017 for
ggsn-test.

In osmo-ttcn3-hacks.git, this is only referenced in the obsolete
bin/install.script (looks like we could remove that, together with the
rest of the bin dir?).

Related: OS#5017
Change-Id: Id23e7fae58ba246916a38aa0a10035d4f67f7588
Oliver Smith at
ttcn3: move initial clone to debian-stretch-titan

Clone the osmo-ttcn3-hacks and all dependency repositories less often by
moving related commands to the shared debian-stretch-titan image.

Remove the 'git checkout -f -B master origin/master' line, because the
master branch is checked out by default.

While at it, move the shared "git config" commands too, and move them
before cloning the repositories, so they don't run again whenever the
deps change (logic to invalidate the cache if deps change will be added
in the next patch).

Related: OS#5017
Change-Id: I2bb142dce061eba4b6a828c4e435510e309989fd
Oliver Smith at
debian-stretch-titan: update deps on change

After the initial clone of osmo-ttcn3-hacks and deps, let docker
download deps/Makefile to invalidate the cache if the file changed.

Run "git pull" and "make deps" afterwards, but only if the Makefile is
different. The "if" saves time in the initial build of the image, it
avoids the "git fetch" on every dependency repository during "make deps".

Related: OS#5017
Change-Id: I56673312cfb23375d67900016aaac1931f677275
Oliver Smith at
ttcn3: move prepare code to shared script

Move the git fetch/checkout code and make call to build the testsuite,
to debian-stretch-titan/ttcn3-docker-prepare.sh. In the next patch, I
will extend the script to update deps right before building too (e.g.
because OSMO_TTCN3_BRANCH changed).

Related: OS#5017
Change-Id: I4b5bedf058dc527e821f9b7204c632820e671af9
Oliver Smith at
debian-stretch-titan: prepare: run 'make deps'

Run 'make deps' in ttcn3-docker-prepare.sh, if needed.

Related: OS#5017
Change-Id: I9085203b27d310b63a035fd71f7c2a78d02710d4
Oliver Smith at
debian-stretch-titan: prepare: start/stop links

Create symlinks to ttcn3-*-start.sh and ttcn3-*-stop.sh in the
prepare.sh script instead of in each of the ttcn3 Dockerfiles.

Related: OS#5017
Change-Id: I634cf71cff7936efe6e0461d21dc1119de922ada
Oliver Smith at
ttcn3: move shared run code to script

While I'm at it with tidying up the Dockerfiles, create a
ttcn3-docker-run.sh with shared run code.

Related: OS#5017
Change-Id: Id90769707158f0488eca2313c57b99ea7a4a27c8
Oliver Smith at
ttcn3-{fr,gbproxy}-test: use ttcn3-docker-run too

Move the shared pipework script to the base image, and call it in
ttcn3-docker-run.sh if WAIT_FOR_NETDEV is set. Use ttcn3-docker-run.sh
as entrypoint in both Dockerfiles and remove the custom entrypoint
scripts (which are the same as ttcn3-docker-run.sh now).

Related: OS#5017
Change-Id: I2889abe94ed522a205890e5cb39e09cbebfbd820
Oliver Smith at

#182 (Feb 11, 2021, 11:56:07 AM)

osmo-sip-master: Don't install packages not required

We don't need to install dozens of packages that osmo-sip-connector
never had as an upstream dependency.

Change-Id: I604c9843866c100f12574f1ca37ff853a1b64f42
laforge at

#181 (Feb 10, 2021, 4:01:08 PM)

redmine: Make changeset keywords work with OS# annotation

In Osmocom we annotate osmocom issues as OS#1234 and not just as #1234,
in order to distinguish them from redmine or coverity issues.

Change-Id: I04a97434433a022f47a759a8219458e8772ae71e
Related: OS#5005, OS#3291
laforge at

#180 (Feb 10, 2021, 1:11:07 PM)

gbproxy: Fix ip-sns VTY config

Change-Id: I8faa5d29bfffe50c76c1b907717144ff893126a3
Related: SYS#5354
Depends: Ida979f3b9daa5f7280a629441e4006a7635653b0 (libosmocore.git)
dwillmann at

#179 (Feb 4, 2021, 8:51:07 PM)

Add osmo-gbproxy-* container for osmo-gbproxy

Uses the new repo split off of osmo-sgsn

Related: OS#4992
Change-Id: I1e7ede4d1da54e3bcb286213b34401bd9dcf7cc1
dwillmann at

#178 (Feb 4, 2021, 2:13:19 PM)

ttcn3-fr-tests: Configure MTU to 1700

On our deb10fr VMs we have the modified kernel HDLC module supporting
the frame relay MTU up to 1700 bytes, so let's extend our tests to cover
that.  Mainline kernels only support 1500 bytes.

Depends: osmo-ttcn3-hacks.git I8e38ecf6b270c81bd73ee43b1fa0b259a999c14b
Change-Id: Id25532edbf5e1a918ad038723da464723d6f03f0
laforge at

#177 (Feb 4, 2021, 9:41:08 AM)

ttcn3-fr-tests: Disable junit-xml generation for FRNET_Tests

FRNET_Tests is not a test suite, but just a stub against which we
execute FR_Tests.  Hence, we don't want it to generate a junit-xml,
as that doesn't contain any errors and only upsets our jenkins
test results analyzer, assuming the tests have failed.

Change-Id: Idec2bf8da30ccd211b21901d56979143ce3a172f
Requires: osmo-ttcn3-hacks.git Id296e62fb86731492d42370173a48f217b2fbdc0
laforge at

#176 (Feb 3, 2021, 9:26:09 PM)

New ttcn3-fr-test container

Change-Id: I32433871e25de46ef58b70af46400cbb4dc0dbc5
laforge at

#175 (Feb 1, 2021, 1:46:07 PM)

osmo-pcu-master/Dockerfile: add missing libosmoctrl dependency

Since Id35f40d05f3e081f32fddbf1fa34cb338db452ca, osmo-pcu also
depends on libosmoctrl.  Debian based images work just fine,
because they depend on libosmocore-dev, while for CentOS we
need to specify all sub-libraries explicitly.

Change-Id: I6cccb77432b2b8fcb9f90c5205f7f1fb9dc41910
Vadim Yanitskiy at

#174 (Feb 1, 2021, 11:26:06 AM)

ttcn3-pcu: Update configs to support NACC tests

Change-Id: If027812940579a7f344a36543e85518cc096905b
Pau Espin Pedrol at

#173 (Jan 28, 2021, 9:26:07 PM)

sgsn: change configuration to the new NS2

Change the whole vty configuration for NS to be more flexible
and support more setups. Old configurations are invalid.

For further information see:
https://osmocom.org/projects/libosmocore/wiki/Network_service_(NS)

Depends-on: Ie9306ab4d4738c2c57a69987086e22771b30657e (osmo-sgsn)
Change-Id: I65fb4e52d22617cf8488d8ab77c970f84995560d
lynxis at

#172 (Jan 25, 2021, 12:51:07 PM)

ttcn3-gbproxy-test: s/sgsn/gbproxy/

the jenkins.sh script was copied from the SGSN test suite and still
mentioned sgsn at several places when actually intending to mention
gbproxy.

Change-Id: I8709121d8501da4afc1c8dda70356096d331a9b0
laforge at

#171 (Jan 25, 2021, 9:26:06 AM)

debian-repo-install-test: remove Release.key

Make debian-repo-install-test simpler before copying it for debian10.
Don't install Release.key, as it is getting downloaded on demand in the
related repo-install-test script since osmo-ci
I91e7a208d8f5cb50f8baa2fde0eb979aae91da8f.

Related: OS#4969
Change-Id: Ia2ba9de264531502e2b0b9f42d7a4ecd34375851
Oliver Smith at
rename {debian => debian9}-repo-install-test

Prepare to add debian10-repo-install-test. Make it consistent with
centos8-repo-install-test.

Related: OS#4969
Change-Id: I2ea18997019ebaa013c258996f5131386bcd6426
Oliver Smith at
debian10-repo-install-test: new container

Related: OS#4969
Change-Id: I7addb30aa3f8564dcbdc3f6cf2e2e0cfdf4dd02d
Oliver Smith at

#170 (Jan 25, 2021, 8:56:06 AM)

ttcn3-pcu-test-sns: Fix syntax errors in config file of previous commit

Change-Id: Ia291579d792019779ca40bc3cc1955dede6aa2e0
Fixes: I401f53bddd81e8386c01392d9a59c3b5ca8e9802
laforge at

#169 (Jan 24, 2021, 3:16:08 PM)

ttcn3-pcu-test-sns: fix DTE 'Encoding an unbound integer value'

Starting from build #245 [1] all test cases fail due to DTE:

  RAW_NS.ttcnpp:62 Dynamic test case error:
    Text encoder: Encoding an unbound integer value.

This happens because fields 'data_weight' and 'signalling_weight'
are both unbound for two additional NS providers.  Fix this.

[1] https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-pcu-test-sns/245/

Change-Id: I401f53bddd81e8386c01392d9a59c3b5ca8e9802
Fixes: Ic607b3edc3bf724a8b2dbd6be8c806002c229509
Vadim Yanitskiy at

#168 (Jan 21, 2021, 7:56:08 PM)

osmo-gbproxy: fix configuration

also, only change those values from their default values that are
neccessary to change; fall-back on the defaults whenever possible.

Change-Id: I5fba21ddf1854ed2b4f829785ab016dfa284456e
laforge at

#167 (Jan 21, 2021, 9:46:06 AM)

gbproxy,pcu,sgsn: Update config files

In upstream I9798e639b4bc8658482945970775b012b5840779 we introduce
two additional fields per NSVC (data_weight, signalling_weight). Make
sure those are specified everywhere.

Related: OS#4953
Requires: osmo-ttcn3-hacks.git I9798e639b4bc8658482945970775b012b5840779
Change-Id: Ic607b3edc3bf724a8b2dbd6be8c806002c229509
laforge at
gbproxy: Use separate NS-VC for data + signaling

This follows the change implemented in osmo-ttcn3-hacks.git
If0e404bdf2c30a5e18748695608611be83f61109 to use data-only
and signalling-only NS-VCs on the SGSN side

Change-Id: I58f8a6d1c8d01551d366bd7d0dbfb892cce512ae
Requires: osmo-ttcn3-hacks.git If0e404bdf2c30a5e18748695608611be83f61109
Related: OS#4953
laforge at

#166 (Jan 19, 2021, 3:46:06 PM)

ttcn3-pcu-test/sns: add configuration for 2nd and 3rd nsvc

With the change to NS_Provider the configruation has to be extended to also include
the other nsvcs.

osmo-ttcn3-hacks: c316572db111 ("RAW_NS: rework NS connection to use NS_Provider")
Change-Id: I8020f808c06054ee38427de65b8c3867817d4ad2
lynxis at

#165 (Jan 17, 2021, 6:31:10 PM)

gbproxy: Update configs for SGSN poool with 2 SGSN, NRI, ...

Change-Id: Iac57e079d1375f186ddc200471bad1fa622c8860
laforge at

#164 (Jan 13, 2021, 3:01:08 PM)

fpga-build: add osmo-ci

Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin.

Related: OS#4911
Change-Id: I3625d6f10e566101fb25963757da6827670ca41b
Oliver Smith at
debian-stretch-jenkins,fpga-build: add gsm-manuals

Prepare to remove 'build-deps.sh osmo-gsm-manuals' calls from all
projects.

Related: OS#4912
Change-Id: Id402e0ea372b5ca8a6c8f6f5beb190544c888207
Oliver Smith at
Cosmetic: debian-stretch-jenkins, osmo-gsm-tester: fix indent

Change-Id: Ia6b12b2c35f69eb0434797b29ee0ef676b032250
Oliver Smith at
fpga-build: don't write path to /etc/environment

PATH isn't overwritten anymore when jenkins runs docker in osmo-ci.git's
master-builds.yml / gerrit-verifications.yml, therefore we can remove
this hack.

Change-Id: I5bff98f7af1a2f2de88c8d96d1e30de960057d01
Oliver Smith at

#163 (Jan 12, 2021, 6:06:09 PM)

ttcn3-gbproxy-test-fr: fix SNS ip address

Change-Id: Iba5aee47fb237884d4b0238b9cef4e2370e7ce09
lynxis at
make osmo-gbproxy.cfg in ttcn3-gbproxy and ttcn3-gbproxy-fr to look similiar

Reduces human error when changing the configruation for both
cases.

Change-Id: I807589cc04f23d483695467320d34d79eaf5d290
lynxis at

#162 (Jan 12, 2021, 8:31:07 AM)

debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci

Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin. Together with osmo-ci
I45bd7ea56849dab839a98cfd52806f7cd288094e, this will make overwriting
PATH obsolete.

Related: OS#4911
Change-Id: I0820f13cd740f7d4a8999d279cef6ae293a67d81
laforge at

#161 (Jan 12, 2021, 8:26:07 AM)

gbproxy-fr: Enable IP-SNS towards SGSN

Change-Id: Id59cc404c355a3f494ad60be8d3a499b217084ec
lynxis at

#160 (Jan 11, 2021, 12:26:08 PM)

gbproxy: Enable IP-SNS towards SGSN

Change-Id: Iebbad7131d73c15ef7ded5eadce882c653b8bf2c
dwillmann at

#159 (Jan 11, 2021, 3:36:06 AM)

ttcn3-gbproxy-test: Fix pcap capture with dumpcap

In commit 2279aac6 dumpcap is used to capture pcaps, but dumpcap fails
if the directory isn't writable for everyone.
Commit 62ac27779 only fixed this issue for frame relay, this simply
mirrors the change for ttcn3-gbproxy-test

Change-Id: I11dcf9efd0b06544a82e31dec03fe76e182fd0d3
Related: OS#4518 SYS#5115
dwillmann at

#158 (Jan 5, 2021, 6:01:10 PM)

ttcn3-gbproxy-test: Fix osmo-gbproxy config

Change-Id: If6fd41d0cecb807f002d87e18d4b0d80f41977ef
dwillmann at

#157 (Dec 29, 2020, 11:21:10 PM)

osmo-gbproxy: Change config file to comply with change in upstream

In osmo-sgsn Change-Id Id67592aa7712e5e04e7264b2fb8f26d57eb7e69e we
have changed the config file syntax and must adjust here accordingly.

Change-Id: I8770baac2298ee9a71d7428ea30600751783b4f9
Depends: osmo-sgsn Id67592aa7712e5e04e7264b2fb8f26d57eb7e69e
laforge at

#156 (Dec 18, 2020, 11:46:09 AM)

Introduce osmo-ran docker image set up

See osmo-ran/README.md in this commit for a description.

Related: SYS#4889
Change-Id: If5d22e9fa818310cbb4adc34bd7aceb4416ec969
laforge at

#155 (Dec 17, 2020, 4:16:07 PM)

fpga-build: install missing toosls required for 'publish' and manuals

Change-Id: I7b416117e80133fcf4c07ee540d15783f4576fbd
laforge at

#154 (Dec 17, 2020, 3:36:37 PM)

fpga-build: Make sure PATH is also set for non-root users

Change-Id: I16bf9c8cafbad85a6ec77f17b034c73f530565b9
laforge at

#153 (Dec 17, 2020, 2:41:07 PM)

fpga-build: Add packages required for rendering manuals

Change-Id: Ic9bec0689b3571db9cafa8a1671aa3bc68c3f4e5
laforge at
fpga-build: Create 'build' user like in 'debian-stretch-jenkins'

Change-Id: Id99167568751b19f3454831e69eacdbadaf8aee4
laforge at

#152 (Dec 16, 2020, 2:11:07 PM)

ttcn3-bts-test: fix: sleep 1 second before respawning the IUT

There has been a lot of changes merged to both osmo-{bsc,bts}, so
now the later seems to be respawning faster then before.  Because
of that, osmo-bts-trx is now reaching the limit of 500 runs on
Jenkins right in the middle of ttcn3-bts-test execution:

  respawn.sh: exiting after 500 runs

causing the remaining test cases to fail due to:

  "BTS_Tests.ttcn:253 : Timeout waiting for RSL bring up"

Most likely, the IUT respawns several times in the windows between
the test cases, i.e. after TITAN finishes one test case and before
it starts another.  Let's instruct respawn.sh to sleep 1 second
before starting the process again.

Change-Id: I09e5a8e7c4d28424cd0d004a8bae3cf0ade2d838
Vadim Yanitskiy at

#151 (Dec 16, 2020, 10:01:06 AM)

migrate from CentOS_8_Stream to CentOS_8

Change-Id: I72c8fdae14816ec0a243f3fca4b4c2a49b562845
Related: SYS#5250
laforge at
centos8-build: Make 'make' work again

Change-Id: I695ff7d6db7026a3b91771d4964f23d3151ef0aa
laforge at
fpga-build: Make riscv + fpga toolchain version configurable

Change-Id: I8969e383975c673c29169ff5b60229c4a75a499c
laforge at

#150 (Dec 11, 2020, 5:16:10 PM)

gbproxy-test-fr: Avoid dumpcap failing to write to /data

Change-Id: I73dbdb4d85342e5fccd5ea4d9927f3244293d718
laforge at

#149 (Dec 11, 2020, 3:31:09 PM)

debian-stretch-titan: Add wireshark-common for dumpcap

We need dumpcap by ttcn3-dumpcap-start.sh

Change-Id: I0879710ff200bde7f77584dfb69cfb14f02f5d69
laforge at

#148 (Dec 11, 2020, 2:51:09 PM)

ttcn3-gbproxy-test: Use dumpcap instead of tcpdump

This is required for creating proper pcap files with both ethernet
and framerelay/hdlc traffic.

Change-Id: Id237c25b12e70a89f12bd6d745b09c3abf9b7a7a
laforge at

#147 (Dec 11, 2020, 11:21:08 AM)

ttcn3-gbproxy-test-fr: depend also on osmo-sgsn-master

osmo-gbproxy-master is derived from osmo-sgsn-mater, and the former
needs to be re-built to catch up with osmo-sgsn.git changes (Where
the osmo-gbproxy source code is located)

Change-Id: I8abc9f89d19d657403569b7705cd923342ff300b
laforge at

#146 (Dec 10, 2020, 3:21:10 PM)

debian-stretch-titan: use dpkg to install libfftranscode

For some magic reason, apt segfaults while installing the DEBs:

  $ apt install ./libfftranscode0_0.3_${DPKG_ARCH}.deb \
                ./libfftranscode-dev_0.3_${DPKG_ARCH}.deb
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  Reading package lists...
  Segmentation fault (core dumped)

so it kind of confirms the warning about its stability ;)

Change-Id: I7f3288161577b055145afe89de7dff50853760f5
daniel at

#145 (Dec 9, 2020, 6:31:08 PM)

ttcn3-gbproxy-test-fr: Fix hdlcnet device names

In Change-Id I80de01c96185c60fe2de7a8ffa9daed2669658e1 we introduced
the wrong hdlcnetX device names.  We must use each devoce only once,
rather than trying to use hdlcnet1..4 twice.

Change-Id: I56f75995fe94b46b0210de2a4f83e384b4e4ca4f
laforge at

#144 (Dec 9, 2020, 4:42:30 PM)

centos8-build: Use arg OSMOCOM_REPO_MIRROR

Change-Id: If2aefff04792fe4d215fcc52377bec64d9a1db2d
laforge at

#143 (Dec 9, 2020, 4:11:48 PM)

centos8-repo-install-test: Upstream requires 'powertools' not 'PowerTools'

I just confirmed: With a centos:centos8 base image of a few weeks ago,
"PowerTools" works. With the current docker base image for
centos:centos8, only lowercase "powertools" works, uppercase is no
longer accepted.

https://access.redhat.com/discussions/5417621
https://www.reddit.com/r/CentOS/comments/jd7x3d/how_to_enable_powertools_in_centos_stream/
https://git.centos.org/rpms/centos-repos/blob/c8/f/SOURCES/CentOS-Stream-PowerTools.repo#_11

Change-Id: I0db6c82576c5aae94531b7ec2fd98429cab702de
Closes: SYS#5244
laforge at

#142 (Dec 9, 2020, 11:11:06 AM)

gbproxy-test-fr: Fix syntax error in config file

It's mp_enable_bss_load_sharing, not mp_enable_load_sharing

Change-Id: I0d2241e0d9e376f27d04721034b1e197901aa662
laforge at

#141 (Dec 9, 2020, 10:16:06 AM)

centos8-build: Upstream requires 'powertools' not 'PowerTools'

I just confirmed: With a centos:centos8 base image of a few weeks ago,
"PowerTools" works. With the current docker base image for
centos:centos8, only lowercase "powertools" works, uppercase is no
longer accepted.

https://access.redhat.com/discussions/5417621
https://www.reddit.com/r/CentOS/comments/jd7x3d/how_to_enable_powertools_in_centos_stream/
https://git.centos.org/rpms/centos-repos/blob/c8/f/SOURCES/CentOS-Stream-PowerTools.repo#_11

Change-Id: I518d5523688a7439f76684ee38bf743a4e78c9fd
Closes: SYS#5244
laforge at

#140 (Dec 8, 2020, 9:41:10 AM)

gbproxy: Enable test of load-sharing when running over FR

Change-Id: I2ce1f67dc8f45f7a62a923e45fb479c4c482eec9
Depends: osmo-ttcn3-hacks.git I96e8b6a1a69148f770476e87c920dc256c1d7379
Related: OS#4520
laforge at

#139 (Dec 8, 2020, 7:41:09 AM)

gbproxy: update ttcn3 configuration to reflect osmo-gbproxy.cfg

In Change-Id I80de01c96185c60fe2de7a8ffa9daed2669658e1 we updated
only the osmo-gbproxy.cfg, but noth the GBProxy_Tests.cfg for the
test suite, which of course won't work.

Change-Id: I35603dc76926d76e57993f7eab1354eea8d25dad
Related: SYS#5226
laforge at

#138 (Dec 7, 2020, 1:38:01 PM)

Rename centos-repo-install-test/Dockerfile to centos8

We are using centos8 as distro name instead of centos everywher else
and jenkins-common.sh are expecting that.

Related: OS#4888
Change-Id: I05b012abced5b812e74315ccf64365896412e876
Pau Espin Pedrol at

#137 (Dec 7, 2020, 1:11:09 PM)

ttcn3-gbproxy-test-fr: Catch up with config changes

Change-Id: I80de01c96185c60fe2de7a8ffa9daed2669658e1
Related: SYS#5226
Depends: I698a932b3dc78c776e9350283109463bcdc40e6b (osmo-ttcn3-hacks)
dwillmann at

#136 (Dec 2, 2020, 9:12:27 PM)

common: Introduce OSMOCOM_REPO_MIRROR param

This allows easily changing to another osmocom repo base URL if the
default one is down.

Related: OS#4862
Change-Id: I8010b08f3dabacfb3c13a44eece6c7a490e0742e
Pau Espin Pedrol at

#135 (Dec 1, 2020, 11:53:19 AM)

common: Automatize UPSTREAM_DISTRO name based on image name

Similar to what is already done with DISTRO, which points to given image
of ours based on name. This time we do the same with upstream images,
such as debian:stretch or centos:centos8.

This way, for instance calling docker_images_require
"osmo-bsc-latest-centos8" would try to build the
osmo-bsc-latest/Dockerfile file starting from a centos8 image.

Change-Id: I33cb21aa024396974559fd98f9f3c64e2c351eda
laforge at

#134 (Nov 30, 2020, 8:51:07 PM)

osmo-gbproxy-master (derived from osmo-sgsn-master)

Using a separate container will allow us to do gbproxy specific things
like waiting for physical net-devices to show up in the docker netns
before actually starting the osmo-gbproxy executable

Change-Id: I5e6351055ac9430f13e43291cf2a9d52683fe6bf
laforge at
Add ttcn3-gbproxy-test-fr for FR related testing

Testing FR support in osmo-gbproxy is a bit more complicated
as it involves the "hdlc" net-devices privded by the hdlc_fr.ko
kernel module.

So we need to
* run on a host with actual hdlc net-devices (e.g. dahdi_dyamic_loc)
* move those net-devices into the containers after starting them
* wait for the net-devices to appear in the containers before starting
  either gbproxy or the test suite

Change-Id: Id4b52877db53cb6e59f6d0d3f754aaae633949e8
laforge at

#133 (Nov 17, 2020, 10:21:14 AM)

debian-stretch-titan: use libfftranscode 0.3 (latest version)

Change-Id: Id7e285b170a2f36067a29985c577c3d44d7c7204
Related: OS#4727
laforge at
debian-stretch-titan: Use correct architecture of libfftranscode

We cannot blindly assume that we're running on amd64.

Change-Id: I937d7b02a194244a62b79dbe6b78c27f7baabeb6
Related: OS#4727
laforge at

#132 (Nov 13, 2020, 8:26:05 AM)

NS_Configuration: Adjust config regarding support for NS-VCG

In osmo-ttcn3-hacks.git Change-Id If1220852785853f8a5d8de183d5053ddd6ccb958
we introduce support for multiple NS-VC inside a NS-VCG.  This modifies
the configuration structures, and we need to adjust all config files
accordingly.

Change-Id: I6ac250555c3ac2aa8feb70bd3a052aafec5d4210
laforge at

#131 (Nov 11, 2020, 10:01:08 PM)

ogt: Install dependency python3-watchdog

Change-Id: I9136cef6b5a7be085c840dd798bc21493f0a47a6
Pau Espin Pedrol at

#130 (Nov 2, 2020, 4:36:52 PM)

introduce 'REGISTRY' argument to all Dockerfiles

This is initialized to docker.io, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
laforge at

#129 (Oct 25, 2020, 10:51:10 AM)

osmo-mgw-master: Add missing libosmo-abis dependency on CentOS

Change-Id: I2f2368aa1dba52937164ade319722f1e85635f15
laforge at

#128 (Oct 21, 2020, 12:36:07 PM)

ogt: Create grbroker target directory

This is needed on the target remote hosts, where osmo-gsm-tester will
install a copy of the script to run remotely at runtime.

Change-Id: I59151dfe7091628707cd016db42171d22729a60c
Pau Espin Pedrol at

#127 (Oct 21, 2020, 11:56:07 AM)

ttcn3-bts: Enable gsmtap sapi for tch in osmo-bts.cfg

Change-Id: Idbd30800538200970de7a7fba6cd051cdf7ff252
laforge at

#126 (Oct 20, 2020, 10:51:05 PM)

fix ttcn3-smlc-test/Dockerfile

Change-Id: I6a53b3f398d807233a53cad61ae61b5f0c89b971
Neels Hofmeyr at

#125 (Oct 19, 2020, 3:03:00 PM)

gbproxy: Fix docker config for SGSN NS port

Related: SYS#5002
Change-Id: Idcd594714b3a525d496c471f16b62addf7d25ea9
laforge at

#124 (Oct 16, 2020, 5:01:06 PM)

osmo-gsm-tester: Install gnuradio dependency

The python bindings of gnuradio are used to control a zmq connection
broker between srsENB and srsUE to emulate attenuations.

Change-Id: Ic4e8c4d6a5d1e20dd336ff15868c7c3f51dea323
Pau Espin Pedrol at

#123 (Oct 16, 2020, 1:56:08 PM)

bsc: add missing 'smlc / enable' for LCS tests

This part is missing from the already merged
I3394f391a6068ab8afeafa329b69a8ae4ad05cd9
which enabled LCS tests for osmo-bsc.

Change-Id: I873d6e46e00ee0e91b15d719829baff2bf9f115a
Neels Hofmeyr at

#122 (Oct 16, 2020, 12:56:08 PM)

osmo-*-master: Invalidate docker cache when CentOS repo changes

We currently only invalidate the cache if the Debian repository changes,
but not if the CentOS repository changes.  This leads to strange
artefacts, such as CentOS containers for osmo-bts-master using an
old libosmocore, despite a new one being available in the repo.

As Dockerfiles don't support conditional "ADD", we need to actually
add both the CentOS and the Debian repsotiry file, so any change
in either of the two will now (unneccessarily) invalidate the cache
for both Debian and CentOS builds.

Change-Id: I7b13644afb9d3be3b94184193177e003c13718d3
laforge at

#121 (Oct 16, 2020, 1:08:17 AM)

osmo-sgsn-*: Expose ports for gbproxy as well

Change-Id: I4d2f659b14919a15601f507704e3224aedf5e24f
dwillmann at
Add GBProxy_Test

Change-Id: I6661887c741b44aa0927079f79b4d5fcc40d8acf
dwillmann at

#120 (Oct 15, 2020, 10:11:09 AM)

osmo-pcu-test: Only handle SNS where we test IP-SNS

Change-Id: Ic26699c40793224d0c647046e09a7a94b5e109bd
dwillmann at

#119 (Oct 15, 2020, 5:56:08 AM)

bsc: enable LCS tests for normal bsc master tests

Change-Id: I3394f391a6068ab8afeafa329b69a8ae4ad05cd9
Neels Hofmeyr at

#118 (Oct 15, 2020, 4:11:07 AM)

add osmo-smlc-master

Change-Id: I8222e80e84432e51d86fd3b9faeaab6d20723d7e
Neels Hofmeyr at
add ttcn3-smlc-test

Change-Id: I6ab09224a41796fed4023ba1ef1ff99f37863875
Neels Hofmeyr at

#117 (Oct 15, 2020, 2:56:07 AM)

bsc: enable Lb routing between BSC <-> virtual SMLC

Notably LCS tests are still disabled, just routing BSSMAP-LE/SCCP via STP to
the virtual SMLC is now possible.

Change-Id: Ic296291886ce18fd3ff34d45c519de605ba827cc
Neels Hofmeyr at

#116 (Oct 15, 2020, 2:16:07 AM)

bsc: add mp_enable_lcs_tests := false

Introduce this switch for enabling the Lb interface startup, and first off set
to false everywhere. A later patch will enable Lb where it makes sense.

Depends: Idf463c3c2169cad953b4ebc5b5845b31d5efb848 (osmo-ttcn3-hacks)
Change-Id: Id26064931c482c25217bccdeec866e9afc1fd9b5
Neels Hofmeyr at

#115 (Oct 9, 2020, 10:31:09 AM)

ttcn3-pcu-test: fix latest: tolerate CellId IE in BVC-RESET for BVCO=0

For more details, see Ie87820537d6d616da4fd4bbf73eab06e28fda5e1.

Change-Id: Ibe7eac7ff82955fab16373fae6d9ef4efb35a3a5
Depends: If6245d73ed701e631b67146ace4ba028bdb4226c
Depends: Icebee25b53fef623db6ae91ca0d943e70a3c86b7
Vadim Yanitskiy at

#114 (Oct 6, 2020, 2:06:05 PM)

ogt: Update installed patchelf to required version 0.11

osmo-gsm-tester requires patchelf 0.11 since a while ago to solve some
bugs on older versions. See osmo-ci
d276db78afbb3f28fc6a4a949bca131d0cfac1d4 for more information.

Related: OS#4389

Change-Id: I3a0c2168420d2a4ee2302a191824f571ec17786b
Pau Espin Pedrol at

#113 (Oct 3, 2020, 2:06:07 PM)

gerrit: upgrade to 3.2.3

Change-Id: I81cc8439719576d09d90622d4c69cd960e34728c
laforge at

#112 (Oct 3, 2020, 2:01:07 PM)

gerrit: upgrade to 2.16.22

Change-Id: I9fdf561d404512b5e4f16e93229da974c394b670
laforge at

#111 (Oct 3, 2020, 11:16:08 AM)

cgit: osmo-commit-filter.py: migrate from deprecated cgi.escape to html.escape

Our error.log is full of:

/usr/local/lib/cgit/filters/osmo-commit-filter.py:18: DeprecationWarning: cgi.escape is deprecated, use html.escape instead
  return '<a href="%s">%s</a>' % (url, cgi.escape(txt))

Change-Id: I97707519029d4f8d703d2df1b8beab15665d49b1
laforge at
cgit: Don't depend on unmaintained upstream; work directly with debian

Change-Id: Ifa98f77c24298265e39313b679944d649e25ddde
laforge at
cgit: Increase fastcgi timeout from default 60s to 120s

Change-Id: Ida429f692fe939bb96bdd1c7313e6b0fd7b26913
laforge at

#110 (Sep 29, 2020, 10:41:08 PM)

BSC_Tests: disable IPV6 parameter mp_media_mgw_offer_ipv6 for latest

Change-Id: I63f9d751c8b1347d2e14ab408830ba4858e133b2
Depends: osmo-ttcn3-hacks I30c77abef63636bb02db12d2f2b2d79ea244b96c
pmaier@sysmocom.de at

#109 (Sep 28, 2020, 2:16:08 PM)

PCU+SGSN: Adjust to new "provider" structure of NSConfiguration

In Change-Id I6904520d8c2f546327029777d68b1907611a8cf5 of
osmo-ttcn3-hacks, we change the structure of NSConfiguration.  Let's
adjust the configs accordingly.

Change-Id: I8c5e59e79b69c13632d69f5011be9279b827a4fa
Depends: osmo-ttcn3-hacks I6904520d8c2f546327029777d68b1907611a8cf5
laforge at

#108 (Sep 25, 2020, 1:01:06 PM)

ttcn3-pcu-test: Change config to support statsd

Change-Id: I2779cdb4ec7cac891aa86e3fefa739e61f867691
Depends: osmo-ttcn3-hacks.git Change-Id I90964b32fa11ed2582afc5fb56bd302b06606f86
Related: SYS#4877
dwillmann at

#107 (Sep 22, 2020, 6:42:47 AM)

ttcn3-pcu-test-sns: use PCUIFv9 for 'latest' images

Change-Id: Iae0136c453ad14114dae17e8b0e8b5ae2ef8e352
Related: I9350c4a54434c3d46ce9424f382ca0057e58d053
Related: SYS#4868, SYS#4915
Vadim Yanitskiy at

#106 (Sep 21, 2020, 7:06:06 PM)

ttcn3-{pcu,bts}-test: use PCUIFv9 for 'latest' images

Change-Id: I6f072e4db07fd6907b91925549edcf62d9c93fb7
Related: I9350c4a54434c3d46ce9424f382ca0057e58d053
Related: SYS#4868, SYS#4915
Vadim Yanitskiy at

#105 (Sep 21, 2020, 6:41:45 AM)

PCU+SGSN tests: Set address_family field of NSConfiguration

In osmo-ttcn3-hacks Change-Id I0b4fda96accef401ffc009010f9f5621583fd6dd
we introduce the address_family member; let's make sure all configs use
it as expected.

Change-Id: I52e8b11f047a7a2ecce18e4a4f9ff3ed495a0352
laforge at

#104 (Sep 18, 2020, 8:40:11 AM)

ttcn3-bsc: Set new BSC_Tests_CBSP module parameters

Depends: osmo-ttcn3-hacks.git Change-Id I859edebd24634ec9b448cd114f5541c93e552b0b

Change-Id: Ia18e358c70861801597d5abec0a48776c7e0bdfe
laforge at

#103 (Sep 16, 2020, 10:41:08 AM)

ttcn3-sip: Update default mp_mncc_version

Keep it using the older version in MNCC_Emulation for older versions of
osmo-sip-connector (last tagged released), since those doesn't support
MNCC7 yet.

Change-Id: I5dbacdd4bd8110b7f6cf6bdb561af420b65c035f
Pau Espin Pedrol at
ttcn3-msc: Force MNCCv6 on ttcn3-msc-test-latest

Default is MNCCv7 since osmo-ttcn3-hacks.git
I5448ff931ec33f24f4837a51376f1703fe97683b, but latest tagged version of
osmo-msc only supports MNCCv6.

Change-Id: Iaac2f5453214dfcf6efd070f6ea1212a7833eb1b
Pau Espin Pedrol at

#102 (Sep 15, 2020, 8:56:09 PM)

ttcn3-msc: Update module params against new osmo-ttcn3-hacks.git

module param mp_enable_osmux_test is dropped in osmo-ttcn3-hacks.git
I8bc0551ec91a5fd8ea2f291a1e16a06a739c7a75.
module param mp_enable_crashing_tests is introduced in
osmo-ttcn3-hacks.git I46f1066323e19dfe708402a8c9c68e257f62751c.

Change-Id: I22bb43ba6d15eabcc731a2c3ef7aabc4f250d508
laforge at

#101 (Sep 15, 2020, 8:51:09 PM)

New fpga-build image for building iCE40 gateware + RISC-V firmware

this will be needed for building e1-tracer + icE1usb gateware+firmware
on our jenkins slaves.

Change-Id: I7c2072b9524a2038d71c0fac4f2023b92af26382
laforge at

#100 (Sep 14, 2020, 9:14:37 AM)

ttcn3-bts-test/fh: do not configure CBCH slots statically

In BTS_Tests_SMSCB, we dynamically configure the CBCH slots via
the VTY interface, so there is no need to set them here.  This
was also the reason of some SMSCB test case failures, because
the BSC would send unexpected LOAD INDICATIONs.

Change-Id: I6e005ca772e26878c7b19df0d854936d7b7718dd
Related: SYS#4868, OS#4708
Vadim Yanitskiy at

#99 (Sep 9, 2020, 1:56:05 PM)

ttcn3-mgw: Update module param addresses naming to support ipv6

Depends: osmo-ttcn3-hacks.git Change-Id Ia393d7175de277ec8fa524ba74bf3b150b74c766

Change-Id: I2840eeee8ae53dc8bdf96ce7b6c76e4c8e0af859
Pau Espin Pedrol at

#98 (Sep 2, 2020, 10:26:08 AM)

ttcn3-bsc-sccplite: Bind osmo-bsc SS7 instance to container's local address

Change-Id: Ic2b608a055635f94d74cc24c3a934d6458934e82
Pau Espin Pedrol at

#97 (Aug 30, 2020, 4:21:49 PM)

ttcn3-msc: Enable osmo-msc SS7 multi-homing and IPv6 features in tests

Change-Id: I784eb033a4887c5a9f2bfaa52aa39cb86cdf13ce
laforge at
ttcn3-sgsn: Enable osmo-sgsn SS7 multi-homing and IPv6 features in tests

Change-Id: I21dbe79705dcc23426a88174120f6f810df84749
laforge at

#96 (Aug 30, 2020, 2:16:06 PM)

ttcn3-bsc: Enable osmo-bsc SS7 multi-homing and IPv6 features in tests

Change-Id: I662ede0957a67c7a733cba8e4e65bf0c8c72b878
laforge at

#95 (Aug 29, 2020, 8:06:39 AM)

bsc CBSP: apply new cbc config

Adjust osmo-bsc.cfg to work with osmo-bsc
Icaa2775cc20a99227dabe38a775ff808b374cf98 and osmo-ttcn3-hacks
I7eea0dd39de50ed80af79e0f10c836b8685d8644.

Related: Icaa2775cc20a99227dabe38a775ff808b374cf98 (osmo-bsc)
Related: I7eea0dd39de50ed80af79e0f10c836b8685d8644 (osmo-ttcn3-hacks)
Related: OS#4702
Change-Id: I9e9760121265b3661f1c179610e975cf7a0873f1
Neels Hofmeyr at

#94 (Aug 27, 2020, 3:04:56 PM)

jenkins-common.sh: Add function to print docker network related parameters

Change-Id: Ie00561de7a4494065156a124565e2190151e6019
Pau Espin Pedrol at

#93 (Aug 27, 2020, 10:51:06 AM)

ttcn3-stp: Configure M3UA setup to use IPv6 together with IPv4

Depends: libosmo-sccp.git Change-Id I09226a5cecc37dd4676acd61c2051befe5234cb3
Depends: osmo-ttcn3-hacks.git Change-Id Ib1925ed1df5cea3fa66f28b5625532d454a2c338
Change-Id: Id6e197cc3ba71e36f29ceec44742b7452a47b36b
laforge at

#92 (Aug 25, 2020, 12:16:10 PM)

ttcn3-mgw-test: Removing the e1 config options on latest

Fixes the test failure on ttcn3-mgw-test-latest

Change-Id: I3143ba905a77fabd1074dbd618c7ae48fa92a77a
dwillmann at

#91 (Aug 19, 2020, 7:31:10 AM)

msc: Disable expecting CommonID when testing 'latest'

As of osmo-ttcn3-hacks.git Change-Id I4976d9bb1f07c8ab4ffa02848414f8ddd1bdfd3f
the test suite expects the MSC to send a CommonID to the BSC.  As
older/existing tagged osmo-msc don't do that, we needt odisable that
check when verifying 'latest'.

Change-Id: If2e4cc41cb7b5758a78d694d62b34390a08e6387
Related: OS#2969
laforge at

#90 (Aug 19, 2020, 7:16:10 AM)

osmo-mgw.cfg: fix config file + add E1 trunk

The config file of osmo-mgw has an incorrect indentation. Also no E1
trunk is configured, so that the E1 related tests fail. Lets fix this.

Change-Id: I3b19afc0809bd56e9fe0f5e968e1c000d29f4abd
pmaier@sysmocom.de at

#89 (Aug 17, 2020, 8:36:09 AM)

debian-stretch-jenkins: install osmo-python-tests for python2

osmo-python-tests for python2 is being used when building
old releases.

Change-Id: I63b3e92e745a664d5d0168c718daddae83c20df5
lynxis at

#88 (Aug 16, 2020, 12:56:10 PM)

ttcn3-ggsn-test: Add static IPv6 addresses to containers

Change-Id: Id8656f09eb1d879153dc4034bd562596ee6e35db
laforge at
ttcn3-ggsn-test: Use IPv6 address of the tester as "DNS1"

We cannot rely on every test slave always having proper IPv6
conenctivity to a public DNS server, and that DNS server to respond
to ICMPv6 echo request.  We're testing half of the internet instead
of our GGSN.  Let's use the IPv6 address of the docker container
running the test sute, which is guaranteed to always exist.  We have
no problems with routing, as the ICMPv6 is hand-crafted and encapsulated
into GTP before it's sent to the kernel IP stack - so basically on the
transmit side, the kernel doesn't know anything about the destination
address of the encapsulated IPv6 packet.

Closes: OS#4713
Change-Id: I1377ffa2cc6980168297d5ff5c81fa5dad94d7a9
laforge at

#87 (Aug 14, 2020, 6:30:36 AM)

migrate ttcn3-msc-test from 172.18.1.0/24 to 172.18.20.0/24

When introducing IPv6 support, we map the third digit of the IPv4
address (X) to the 6th byte of an IPv6 prefix "fd02:db8:X::/64"

However, the docker daemon seems to use "fd02:db8:1::/64" internally
for its default network, so creating a docker network with the same
IP address is failing.

Let's move the MSC test suite to another sub-net (1->20) to avoid
related problems.

Change-Id: I9c5f9b96d5523eae09f3f2e6c813e9e0d047f9ab
laforge at

#86 (Aug 13, 2020, 9:26:09 PM)

Update bsc tester config to enable stats testing

Change-Id: I6ed591cdc4d3108547eda2a1755ae6f6cef2b4d2
Related: SYS#4877
Depends: I8526b645dc4af59adcc1855699421a026f505c1d (osmo-ttcn3-hacks)
dwillmann at

#85 (Aug 13, 2020, 7:31:09 PM)

ttcn3-bts-test/jenkins.sh: do not create unused directory

Change-Id: I01efad7f86723301807237d9fae515e82cae125b
laforge at
ttcn3-bts-test/jenkins.sh: use bts-tester-{generic,oml,virtphy,hopping}

Let's use separate directories to store the artifacts of different
TTCN-3 test case groups.  This would prevent the test suite from
overwriting *.log and *.pcap files when running both generic and
hopping configurations together, and simplify the overall hierarchy.

Change-Id: I7c41cfb395047433e22e9c65c8c00ae284717b32
Related: SYS#4868, OS#4546
laforge at
ttcn3-bts-test/fh: fix: properly include BTS_Tests.cfg

Include the correct configuration file, not the one from the image.

Change-Id: Iecae5cddfbbce4c3bc4077c6c09f527914c06e4b
Related: SYS#4868, OS#4546
laforge at
ttcn3-bts-test/fh: fix: do not run BTS_Tests.control twice

Apparently, TITAN concatenates the contents of all sections, so
we end up with the following set of test cases:

  [EXECUTE]
  BTS_Tests.control
  BTS_Tests_SMSCB.control
  BTS_Tests_LAPDm.control
  BTS_Tests.control

Change-Id: I71802daec4a5591cbf0fce59a4247027f8dfca46
Related: SYS#4868, OS#4546
laforge at
ttcn3-bts-test/fh: fix: properly rename classnames

Not only append ':hopping' to classnames equal 'BTS_Tests', but
also 'BTS_Tests_SMSCB' and 'BTS_Tests_LAPDm', so they would not
shadow non-hopping test cases in the test results analyzer.

Change-Id: Ie6ed7844c2d0dfd839181bce971506284da03d28
Related: SYS#4868, OS#4546
laforge at

#84 (Aug 13, 2020, 3:20:43 PM)

Enable IPv6 in docker networking

We previously only allocated IPv4 sub-nets to the network segments
created with 'docker network'.  Let's fix that by assigning both
IPv4 and IPv6 address ranges to each docker network.

Related: OS#4700
Change-Id: I8802208fddcce1ffa57e5626575d23d02b320d99
laforge at

#83 (Aug 13, 2020, 1:16:08 PM)

bsc-sccplite CBSP: fix osmo-bsc.cfg to contain 3 BTS with a CBCH

Fix the TC_si2quater_* test fallout.

When adjusting the bsc AoIP test config, forgot to also adjust the SCCPlite
test suite config, which caused fallout in the SCCPlite tests.

Related: Idbcc703ace7012fb395f0eef3e445df28b368d74 (docker-playground)
Related: Iac46ee2cc5bc0978d5f5baa550baf493a7c56b1b (osmo-ttcn3-hacks)
Change-Id: I810ff6f89d722e7274046c360a2cbebf6f6ee53a
Neels Hofmeyr at

#82 (Aug 13, 2020, 5:46:05 AM)

bsc CBSP: fix osmo-bsc.cfg to contain 3 BTS with a CBCH

The bsc/BSC_Tests_CBSP.ttcn rely on a configuration where the first three BTS
carry out SMSCB messaging, and the fourth BTS does not. That requires a CBCH
channel config on bts 0, 1, 2.

Related: Iac46ee2cc5bc0978d5f5baa550baf493a7c56b1b (osmo-ttcn3-hacks)
Change-Id: Idbcc703ace7012fb395f0eef3e445df28b368d74
Neels Hofmeyr at

#81 (Aug 12, 2020, 6:36:08 PM)

jenkins-common.sh: exit early on full disk

When my disk runs full, jenkins-common.sh fails to create a VOL_BASEDIR right
at the start, and hence no testsuite gets its external volumes mounted
properly. However, the test suite still starts up with missing cfg files etc,
and fails in non-obvious ways, until I find out the disk is full some minutes
later. Instead, verify that the base dir really exists or bail out right there.

Change-Id: I6540797c8e0ee3e7b09d4a80592d5e270e7d9adc
laforge at

#80 (Aug 11, 2020, 7:06:06 AM)

ttcn3-bts-test/jenkins.sh: enable frequency hopping test cases

Change-Id: I2b8ee5037146203801ab92a1b4fe6703522d8093
Related: SYS#4868, OS#4546
Vadim Yanitskiy at

#79 (Jul 31, 2020, 7:01:05 AM)

ttcn3-bts-test/osmo-bsc.cfg: do not enable CBCH slots by default

As it turns out, test cases from BTS_Tests_SMSCB configure the
CBCH slots "on the fly" depending on the test case parameters.
This configuration also makes some test cases fail, so let's
(re)configure SDCCH8+CBCH timeslots to SDCCH8.

Change-Id: I3699450542dc1350971fbf87ad60a330428dec27
Vadim Yanitskiy at

#78 (Jul 21, 2020, 7:51:08 PM)

ttcn3-bts-test/osmo-bsc.cfg: change pchan config for TRX#1..3

The new physical channel configuration will be used in the upcoming
multi-transceiver test cases.  Rather than having the same logical
channel combinations configured for all transceivers, it makes
sense to test more deviations.  TRX#0 has kept unchanged.

== Physical channel configuration ==

  +-------+------------------+------------------+------------------+------------------+
  | # / # |      TRX#0       |      TRX#1       |      TRX#2       |      TRX#3       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS0  |   CCCH+SDCCH4    |      TCH/F       |      TCH/H       |       PDCH       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS1  |      TCH/F       |   SDCCH8+CBCH    |       PDCH       |      TCH/H       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS2  |      TCH/F       |       PDCH       |   SDCCH8+CBCH    |      TCH/H       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS3  |   TCH/F_PDCH     | TCH/F_TCH/H_PDCH |       PDCH       |   SDCCH8+CBCH    |
  +-------+------------------+------------------+------------------+------------------+
  |  TS4  | TCH/F_TCH/H_PDCH |   TCH/F_PDCH     |      SDCCH8      |       PDCH       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS5  |      TCH/H       |      SDCCH8      |      TCH/F       |      TCH/F       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS6  |      SDCCH8      |       PDCH       |       PDCH       |       PDCH       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS7  |       PDCH       |       PDCH       |       PDCH       |      SDCCH8      |
  +-------+------------------+------------------+------------------+------------------+

Change-Id: Ib27704dcba3979d69e44065c472b1452eaa11a7a
Related: SYS#4868, OS#4546
Vadim Yanitskiy at
ttcn3-bts-test: add configuration with frequency hopping parameters

The Physical channel configuration is the same as in the non-hopping
configuration file.  Hopping parameters are listed below the table.

== Physical channel configuration (FDMA) ==

  +-------+------------------+------------------+------------------+------------------+
  | # / # |      TRX#0       |      TRX#1       |      TRX#2       |      TRX#3       |
  +-------+------------------+------------------+------------------+------------------+
  | ARFCN |       871        |       873        |       875        |       877        |
  +-------+------------------+------------------+------------------+------------------+

== Physical channel configuration (TDMA) ==

  +-------+------------------+------------------+------------------+------------------+
  | # / # |      TRX#0       |      TRX#1       |      TRX#2       |      TRX#3       |
  +-------+------------------+------------------+------------------+------------------+
  |  TS0  |   CCCH+SDCCH4    |    TCH/F (a)     |    TCH/F (a)     |    TCH/F (a)     |
  +-------+------------------+------------------+------------------+------------------+
  |  TS1  |      TCH/F       |   SDCCH8+CBCH    | SDCCH8+CBCH (b)  | SDCCH8+CBCH (b)  |
  +-------+------------------+------------------+------------------+------------------+
  |  TS2  |    TCH/F (c)     |    TCH/H (c)     |    TCH/F (d)     |    TCH/H (d)     |
  +-------+------------------+------------------+------------------+------------------+
  |  TS3  |  TCH/F_PDCH (e)  |  TCH/F_PDCH (e)  |  TCH/F_PDCH (e)  |  TCH/F_PDCH (e)  |
  +-------+------------------+------------------+------------------+------------------+
  |  TS4  | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH | TCH/F_TCH/H_PDCH |
  +-------+------------------+------------------+------------------+------------------+
  |  TS5  |    TCH/H (f)     |    TCH/H (f)     |    TCH/H (f)     |    TCH/H (f)     |
  +-------+------------------+------------------+------------------+------------------+
  |  TS6  |    SDCCH8 (g)    |     PDCH (h)     |     PDCH (h)     |    SDCCH8 (g)    |
  +-------+------------------+------------------+------------------+------------------+
  |  TS7  |     PDCH (i)     |     PDCH (j)     |     PDCH (i)     |     PDCH (j)     |
  +-------+------------------+------------------+------------------+------------------+

== Hopping configuration ==

  a) HSN=0, MAIO=0,1,2
  b) HSN=1, MAIO=3,5
  c) HSN=2, MAIO=0,1
  d) HSN=2, MAIO=2,3
  e) HSN=3, MAIO=3,2,1,0
  f) HSN=5, MAIO=0,1,2,3
  g) HSN=6, MAIO=1,0
  h) HSN=6, MAIO=1,0
  i) HSN=0, MAIO=1,3
  j) HSN=0, MAIO=0,2

Change-Id: I7822c3581fccba3277a63577e740e7486307635d
Related: SYS#4868, OS#4546
Vadim Yanitskiy at

#77 (Jul 14, 2020, 10:47:13 AM)

make: use $(nproc) instead of hard-coded number of cores

Change-Id: Ie93b81a8a9206c47c4e4d4834fc5c03d9bf4254c
Vadim Yanitskiy at

#76 (Jul 8, 2020, 12:41:07 PM)

ttcn3-bts: Fix most OML test failing after osmo-bts shutdown optimization

Since osmo-bts.git 0a6bdb024f5429a35c56178496158c9b1c3ee032, the process
is quickly terminated during shutdown if no TRX is running. Since in the
OML tests the TTCN3 components implements the OML IPA server side, most
of the time when osmo-bts starts it finds no one listening on the
address and exits immediately. This makes respawn.sh script run osmo-bts
lots of times per seconds (since osmo-bts terminates quicker now). As a
result, it quickly consumes the 500 launch threshold and exits without
starting osmo-bts being launched anymore.
As a result, only first tests pass, and all the later ones fail because
osmo-bts never connects.

Let's add a sleep 1 between respawns in respawn.sh only when running OML
tests (not needed in the others since there's an osmo-bsc always
running). This also clears a lot of output in the logs of osmo-bts
processes restarting over and over again.

Change-Id: I10d3e1ef8325dd78f9ae2b95fbfd1c6d893bf8a4
Pau Espin Pedrol at

#75 (Jul 8, 2020, 1:46:10 AM)

ttcn3-msc-test latest: do not require VLR cell id match in latest build

Depends: Ie410714a96353f74a52a104c56fa0a08683e0004 (osmo-msc)
Change-Id: I052fea208021509e12826c50474b96474e7a58c2
Neels Hofmeyr at

#74 (Jul 6, 2020, 7:46:10 PM)

ttcn3-bts-test/osmo-bts.cfg: use logging level 'notice' by default

Change-Id: I51e95a83aac0af1223d9608c234b87162835c9bc
Vadim Yanitskiy at
ttcn3-bts-test/osmo-bsc.cfg: use logging level 'notice' by default

Change-Id: Ib0bfbe0d98ef0d3e6d627e737edbbf013a5f19c0
Vadim Yanitskiy at

#73 (Jul 1, 2020, 4:23:05 PM)

Makefile: Support overriding LIBOSMOCORE_BRANCH

gr-gsm-master is using it but it cannot be overriden. Similarly iy can
be helpful to do so in temporarliy modified images when testing
libosmocore features.

Change-Id: Ia9f26f3513da339d2255a0f6b2277682fe15bdf2
Pau Espin Pedrol at

#72 (Jun 25, 2020, 9:46:07 PM)

bsc: Store osmo-bts-omldummy logs out of docker container

Change-Id: I0c02c4a9311122c3fe8ca877e02043f697723281
Pau Espin Pedrol at

#71 (Jun 24, 2020, 6:41:07 PM)

ttcn3-bsc-test latest: remove MSC pooling specific bits in latest build

Change-Id: I2b129caa513686a105d31ae56b065757b12fcac8
Neels Hofmeyr at

#70 (Jun 22, 2020, 4:20:54 PM)

MSC_Tests.cfg: tweak comments

Change-Id: If5f9cff03f078987c5b9051f8d63c239bf92ddb7
Neels Hofmeyr at

#69 (Jun 22, 2020, 1:29:27 PM)

ttcn3-bts-test/BTS_Tests.cfg: configure number of transceivers

Change-Id: I5d4d9a16d5e30bccc25e8f1030f22b6e49b64c67
Depends: Ic9dd49a2fc856de593b52b3ec0c559e0e15ca173
Related: OS#3155
Vadim Yanitskiy at

#68 (Jun 21, 2020, 9:01:09 PM)

collect core dumps: '--ulimit core=-1' and WORKDIR=/data everywhere

Change-Id: Ief73b53ed9da6f5af82975bc36d851277d5d3185
laforge at

#67 (Jun 20, 2020, 8:06:10 PM)

bsc.cfg: SCCPlite = AoIP: adjust logging config

Adjust the SCCPlite osmo-bsc.cfg according to changes applied in osmo-bsc.cfg,
which were obviously forgotten to also apply to the SCCPlite test runs.

Do the same logging in both SCCPlite and AoIP osmo-bsc.cfg.

Change-Id: I4a8fe459ec580078228c6775df357b6e0acbbb03
Neels Hofmeyr at

#66 (Jun 20, 2020, 4:46:06 PM)

attempt to capture core dump from osmo-stp during ttcn3-bsc-test run

When launching osmo-stp-master from ttcn3-bsc-test, set ulimit=-1 to allow core
files.

In osmo-stp-master set WORKDIR to /data to hopefully get the core file ending
up there without the need to set a /proc/sys/kernel/core_pattern globally in
the jenkins slave.

Change-Id: Idd67fcb3f564b9cff9b4596bf639ed1bd1b58daf
Neels Hofmeyr at

#65 (Jun 20, 2020, 2:11:05 PM)

bsc: adjust osmo-bsc.cfg for MSC pooling tests

Depends: I6c251f2744d7be26fc4ad74adefc96a6a3fe08b0 (osmo-bsc)
Change-Id: I353a2023d41d9f083acdd61da11109cb5a002f9b
Neels Hofmeyr at

#64 (Jun 16, 2020, 10:01:08 AM)

bsc.cfg: SCCPlite = AoIP: adjust handover config

Adjust the SCCPlite osmo-bsc.cfg according to changes applied in osmo-bsc.cfg,
which were obviously forgotten to also apply to the SCCPlite test runs.

These handover config changes should fix the TC_ho_* tests in
ttcn3-bsc-sccplite.

Change-Id: I9694863b2db6be6384d1d6ffb35fc477fe774d02
Neels Hofmeyr at
bsc.cfg: SCCPlite = AoIP: adjust si2quater config

Adjust the SCCPlite osmo-bsc.cfg according to changes applied in osmo-bsc.cfg,
which were obviously forgotten to also apply to the SCCPlite test runs.

Make the SI2quater config reflect that of the AoIP osmo-bsc.cfg.

Change-Id: I4dbabcc28309424a336d2a052a067484d17663ac
Neels Hofmeyr at

#63 (Jun 15, 2020, 10:56:10 PM)

BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

Forgot to also adjust the SCCPlite structure in previous commit
c7b52048e63ac014bdb1e78b4883cc75da55428f, which broke SCCPlite testing.

Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
Neels Hofmeyr at

#62 (Jun 14, 2020, 11:21:43 AM)

BSC_Tests.cfg: adjust cfg for multiple MSCs

This only enables ttcn to be able to connect multiple MSCs. To be able to use
this in the BSC_Tests, osmo-bsc.cfg needs adjusting in an upcoming patch; tests
using this are in osmo-ttcn3-hacks I21cbab193cd0de2e5692665442eae113d5f61904.

Depends: Ibb36695b7c31f7b04eec6c5d59522fc0779b3c2f (osmo-ttcn3-hacks)
Change-Id: I1986e4ef43beee161c82193694421b56136c1afe
Neels Hofmeyr at

#61 (Jun 12, 2020, 2:56:06 PM)

debian-stretch-jenkins/Dockerfile: Install source-highlight

It is needed by some user manuals using code snippet syntax
higlhlighting, such as osmo-gsm-tester one:

"""
[source,python]
----
sleep(3) # sleep for 3 seconds
----
"""

asciidoc: WARNING: test_api.adoc: line 19: filter non-zero exit code: source-highlight -f xhtml -s python: returned 127
asciidoc: WARNING: test_api.adoc: line 19: no output from filter: source-highlight -f xhtml -s python

Change-Id: I8427179f7cfc0c9150e5327803ca89adffedb8f1
laforge at

#60 (Jun 11, 2020, 3:21:05 PM)

osmo-gsm-tester: Update resources.conf syntax changes

Change-Id: Iaa3e43d6878933b1f01026d58b01b1009fe4cd78
Pau Espin Pedrol at

#59 (Jun 9, 2020, 2:31:07 PM)

ttcn3-bts-test/jenkins.sh: fix latest: enable IPA stream ID patching

Change-Id: I9d76acc717f5aafbfbecafb30160b02486d341fd
Depends: I66cecc9ea24ba79e1a03492e3fda2874951d37a0
Vadim Yanitskiy at

#58 (Jun 9, 2020, 10:56:07 AM)

ttcn3-bts: Update cfg for test TC_tx_power_start_ramp_up_bcch

The test mentioned above is added in osmo-ttcn3-hacks.git
Ieb7444c6312bbeab64da2732393b3facf3e1f003.

config files are updated to make sense:
* "nominal power" in osmo-bsc.cfg reflects correct default nominal tx
  power of fake_trx.
* "osmotrx tx-attenuation" in osmo-bts.cfg is removed to let osmo-bts
  use the value received through OML (max_power_red 20).
* "power-ramp step-size" in osmo-bts.cfg is increased to speed up the
  test. There's no good reason to keep it lower.

Change-Id: I878d329dde3d2089ee3b68f56271fcb88d210025
Pau Espin Pedrol at

#57 (Jun 7, 2020, 8:51:18 PM)

ttcn3-bts-test/jenkins.sh: fix: properly start virtphy

Change-Id: I2c92ca7d8839a5e141a756f0e1ca26f5f27ca143
Vadim Yanitskiy at

#56 (Jun 7, 2020, 7:31:05 PM)

ttcn3-bts: jenkins.sh: Log fake_trx stdout to file

This allows easily checking if fake_trx fails to start early during
startup, for instance due to a python exception.

Change-Id: I3e13a3b1f78d071618e4848aa19bcba1eb300d18
laforge at

#55 (Jun 5, 2020, 4:26:37 PM)

debian-stretch-titan: do not install unneeded dependencies

By default, Debian's package manager (apt) would install as many
dependencies as possible, including optional (recommended and
suggested) ones.

Package 'eclipse-titan' recommends 'default-jdk', which is
absolutely not needed for osmo-ttcn3-hacks, and in its turn
depends on +100500 more packages like xorg, wayland, etc.

This change significantly reduces total amount of dependencies
and the overall build time by disabling installation of
recommended and suggested dependencies.

Change-Id: I56f0d0f37e212b15e8c19ddea96d1c999177eb17
Vadim Yanitskiy at

#54 (Jun 2, 2020, 12:06:10 PM)

ttcn3-msc-test: fix osmo-msc.cfg: make it work with latest

Unfortunately, we have to revert a part of change [1], because it
broke ttcn3-msc-test-latest. The reason is that the latest release
of osmo-msc does not support 'timer vlr T3212 30'.

Change-Id: Iaeb6f1ffee9286394654bc3cf9d985ace7829110
Vadim Yanitskiy at

#53 (May 31, 2020, 6:46:09 PM)

osmo-{bsc,msc}.cfg: eliminate 'periodic location update 30'

This parameter has been deprecated in both osmo-msc and osmo-bsc.

Change-Id: I6d33c6d9c43078ee9961d3b076386188ec45be0f
Vadim Yanitskiy at

#52 (May 30, 2020, 9:41:10 AM)

centos8-build: new image

Create centos8-build similar to debian-stretch-build, as preparation for
ttcn-3 tests on centos 8.

Related: OS#4564
Change-Id: Ide1e88c92b7ac301f0ea8ca110c1b2eb43f9d5ad
Oliver Smith at
docker_images_require: scope of i: local

Prepare to call docker_images_require from itself, make i a local
variable.

Change-Id: I228f54f3e7431dba9e8d2a5fab0ecba3d0e6d76b
Oliver Smith at
docker_images_require: build depends too

Add a function to automatically resolve the most common dependencies,
osmo-* need debian-stretch-build and ttcn3-* need debian-stretch-titan.
Do this in a shell function in jenkins-common.sh, so we can extend it in
the next patch with distribution specific dependencies (osmo-*-centos8
needs centos8-build).

Related: OS#4564
Change-Id: I98760c6dc3206529c0e267338c9f6f8e1d5be33a
Oliver Smith at
ttcn3-*-test: remove implicit dependencies

Don't list debian-stretch-build and debian-stretch-titan as dependencies
anymore, now that docker_images_require finds them automatically.

Related: OS#4564
Change-Id: I3cb6b693f3dd9df84fb29c0217bb3dae454cc18f
Oliver Smith at
make/Makefile: add DISTRO argument

Prepare for distro-specific osmo-* images. While at it, put each
--build-arg on a separate line for readability.

Related: OS#4564
Change-Id: I1bf1c46295035a073e440faea3696ce53e7d7985
Oliver Smith at
jenkins-common.sh: support osmo-*-centos8 images

Make it possible to call the ttcn3-*/jenkins.sh scripts with:
IMAGE_SUFFIX="master-centos8"

The existing docker_images_require lines of these jenkins.sh scripts
will then call docker_images_require with arguments like
"osmo-mgw-master-centos8". For example, from ttcn3-mgw-test/jenkins.sh:

docker_images_require \
"osmo-mgw-$IMAGE_SUFFIX" \
"ttcn3-mgw-test"

Let docker_images_require build the image from
osmo-mgw-master/Dockerfile (-centos8 is cut off from the dirname) and
with DISTRO=centos8 as argument.

Collisions with the debian-stretch images are avoided by setting IMAGE
to the full image name (e.g. osmo-mgw-master-centos8).

Related: OS#4564
Change-Id: I598a262fe1a7ed4dd89e13c53e4ded103c6e3b91
Oliver Smith at
osmo-*-master: support centos8

Adjust the Dockerfiles, so 'docker_images_require osmo-mgw-master-centos8'
etc. result in a centos8 based image. centos8-build already configures the
Osmocom nightly repository, so we only need to configure it for
debian-stretch.

Related: OS#4564
Change-Id: I6579748056ce0505304378b342a698b98c77fd18
Oliver Smith at

#51 (May 29, 2020, 2:06:05 PM)

osmo-bsc.cfg: drop deprecated '11bit_rach_support_for_egprs'

EGPRS Packet Channel Request cannot be enabled in 'GPRS only' mode
anyway. Moreover, this command was deprecated. Let's just remove it.

Change-Id: I03733490d9c4bf78a748d22874e550e015fbab78
Vadim Yanitskiy at

#50 (May 29, 2020, 12:21:10 PM)

osmo-bsc.cfg: drop non-existing 'access-list-name bsc-list'

In the recent osmo-bsc master, this configuration parameter has
been removed, so it fails to start due to "unknown parameter".

Change-Id: I8f763a4b35f80f4db637bebdd8e802a835a9fd2d
Vadim Yanitskiy at
osmo-bsc.cfg: drop deprecated 'ip.access rtp-base' parameter

Change-Id: Ie5494fd08fc7d2277a087ccc9502b5076fa2565b
Vadim Yanitskiy at

#49 (May 28, 2020, 10:41:59 AM)

ttcn3-bts-test: enable 3 additional transceivers for BTS#0

This is needed for the forthcoming frequency hopping test cases.

Change-Id: Ib5ad31388ae25399ad09739aac3fdcb0b3a1f78b
Depends: I86afb55ecc6703ce7a229aaa626223f9331a4778
Related: OS#4546
Vadim Yanitskiy at

#48 (May 28, 2020, 9:56:10 AM)

debian-repo-install-test: move scripts to osmo-ci

Related: OS#4563
Depends: I777098f19d75f7efbd68b837ccdcd83309429c39 (osmo-ci)
Change-Id: If93f37e8d46597a9abc67a4529be9addd65780f5
Oliver Smith at

#47 (May 28, 2020, 9:31:52 AM)

centos-repo-install-test: new image

Prepare the repo-install-test to be extended to cover centos8 as well.
The scripts from docker-repo-install-test will be moved to osmo-ci.git
as shared code, and extended to work with centos8 too (using this new
image) in I399360ee6389591180859b52f0ef08883447b90b (osmo-ci).

Related: OS#4563
Change-Id: I50743c304728444ede8e0d40b8abef9d17c44d8d
Oliver Smith at

#46 (May 19, 2020, 8:25:32 PM)

bsc: drop access-list-name from osmo-bsc.cfg

This configuration option is unused. Related: the IMSI filtering access list is
being dropped from osmo-bsc, which might cause test fallout.

Related: I89727af5387e8360362e995fdee959883c37d89a (osmo-bsc)
Change-Id: Ied8d766ba230b93cb1185fc8b1a77f5540dfdbc1
Neels Hofmeyr at

#45 (May 16, 2020, 8:26:45 PM)

ttcn3-hlr-tests: enable DGSM tests

Change-Id: Ic4bcf5a5d76325edb104cd09620a22dbe371531d
Oliver Smith at

#44 (May 13, 2020, 4:41:06 PM)

bsc/osmo-bsc.cfg: remove legacy 'rtp-base' config

osmo-bsc does not use an rtp-base for years, ever since we're using an MGW.

Related: Id14fa3066ca5d472a817593074a6222f159168a8
Change-Id: I267840ecb816e9de6d89ebbacb3e296c59fad57c
Neels Hofmeyr at

#43 (May 12, 2020, 2:46:07 PM)

osmo-gsm-tester: Fix typo in path in jenkins.sh

Change-Id: Icdbd94a9e3de81ae60ce18da86ad57ebf70fb04f
Pau Espin Pedrol at

#42 (May 12, 2020, 1:01:36 PM)

osmo-gsm-tester: Point config parameter to file instead of its dirname

Since osmo-gsm-tester.git Change-Id Ieca65b71b543c44cfcec8e83efd0fe053c432e55,
the -c parameter holds the config file and not the directory where it is contained.

Change-Id: I5aa0507d0e82616ee3cca74573fea6bdb7459b53
Pau Espin Pedrol at

#41 (May 8, 2020, 6:06:09 PM)

cgit: change URL for gerrit change-ids

Change-Id: Ifda98d8081b976194a9fafcfdcdb6f6340df6844
Related:OS#4529
laforge at

#40 (May 7, 2020, 5:26:09 PM)

osmo-gsm-tester: Pass conf dir through -c cmd line arg instead of env var

As of osmo-gsm-tester.git Change-Id
I7eb69f870d0dcb5906d45ae067d6bed1aabf5862, the enviornment variable
OSMO_GSM_TESTER_CONF is deprecated in favour of already existing -c cmd
line argument. Let's use it while still providing the docker setup with
a way (using same env var name) to modify where the conf dir is to be
found inside the docker container (for instance, to provide an external
conf dir).

Change-Id: I54ea9dc4d0bb205debf312f5a37053bc60cfcdb7
Pau Espin Pedrol at

#39 (May 6, 2020, 6:31:31 AM)

ttcn3-*-test/jenkins*.sh: add $DOCKER_ARGS

Allow to pass options to each "docker run" line in the various
jenkins.sh scripts. I'm using this to run the testsuites and Osmocom
components in docker with the same configurations as jenkins, but with
Osmocom and testsuite binaries built outside and mounted into the
containers:

DOCKER_ARGS="-v /usr/local:/usr/local:ro -v $hacks:/osmo-ttcn3-hacks:ro"

This allows very short test cycles without a second set of configs. The
full script that makes use of this feature is in osmo-dev.git,
ttcn3/ttcn3.sh.

Change-Id: I8d1f78aee926f8f6ec0b704e16639bc83f525816
Oliver Smith at

#38 (May 5, 2020, 7:36:06 PM)

osmo-hlr-master: run ldconfig

Fix error after DGSM-related patches were merged:

osmo-hlr: error while loading shared libraries: libosmo-gsup-client.so.0: cannot open shared object file: No such file or directory
Change-Id: I80554fdbfd2c518868485f84a46c56df985c671c
Oliver Smith at

#37 (May 4, 2020, 11:43:55 AM)

gerrit: Update to 2.16.18
Change-Id: I2979d892b38c6a7729fe2b39ad240e0a66323284
laforge at

#36 (Apr 30, 2020, 11:16:09 AM)

ttcn3-pcu: Fix cfgn content after ttcn3 module renaming
Required after osmo-ttcn3-hacks.git:
Ie862a1525e9f4f9a3f2427ac3898810e3d044d2f
Iacaddb56e41012ba58ef6d1b9e79d2c012259bed
Change-Id: I0710f52ddab8da8638970d28dc88f6882cc5f637
Pau Espin Pedrol at

#35 (Apr 29, 2020, 9:23:12 AM)

open5gs: Add pgw.sh
This can serve as an entrypoint for running open5gs-pgw inside the
open5gs-master container.  It will run setup.sh to create the ogstun
device, followed by running open5gs-pgwd as 'osmocom' user.
Change-Id: I4527b5e328fb248552e69961b80b9f791ec74293
laforge at

#34 (Apr 27, 2020, 7:41:06 AM)

add osmo-uecups-master container
Change-Id: Iafcf9639f7e44f19220a9d0f375444b168a6a392
laforge at
add open5gs-master docker container
Change-Id: I089c51caa1b1d8acf0063b7bc7fe61a805b5e800
laforge at

#33 (Apr 17, 2020, 1:26:08 PM)

debian-stretch-jenkins: Add osmo-uecups dependencies
The new osmo-uecups project requires libnl-3 + jansson
Change-Id: I592e8ae8677d5d0a90a6b6a5ed9a89789d7c9a5a
laforge at

#32 (Apr 14, 2020, 6:01:06 PM)

ttcn3-bts-test: enable time / date logging for fake_trx.py
Depends: Ie5d14a261e17af554f7132b03d58549a4831dcdb Change-Id:
I7f82e4f573db8f72256718c04bb1ace23788ba38
Vadim Yanitskiy at

#31 (Apr 11, 2020, 3:41:10 PM)

osmo-gsm-tester: Update path to sysmocom's specific setup
Since osmo-gsm-tester.git I364e0859c0851b9167907a4d948b659a0f6a19fb the
example/ directory has been renamed to sysmocom/
Change-Id: I8ca085e02330be51de12066da0555c1bc0c8b767
Pau Espin Pedrol at

#30 (Apr 7, 2020, 11:31:09 AM)

ttcn3-bts-test/virtphy: remove deprecated 'ms-power-control dsp'
osmo-bts-virtual fails to start:
  Error occurred during reading the below line:
   ms-power-control dsp
  This BTS model has no DSP/HW MS Power Control support
Failed to parse the config file: '/data/osmo-bts.cfg'
Change-Id: Ic85603db10c11de911d20313caf2f819e92d94d1
Vadim Yanitskiy at

#29 (Apr 4, 2020, 6:16:07 PM)

osmo-bsc-{latest,master}/osmo-bsc.cfg: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the bogus
'NAT' log category has been removed from osmo-bsc.
Change-Id: If02272c08ba2df37d1295d09c104d11f96abbe1e
Vadim Yanitskiy at

#28 (Apr 4, 2020, 5:11:07 PM)

ttcn3-bts-test/osmo-bsc.cfg: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the bogus
'NAT' log category has been removed from osmo-bsc.
Change-Id: I266d6f6ed54d1457b1ca63b87fc1c29f6dd40caf
Vadim Yanitskiy at

#27 (Apr 4, 2020, 5:06:07 PM)

ttcn3-bsc-test: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the bogus
'NAT' log category has been removed from osmo-bsc.
Change-Id: Ie2afacfc15589c26238214cddc00baaf80e993c1
laforge at

#26 (Apr 3, 2020, 6:56:08 PM)

osmo-gsm-tester/resources.conf: Add 2g,4g modem features attr
Since osmo-gsm-tester.git I38bcf6abf789f52c3ed0bee7911567fa872e2491
these features are included and used in the "4g" suite to allow
selecting 4G modems different than srsue.
Change-Id: Ie1942fd661b91218780bc52bb000d192259e2b69
Pau Espin Pedrol at

#25 (Apr 1, 2020, 11:21:10 AM)

osmo-gsm-tester: Require debian-stretch-jenkins as Dockerfile suggests
Some days ago the Dockerfile was changed to pull from
debian-stretch-jenkins instead of debian-stretch-build, since the first
one has extra runtime dependencies required by osmo-gsm-tester. However,
the jenkins script is still requiring the old dependency. Let's update
it accordingly.
Change-Id: If33aab60e04da7beb4cd0715d5cb3145c001823a
Pau Espin Pedrol at

#24 (Mar 30, 2020, 6:06:06 PM)

ttcn3-bsc-test: Enable CBSP tests
for some strange reason, the tests developed + merged in September 2019
are not yet automatically executed.  Let's fix that.
"latest" should work fine, the BSC side code was already present in
1.6.0
Change-Id: I4408265d1be900359256f5cab553893d03cc8362
laforge at

#23 (Mar 30, 2020, 4:25:13 PM)

update OBS Release.key; the old one expired today.
Change-Id: I0dd7d7f54a3eb93ca677f3bdc5e00f62694aaa9e
laforge at

#22 (Mar 20, 2020, 6:31:08 PM)

osmo-gsm-tester: Use non 'inst' name as target install dir, and remove
it once archived
osmo-gsm-tester uses also the "inst/" directory, so using that name to
install from cmake is not a good idea here, since they will end up in
the same directory under /tmp/trial/inst. Also, make sure the temporary
install dst directory is removed after creating the archive, since at
that point is no longer needed.
Change-Id: Ib6610487140f0703d5817241bc4a63027696c1d4
Pau Espin Pedrol at
osmo-gsm-tester: Allow changing host's trial directory
It's set to /tmp/trial by default for convenience, since it's a
temporary directory and easy to remember and to access. Still, let's
give the opportunity to change it (if user wants it to be stored in
persistent data or if has low amounts of non-persistent memory).
Change-Id: I2a7ea361c6156c97bd8d2d94cf1b6856344d4d9f
Pau Espin Pedrol at
osmo-gsm-tester: Print colored run output succes/failure
This way one can quickly see if osmo-gsm-tester run fine or an issue
ocurred and logs need to be checked.
Change-Id: I0b267889f403fc1505f9dd859568bc15a120dd81
Pau Espin Pedrol at

#21 (Mar 20, 2020, 4:21:37 PM)

osmo-gsm-tester: Build srsLTE inside the docker instance if inst not
provided by host
osmo-gsm-tester.git/contrib/jenkins-build-srslte.sh cannot be used
because there's a need to split the fetch step from the build step.
That's because we want to fetch in the host (in order to use host's user
ssh key for potential private repos) while still building inside the
docker container, where we have all the dependencies (and where the
binaries are going to be run afterwards by osmo-gsm-tester).
During the changes above it was also noticed that /tmp/trial on the host
got its UID+GID changed (because we switch user inside the container to
downscale privileges). Fix it by chown'ing the directory back to the
host user's UID+GID.
Change-Id: Ia0db8fba840392a0b7883cfc15e45c2e80407a16
Pau Espin Pedrol at

#20 (Mar 12, 2020, 3:56:08 PM)

osmo-gsm-tester: Base docker image on debian-stretch-jenkins
That image contains extra runtime dependencies (such as libua5.3) which
may be required by software run by osmo-gsm-tester.
Change-Id: I5c6239e1beb0cdc6d2b1477ddb60d66debe5d1aa
Pau Espin Pedrol at

#19 (Mar 12, 2020, 3:51:08 PM)

osmo-gsm-tester: Allow setting rtprio inside the container
This fixes for instance srsLTE being unable to create a thread with
realtime priority.
Change-Id: If0d033c6e912795804e6d7322c22fdfc6602028b
Pau Espin Pedrol at
osmo-gsm-tester: Allow passing osmo-gsm-tester params from jenkins.sh
caller
After this patch, one can run osmo-gsm-tester with specific parameters
(debug level, suite and tests to run, etc.) by using
OSMO_GSM_TESTER_OPTS variable: OSMO_GSM_TESTER_OPTS="-s 4g -t ping -l
error" ./jenkins.sh
Change-Id: I2e8ff51a3152125148c6a117a987e8c11a576e1e
Pau Espin Pedrol at

#18 (Mar 12, 2020, 9:36:07 AM)

remsim: Enable "classic" client tests (client in separate container)
Change-Id: I0754a7c3c9f9caa65d33bb0a404b53f826cd0a75
laforge at

#17 (Mar 11, 2020, 9:06:56 AM)

osmo-remism-latest: Actually use 'latest', not 'nightly' feed
Change-Id: I790a7c0777298c7e9786521858d3fd9b39831ad6
laforge at

#16 (Mar 9, 2020, 4:51:35 PM)

debian-stretch-jenkins: Install libulfius from osmocom OBS repos
We currently build libulfius 2.5. It doesn't say anywhere in osmo-remsim
that libulfius-3.6.4 is required anyway.
Change-Id: Ie6b07f676f8e06959eaac5e865c163de3f9c939d
Pau Espin Pedrol at

#15 (Mar 3, 2020, 9:21:10 AM)

osmo-gsm-tester: new versions require python3-numpy
Change-Id: Ic1a9edbaf4151aabd157f859ec6fbec30d4f27b0
Pau Espin Pedrol at
osmo-gsm-tester: Add missing srsLTE dependencies (soapy)
Currently srsLTE trials link against soapySDR library to have LimeSDR
support. We need to move installation of those new packages further
below in the Dockerfiler because that lib version is only available with
osmocom repositories (which were added at a later point in the file).
Change-Id: Ia0e506954ffebd94adb75fec6bf481e41f9ec436
Pau Espin Pedrol at
osmo-gsm-tester: Improvements anv fixes to run 4G network with latest
ogt version
* Fix wrong KI.
* Add an extra IP address to slave so that ENB and EPC can be run on
different IP addresses and their GTP ports don't collide.
* Add required rf parameters to resources.conf
Change-Id: I0198bc99f75e9567ee717aa79e434ec28705fac9
Pau Espin Pedrol at
osmo-gsm-tester: Copy limits.d files to docker image
These are required to allow setting rt prio for jenkins user inside the
docker container, as well as for being allowed to create coredump files.
Change-Id: I8ed6193196d739c1416976d431d07b8a0c55ee2a
Pau Espin Pedrol at

#14 (Mar 1, 2020, 7:26:08 PM)

Introduce osmo-gsm-tester docker setup
This set up allows running a typical osmo-gsm-tester set up with a main
unit (ogt-master) attached to one (or more) slaves where resources are
located and processes are run.
As an example, current config allows running an iperf3 test over an
srsLTE stack using the ZeroMQ backend.
Change-Id: Iac7c0b613048ce332642d3957c55cc7c53b56d42
laforge at

#13 (Feb 18, 2020, 8:26:07 AM)

osmo-remsim-master: Add vpcd + pcscd to Docker image
This way we can run the container with osmo-remsim-bankd + ifd-vpcd,
i.e. with a simulated smart card reader behind the bank.
Change-Id: I463eca0f66197b409e00028e75e9501de620cc8b
laforge at
remsim: Integrate pcscd+ifd-vpcd for bankd tests
This way we can actually tests TPDU transmission from a simulated remsim
client through the real bankd into a simulated SIM card.
Change-Id: I584e4c5e3d120bfbd26ade545fe41e541308f26a
laforge at

#12 (Feb 16, 2020, 9:51:07 AM)

update gerrit to 2.16.16
We want to stay on the 2.16.x branch so we cannot use 'lastest'
Change-Id: I20d81678a2d759bb3ac2a31945e684bf4065a8ff
laforge at
redmine: We no longer need the hmac diff
The upstream redmine container/image has meanwhile upgraded to a more
recent version of the ruby base modules which don't require to be
patched anymore.
Change-Id: I0fd7684bdab55eece889a7d9e524ec2a25b30a3b
laforge at

#11 (Feb 10, 2020, 7:31:10 AM)

ttcn3-hlr-test: mp_hlr_supports_dgsm := false
Disable mp_hlr_supports_dgsm, until patches providing the VTY commands
are merged to osmo-hlr.git.
Related: OS#4380 Change-Id: I766d54c65ae9e7b6333f9bcfce49a70c588845d0
Oliver Smith at

#10 (Feb 10, 2020, 7:26:10 AM)

ttcn3-hlr-test: set mp_hlr_supports_dgsm
Related: SYS#4618 Depends: osmo-ttcn3-hacks
Ia7f92d33691f910549353b16a7b0efc18e521719 Change-Id:
Iafdf267c6012264966857e41e855fa971f773023
Oliver Smith at

#9 (Jan 21, 2020, 1:06:08 PM)

sccp: Enable gsmtap log target and configure stderr logging
Depends: libosmo-sccp.git Ie75d004a0e9f24309060f241f22209df1bbe358e
Change-Id: Ia36f5a4ac7d4d400c218ca3a394ea0482f1ae2d8
Pau Espin Pedrol at
stp-master/Dockerfile: Install sccp_devmo_user bin instead of libtool
wrapper
Related: OS#4343 Change-Id: Ic727d2ce0d010ad58276c912fd70ab76d4570dc2
Pau Espin Pedrol at

#8 (Jan 20, 2020, 2:56:09 PM)

ttcn3-pcu: Bind VTY to assigned IP addr
Change-Id: I5240f7ff5d669228077e703b124e6b9de6e7f2b7
Pau Espin Pedrol at

#7 (Jan 17, 2020, 9:11:08 PM)

Introduce ttcn-sccp dockerized setup
Since examples/sccp_demo_user (the binary used to test SCCP) is not
installed by libosmo-sccp.git during make install, we need to install it
manually after "make" step, and hence it's only available in
osmo-stp-master, because in osmo-stp-latest we used packaged files.
Related: OS#4343 Depends: osmo-ttcn3-hacks.git
Ied9fbfb9bd35a99205ca13db033dd9ea03d51238 Change-Id:
I5a7e6ff5f6e5f6e34d6a5ab29bd760a6f9d49c4b
Pau Espin Pedrol at

#6 (Jan 16, 2020, 8:31:07 PM)

ttcn3-stp: Set default OSMO_TTCN3_BRANCH to master
Change-Id: I6b19e50f65bca6fe556c748f3c2b633f65037dce
Pau Espin Pedrol at
README.md: Document how to get gdb backtrace from process crash
Change-Id: I507707a3ed0e7f88bcc9006612df531c848b949e
Pau Espin Pedrol at

#5 (Jan 15, 2020, 12:56:08 PM)

debian-stretch-jenkins: move from osmo-ci.git
Put Dockerfile_osmocom_jenkins.amd64 ("osmocom:deb9_amd64") from
osmo-ci.git here and give it a more descriptive name.
The image is used to run contrib/jenkins.sh scripts of most Osmocom
projects. Move it to here, so we have all docker images in one place. In
the future, osmo-ci.git will use more images from docker-playground.git
in gerrit verification, such as debian-buster-erlang.
Related: OS#4345 Change-Id: I125ae8a6bcabbd1f485028c79b0abacda0622c3a
Oliver Smith at
debian-buster-erlang: rename user to "build"
Match username of debian-stretch-jenkins, so we can use the same docker
arguments for both images in gerrit-verifications.yml of osmo-ci.git.
Related: OS#4345 Change-Id: Ia3eaec6090c9652549b2850de74ee21730374bbd
Oliver Smith at

#4 (Jan 9, 2020, 10:26:09 PM)

Add debian-buster-simtrace2 Dockerfile
This container is useful for people wanting to have an easy method to
gain a build environment for the simtrace2 firmware + host utilities.
Change-Id: I08b2fc542dd3568d26f199427523cfa81eb26d70
laforge at

#3 (Jan 9, 2020, 10:16:09 PM)

start debian-buster-build as copy of debian-jessie-build
Change-Id: I8eb6697ba736b933120bff5950b68294b4b4f842
laforge at
debian-buster-build: actually switch to buster
Change-Id: I35968431515e160b1ce6d766220a413a503f1a3a
laforge at
debian-*-build: Add {gcc,newlib}-arm-none-eabi for simtrace2 firmware
The sitmrace2.git firmware buidl requires this cross-compiler.  We so
far didn't build it within this container, but lets make sure we could,
if we'd want.
Change-Id: If335247381aab2621fcbe6e6e596a1416e05fdf4
laforge at
docker-*-build: Add missign dependency to stow
Change-Id: Ia1adac1e8e56c6dfa283af9cf2e8f426c77ef2e1
laforge at