fixeria has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/31424 )
Change subject: ttcn3-pgw-test: make the testsuite dir writable by all users ......................................................................
ttcn3-pgw-test: make the testsuite dir writable by all users
When running jenkins.sh as root or any other user with UID different than UID=1000 of the 'osmocom' user we have in open5gs-{master,latest} images, programs spawned by osmo-uecups-daemon (e.g. ping) may fail to start. In such cases, osmo-uecups-daemon reports unexpected program termination with exit code=512. This is happening because the stdout and stderr of a spawned program are being redirected to "$VOL_BASE_DIR/pgw-tester/TESTCASE.prog.std{out,err}", for which the 'osmocom' user needs to have write permissions.
Change-Id: Icb6b30e618e290d974a919fef34c6b5cb7eeb648 Related: OS#5913 --- M ttcn3-pgw-test/jenkins.sh 1 file changed, 22 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified neels: Looks good to me, but someone else must approve osmith: Looks good to me, approved
diff --git a/ttcn3-pgw-test/jenkins.sh b/ttcn3-pgw-test/jenkins.sh index 58cfbbd..8311bac 100755 --- a/ttcn3-pgw-test/jenkins.sh +++ b/ttcn3-pgw-test/jenkins.sh @@ -19,6 +19,9 @@ cp upfd.sh $VOL_BASE_DIR/pgw/ cp upfd-setup.sh $VOL_BASE_DIR/pgw/
+# make the testsuite dir writable by all users +chmod 777 $VOL_BASE_DIR/pgw-tester/ + network_create network_replace_subnet_in_configs