osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/35117?usp=email )
Change subject: ttcn3: run_docker: remove :ro ......................................................................
ttcn3: run_docker: remove :ro
Don't mount usr_local, var_local as read-only, so the environment is more similar to our jenkins.
Fix for: + /data/upfd-setup.sh + command -v open5gs-upfd + upfd_bin=/usr/local/bin/open5gs-upfd + setcap cap_net_raw+ep /usr/local/bin/open5gs-upfd Failed to set capabilities on file '/usr/local/bin/open5gs-upfd': Read-only file system
Change-Id: I52d2989d91119f0f1673f49723f1055fe7428d15 --- M ttcn3/ttcn3.sh 1 file changed, 21 insertions(+), 2 deletions(-)
Approvals: osmith: Looks good to me, approved; Verified
diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh index 38a5c37..a07295a 100755 --- a/ttcn3/ttcn3.sh +++ b/ttcn3/ttcn3.sh @@ -450,8 +450,8 @@ cd "$(get_testsuite_dir_docker)" DOCKER_ARGS="\ -e LD_LIBRARY_PATH=/usr/local/lib \ - -v "$DIR_USR_LOCAL":/usr/local:ro \ - -v "$DIR_VAR_LOCAL":/var/local:ro \ + -v "$DIR_USR_LOCAL":/usr/local \ + -v "$DIR_VAR_LOCAL":/var/local \ -v $hacks:/osmo-ttcn3-hacks:ro \ " if [ -n "$ARG_TEST_NAME" ]; then