This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new b5af36b Add SYS_PTRACE capability to centos pipeline (#412)
b5af36b is described below
commit b5af36bdeeae3599b9ffe16ab04c41abdbb1aa8d
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Dec 23 15:28:17 2025 -0600
Add SYS_PTRACE capability to centos pipeline (#412)
The traffic_crashlog helper uses ptrace to get backtraces from the
crashed traffic_server process. Without the SYS_PTRACE capability,
ptrace fails with EPERM and no backtrace is captured in the crash log.
Also add --init for proper signal handling in the container.
---
jenkins/github/centos.pipeline | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jenkins/github/centos.pipeline b/jenkins/github/centos.pipeline
index 8cd59dd..db34272 100644
--- a/jenkins/github/centos.pipeline
+++ b/jenkins/github/centos.pipeline
@@ -4,7 +4,7 @@ pipeline {
image 'ci.trafficserver.apache.org/ats/centos:7'
registryUrl 'https://ci.trafficserver.apache.org/'
label 'docker'
- args '-v ${HOME}/ccache:/tmp/ccache:rw'
+ args '--init --cap-add=SYS_PTRACE -v ${HOME}/ccache:/tmp/ccache:rw'
}
}
environment {