From f68f9295a87051c55be9a3a99cfc097112806da4 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 18 Sep 2025 15:06:42 -0600 Subject: [PATCH] ceph-dev-pipeline: Work around Jenkins symlink issue Signed-off-by: Zack Cerza --- ceph-dev-pipeline/build/Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index 5ee07f38..dc0fdf3f 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -511,6 +511,11 @@ pipeline { ln dist/ceph/sccache_log.txt sccache_log_${env.DIST}_${env.ARCH}_${env.FLAVOR}.txt fi """ + // The below is to work around an issue where Jenkins would recurse into + // dist/ceph/qa and get stuck trying to follow the .qa symlinks. This was + // discovered by seeing many messages about "too many levels of symbolic links" + // in the system journal. + sh "find ${env.WORKSPACE}/dist/ceph/ -name .qa -exec rm {} \;" archiveArtifacts( artifacts: 'sccache_log*.txt', allowEmptyArchive: true, -- 2.39.5