This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/26408 ) Change subject: ttcn3-*-test/jenkins.sh: write the SUT's PID to /tmp/sut.pid ...................................................................... ttcn3-*-test/jenkins.sh: write the SUT's PID to /tmp/sut.pid Change-Id: Icd4c2d80db934535d499598282ed9416d8088163 Related: I1b03b17426d8760c55976e3b78ca2f3af248c055 Related: OS#5328 --- M ttcn3-bsc-test-vamos/jenkins.sh M ttcn3-bsc-test/jenkins-sccplite.sh M ttcn3-bsc-test/jenkins.sh M ttcn3-bts-test/jenkins.sh M ttcn3-cbc-test/jenkins.sh M ttcn3-gbproxy-test/jenkins.sh M ttcn3-ggsn-test/jenkins.sh M ttcn3-hlr-test/jenkins.sh M ttcn3-hnodeb-test/jenkins.sh M ttcn3-mgw-test/jenkins.sh M ttcn3-msc-test/jenkins.sh M ttcn3-pcu-test/jenkins.sh M ttcn3-sgsn-test/jenkins.sh M ttcn3-sip-test/jenkins.sh M ttcn3-smlc-test/jenkins.sh M ttcn3-stp-test/jenkins.sh 16 files changed, 17 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/08/26408/1 diff --git a/ttcn3-bsc-test-vamos/jenkins.sh b/ttcn3-bsc-test-vamos/jenkins.sh index 6462977..dc6e868 100755 --- a/ttcn3-bsc-test-vamos/jenkins.sh +++ b/ttcn3-bsc-test-vamos/jenkins.sh @@ -43,6 +43,7 @@ --name ${BUILD_TAG}-bsc -d \ $DOCKER_ARGS \ $REPO_USER/osmo-bsc-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-bsc "pidof osmo-bsc > /tmp/sut.pid" for i in `seq 0 2`; do echo Starting container with OML for BTS$i diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh index bc6eaa0..4ebdaa0 100755 --- a/ttcn3-bsc-test/jenkins-sccplite.sh +++ b/ttcn3-bsc-test/jenkins-sccplite.sh @@ -30,6 +30,7 @@ --name ${BUILD_TAG}-bsc -d \ $DOCKER_ARGS \ $REPO_USER/osmo-bsc-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-bsc "pidof osmo-bsc > /tmp/sut.pid" for i in `seq 0 2`; do echo Starting container with OML for BTS$i diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh index 18236a2..3f9ec4f 100755 --- a/ttcn3-bsc-test/jenkins.sh +++ b/ttcn3-bsc-test/jenkins.sh @@ -43,6 +43,7 @@ --name ${BUILD_TAG}-bsc -d \ $DOCKER_ARGS \ $REPO_USER/osmo-bsc-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-bsc "pidof osmo-bsc > /tmp/sut.pid" for i in `seq 0 2`; do echo Starting container with OML for BTS$i diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh index 67c6d07..70a258b 100755 --- a/ttcn3-bts-test/jenkins.sh +++ b/ttcn3-bts-test/jenkins.sh @@ -52,6 +52,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-bts-$IMAGE_SUFFIX \ /bin/sh -c "/usr/local/bin/respawn.sh osmo-bts-$variant -c /data/osmo-bts.cfg >>/data/osmo-bts.log 2>&1" + docker exec ${BUILD_TAG}-bts "pidof osmo-bts-$variant > /tmp/sut.pid" } start_fake_trx() { diff --git a/ttcn3-cbc-test/jenkins.sh b/ttcn3-cbc-test/jenkins.sh index 347623f..6236dfb 100755 --- a/ttcn3-cbc-test/jenkins.sh +++ b/ttcn3-cbc-test/jenkins.sh @@ -26,6 +26,7 @@ --name ${BUILD_TAG}-cbc -d \ $DOCKER_ARGS \ $REPO_USER/osmo-cbc-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-cbc "pidof osmo-cbc > /tmp/sut.pid" echo Starting container with CBC testsuite docker run --rm \ diff --git a/ttcn3-gbproxy-test/jenkins.sh b/ttcn3-gbproxy-test/jenkins.sh index 3595c16..8827e3c 100755 --- a/ttcn3-gbproxy-test/jenkins.sh +++ b/ttcn3-gbproxy-test/jenkins.sh @@ -32,6 +32,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-gbproxy-$IMAGE_SUFFIX \ /bin/sh -c "osmo-gbproxy -c /data/osmo-gbproxy.cfg >/data/osmo-gbproxy.log 2>&1" +docker exec ${BUILD_TAG}-gbproxy "pidof osmo-gbproxy > /tmp/sut.pid" echo Starting container with gbproxy testsuite docker run --rm \ diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh index ba5e76d..86be888 100755 --- a/ttcn3-ggsn-test/jenkins.sh +++ b/ttcn3-ggsn-test/jenkins.sh @@ -66,6 +66,8 @@ kernel_test_wait_for_vm "$VOL_BASE_DIR/ggsn/osmo-ggsn.log" +docker exec ${BUILD_TAG}-ggsn "pidof osmo-ggsn > /tmp/sut.pid" + # start docker container with testsuite in foreground docker run --rm \ --sysctl net.ipv6.conf.all.disable_ipv6=0 \ diff --git a/ttcn3-hlr-test/jenkins.sh b/ttcn3-hlr-test/jenkins.sh index e003e03..cf5ae12 100755 --- a/ttcn3-hlr-test/jenkins.sh +++ b/ttcn3-hlr-test/jenkins.sh @@ -27,6 +27,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-hlr-$IMAGE_SUFFIX \ /bin/sh -c "osmo-hlr -c /data/osmo-hlr.cfg >/data/osmo-hlr.log 2>&1" +docker exec ${BUILD_TAG}-hlr "pidof osmo-hlr > /tmp/sut.pid" echo Starting container with HLR testsuite docker run --rm \ diff --git a/ttcn3-hnodeb-test/jenkins.sh b/ttcn3-hnodeb-test/jenkins.sh index 6ffa98a..baba524 100755 --- a/ttcn3-hnodeb-test/jenkins.sh +++ b/ttcn3-hnodeb-test/jenkins.sh @@ -26,6 +26,7 @@ --name ${BUILD_TAG}-hnodeb -d \ $DOCKER_ARGS \ $REPO_USER/osmo-hnodeb-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-hnodeb "pidof osmo-hnodeb > /tmp/sut.pid" echo Starting container with HNodeB testsuite docker run --rm \ diff --git a/ttcn3-mgw-test/jenkins.sh b/ttcn3-mgw-test/jenkins.sh index f9d0133..98cdaec 100755 --- a/ttcn3-mgw-test/jenkins.sh +++ b/ttcn3-mgw-test/jenkins.sh @@ -26,6 +26,7 @@ --name ${BUILD_TAG}-mgw -d \ $DOCKER_ARGS \ $REPO_USER/osmo-mgw-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-mgw "pidof osmo-mgw > /tmp/sut.pid" # start docker container with testsuite in foreground docker run --rm \ diff --git a/ttcn3-msc-test/jenkins.sh b/ttcn3-msc-test/jenkins.sh index dd91e24..4927ae8 100755 --- a/ttcn3-msc-test/jenkins.sh +++ b/ttcn3-msc-test/jenkins.sh @@ -44,6 +44,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-msc-$IMAGE_SUFFIX \ /bin/sh -c "osmo-msc -c /data/osmo-msc.cfg >>/data/osmo-msc.log 2>&1" +docker exec ${BUILD_TAG}-msc "pidof osmo-msc > /tmp/sut.pid" echo Starting container with MSC testsuite docker run --rm \ diff --git a/ttcn3-pcu-test/jenkins.sh b/ttcn3-pcu-test/jenkins.sh index 11c77ad..a22d784 100755 --- a/ttcn3-pcu-test/jenkins.sh +++ b/ttcn3-pcu-test/jenkins.sh @@ -32,6 +32,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-pcu-$IMAGE_SUFFIX \ /bin/sh -c "/usr/local/bin/respawn.sh osmo-pcu -c /data/osmo-pcu.cfg -i 172.18.13.10 >>/data/osmo-pcu.log 2>&1" +docker exec ${BUILD_TAG}-pcu "pidof osmo-pcu > /tmp/sut.pid" echo Starting container with PCU testsuite docker run --rm \ diff --git a/ttcn3-sgsn-test/jenkins.sh b/ttcn3-sgsn-test/jenkins.sh index df500af..b58b5d5 100755 --- a/ttcn3-sgsn-test/jenkins.sh +++ b/ttcn3-sgsn-test/jenkins.sh @@ -42,6 +42,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-sgsn-$IMAGE_SUFFIX \ /bin/sh -c "osmo-sgsn -c /data/osmo-sgsn.cfg >/data/osmo-sgsn.log 2>&1" +docker exec ${BUILD_TAG}-sgsn "pidof osmo-sgsn > /tmp/sut.pid" echo Starting container with SGSN testsuite docker run --rm \ diff --git a/ttcn3-sip-test/jenkins.sh b/ttcn3-sip-test/jenkins.sh index ffec3d2..10849a7 100755 --- a/ttcn3-sip-test/jenkins.sh +++ b/ttcn3-sip-test/jenkins.sh @@ -32,6 +32,7 @@ $DOCKER_ARGS \ $REPO_USER/osmo-sip-$IMAGE_SUFFIX \ /bin/sh -c "osmo-sip-connector -c /data/osmo-sip-connector.cfg >>/data/osmo-sip-connector.log 2>&1" +docker exec ${BUILD_TAG}-sip-connector "pidof osmo-sip-connector > /tmp/sut.pid" echo Starting container with SIP testsuite docker run --rm \ diff --git a/ttcn3-smlc-test/jenkins.sh b/ttcn3-smlc-test/jenkins.sh index f16536f..004c89a 100755 --- a/ttcn3-smlc-test/jenkins.sh +++ b/ttcn3-smlc-test/jenkins.sh @@ -40,6 +40,7 @@ --name ${BUILD_TAG}-smlc -d \ $DOCKER_ARGS \ $REPO_USER/osmo-smlc-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-smlc "pidof osmo-smlc > /tmp/sut.pid" echo Starting container with SMLC testsuite docker run --rm \ diff --git a/ttcn3-stp-test/jenkins.sh b/ttcn3-stp-test/jenkins.sh index db2ffdd..763fd15 100755 --- a/ttcn3-stp-test/jenkins.sh +++ b/ttcn3-stp-test/jenkins.sh @@ -26,6 +26,7 @@ --name ${BUILD_TAG}-stp -d \ $DOCKER_ARGS \ $REPO_USER/osmo-stp-$IMAGE_SUFFIX +docker exec ${BUILD_TAG}-stp "pidof osmo-stp > /tmp/sut.pid" echo Starting container with STP testsuite docker run --rm \ -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26408 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Icd4c2d80db934535d499598282ed9416d8088163 Gerrit-Change-Number: 26408 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211128/4cbaf34c/attachment.htm>