aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-12-14 12:42:55 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2024-05-21 12:05:55 +0200
commitfc8fb8e6ebc7ba73d58ee75bfa4c3166d0801e39 (patch)
tree6bceabd3c2ba0f6bbeb05da8f2d610cc7bfb6818
parentf6f9f71be00879585854991f9c740951069669e0 (diff)
DONTMERGEpespin/master
-rwxr-xr-xcommon/ttcn3-docker-prepare.sh2
-rw-r--r--debian-buster-build/Dockerfile1
-rw-r--r--make/Makefile4
-rw-r--r--open5gs-master/Dockerfile10
-rw-r--r--osmo-bsc-master/Dockerfile80
-rw-r--r--osmo-bts-master/Dockerfile56
-rw-r--r--osmo-cbc-master/Dockerfile69
-rw-r--r--osmo-gbproxy-master/Dockerfile52
-rw-r--r--osmo-ggsn-master/Dockerfile29
-rw-r--r--osmo-hnbgw-master/Dockerfile84
-rw-r--r--osmo-hnodeb-master/Dockerfile54
-rw-r--r--osmo-mgw-master/Dockerfile58
-rw-r--r--osmo-msc-master/Dockerfile81
-rw-r--r--osmo-pcu-master/Dockerfile24
-rw-r--r--osmo-sgsn-master/Dockerfile86
-rw-r--r--osmo-stp-master/Dockerfile55
-rw-r--r--osmo-uecups-master/Dockerfile54
-rw-r--r--osmocom-bb-host-master/Dockerfile6
-rw-r--r--ttcn3-bsc-test/osmo-bsc.cfg1
-rw-r--r--ttcn3-bsc-test/sccplite/BSC_Tests.cfg1
-rw-r--r--ttcn3-bts-test/oml/BTS_Tests.cfg5
-rw-r--r--ttcn3-cbc-test/CBC_Tests.cfg4
-rwxr-xr-xttcn3-cbc-test/jenkins.sh3
-rw-r--r--ttcn3-gbproxy-test-fr/GBProxy_Tests.cfg1
-rw-r--r--ttcn3-gbproxy-test/GBProxy_Tests.cfg3
-rwxr-xr-xttcn3-ggsn-test/jenkins-ogs.sh12
-rwxr-xr-xttcn3-ggsn-test/jenkins.sh3
-rw-r--r--ttcn3-ggsn-test/ogs/GGSN_Tests.cfg15
-rwxr-xr-xttcn3-ggsn-test/ogs/upfd-setup.sh2
-rwxr-xr-xttcn3-ggsn-test/ogs/upfd.sh15
-rw-r--r--ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg6
-rw-r--r--ttcn3-hnbgw-test/HNBGW_Tests.cfg1
-rw-r--r--ttcn3-hnodeb-test/HNB_Tests.cfg15
-rw-r--r--ttcn3-hnodeb-test/osmo-hnodeb.cfg1
-rw-r--r--ttcn3-mgw-test/MGCP_Test.cfg29
-rwxr-xr-xttcn3-mgw-test/jenkins.sh3
-rw-r--r--ttcn3-pcu-test/PCU_Tests.cfg23
-rw-r--r--ttcn3-pcu-test/sns/PCU_Tests.cfg5
-rw-r--r--ttcn3-pgw-test/PGW_Tests.cfg2
-rwxr-xr-xttcn3-pgw-test/jenkins.sh10
-rw-r--r--ttcn3-sip-test/SIP_Tests.cfg4
-rw-r--r--ttcn3-stp-test/STP_Tests.cfg1
42 files changed, 934 insertions, 36 deletions
diff --git a/common/ttcn3-docker-prepare.sh b/common/ttcn3-docker-prepare.sh
index c2b28b9..2c18b53 100755
--- a/common/ttcn3-docker-prepare.sh
+++ b/common/ttcn3-docker-prepare.sh
@@ -14,7 +14,7 @@ OSMO_TTCN3_BRANCH=$1
shift
cd /osmo-ttcn3-hacks
-
+git remote set-url origin "https://gerrit.osmocom.org/osmo-ttcn3-hacks"
git fetch
git checkout "$OSMO_TTCN3_BRANCH"
diff --git a/debian-buster-build/Dockerfile b/debian-buster-build/Dockerfile
index 0d2b5b7..c54af17 100644
--- a/debian-buster-build/Dockerfile
+++ b/debian-buster-build/Dockerfile
@@ -39,6 +39,7 @@ RUN apt-get update && \
libgnutls28-dev \
libgps-dev \
libgsm1-dev \
+ libmnl-dev \
libncurses5-dev \
libnewlib-arm-none-eabi \
libortp-dev \
diff --git a/make/Makefile b/make/Makefile
index 24308e5..3db6ea3 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -19,6 +19,8 @@ UID=$(shell id -u)
NAME?=$(shell basename $(CURDIR))
ASTERISK_BRANCH?=sysmocom/master
LIBOSMOCORE_BRANCH?=master
+LIBOSMOABIS_BRANCH?=master
+LIBOSMONETIF_BRANCH?=master
OSMO_TTCN3_BRANCH?=master
OSMO_BB_BRANCH?=master
OSMO_BSC_BRANCH?=master
@@ -104,6 +106,8 @@ docker-build: .release
--build-arg OSMOCOM_REPO_TESTSUITE_MIRROR=$(OSMOCOM_REPO_TESTSUITE_MIRROR) \
--build-arg ASTERISK_BRANCH=$(ASTERISK_BRANCH) \
--build-arg LIBOSMOCORE_BRANCH=$(LIBOSMOCORE_BRANCH) \
+ --build-arg LIBOSMOABIS_BRANCH=$(LIBOSMOABIS_BRANCH) \
+ --build-arg LIBOSMONETIF_BRANCH=$(LIBOSMONETIF_BRANCH) \
--build-arg OSMO_BB_BRANCH=$(OSMO_BB_BRANCH) \
--build-arg OSMO_BSC_BRANCH=$(OSMO_BSC_BRANCH) \
--build-arg OSMO_BTS_BRANCH=$(OSMO_BTS_BRANCH) \
diff --git a/open5gs-master/Dockerfile b/open5gs-master/Dockerfile
index e9b3cf4..2280abb 100644
--- a/open5gs-master/Dockerfile
+++ b/open5gs-master/Dockerfile
@@ -43,6 +43,16 @@ RUN apt-get update && \
apt-get install -y \
mongodb-org
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ DEBIAN_FRONTEND=noninteractive \
+ apt-get install -y --no-install-recommends \
+ gdb \
+ libtalloc-dev \
+ valgrind \
+ tcpdump && \
+ apt-get clean
+
# create a user
ARG username=osmocom
RUN useradd -m ${username} && \
diff --git a/osmo-bsc-master/Dockerfile b/osmo-bsc-master/Dockerfile
index 65ec5d4..74a6d85 100644
--- a/osmo-bsc-master/Dockerfile
+++ b/osmo-bsc-master/Dockerfile
@@ -34,6 +34,84 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG OSMO_STP_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/libosmo-sccp.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-sccp/+/$OSMO_STP_BRANCH?format=TEXT /tmp/commit
+RUN cd libosmo-sccp && \
+ git fetch && git checkout $OSMO_STP_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_STP_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure --enable-sanitize && \
+ make "-j$(nproc)" install && \
+ install examples/.libs/sccp_demo_user /usr/local/bin/ && \
+ ldconfig
+
+ARG OSMO_MGW_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/osmo-mgw.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-mgw/+/$OSMO_MGW_BRANCH?format=TEXT /tmp/commit-osmo-mgw
+
+RUN cd osmo-mgw && \
+ git fetch && git checkout $OSMO_MGW_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_MGW_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure && \
+ make "-j$(nproc)" install && \
+ ldconfig
+
ARG OSMO_BSC_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-bsc.git
@@ -44,7 +122,7 @@ RUN cd osmo-bsc && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_BSC_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install
VOLUME /data
diff --git a/osmo-bts-master/Dockerfile b/osmo-bts-master/Dockerfile
index 8c43973..31dc06b 100644
--- a/osmo-bts-master/Dockerfile
+++ b/osmo-bts-master/Dockerfile
@@ -13,7 +13,8 @@ RUN case "$DISTRO" in \
libosmo-netif-dev \
libosmo-sccp-dev \
libsmpp34-dev \
- libgtp-dev && \
+ libgtp-dev \
+ gdb && \
apt-get clean \
;; \
centos*) \
@@ -33,6 +34,57 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_BTS_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-bts.git
@@ -43,7 +95,7 @@ RUN cd osmo-bts && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_BTS_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure --enable-trx && \
+ ./configure --enable-trx --enable-sanitize && \
make "-j$(nproc)" install
VOLUME /data
diff --git a/osmo-cbc-master/Dockerfile b/osmo-cbc-master/Dockerfile
index 0e90fc8..f3f527f 100644
--- a/osmo-cbc-master/Dockerfile
+++ b/osmo-cbc-master/Dockerfile
@@ -11,6 +11,8 @@ RUN case "$DISTRO" in \
libosmocore-dev \
libosmo-netif-dev \
libulfius-dev \
+ libsctp-dev \
+ gdb \
&& \
apt-get clean \
;; \
@@ -27,6 +29,68 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-libsctp \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && ./configure \
+ --disable-doxygen \
+ --enable-libsctp \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && ./configure \
+ --disable-doxygen \
+ --enable-libsctp \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_CBC_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-cbc.git
@@ -37,7 +101,10 @@ RUN cd osmo-cbc && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_CBC_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure && \
+ export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-gbproxy-master/Dockerfile b/osmo-gbproxy-master/Dockerfile
index 484bb88..a895459 100644
--- a/osmo-gbproxy-master/Dockerfile
+++ b/osmo-gbproxy-master/Dockerfile
@@ -28,6 +28,56 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH?format=TEXT \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_GBPROXY_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-gbproxy.git
@@ -38,7 +88,7 @@ RUN cd osmo-gbproxy && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_GBPROXY_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-ggsn-master/Dockerfile b/osmo-ggsn-master/Dockerfile
index 7f505d0..2c5a91f 100644
--- a/osmo-ggsn-master/Dockerfile
+++ b/osmo-ggsn-master/Dockerfile
@@ -33,8 +33,35 @@ RUN case "$DISTRO" in \
;; \
esac
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ DEBIAN_FRONTEND=noninteractive \
+ apt-get install -y --no-install-recommends \
+ gdb \
+ libtalloc-dev \
+ tcpdump && \
+ apt-get clean
+
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_GGSN_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-ggsn.git
@@ -45,7 +72,7 @@ RUN cd osmo-ggsn && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_GGSN_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure --enable-gtp-linux && \
+ ./configure --enable-gtp-linux --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-hnbgw-master/Dockerfile b/osmo-hnbgw-master/Dockerfile
index f69a6b4..de830bd 100644
--- a/osmo-hnbgw-master/Dockerfile
+++ b/osmo-hnbgw-master/Dockerfile
@@ -6,6 +6,7 @@ ARG DISTRO
RUN apt-get update && \
apt-get install -y --no-install-recommends \
+ gdb \
libosmocore-dev \
libosmo-abis-dev \
libosmo-mgcp-client-dev \
@@ -16,11 +17,92 @@ RUN apt-get update && \
libosmo-hnbap-dev \
libasn1c-dev \
libosmo-pfcp-dev \
+ libosmo-mgcp-client-dev \
&& \
apt-get clean
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG OSMO_IUH_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/osmo-iuh.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-iuh/+/$OSMO_IUH_BRANCH?format=TEXT /tmp/commit-osmo-iuh
+
+RUN cd osmo-iuh && \
+ git fetch && git checkout $OSMO_IUH_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_IUH_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure && \
+ make "-j$(nproc)" install && \
+ ldconfig
+
+ARG OSMO_MGW_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/osmo-mgw.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-mgw/+/$OSMO_MGW_BRANCH?format=TEXT /tmp/commit-osmo-mgw
+
+RUN cd osmo-mgw && \
+ git fetch && git checkout $OSMO_MGW_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_MGW_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure && \
+ make "-j$(nproc)" install && \
+ ldconfig
+
ARG OSMO_HNBGW_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-hnbgw.git
@@ -31,7 +113,7 @@ RUN cd osmo-hnbgw && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_HNBGW_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure --enable-pfcp && \
+ ./configure --enable-pfcp --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-hnodeb-master/Dockerfile b/osmo-hnodeb-master/Dockerfile
index ffdb639..4fd0f3e 100644
--- a/osmo-hnodeb-master/Dockerfile
+++ b/osmo-hnodeb-master/Dockerfile
@@ -15,6 +15,58 @@ RUN apt-get update && \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_IUH_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-iuh.git
@@ -39,7 +91,7 @@ RUN cd osmo-hnodeb && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_HNODEB_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-mgw-master/Dockerfile b/osmo-mgw-master/Dockerfile
index 20b5b1a..1093ffb 100644
--- a/osmo-mgw-master/Dockerfile
+++ b/osmo-mgw-master/Dockerfile
@@ -8,6 +8,7 @@ RUN case "$DISTRO" in \
debian*) \
apt-get update && \
apt-get install -y --no-install-recommends \
+ gdb \
libosmocore-dev \
libosmo-abis-dev \
libosmo-netif-dev \
@@ -29,6 +30,58 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ --enable-libsctp \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_MGW_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-mgw.git
@@ -40,7 +93,10 @@ RUN cd osmo-mgw && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_MGW_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure && \
+ export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ export CFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-msc-master/Dockerfile b/osmo-msc-master/Dockerfile
index 7a0362d..9ab5697 100644
--- a/osmo-msc-master/Dockerfile
+++ b/osmo-msc-master/Dockerfile
@@ -42,6 +42,85 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG OSMO_STP_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/libosmo-sccp.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-sccp/+/$OSMO_STP_BRANCH?format=TEXT /tmp/commit
+RUN cd libosmo-sccp && \
+ git fetch && git checkout $OSMO_STP_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_STP_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure --enable-sanitize && \
+ make "-j$(nproc)" install && \
+ install examples/.libs/sccp_demo_user /usr/local/bin/ && \
+ ldconfig
+
+ARG OSMO_MGW_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/osmo-mgw.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-mgw/+/$OSMO_MGW_BRANCH?format=TEXT /tmp/commit-osmo-mgw
+
+
+RUN cd osmo-mgw && \
+ git fetch && git checkout $OSMO_MGW_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_MGW_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure && \
+ make "-j$(nproc)" install && \
+ ldconfig
+
ARG OSMO_MSC_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-msc.git
@@ -52,7 +131,7 @@ RUN cd osmo-msc && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_MSC_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure --enable-smpp --enable-iu && \
+ ./configure --enable-smpp --enable-iu --enable-sanitize && \
make "-j$(nproc)" install
VOLUME /data
diff --git a/osmo-pcu-master/Dockerfile b/osmo-pcu-master/Dockerfile
index ac0fc1e..a108996 100644
--- a/osmo-pcu-master/Dockerfile
+++ b/osmo-pcu-master/Dockerfile
@@ -23,6 +23,25 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --enable-force-io-select \
+ --prefix=/usr/local --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_PCU_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-pcu.git
@@ -32,9 +51,10 @@ RUN cd osmo-pcu && \
git fetch && git checkout $OSMO_PCU_BRANCH && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_PCU_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" && \
autoreconf -fi && \
- ./configure && \
- make "-j$(nproc)" install
+ ./configure --enable-sanitize && \
+ make "-j$(nproc)" V=1 install
VOLUME /data
diff --git a/osmo-sgsn-master/Dockerfile b/osmo-sgsn-master/Dockerfile
index edd912f..b5dcfbb 100644
--- a/osmo-sgsn-master/Dockerfile
+++ b/osmo-sgsn-master/Dockerfile
@@ -10,11 +10,9 @@ RUN case "$DISTRO" in \
apt-get install -y --no-install-recommends \
libosmocore-dev \
libosmo-abis-dev \
+ telnet \
libosmo-gsup-client-dev \
- libosmo-netif-dev \
libosmo-ranap-dev \
- libosmo-sccp-dev \
- libosmo-sigtran-dev \
libsmpp34-dev \
libgtp-dev \
libasn1c-dev && \
@@ -40,6 +38,86 @@ RUN case "$DISTRO" in \
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG OSMO_GGSN_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/osmo-ggsn
+ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-ggsn/+/$OSMO_GGSN_BRANCH?format=TEXT /tmp/commit-osmo-ggsn
+
+RUN cd osmo-ggsn \
+ && git fetch && git checkout -f -B $OSMO_GGSN_BRANCH origin/$OSMO_GGSN_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG OSMO_STP_BRANCH="master"
+
+RUN git clone https://gerrit.osmocom.org/libosmo-sccp.git
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-sccp/+/$OSMO_STP_BRANCH?format=TEXT /tmp/commit
+RUN cd libosmo-sccp && \
+ git fetch && git checkout $OSMO_STP_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_STP_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure --enable-sanitize && \
+ make "-j$(nproc)" install && \
+ install examples/.libs/sccp_demo_user /usr/local/bin/ && \
+ ldconfig
+
ARG OSMO_SGSN_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-sgsn.git
@@ -50,7 +128,7 @@ RUN cd osmo-sgsn && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_SGSN_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure --enable-iu && \
+ ./configure --enable-iu --enable-sanitize && \
make "-j$(nproc)" install && \
ldconfig
diff --git a/osmo-stp-master/Dockerfile b/osmo-stp-master/Dockerfile
index 2e6ecd6..cf6a778 100644
--- a/osmo-stp-master/Dockerfile
+++ b/osmo-stp-master/Dockerfile
@@ -9,7 +9,8 @@ RUN case "$DISTRO" in \
apt-get update && \
apt-get install -y --no-install-recommends \
libosmocore-dev \
- libosmo-netif-dev && \
+ libosmo-netif-dev \
+ telnet libosmo-abis-dev && \
apt-get clean \
;; \
centos*) \
@@ -23,6 +24,56 @@ RUN case "$DISTRO" in \
WORKDIR /data
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j5 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ --enable-sanitize \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_STP_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/libosmo-sccp.git
@@ -33,7 +84,7 @@ RUN cd libosmo-sccp && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_STP_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
- ./configure && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install && \
install examples/.libs/sccp_demo_user /usr/local/bin/ && \
ldconfig
diff --git a/osmo-uecups-master/Dockerfile b/osmo-uecups-master/Dockerfile
index 793fe6b..b632e18 100644
--- a/osmo-uecups-master/Dockerfile
+++ b/osmo-uecups-master/Dockerfile
@@ -12,11 +12,62 @@ RUN apt-get update && \
libosmo-netif-dev \
libsctp-dev \
iputils-ping \
+ gdb \
strace && \
apt-get clean
WORKDIR /tmp
+# Download, build and install libosmocore
+ARG LIBOSMOCORE_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmocore
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmocore/+/$LIBOSMOCORE_BRANCH?format=TEXT /tmp/commit-libosmocore
+
+RUN cd libosmocore \
+ && git fetch && git checkout -f -B $LIBOSMOCORE_BRANCH origin/$LIBOSMOCORE_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && ./configure \
+ --disable-doxygen \
+ --disable-pcsc \
+ --prefix=/usr/local \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMOABIS_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-abis
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-abis/+/$LIBOSMOABIS_BRANCH?format=TEXT /tmp/commit-libosmoabis
+
+RUN cd libosmo-abis \
+ && git fetch && git checkout -f -B $LIBOSMOABIS_BRANCH origin/$LIBOSMOABIS_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
+ARG LIBOSMONETIF_BRANCH="master"
+RUN git clone https://gerrit.osmocom.org/libosmo-netif
+ADD https://gerrit.osmocom.org/plugins/gitiles/libosmo-netif/+/$LIBOSMONETIF_BRANCH?format=TEXT /tmp/commit-libosmonetif
+
+RUN cd libosmo-netif \
+ && git fetch && git checkout -f -B $LIBOSMONETIF_BRANCH origin/$LIBOSMONETIF_BRANCH \
+ && git rev-parse --abbrev-ref HEAD && git rev-parse HEAD \
+ && autoreconf -fi \
+ && ./configure \
+ --disable-doxygen \
+ --prefix=/usr/local \
+ && make -j8 \
+ && make install \
+ && make distclean && ldconfig
+
ARG OSMO_UECUPS_BRANCH="master"
RUN git clone https://gerrit.osmocom.org/osmo-uecups.git
@@ -27,6 +78,9 @@ RUN cd osmo-uecups && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_UECUPS_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
autoreconf -fi && \
+ export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CFLAGS="-g -O0 -fno-omit-frame-pointer" \
+ && export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" && \
./configure && \
make "-j$(nproc)" install
diff --git a/osmocom-bb-host-master/Dockerfile b/osmocom-bb-host-master/Dockerfile
index efc9925..7ee010c 100644
--- a/osmocom-bb-host-master/Dockerfile
+++ b/osmocom-bb-host-master/Dockerfile
@@ -7,6 +7,7 @@ ARG OSMO_BB_BRANCH="master"
RUN apt-get update && \
apt-get install -y --no-install-recommends \
+ gdb \
libosmocore-dev && \
apt-get clean
@@ -22,7 +23,10 @@ RUN cd osmocom-bb && \
RUN cd osmocom-bb/src/host/trxcon && \
autoreconf -fi && \
- ./configure && \
+ export CPPFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ export CFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ export CXXFLAGS="-g -O0 -fno-omit-frame-pointer" && \
+ ./configure --enable-sanitize && \
make "-j$(nproc)" install
RUN cd osmocom-bb/src/host/virt_phy && \
diff --git a/ttcn3-bsc-test/osmo-bsc.cfg b/ttcn3-bsc-test/osmo-bsc.cfg
index 7cd8e1d..ceea9c8 100644
--- a/ttcn3-bsc-test/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/osmo-bsc.cfg
@@ -43,6 +43,7 @@ log stderr
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
+ logging level set-all debug
!
stats interval 0
stats reporter statsd
diff --git a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
index 5103e2e..8b9ff84 100644
--- a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
+++ b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
@@ -31,3 +31,4 @@ BSC_Tests.mp_enable_lcs_tests := false;
[EXECUTE]
BSC_Tests.control
+#BSC_Tests.TC_assignment_codec_amr_f
diff --git a/ttcn3-bts-test/oml/BTS_Tests.cfg b/ttcn3-bts-test/oml/BTS_Tests.cfg
index 1311336..b7f9403 100644
--- a/ttcn3-bts-test/oml/BTS_Tests.cfg
+++ b/ttcn3-bts-test/oml/BTS_Tests.cfg
@@ -24,4 +24,7 @@ PCUIF_Types.mp_pcuif_version := 12;
[MAIN_CONTROLLER]
[EXECUTE]
-BTS_Tests_OML.control
+#BTS_Tests_OML.control
+#BTS_Tests_OML.TC_bts_opstart
+#BTS_Tests_OML.TC_bts_opstart
+BTS_Tests_OML.TC_ipa_osmo_pcu_anr_fwd
diff --git a/ttcn3-cbc-test/CBC_Tests.cfg b/ttcn3-cbc-test/CBC_Tests.cfg
index 6e7ab21..c32a8e9 100644
--- a/ttcn3-cbc-test/CBC_Tests.cfg
+++ b/ttcn3-cbc-test/CBC_Tests.cfg
@@ -16,3 +16,7 @@ CBC_Tests.mp_cbc_host := "172.18.27.20";
[EXECUTE]
CBC_Tests.control
+#CBC_Tests.TC_ecbe_create_delete_cgi
+#CBC_Tests.TC_ecbe_create_delete_bsc_server
+#CBC_Tests.TC_cell_failure_restart_active_bsc
+#CBC_Tests.TC_cell_failure_restart_active_mme
diff --git a/ttcn3-cbc-test/jenkins.sh b/ttcn3-cbc-test/jenkins.sh
index 6026df0..1ee27f2 100755
--- a/ttcn3-cbc-test/jenkins.sh
+++ b/ttcn3-cbc-test/jenkins.sh
@@ -26,7 +26,8 @@ docker run --rm \
-v $VOL_BASE_DIR/cbc:/data \
--name ${BUILD_TAG}-cbc -d \
$DOCKER_ARGS \
- $REPO_USER/osmo-cbc-$IMAGE_SUFFIX
+ $REPO_USER/osmo-cbc-$IMAGE_SUFFIX \
+ /bin/sh -c "gdb -ex 'run' -ex 'bt' --arg osmo-cbc -c /data/osmo-cbc.cfg >/data/osmo-cbc.log 2>&1"
echo Starting container with CBC testsuite
docker run --rm \
diff --git a/ttcn3-gbproxy-test-fr/GBProxy_Tests.cfg b/ttcn3-gbproxy-test-fr/GBProxy_Tests.cfg
index ce4623a..d03db07 100644
--- a/ttcn3-gbproxy-test-fr/GBProxy_Tests.cfg
+++ b/ttcn3-gbproxy-test-fr/GBProxy_Tests.cfg
@@ -150,3 +150,4 @@ GBProxy_Tests.mp_nsconfig_pcu := {
[EXECUTE]
GBProxy_Tests.control
+#GBProxy_Tests.TC_BVC_bringup
diff --git a/ttcn3-gbproxy-test/GBProxy_Tests.cfg b/ttcn3-gbproxy-test/GBProxy_Tests.cfg
index e1d6573..16a2598 100644
--- a/ttcn3-gbproxy-test/GBProxy_Tests.cfg
+++ b/ttcn3-gbproxy-test/GBProxy_Tests.cfg
@@ -100,4 +100,5 @@ GBProxy_Tests.mp_nsconfig_pcu := {
[MAIN_CONTROLLER]
[EXECUTE]
-GBProxy_Tests.control
+#GBProxy_Tests.control
+GBProxy_Tests.TC_rim_from_eutran
diff --git a/ttcn3-ggsn-test/jenkins-ogs.sh b/ttcn3-ggsn-test/jenkins-ogs.sh
index 07952bc..1e73b0a 100755
--- a/ttcn3-ggsn-test/jenkins-ogs.sh
+++ b/ttcn3-ggsn-test/jenkins-ogs.sh
@@ -32,12 +32,13 @@ docker run --cap-add=NET_ADMIN \
--ulimit core=-1 \
-v $VOL_BASE_DIR/ggsn:/data \
--name ${BUILD_TAG}-ggsn-ogs-smf -d \
+ --expose 9090 \
$DOCKER_ARGS \
$(docker_network_params $SUBNET 201) \
$REPO_USER/open5gs-$IMAGE_SUFFIX \
- /bin/sh -c "open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
- #/bin/sh -c "gdb -ex 'handle SIG32 pass nostop noprint' -ex 'run' -ex 'bt' --arg open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
- #/bin/sh -c "valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
+ /bin/sh -c "gdb -ex 'handle SIG32 pass nostop noprint' -ex 'run' -ex 'bt' --arg open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
+ #/bin/sh -c "valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes open5gs-smfd -c /data/open5gs-smf.yaml >/data/open5gs-smfd.out 2>&1"
+#/bin/sh -c "open5gs-smfd -c /data/open5gs-smf.yaml >/data/open5gs-smfd.out 2>&1"
docker run --cap-add=NET_ADMIN \
--device /dev/net/tun:/dev/net/tun \
@@ -61,3 +62,8 @@ docker run --rm \
--name ${BUILD_TAG}-ggsn-test \
$DOCKER_ARGS \
$REPO_USER/ttcn3-ggsn-test
+
+# let some time to tcpdump upf.pcap to fill
+sleep 5
+#echo "press a key"
+#read
diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh
index 7c9c7ac..2d08547 100755
--- a/ttcn3-ggsn-test/jenkins.sh
+++ b/ttcn3-ggsn-test/jenkins.sh
@@ -79,7 +79,8 @@ start_ggsn() {
$DOCKER_ARGS \
$GGSN_DOCKER_ARGS \
$REPO_USER/osmo-ggsn-$IMAGE_SUFFIX \
- /bin/sh -c "$GGSN_CMD >/data/osmo-ggsn.log 2>&1"
+ /bin/sh -c "gdb -ex 'run' -ex 'bt' --arg $GGSN_CMD >/data/osmo-ggsn.log 2>&1"
+# /bin/sh -c "$GGSN_CMD >/data/osmo-ggsn.log 2>&1"
kernel_test_wait_for_vm "$VOL_BASE_DIR/ggsn-$test_config/osmo-ggsn.log"
}
diff --git a/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg b/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg
index da69999..a96797a 100644
--- a/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/ogs/GGSN_Tests.cfg
@@ -4,6 +4,8 @@
[LOGGING]
*.JUnitLogger.testsuite_name := "GGSN_Tests"
+*.FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING | MATCHING |MATCHING_PROBLEM
+FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING | MATCHING | DEBUG_ENCDEC;
[TESTPORT_PARAMETERS]
*.GGSNVTY.CTRL_HOSTNAME := "172.18.3.201"
@@ -21,4 +23,15 @@ GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::222"
GGSN_Tests.m_ggsn_impl := GGSN_IMPL_OPEN5GS
[EXECUTE]
-GGSN_Tests.control
+#GGSN_Tests.control
+#GGSN_Tests.TC_pdp4_act_deact_gtpu_access
+#GGSN_Tests.TC_pdp4_act_deact
+#GGSN_Tests.TC_pdp4_act_deact_ipcp
+#GGSN_Tests.TC_act_deact_retrans_duplicate
+#GGSN_Tests.TC_pdp46_act_deact_gtpu_access_wrong_ll_saddr_ipv6
+#GGSN_Tests.TC_pdp46_act_deact_gtpu_access_wrong_ll_saddr_ipv6
+#GGSN_Tests.TC_pdp4_act_update_teid
+#GGSN_Tests.TC_act_deact_retrans_duplicate
+#GGSN_Tests.TC_gy_charging_cc_time
+#GGSN_Tests.TC_lots_of_concurrent_pdp_ctx
+GGSN_Tests.TC_gy_charging_volume_quota_threshold
diff --git a/ttcn3-ggsn-test/ogs/upfd-setup.sh b/ttcn3-ggsn-test/ogs/upfd-setup.sh
index b185ac0..376293f 100755
--- a/ttcn3-ggsn-test/ogs/upfd-setup.sh
+++ b/ttcn3-ggsn-test/ogs/upfd-setup.sh
@@ -23,6 +23,8 @@ add_addr "ogstun6" "2001:780:44:2000:0:0:0:1/56"
add_addr "ogstun46" "176.16.32.1/20"
add_addr "ogstun46" "2001:780:44:2100:0:0:0:1/56"
+#echo "0" > /proc/sys/net/ipv6/conf/ogstun4/accept_ra
+
ip link set ogstun4 up
ip link set ogstun6 up
ip link set ogstun46 up
diff --git a/ttcn3-ggsn-test/ogs/upfd.sh b/ttcn3-ggsn-test/ogs/upfd.sh
index 9089701..0841ff8 100755
--- a/ttcn3-ggsn-test/ogs/upfd.sh
+++ b/ttcn3-ggsn-test/ogs/upfd.sh
@@ -2,7 +2,22 @@
set -e
set -x
/data/upfd-setup.sh
+tcpdump -i any -vvv -w /data/upfd.pcap &
upfd_bin="$(command -v open5gs-upfd)"
# so_bindtodevice cfg requires CAP_NET_RAW:
setcap cap_net_raw+ep "$upfd_bin"
su - osmocom -c "$upfd_bin $*"
+
+# Wait for up to 2 seconds if we keep receiving traffinc from packet dumper,
+# otherwise we might lose last packets from test.
+i=0
+prev_count=-1
+count=$(stat --format="%s" "/data/upfd.pcap")
+while [ $count -gt $prev_count ] && [ $i -lt 2 ]
+do
+ echo "Waiting for packet dumper to finish... $i (prev_count=$prev_count, count=$count)"
+ sleep 1
+ prev_count=$count
+ count=$(stat --format="%s" "/data/upfd.pcap")
+ i=$((i+1))
+done
diff --git a/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg
index f715d9f..ef2fd65 100644
--- a/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/ttcn3/all/GGSN_Tests.cfg
@@ -28,3 +28,9 @@ GGSN_Tests.m_ggsn_conf := GGSN_CONF_ALL
[EXECUTE]
GGSN_Tests.control
+#GGSN_Tests.TC_pdp4_act_update_teic
+#GGSN_Tests.TC_pdp4_act_update_teid
+#GGSN_Tests.TC_pdp46_act_deact_apn4
+#GGSN_Tests.TC_pdp4_act_deact_gtpu_access
+#GGSN_Tests.TC_lots_of_concurrent_pdp_ctx
+#GGSN_Tests.TC_addr_pool_exhaustion
diff --git a/ttcn3-hnbgw-test/HNBGW_Tests.cfg b/ttcn3-hnbgw-test/HNBGW_Tests.cfg
index a23f3c1..d264d42 100644
--- a/ttcn3-hnbgw-test/HNBGW_Tests.cfg
+++ b/ttcn3-hnbgw-test/HNBGW_Tests.cfg
@@ -118,3 +118,4 @@ HNBGW_Tests.mp_hnbgw_timer_x31 := 5;
[EXECUTE]
HNBGW_Tests.control
+#HNBGW_Tests.TC_hnb_register_duplicate_reuse_sctp_assoc
diff --git a/ttcn3-hnodeb-test/HNB_Tests.cfg b/ttcn3-hnodeb-test/HNB_Tests.cfg
index 677e12b..71d1cea 100644
--- a/ttcn3-hnodeb-test/HNB_Tests.cfg
+++ b/ttcn3-hnodeb-test/HNB_Tests.cfg
@@ -4,10 +4,18 @@
[LOGGING]
*.JUnitLogger.testsuite_name := "HNB_Tests"
+FileMask := LOG_ALL | TTCN_MATCHING | TTCN_DEBUG
[TESTPORT_PARAMETERS]
*.HNBVTY.CTRL_HOSTNAME := "172.18.33.20";
*.STATSVTY.CTRL_HOSTNAME := "172.18.33.20";
+*.IPL4.debug := "YES";
+*.Iuh.debug := "YES";
+system.SCTP_PORT.debug := "yes";
+system.SCTP_SimpleClientPort.debug := "yes"
+system.SCTP_SimpleServerPort.debug := "yes"
+system.SCTP_ClientPort.debug := "yes"
+system.SCTP_ServerPort.debug := "yes"
[MODULE_PARAMETERS]
HNB_Tests.mp_hnodeb_ip := "172.18.33.20";
@@ -18,3 +26,10 @@ HNB_Tests.mp_hnbllif_sk_path := "/data/unix/ll_sock";
[EXECUTE]
HNB_Tests.control
+#HNB_Tests.TC_hnb_register_request_accept
+#HNB_Tests.TC_hnb_register_request_reject
+#HNB_Tests.TC_ps_mo_gtp_ping_pong
+#HNB_Tests.TC_ps_mo_gtp_ping_pong
+#HNB_Tests.TC_paging
+#HNB_Tests.TC_cs_mo_call_audio_v0
+#HNB_Tests.TC_cs_mo_call
diff --git a/ttcn3-hnodeb-test/osmo-hnodeb.cfg b/ttcn3-hnodeb-test/osmo-hnodeb.cfg
index 7d24700..621aa57 100644
--- a/ttcn3-hnodeb-test/osmo-hnodeb.cfg
+++ b/ttcn3-hnodeb-test/osmo-hnodeb.cfg
@@ -7,6 +7,7 @@ log stderr
logging filter all 1
logging color 1
logging print category 1
+ logging print category-hex 0
logging timestamp 1
logging print extended-timestamp 1
logging level set-all debug
diff --git a/ttcn3-mgw-test/MGCP_Test.cfg b/ttcn3-mgw-test/MGCP_Test.cfg
index 5a9d9e6..00dd436 100644
--- a/ttcn3-mgw-test/MGCP_Test.cfg
+++ b/ttcn3-mgw-test/MGCP_Test.cfg
@@ -19,3 +19,32 @@ mp_num_endpoints := 300;
[EXECUTE]
MGCP_Test.control
+#MGCP_Test.TC_crcx
+#MGCP_Test.TC_crcx_mdcx_ip4
+#MGCP_Test.TC_crcx_mdcx_ip6
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_ipv4_ipv6
+#MGCP_Test.TC_crcx_osmux_257
+
+#MGCP_Test.TC_crcx_osmux_fixed_twice
+#MGCP_Test.TC_one_crcx_receive_only_osmux
+#MGCP_Test.TC_one_crcx_loopback_osmux
+#MGCP_Test.TC_two_crcx_and_rtp_osmux
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_wildcard
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_fixed
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir_ipv6
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir_ipv4_ipv6
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir_ipv6_ipv4
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_ipv6
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_ipv4_ipv6
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_ipv6_ipv4
+
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir_amr_bwe
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir_ipv4_ipv6
+#MGCP_Test.TC_two_crcx_and_rtp_osmux_bidir_ipv6
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_ipv4_ipv6
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_ipv6
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_wildcard
+#MGCP_Test.TC_two_crcx_mdcx_and_rtp_osmux_wildcard
diff --git a/ttcn3-mgw-test/jenkins.sh b/ttcn3-mgw-test/jenkins.sh
index 5395fa3..2570b62 100755
--- a/ttcn3-mgw-test/jenkins.sh
+++ b/ttcn3-mgw-test/jenkins.sh
@@ -26,7 +26,8 @@ docker run --rm \
-v $VOL_BASE_DIR/mgw:/data \
--name ${BUILD_TAG}-mgw -d \
$DOCKER_ARGS \
- $REPO_USER/osmo-mgw-$IMAGE_SUFFIX
+ $REPO_USER/osmo-mgw-$IMAGE_SUFFIX \
+ /bin/sh -c "gdb -ex 'run' -ex 'bt' --arg osmo-mgw -c /data/osmo-mgw.cfg >/data/osmo-mgw.log 2>&1"
# start docker container with testsuite in foreground
docker run --rm \
diff --git a/ttcn3-pcu-test/PCU_Tests.cfg b/ttcn3-pcu-test/PCU_Tests.cfg
index 8404f79..d26ac3f 100644
--- a/ttcn3-pcu-test/PCU_Tests.cfg
+++ b/ttcn3-pcu-test/PCU_Tests.cfg
@@ -41,4 +41,25 @@ PCUIF_Types.mp_pcuif_version := 12
[EXECUTE]
PCU_Tests.control
-PCU_Tests_NS.control
+#PCU_Tests_NS.control
+#PCU_Tests.TC_anr_dl_tbf_success
+#PCU_Tests.TC_anr_dl_tbf_success_si2_partial
+#PCU_Tests.TC_anr_dl_tbf_success_si2_partial_multi_measorder
+#PCU_Tests.TC_anr_dl_tbf_finished
+#PCU_Tests.TC_nacc_outbound_success
+
+#PCU_Tests.TC_ta_ptcch_idle
+#PCU_Tests.TC_n3105_max_t3195
+#PCU_Tests.TC_pdch_energy_saving
+#PCU_Tests.TC_mo_ping_pong_with_ul_racap
+#PCU_Tests.TC_ul_tbf_reestablish_with_pkt_dl_ack_nack
+#PCU_Tests.TC_ul_tbf_finished_pkt_dl_ass_pch
+#PCU_Tests.TC_ul_tbf_1phase_while_dl_ass_pch
+
+#PCU_Tests.TC_cs_max_dl
+#PCU_Tests.TC_dl_flow_more_blocks
+#PCU_Tests.TC_mt_ping_pong
+#PCU_Tests.TC_mt_ping_pong_with_dl_racap
+#PCU_Tests.TC_paging_cs_from_sgsn_sign_ptmsi
+#PCU_Tests.TC_paging_cs_from_sgsn_sign
+#PCU_Tests.TC_paging_cs_from_sgsn_ptp
diff --git a/ttcn3-pcu-test/sns/PCU_Tests.cfg b/ttcn3-pcu-test/sns/PCU_Tests.cfg
index 2b11462..3da0a29 100644
--- a/ttcn3-pcu-test/sns/PCU_Tests.cfg
+++ b/ttcn3-pcu-test/sns/PCU_Tests.cfg
@@ -64,4 +64,7 @@ PCUIF_Types.mp_pcuif_version := 12
[MAIN_CONTROLLER]
[EXECUTE]
-PCU_Tests_SNS.control
+#PCU_Tests_SNS.control
+PCU_Tests_SNS.TC_sns_del
+PCU_Tests_SNS.TC_sns_chg_weight
+PCU_Tests_SNS.TC_pcuif_rach
diff --git a/ttcn3-pgw-test/PGW_Tests.cfg b/ttcn3-pgw-test/PGW_Tests.cfg
index 5d3ff45..58ae6df 100644
--- a/ttcn3-pgw-test/PGW_Tests.cfg
+++ b/ttcn3-pgw-test/PGW_Tests.cfg
@@ -23,4 +23,4 @@ GTPv2_Emulation.mp_uecups_host := "172.18.18.20"
[MAIN_CONTROLLER]
[EXECUTE]
-PGW_Tests.control
+PGW_Tests.control \ No newline at end of file
diff --git a/ttcn3-pgw-test/jenkins.sh b/ttcn3-pgw-test/jenkins.sh
index 3e10a13..7de97c7 100755
--- a/ttcn3-pgw-test/jenkins.sh
+++ b/ttcn3-pgw-test/jenkins.sh
@@ -59,10 +59,10 @@ docker run --cap-add=NET_ADMIN \
--name ${BUILD_TAG}-smf -d \
$DOCKER_ARGS \
$REPO_USER/open5gs-$IMAGE_SUFFIX \
- /bin/sh -c "open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
- #/bin/sh -c "gdb -ex 'handle SIG32 pass nostop noprint' -ex 'run' -ex 'bt' --arg open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
+ /bin/sh -c "gdb -ex 'handle SIG32 pass nostop noprint' -ex 'run' -ex 'bt' --arg open5gs-smfd -c /data/open5gs-smf-$IMAGE_SUFFIX.yaml >/data/open5gs-smfd.out 2>&1"
+# /bin/sh -c "open5gs-smfd -c /data/open5gs-smf.yaml >/data/open5gs-smfd.out 2>&1"
-# start container with osmo-ugcups-daemon in background; SYS_ADMIN required for CLONE_NEWNS
+# start container with osmo-uecups-daemon in background; SYS_ADMIN required for CLONE_NEWNS
docker run --cap-add=NET_ADMIN --cap-add=SYS_ADMIN \
--device /dev/net/tun:/dev/net/tun \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
@@ -71,10 +71,12 @@ docker run --cap-add=NET_ADMIN --cap-add=SYS_ADMIN \
--ulimit core=-1 \
-v $VOL_BASE_DIR/osmo-uecups:/data \
-e "WORKDIR=/data" \
+ -e "ASAN_OPTIONS=print_stacktrace=1:abort_on_error=1:fast_unwind_on_fatal=1" \
--name ${BUILD_TAG}-uecups -d \
$DOCKER_ARGS \
$REPO_USER/osmo-uecups-$IMAGE_SUFFIX \
- /bin/sh -c "osmo-uecups-daemon -c /data/osmo-uecups-daemon.cfg >/data/osmo-uecups-daemon.log 2>&1"
+ /bin/sh -c "gdb -ex 'handle SIG32 pass nostop noprint' -ex 'run' -ex 'bt' --arg osmo-uecups-daemon -c /data/osmo-uecups-daemon.cfg >/data/osmo-uecups-daemon.log 2>&1"
+# /bin/sh -c "osmo-uecups-daemon -c /data/osmo-uecups-daemon.cfg >/data/osmo-uecups-daemon.log 2>&1"
# start docker container with testsuite in foreground
docker run --rm \
diff --git a/ttcn3-sip-test/SIP_Tests.cfg b/ttcn3-sip-test/SIP_Tests.cfg
index 2904e76..a720a76 100644
--- a/ttcn3-sip-test/SIP_Tests.cfg
+++ b/ttcn3-sip-test/SIP_Tests.cfg
@@ -18,3 +18,7 @@ SIP_Tests.mp_mncc := "/data/unix/mncc"
[EXECUTE]
SIP_Tests.control
+#SIP_Tests.TC_mo_success_rel_gsm
+#SIP_Tests.TC_mt_success_rel_sip
+#SIP_Tests.TC_mt_success_rel_gsm_ipv6
+#SIP_Tests.TC_mt_success_rel_sip
diff --git a/ttcn3-stp-test/STP_Tests.cfg b/ttcn3-stp-test/STP_Tests.cfg
index 15baf7e..e324dac 100644
--- a/ttcn3-stp-test/STP_Tests.cfg
+++ b/ttcn3-stp-test/STP_Tests.cfg
@@ -21,3 +21,4 @@ STP_Tests_M3UA.mp_local_m3ua_ip := { "172.18.19.203", "fd02:db8:19::203" };
STP_Tests_M3UA.control
STP_Tests_IPA.control
STP_Tests.control
+#STP_Tests.TC_m3ua_to_ipa