Attention is currently required from: osmith.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/docker-playground/+/36389?usp=email )
Change subject: ttcn3-bts-test: add env var to not run all configs
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File ttcn3-bts-test/jenkins.sh:
https://gerrit.osmocom.org/c/docker-playground/+/36389/comment/67a7c35e_766…
PS1, Line 174: if test_config_enabled "generic"; then
imho it would become clearer if you put each of this in a function.
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36389?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I1dce5e6aa4b5d67f9f8c96ced611ab2875c353c8
Gerrit-Change-Number: 36389
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 14:39:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Hoernchen has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/36377?usp=email )
Change subject: ms: disabe uhd ms build
......................................................................
ms: disabe uhd ms build
This won't build, and has been in a untested non working state for a
year, but might still be useful after fixing it up in the future in case
someone needs it.
Change-Id: I9db1740b5c399a02a41b1d07792c645cf7d1bd1b
---
M Transceiver52M/Makefile.am
1 file changed, 23 insertions(+), 10 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, but someone else must approve
Hoernchen: Looks good to me, approved
diff --git a/Transceiver52M/Makefile.am b/Transceiver52M/Makefile.am
index dadfde9..0b63b16 100644
--- a/Transceiver52M/Makefile.am
+++ b/Transceiver52M/Makefile.am
@@ -127,16 +127,16 @@
$(UHD_LIBS)
osmo_trx_uhd_CPPFLAGS = $(AM_CPPFLAGS) $(UHD_CFLAGS)
-if ENABLE_MS_TRX
-bin_PROGRAMS += osmo-trx-ms-uhd
-osmo_trx_ms_uhd_SOURCES = $(MS_LOWER_SRC) $(MS_UPPER_SRC)
-osmo_trx_ms_uhd_LDADD = \
- $(builddir)/device/uhd/libdevice.la \
- $(COMMON_LDADD) \
- $(UHD_LIBS) \
- $(TRXCON_LDADD)
-osmo_trx_ms_uhd_CPPFLAGS = $(AM_CPPFLAGS) $(UHD_CFLAGS) -DBUILDUHD
-endif
+#if ENABLE_MS_TRX
+#bin_PROGRAMS += osmo-trx-ms-uhd
+#osmo_trx_ms_uhd_SOURCES = $(MS_LOWER_SRC) $(MS_UPPER_SRC)
+#osmo_trx_ms_uhd_LDADD = \
+# $(builddir)/device/uhd/libdevice.la \
+# $(COMMON_LDADD) \
+# $(UHD_LIBS) \
+# $(TRXCON_LDADD)
+#osmo_trx_ms_uhd_CPPFLAGS = $(AM_CPPFLAGS) $(UHD_CFLAGS) -DBUILDUHD
+#endif
endif
if DEVICE_USRP1
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36377?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I9db1740b5c399a02a41b1d07792c645cf7d1bd1b
Gerrit-Change-Number: 36377
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/36389?usp=email )
Change subject: ttcn3-bts-test: add env var to not run all configs
......................................................................
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
---
M README.md
M jenkins-common.sh
M ttcn3-bts-test/jenkins.sh
3 files changed, 150 insertions(+), 45 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/89/36389/1
diff --git a/README.md b/README.md
index 436fdd0..4c6c40a 100644
--- a/README.md
+++ b/README.md
@@ -28,15 +28,29 @@
containers (see "caching" below)
* `DOCKER_ARGS`: pass extra arguments to docker, e.g. to mount local sources
for building as done in osmo-dev.git/ttcn3/ttcn3.sh
+* `TEST_CONFIGS`: for tests that can run with multiple config sets (e.g.
+ `ttcn3-bts-test`), run only some of them. See `TEST_CONFIGS_ALL` in the
+ `jenkins.sh` for possible values.
### Run only one test
+Run only `TC_gsup_sai` in `ttcn3-hlr-test`:
+
```
$ cd ttcn3-hlr-test
$ export DOCKER_ARGS="-e TEST_NAME=TC_gsup_sai"
$ ./jenkins.sh
```
+Run only `TC_est_dchan` in `ttcn3-bts-test`, with the `generic` configuration:
+
+```
+$ cd ttcn3-bts-test
+$ export DOCKER_ARGS="-e TEST_NAME=TC_est_dchan"
+$ export TEST_CONFIGS="generic"
+$ ./jenkins.sh
+```
+
### Using nightly packages from a different date
Pick a date from [here](https://downloads.osmocom.org/obs-mirror/) and use it:
diff --git a/jenkins-common.sh b/jenkins-common.sh
index 7978749..b4956bd 100644
--- a/jenkins-common.sh
+++ b/jenkins-common.sh
@@ -569,6 +569,49 @@
"$config"
}
+# Output the name of the test config and check if it is enabled. Use this
+# function in jenkins.sh, after setting TEST_CONFIGS_ALL, e.g.:
+# TEST_CONFIGS_ALL="generic oml hopping"
+# The user can then set TEST_CONFIGS to only run one of the test
+# configurations.
+# $1: one of TEST_CONFIGS_ALL, e.g. "classic"
+test_config_enabled() {
+ local config="$1"
+ local i
+ local valid=0
+
+ set +x
+ echo
+ echo "### Test configuration: $1 ###"
+ echo
+ set -x
+
+ for i in $TEST_CONFIGS_ALL; do
+ if [ "$config" = "$i" ]; then
+ valid=1
+ break
+ fi
+ done
+
+ if [ "$valid" != "1" ]; then
+ set +x
+ echo "ERROR: config name '$config' is not one of '$TEST_CONFIGS_ALL'"
+ exit 1
+ fi
+
+ if [ -z "$TEST_CONFIGS" ]; then
+ return 0
+ fi
+
+ for i in $TEST_CONFIGS; do
+ if [ "$config" = "$i" ]; then
+ return 0
+ fi
+ done
+
+ return 1
+}
+
set -x
# non-jenkins execution: assume local user name
diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index f932b4a..0e9fd3e 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+TEST_CONFIGS_ALL="generic virtphy oml hopping"
+TEST_CONFIGS="${TEST_CONFIGS:-"generic oml hopping"}"
. ../jenkins-common.sh
IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}"
@@ -13,12 +15,14 @@
set -e
clean_up() {
- # append ':hopping' to the classnames,
- # e.g. "classname='BTS_Tests'" => "classname='BTS_Tests:hopping'"
- # e.g. "classname='BTS_Tests_SMSCB'" => "classname='BTS_Tests_SMSCB:hopping'"
- # so the hopping test cases would not interfere with non-hopping ones in Jenkins
- sed -i "s/classname='\([^']\+\)'/classname='\1:hopping'/g" \
- $VOL_BASE_DIR/bts-tester-hopping/junit-xml-hopping-*.log
+ if test_config_enabled "hopping"; then
+ # append ':hopping' to the classnames,
+ # e.g. "classname='BTS_Tests'" => "classname='BTS_Tests:hopping'"
+ # e.g. "classname='BTS_Tests_SMSCB'" => "classname='BTS_Tests_SMSCB:hopping'"
+ # so the hopping test cases would not interfere with non-hopping ones in Jenkins
+ sed -i "s/classname='\([^']\+\)'/classname='\1:hopping'/g" \
+ $VOL_BASE_DIR/bts-tester-hopping/junit-xml-hopping-*.log
+ fi
}
start_bsc() {
@@ -167,49 +171,77 @@
mkdir $VOL_BASE_DIR/virtphy
# 1) classic test suite with BSC for OML and trxcon+fake_trx
-network_replace_subnet_in_configs
-start_bsc
-start_bts trx 1
-start_fake_trx
-start_trxcon
-start_testsuite generic
+if test_config_enabled "generic"; then
+ network_replace_subnet_in_configs
+
+ start_bsc
+ start_bts trx 1
+ start_fake_trx
+ start_trxcon
+
+ start_testsuite generic
+
+ docker_kill_wait ${BUILD_TAG}-trxcon
+ docker_kill_wait ${BUILD_TAG}-fake_trx
+ docker_kill_wait ${BUILD_TAG}-bts
+ docker_kill_wait ${BUILD_TAG}-bsc
+fi
# 2) some GPRS tests require virt_phy
-echo "Changing to virtphy configuration"
-# switch from osmo-bts-trx + trxcon + faketrx to virtphy + osmo-bts-virtual
-docker_kill_wait ${BUILD_TAG}-trxcon
-docker_kill_wait ${BUILD_TAG}-fake_trx
-docker_kill_wait ${BUILD_TAG}-bts
-cp virtphy/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
-network_replace_subnet_in_configs
-# FIXME: multicast to/from a docker bridge network is currently not possible.
-# See https://github.com/moby/libnetwork/issues/2397.
-echo "XXX: not running the virtphy configuration"
-#start_bts virtual 0
-#start_virtphy
-# ... and execute the testsuite again with different cfg
-#start_testsuite virtphy
+if test_config_enabled "virtphy"; then
+ # FIXME: multicast to/from a docker bridge network is currently not possible.
+ # See https://github.com/moby/libnetwork/issues/2397.
+ set +x
+ echo "ERROR: not running the virtphy configuration"
+ exit 1
+
+ cp virtphy/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
+ network_replace_subnet_in_configs
+
+ start_bsc
+ start_bts virtual 0
+ start_virtphy
+
+ start_testsuite virtphy
+
+ docker_kill_wait ${BUILD_TAG}-virtphy
+ docker_kill_wait ${BUILD_TAG}-bts
+ docker_kill_wait ${BUILD_TAG}-bsc
+fi
# 3) OML tests require us to run without BSC
-docker_kill_wait ${BUILD_TAG}-bsc
-# switch back from virtphy + osmo-bts-virtual to osmo-bts-trx
-#docker_kill_wait ${BUILD_TAG}-virtphy
-#docker_kill_wait ${BUILD_TAG}-bts
+if test_config_enabled "oml"; then
+ cp oml/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
+ network_replace_subnet_in_configs
-cp oml/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
-network_replace_subnet_in_configs
-start_bts trx 1
-start_fake_trx
-start_trxcon
-# ... and execute the testsuite again with different cfg
-start_testsuite oml
+ start_bsc
+ start_bts trx 1
+ start_fake_trx
+ start_trxcon
+
+ start_testsuite oml
+
+ docker_kill_wait ${BUILD_TAG}-trxcon
+ docker_kill_wait ${BUILD_TAG}-fake_trx
+ docker_kill_wait ${BUILD_TAG}-bts
+ docker_kill_wait ${BUILD_TAG}-bsc
+fi
# 4) Frequency hopping tests require different configuration files
-cp fh/osmo-bsc.gen.cfg $VOL_BASE_DIR/bsc/
-cp generic/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
-# restart the BSC/BTS and run the testsuite again
-docker_kill_wait ${BUILD_TAG}-bts
-network_replace_subnet_in_configs
-start_bsc
-start_bts trx 1
-start_testsuite hopping
+if test_config_enabled "hopping"; then
+ cp fh/osmo-bsc.gen.cfg $VOL_BASE_DIR/bsc/
+ cp generic/osmo-bts.gen.cfg $VOL_BASE_DIR/bts/
+ network_replace_subnet_in_configs
+
+ start_bsc
+ start_bts trx 1
+ start_fake_trx
+ start_trxcon
+
+ start_testsuite hopping
+
+ docker_kill_wait ${BUILD_TAG}-trxcon
+ docker_kill_wait ${BUILD_TAG}-fake_trx
+ docker_kill_wait ${BUILD_TAG}-bsc
+ docker_kill_wait ${BUILD_TAG}-bts
+fi
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36389?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I1dce5e6aa4b5d67f9f8c96ced611ab2875c353c8
Gerrit-Change-Number: 36389
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/36392?usp=email )
Change subject: ttcn3-ggsn-test: run with multiple configurations
......................................................................
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
---
M ttcn3-ggsn-test/Dockerfile
M ttcn3-ggsn-test/jenkins.sh
C ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4_only.cfg
R ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4v6_only.cfg
C ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v6_only.cfg
R ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-all.cfg
C ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4_only.cfg
C ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4v6_only.cfg
A ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v6_only.cfg
R ttcn3-ggsn-test/ttcn3/GGSN_Tests-all.cfg
C ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4_only.cfg
C ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4v6_only.cfg
C ttcn3-ggsn-test/ttcn3/GGSN_Tests-v6_only.cfg
13 files changed, 170 insertions(+), 71 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/92/36392/1
diff --git a/ttcn3-ggsn-test/Dockerfile b/ttcn3-ggsn-test/Dockerfile
index 137a4cd..124adf3 100644
--- a/ttcn3-ggsn-test/Dockerfile
+++ b/ttcn3-ggsn-test/Dockerfile
@@ -8,6 +8,6 @@
VOLUME /data
-COPY ttcn3/GGSN_Tests.cfg /data/GGSN_Tests.cfg
+COPY ttcn3/GGSN_Tests-all.cfg /data/GGSN_Tests.cfg
CMD ttcn3-docker-run ggsn_tests GGSN_Tests
diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh
index 3f1eaf3..5db5d17 100755
--- a/ttcn3-ggsn-test/jenkins.sh
+++ b/ttcn3-ggsn-test/jenkins.sh
@@ -1,5 +1,12 @@
#!/bin/sh
-# Environment variables: see "Kernel test" section in README.md
+# Environment variables: see README.md
+# Possible test 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
+TEST_CONFIGS_ALL="all v4_only v6_only v4v6_only"
+TEST_CONFIGS="${TEST_CONFIGS:-$TEST_CONFIGS_ALL}"
. ../jenkins-common.sh
KERNEL_TEST="${KERNEL_TEST:-0}"
@@ -11,20 +18,41 @@
set_clean_up_trap
set -e
+clean_up() {
+ local i
+ local log
+
+ # Add a suffix to the class names in the junit-xml log
+ for i in $TEST_CONFIGS; do
+ if [ "$i" = "all" ]; then
+ continue
+ fi
+
+ for log in "$VOL_BASE_DIR"/ggsn-tester-"$i"/junit-xml-*.log; do
+ if ! [ -e "$log" ]; then
+ continue
+ fi
+ sed -i "s/classname='\([^']\+\)'/classname='\1_$i'/g" "$log"
+ done
+ done
+}
+
# Start container with ggsn in background
start_ggsn() {
+ local test_config="$1"
+
GGSN_CMD="osmo-ggsn -c /data/osmo-ggsn.cfg"
GGSN_DOCKER_ARGS=""
if [ "$KERNEL_TEST" = "1" ]; then
- cp osmo-ggsn-kernel/initrd-ggsn.sh $VOL_BASE_DIR/ggsn/
+ cp osmo-ggsn-kernel/initrd-ggsn.sh $VOL_BASE_DIR/ggsn-"$test_config"/
network_replace_subnet_in_configs
kernel_test_prepare \
"defconfig" \
"osmo-ggsn-kernel/fragment.config" \
- "$VOL_BASE_DIR/ggsn/initrd-ggsn.sh" \
+ "$VOL_BASE_DIR/ggsn-$test_config/initrd-ggsn.sh" \
"$REPO_USER/osmo-ggsn-$IMAGE_SUFFIX" \
- -v $VOL_BASE_DIR/ggsn:/data
+ -v $VOL_BASE_DIR/ggsn-"$test_config":/data
GGSN_CMD="/kernel-test/run-qemu.sh"
GGSN_DOCKER_ARGS="
@@ -46,23 +74,25 @@
--device /dev/net/tun:/dev/net/tun \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
--ulimit core=-1 \
- -v $VOL_BASE_DIR/ggsn:/data \
+ -v $VOL_BASE_DIR/ggsn-"$test_config":/data \
--name ${BUILD_TAG}-ggsn -d \
$DOCKER_ARGS \
$GGSN_DOCKER_ARGS \
$REPO_USER/osmo-ggsn-$IMAGE_SUFFIX \
/bin/sh -c "$GGSN_CMD >/data/osmo-ggsn.log 2>&1"
- kernel_test_wait_for_vm "$VOL_BASE_DIR/ggsn/osmo-ggsn.log"
+ kernel_test_wait_for_vm "$VOL_BASE_DIR/ggsn-$test_config/osmo-ggsn.log"
}
# Start docker container with testsuite in foreground
start_testsuite() {
+ local test_config="$1"
+
docker run --rm \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
$(docker_network_params $SUBNET 202) \
--ulimit core=-1 \
- -v $VOL_BASE_DIR/ggsn-tester:/data \
+ -v $VOL_BASE_DIR/ggsn-tester-"$test_config":/data \
-e "TTCN3_PCAP_PATH=/data" \
-e "OSMO_SUT_HOST=$OSMO_SUT_HOST" \
-e "OSMO_SUT_PORT=4260" \
@@ -71,12 +101,6 @@
$REPO_USER/ttcn3-ggsn-test
}
-mkdir $VOL_BASE_DIR/ggsn-tester
-cp ttcn3/GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester/
-write_mp_osmo_repo "$VOL_BASE_DIR/ggsn-tester/GGSN_Tests.cfg"
-
-mkdir $VOL_BASE_DIR/ggsn
-
network_create
if [ "$KERNEL_TEST" = 1 ]; then
@@ -85,8 +109,28 @@
CONFIGS_DIR="osmo-ggsn"
fi
-cp "$CONFIGS_DIR"/osmo-ggsn.cfg $VOL_BASE_DIR/ggsn/osmo-ggsn.cfg
-network_replace_subnet_in_configs
+for i in $TEST_CONFIGS_ALL; do
+ if ! test_config_enabled "$i"; then
+ continue
+ fi
-start_ggsn
-start_testsuite
+ # OS#6106: Currently it is not possible to configure multiple APNs with
+ # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U
+ # bind socket between tunnels.
+ if [ "$i" = "all" ] && [ "$KERNEL_TEST" = "1" ]; then
+ continue
+ fi
+
+ mkdir $VOL_BASE_DIR/ggsn-tester-"$i"
+ cp ttcn3/GGSN_Tests-"$i".cfg $VOL_BASE_DIR/ggsn-tester-"$i"/GGSN_Tests.cfg
+ write_mp_osmo_repo "$VOL_BASE_DIR/ggsn-tester-$i/GGSN_Tests.cfg"
+
+ mkdir $VOL_BASE_DIR/ggsn-"$i"
+ cp "$CONFIGS_DIR"/osmo-ggsn-"$i".cfg "$VOL_BASE_DIR"/ggsn-"$i"/osmo-ggsn.cfg
+ network_replace_subnet_in_configs
+
+ start_ggsn "$i"
+ start_testsuite "$i"
+
+ docker_kill_wait "$BUILD_TAG"-ggsn
+done
diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4_only.cfg
similarity index 62%
copy from ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
copy to ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4_only.cfg
index afa36d6..d8b67a2 100644
--- a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4_only.cfg
@@ -25,23 +25,14 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
- # OS#6106: Currently it is not possible to configure multiple APNs with
- # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U bind
- # socket between tunnels.
apn internet
gtpu-mode kernel-gtp
- tun-device tun46
- type-support v4v6
+ tun-device tun4
+ type-support v4
ip prefix dynamic 176.16.16.0/20
ip dns 0 172.18.3.201
ip dns 1 8.8.8.8
ip ifconfig 176.16.16.0/20
- ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56
- ipv6 dns 0 fd02:db8:3::201
- ipv6 dns 1 2001:4860:4860::8844
- ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
no shutdown
-# apn inet6
-# apn inet46
default-apn internet
no shutdown ggsn
diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4v6_only.cfg
similarity index 77%
rename from ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
rename to ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4v6_only.cfg
index afa36d6..c3f32f7 100644
--- a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v4v6_only.cfg
@@ -25,10 +25,7 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
- # OS#6106: Currently it is not possible to configure multiple APNs with
- # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U bind
- # socket between tunnels.
- apn internet
+ apn inet46
gtpu-mode kernel-gtp
tun-device tun46
type-support v4v6
@@ -41,7 +38,5 @@
ipv6 dns 1 2001:4860:4860::8844
ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
no shutdown
-# apn inet6
-# apn inet46
- default-apn internet
+ default-apn inet46
no shutdown ggsn
diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v6_only.cfg
similarity index 64%
copy from ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
copy to ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v6_only.cfg
index afa36d6..9de035f 100644
--- a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn-v6_only.cfg
@@ -25,23 +25,14 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
- # OS#6106: Currently it is not possible to configure multiple APNs with
- # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U bind
- # socket between tunnels.
- apn internet
+ apn inet6
gtpu-mode kernel-gtp
- tun-device tun46
- type-support v4v6
- ip prefix dynamic 176.16.16.0/20
- ip dns 0 172.18.3.201
- ip dns 1 8.8.8.8
- ip ifconfig 176.16.16.0/20
+ tun-device tun6
+ type-support v6
ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56
ipv6 dns 0 fd02:db8:3::201
ipv6 dns 1 2001:4860:4860::8844
ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
no shutdown
-# apn inet6
-# apn inet46
- default-apn internet
+ default-apn inet6
no shutdown ggsn
diff --git a/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-all.cfg
similarity index 100%
rename from ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn.cfg
rename to ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-all.cfg
diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4_only.cfg
similarity index 60%
copy from ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
copy to ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4_only.cfg
index afa36d6..7a94b59 100644
--- a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4_only.cfg
@@ -25,23 +25,17 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
- # OS#6106: Currently it is not possible to configure multiple APNs with
- # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U bind
- # socket between tunnels.
+ timer gtp T3 1
+ timer gtp T1003 2
+ timer gtp X3 2
apn internet
- gtpu-mode kernel-gtp
- tun-device tun46
- type-support v4v6
+ gtpu-mode tun
+ tun-device tun4
+ type-support v4
ip prefix dynamic 176.16.16.0/20
ip dns 0 172.18.3.201
ip dns 1 8.8.8.8
ip ifconfig 176.16.16.0/20
- ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56
- ipv6 dns 0 fd02:db8:3::201
- ipv6 dns 1 2001:4860:4860::8844
- ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
no shutdown
-# apn inet6
-# apn inet46
default-apn internet
no shutdown ggsn
diff --git a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4v6_only.cfg
similarity index 69%
copy from ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
copy to ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4v6_only.cfg
index afa36d6..f63b0d5 100644
--- a/ttcn3-ggsn-test/osmo-ggsn-kernel/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v4v6_only.cfg
@@ -25,23 +25,21 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
- # OS#6106: Currently it is not possible to configure multiple APNs with
- # gtpu-mode kernel-gtp in OsmoGGSN, because it cannot share the GTP-U bind
- # socket between tunnels.
- apn internet
- gtpu-mode kernel-gtp
+ timer gtp T3 1
+ timer gtp T1003 2
+ timer gtp X3 2
+ apn inet46
+ gtpu-mode tun
tun-device tun46
type-support v4v6
- ip prefix dynamic 176.16.16.0/20
+ ip prefix dynamic 176.16.32.0/20
ip dns 0 172.18.3.201
ip dns 1 8.8.8.8
- ip ifconfig 176.16.16.0/20
+ ip ifconfig 176.16.32.0/20
ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56
ipv6 dns 0 fd02:db8:3::201
ipv6 dns 1 2001:4860:4860::8844
ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
no shutdown
-# apn inet6
-# apn inet46
- default-apn internet
+ default-apn inet46
no shutdown ggsn
diff --git a/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v6_only.cfg b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v6_only.cfg
new file mode 100644
index 0000000..bca3f57
--- /dev/null
+++ b/ttcn3-ggsn-test/osmo-ggsn/osmo-ggsn-v6_only.cfg
@@ -0,0 +1,41 @@
+!
+! OpenGGSN (0.94.1-adac) configuration saved from vty
+!!
+!
+log gsmtap 172.18.3.202
+ logging level set-all debug
+ logging filter all 1
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all info
+!
+stats interval 5
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+ggsn ggsn0
+ gtp state-dir /tmp
+ gtp bind-ip 172.18.3.201
+ timer gtp T3 1
+ timer gtp T1003 2
+ timer gtp X3 2
+ apn inet6
+ gtpu-mode tun
+ tun-device tun6
+ type-support v6
+ ipv6 prefix dynamic 2001:780:44:2000:0:0:0:0/56
+ ipv6 dns 0 fd02:db8:3::201
+ ipv6 dns 1 2001:4860:4860::8844
+ ipv6 ifconfig 2001:780:44:2000:0:0:0:0/56
+ no shutdown
+ default-apn inet6
+ no shutdown ggsn
diff --git a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-all.cfg
similarity index 94%
rename from ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
rename to ttcn3-ggsn-test/ttcn3/GGSN_Tests-all.cfg
index cb548b3..f715d9f 100644
--- a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-all.cfg
@@ -24,5 +24,7 @@
# local N3-REQUESTS counter:
GGSN_Tests.mp_n3_requests := 2
+GGSN_Tests.m_ggsn_conf := GGSN_CONF_ALL
+
[EXECUTE]
GGSN_Tests.control
diff --git a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4_only.cfg
similarity index 93%
copy from ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
copy to ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4_only.cfg
index cb548b3..fc21c72 100644
--- a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4_only.cfg
@@ -24,5 +24,7 @@
# local N3-REQUESTS counter:
GGSN_Tests.mp_n3_requests := 2
+GGSN_Tests.m_ggsn_conf := GGSN_CONF_V4_ONLY
+
[EXECUTE]
GGSN_Tests.control
diff --git a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4v6_only.cfg
similarity index 93%
copy from ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
copy to ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4v6_only.cfg
index cb548b3..c2c8b4a 100644
--- a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-v4v6_only.cfg
@@ -24,5 +24,7 @@
# local N3-REQUESTS counter:
GGSN_Tests.mp_n3_requests := 2
+GGSN_Tests.m_ggsn_conf := GGSN_CONF_V4V6_ONLY
+
[EXECUTE]
GGSN_Tests.control
diff --git a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-v6_only.cfg
similarity index 93%
copy from ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
copy to ttcn3-ggsn-test/ttcn3/GGSN_Tests-v6_only.cfg
index cb548b3..7666438 100644
--- a/ttcn3-ggsn-test/ttcn3/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/ttcn3/GGSN_Tests-v6_only.cfg
@@ -24,5 +24,7 @@
# local N3-REQUESTS counter:
GGSN_Tests.mp_n3_requests := 2
+GGSN_Tests.m_ggsn_conf := GGSN_CONF_V6_ONLY
+
[EXECUTE]
GGSN_Tests.control
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/36392?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ia2fe0c3ed4ccf06e72fd258d085e4a79cecd5f26
Gerrit-Change-Number: 36392
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: Hoernchen.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )
Change subject: transceiver: use log level cache
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
A small description on what are the consequences of this would be great.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 10:31:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: fixeria, laforge, pespin.
Hello Jenkins Builder, fixeria, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36381?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Code-Review+2 by laforge, Verified+1 by Jenkins Builder
The change is no longer submittable: Code-Review and Verified are unsatisfied now.
Change subject: Move SDP templates to its own SDP_Templates.ttcn file
......................................................................
Move SDP templates to its own SDP_Templates.ttcn file
SDP is used in other protocols than MGCP, eg. SIP.
Change-Id: I0610b4cf5533e46a3401c65e60c7cce975c85412
---
M bsc-nat/BSC_MS_ConnectionHandler.ttcn
M bsc-nat/gen_links.sh
M bsc/BSC_Tests_LCLS.ttcn
M bsc/MSC_ConnectionHandler.ttcn
M bsc/gen_links.sh
M hnbgw/HNBGW_Tests.ttcn
M hnbgw/gen_links.sh
M library/MGCP_Templates.ttcn
A library/SDP_Templates.ttcn
M mgw/MGCP_Test.ttcn
M mgw/gen_links.sh
M msc/BSC_ConnectionHandler.ttcn
M msc/MSC_Tests.ttcn
M msc/gen_links.sh
M smlc/gen_links.sh
15 files changed, 184 insertions(+), 142 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/36381/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36381?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0610b4cf5533e46a3401c65e60c7cce975c85412
Gerrit-Change-Number: 36381
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: fixeria, jolly, osmith, pespin.
Hello Jenkins Builder, fixeria, jolly, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36379?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Code-Review+1 by osmith, Verified+1 by Jenkins Builder
Change subject: MGCP_Templates: Avoid extra indenation for most of the whole file
......................................................................
MGCP_Templates: Avoid extra indenation for most of the whole file
Change-Id: I9338c73db94a1ed3e2945bc40a46573c4a674ba3
---
M library/MGCP_Templates.ttcn
1 file changed, 514 insertions(+), 505 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/79/36379/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36379?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9338c73db94a1ed3e2945bc40a46573c4a674ba3
Gerrit-Change-Number: 36379
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
Hello Jenkins Builder, fixeria, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36380?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: Move f_addrstr2addr() to library/Misc_Helpers.ttcn
......................................................................
Move f_addrstr2addr() to library/Misc_Helpers.ttcn
This function can easily be reused in other testsuites supporting both
IPv4 and IPv6 addresses.
Change-Id: I4243ec5551f128629b6504ccc59efeb456a6855d
---
M hlr/gen_links.sh
M hlr/regen_makefile.sh
M library/Misc_Helpers.ttcn
M sip/SIP_Tests.ttcn
M sysinfo/gen_links.sh
M sysinfo/regen_makefile.sh
6 files changed, 26 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/80/36380/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36380?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4243ec5551f128629b6504ccc59efeb456a6855d
Gerrit-Change-Number: 36380
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
Hello Jenkins Builder, fixeria, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36382?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: sip: Get Rid of private copy of f_mgcp_addr2addrtype()
......................................................................
sip: Get Rid of private copy of f_mgcp_addr2addrtype()
The function was copied from MGCP_Templates.ttcn since the logic is the
same for SDP, but copied in order to avoid depending on whole MGCP file.
Since now SDP logic has been moved to its own SDP_Templates and a new
f_sdp_addr2addrtype() was added, use that one.
Change-Id: I27ce46b6d23ba0f2704dd0cee290ed519dec278e
---
M sip/SIP_Tests.ttcn
M sip/gen_links.sh
2 files changed, 23 insertions(+), 15 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/82/36382/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36382?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I27ce46b6d23ba0f2704dd0cee290ed519dec278e
Gerrit-Change-Number: 36382
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: laforge.
Hoernchen has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/36377?usp=email )
Change subject: ms: disabe uhd ms build
......................................................................
Patch Set 1:
(1 comment)
File Transceiver52M/Makefile.am:
https://gerrit.osmocom.org/c/osmo-trx/+/36377/comment/ddb3addf_e18c010c
PS1, Line 130: #if ENABLE_MS_TRX
> might be worth adding a reason in a comment here, not just in the commit log. […]
I am not a fan of duplicating VCS information, modern IDEs will show the commit messages anyway, and multiple levels of blame are just one click away...
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36377?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I9db1740b5c399a02a41b1d07792c645cf7d1bd1b
Gerrit-Change-Number: 36377
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 22 Mar 2024 10:26:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment
Attention is currently required from: fixeria.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/36383?usp=email )
Change subject: contrib/jenkins.sh: add 'distcheck' job to check package integrity
......................................................................
Patch Set 2: Code-Review+2
(2 comments)
File contrib/jenkins.sh:
https://gerrit.osmocom.org/c/pysim/+/36383/comment/9507cfd1_3603b162
PS2, Line 35: "distcheck")
> Well, it's a distribution integrity check. Yes, it's not exactly identical to what automake is doing when running make check, but still I see nothing wrong calling it this way. Can rename to smoketest if you guys like.
I'm fine with both, just was slightly confused initially that it is called distcheck.
> No, I am not planning to extend it. I just thought it would be cleaner to have a separate job for this additional check, so that one could quickly see what exactly is causing the build verification failure. The existing test is already doing few things: running unit tests, SIM programming tests, and pySim-trace tests. Likewise, if you think it's better to run the smoketest there, I can amend the patch.
That is a good argument for having it in a separate job.
https://gerrit.osmocom.org/c/pysim/+/36383/comment/ea9ee76e_392a3b04
PS2, Line 43: $prog --help > /dev/null
> Not sure if printing help would this be useful, we're mostly interested to catch errors here. […]
Ack. This isn't important enough to block the patch, we can also remove it later on if we would find it more useful.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/36383?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic72d58494e8fd0cab8d66ce60f7b70593b770872
Gerrit-Change-Number: 36383
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: char <osmocom(a)hypodyne.net>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 10:09:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/36383?usp=email )
Change subject: contrib/jenkins.sh: add 'distcheck' job to check package integrity
......................................................................
Patch Set 2:
(2 comments)
File contrib/jenkins.sh:
https://gerrit.osmocom.org/c/pysim/+/36383/comment/01851ff7_7dfd4a6d
PS2, Line 35: "distcheck")
> I'm not sure if we should call it "distcheck". It sounds like "make distcheck" from autotools, but it does something else here. Maybe smoketest?
Well, it's a distribution integrity check. Yes, it's not exactly identical to what automake is doing when running `make check`, but still I see nothing wrong calling it this way. Can rename to `smoketest` if you guys like.
> If you just want to print --help, maybe just add it at the end of the regular test job (since it will almost take no extra time, and then you can avoid having the test setup time)? Or is the idea to extend it later on and do more?
No, I am not planning to extend it. I just thought it would be cleaner to have a separate job for this additional check, so that one could quickly see what exactly is causing the build verification failure. The existing `test` is already doing few things: running unit tests, SIM programming tests, and pySim-trace tests. Likewise, if you think it's better to run the smoketest there, I can amend the patch.
https://gerrit.osmocom.org/c/pysim/+/36383/comment/4fdb1618_967be187
PS2, Line 43: $prog --help > /dev/null
> why >/dev/null, wouldn't it be useful to have the output in jenkins, so one can take a look at it?
Not sure if printing help would this be useful, we're mostly interested to catch errors here.
If others find it useful, I can remove the `/dev/null` redirection then.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/36383?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic72d58494e8fd0cab8d66ce60f7b70593b770872
Gerrit-Change-Number: 36383
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: char <osmocom(a)hypodyne.net>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 10:03:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: fixeria, laforge.
Hello Jenkins Builder, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ci/+/36384?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: gerrit-verifications: execute 'distcheck' job for pysim
......................................................................
gerrit-verifications: execute 'distcheck' job for pysim
Change-Id: I9d4d9e9de2b16a4b745791f3c9c93507f43bfa6d
Related: pysim.git Ic72d58494e8fd0cab8d66ce60f7b70593b770872
---
M jobs/gerrit-verifications.yml
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/84/36384/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/36384?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I9d4d9e9de2b16a4b745791f3c9c93507f43bfa6d
Gerrit-Change-Number: 36384
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: char <osmocom(a)hypodyne.net>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: fixeria.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/36383?usp=email )
Change subject: contrib/jenkins.sh: add 'distcheck' job to check package integrity
......................................................................
Patch Set 2:
(2 comments)
File contrib/jenkins.sh:
https://gerrit.osmocom.org/c/pysim/+/36383/comment/0a11ba60_9c520a53
PS2, Line 35: "distcheck")
I'm not sure if we should call it "distcheck". It sounds like "make distcheck" from autotools, but it does something else here. Maybe smoketest?
If you just want to print --help, maybe just add it at the end of the regular test job (since it will almost take no extra time, and then you can avoid having the test setup time)? Or is the idea to extend it later on and do more?
https://gerrit.osmocom.org/c/pysim/+/36383/comment/1dc55eb1_c2b6502d
PS2, Line 43: $prog --help > /dev/null
why >/dev/null, wouldn't it be useful to have the output in jenkins, so one can take a look at it?
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/36383?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic72d58494e8fd0cab8d66ce60f7b70593b770872
Gerrit-Change-Number: 36383
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: char <osmocom(a)hypodyne.net>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 09:44:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: fixeria, laforge.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/36384?usp=email )
Change subject: gerrit-verifications: execute 'distcheck' job for pysim
......................................................................
Patch Set 1:
(1 comment)
File jobs/gerrit-verifications.yml:
https://gerrit.osmocom.org/c/osmo-ci/+/36384/comment/0140d36c_ec95c469
PS1, Line 405: simtester
> I don't like that, as I fear it makes the pre-commit tests take even longer. […]
agreed, I suggest using osmocom-gerrit instead
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/36384?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I9d4d9e9de2b16a4b745791f3c9c93507f43bfa6d
Gerrit-Change-Number: 36384
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: char <osmocom(a)hypodyne.net>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 09:38:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: jolly, pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36379?usp=email )
Change subject: MGCP_Templates: Avoid extra indenation for most of the whole file
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36379?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9338c73db94a1ed3e2945bc40a46573c4a674ba3
Gerrit-Change-Number: 36379
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 09:36:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36382?usp=email )
Change subject: sip: Get Rid of private copy of f_mgcp_addr2addrtype()
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36382?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I27ce46b6d23ba0f2704dd0cee290ed519dec278e
Gerrit-Change-Number: 36382
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 07:36:10 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36381?usp=email )
Change subject: Move SDP templates to its own SDP_Templates.ttcn file
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36381?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0610b4cf5533e46a3401c65e60c7cce975c85412
Gerrit-Change-Number: 36381
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 07:35:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/36354?usp=email )
Change subject: stream_cli.c: Handle read / recvfrom error and close connection
......................................................................
stream_cli.c: Handle read / recvfrom error and close connection
If read or recvfrom fails or returns 0, the connection must be closed.
This is already done when a write / send fails. In both cases the
disconnect callback is called to notify the user's client.
Not handling the error may cause an infinite loop of read or recvfrom
failures.
Related: OS#6405
Change-Id: I55426de6b49cb4cb0797e50dfeae11f2efc29b15
---
M src/stream_cli.c
1 file changed, 28 insertions(+), 3 deletions(-)
Approvals:
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/stream_cli.c b/src/stream_cli.c
index fa43a22..11c88ae 100644
--- a/src/stream_cli.c
+++ b/src/stream_cli.c
@@ -449,9 +449,13 @@
stream_cli_handle_connecting(cli, res);
break;
case STREAM_CLI_STATE_CONNECTED:
- if (res == 0)
+ if (res <= 0) {
+ LOGSCLI(cli, LOGL_NOTICE, "received result %d in response to read\n", res);
osmo_stream_cli_reconnect(cli);
- else if (cli->iofd_read_cb)
+ msgb_free(msg);
+ break;
+ }
+ if (cli->iofd_read_cb)
cli->iofd_read_cb(cli, msg);
else
msgb_free(msg);
@@ -500,8 +504,12 @@
stream_cli_handle_connecting(cli, res);
break;
case STREAM_CLI_STATE_CONNECTED:
- if (res == 0)
+ if (res <= 0) {
+ LOGSCLI(cli, LOGL_NOTICE, "received result %d in response to recvmsg\n", res);
osmo_stream_cli_reconnect(cli);
+ msgb_free(msg);
+ break;
+ }
/* Forward message to read callback, also if the connection failed. */
if (cli->iofd_read_cb)
cli->iofd_read_cb(cli, msg);
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/36354?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I55426de6b49cb4cb0797e50dfeae11f2efc29b15
Gerrit-Change-Number: 36354
Gerrit-PatchSet: 3
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: Hoernchen, pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/36373?usp=email )
Change subject: ms: make app configurable
......................................................................
Patch Set 4:
(1 comment)
File Transceiver52M/ms/ms_upper.cpp:
https://gerrit.osmocom.org/c/osmo-trx/+/36373/comment/331c274e_ab0f82cf
PS4, Line 209: // pow = energyDetect(sv, 20 * 4 /*sps*/);
> This is related to the build failure, it doesn't matter right now, that code might be reintroduced a […]
I don't see how "it doesn't matter right now" is a valid argumetn for mixing differnt orthogonal topics in one patch.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36373?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ibd432f7abbd00065a59104d2c006b676d5db7b47
Gerrit-Change-Number: 36373
Gerrit-PatchSet: 4
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 07:33:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hoernchen <ewild(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: Hoernchen.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/36377?usp=email )
Change subject: ms: disabe uhd ms build
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File Transceiver52M/Makefile.am:
https://gerrit.osmocom.org/c/osmo-trx/+/36377/comment/90c673ee_969bd621
PS1, Line 130: #if ENABLE_MS_TRX
might be worth adding a reason in a comment here, not just in the commit log. This way a potential future reader of the file knows why it is disabled without having to go to git blame or git log.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36377?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I9db1740b5c399a02a41b1d07792c645cf7d1bd1b
Gerrit-Change-Number: 36377
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 22 Mar 2024 07:30:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment