osmith has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/33/37433/1
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$//)"
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/37433?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: Iaeb84627fc1404014e5a8a2e88a02ee66cfb880d
Gerrit-Change-Number: 37433
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange