osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37433?usp=email )
Change subject: ttcn3: io_uring: use custom seccomp profile ......................................................................
ttcn3: io_uring: use custom seccomp profile
Use the custom seccomp profile that allows io_uring syscalls for the ttcn3 testsuites running with io_uring.
Related: OS#6405 Depends: docker-playground I27567c2a5d9543c3509c316226c082ab950c5ebc Change-Id: Iaeb84627fc1404014e5a8a2e88a02ee66cfb880d --- M jobs/ttcn3-testsuites.yml 1 file changed, 21 insertions(+), 2 deletions(-)
Approvals: daniel: Looks good to me, approved Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve
diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml index 06a796a..14e0a36 100644 --- a/jobs/ttcn3-testsuites.yml +++ b/jobs/ttcn3-testsuites.yml @@ -377,8 +377,13 @@ ;; *-io_uring) DIR="$(echo "{job-name}" | sed s/-io_uring$//)" - # OS#6405: set memlock to unlimited for older kernels - export DOCKER_ARGS="-e LIBOSMO_IO_BACKEND=IO_URING --ulimit memlock=-1" + # OS#6405: set memlock to unlimited for older kernels and + # enable io_uring syscalls in the seccomp profile + export DOCKER_ARGS=" + -e LIBOSMO_IO_BACKEND=IO_URING + --ulimit memlock=-1 + --security-opt seccomp=../seccomp_profile.json + " ;; *-latest) DIR="$(echo "{job-name}" | sed s/-latest$//)"