You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2026/06/18 13:48:00 UTC

[jira] [Commented] (CAMEL-23795) Camel jobs are not cleaned up successfully on Jenkins CI

    [ https://issues.apache.org/jira/browse/CAMEL-23795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089922#comment-18089922 ] 

Aurélien Pupier commented on CAMEL-23795:
-----------------------------------------

on anothe rmachine, the ower of tmp-repo is brianb.... who the hell can it be and how it is possible?

{noformat}
+ ls -l /home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256761567/test-infra/camel-test-infra-cli/target/tmp-repo
total 32
drwxr-xr-x  5 brianb brianb 4096 Jan 30  2025 com
drwxr-xr-x  3 brianb brianb 4096 Jan 30  2025 commons-codec
drwxr-xr-x  3 brianb brianb 4096 Jan 30  2025 commons-io
drwxr-xr-x  3 brianb brianb 4096 Jan 30  2025 info
drwxr-xr-x  7 brianb brianb 4096 Jan 30  2025 io
drwxr-xr-x 11 brianb brianb 4096 Jan 30  2025 jakarta
drwxr-xr-x  3 brianb brianb 4096 Jan 30  2025 javax
drwxr-xr-x 16 brianb brianb 4096 Jan 30  2025 org
+ ls -l /home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256761567/test-infra/camel-test-infra-cli/target/tmp-repo/io/grpc/grpc-bom/1.67.1
total 16
-rw-r--r-- 1 brianb brianb 6465 Sep 27  2024 grpc-bom-1.67.1.pom
-rw-r--r-- 1 brianb brianb   40 Jan 30  2025 grpc-bom-1.67.1.pom.sha1
-rw-r--r-- 1 brianb brianb  187 Jan 30  2025 _remote.repositories
{noformat}

> Camel jobs are not cleaned up successfully on Jenkins CI
> --------------------------------------------------------
>
>                 Key: CAMEL-23795
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23795
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>    Affects Versions: 4.20.0
>            Reporter: Aurélien Pupier
>            Assignee: Aurélien Pupier
>            Priority: Major
>
> it finishes by filling up the Disk space of Jenkins Nodes.
> Observation so far:
> * several old workspaces had test-infra/camel-test-infra-cli/target/data folder with root owner ; this part has been modified so that there is none of them left after the build. And anyways, seems that it was the case with 4.18.x and a bunch of teh repos were correctly cleaned up
> * the files in test-infra/camel-test-infra-cli/target/tmp-repo has linux1 owner and I cannot delete them with a Jenkins freestyle project
> {noformat}
> + ls -l /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256760190/test-infra/camel-test-infra-cli/target/tmp-repo/javax/inject/javax.inject/1
> total 20
> -rw-r--r-- 1 linux1 linux1 2497 Oct 13  2009 javax.inject-1.jar
> -rw-r--r-- 1 linux1 linux1   40 Jan 30  2025 javax.inject-1.jar.sha1
> -rw-r--r-- 1 linux1 linux1  612 Oct 13  2009 javax.inject-1.pom
> -rw-r--r-- 1 linux1 linux1   40 Jan 30  2025 javax.inject-1.pom.sha1
> -rw-r--r-- 1 linux1 linux1  196 Jan 30  2025 _remote.repositories
> {noformat}
> {noformat}
> rm -R /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256760190 /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738284235794 /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738314457199 /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738331577601 /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738697517079 /home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738943273734
> rm: cannot remove '/home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256760190/test-infra/camel-test-infra-cli/target/tmp-repo/javax/inject/javax.inject/1/_remote.repositories': Permission denied
> rm: cannot remove '/home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256760190/test-infra/camel-test-infra-cli/target/tmp-repo/javax/inject/javax.inject/1/javax.inject-1.jar.sha1': Permission denied
> rm: cannot remove '/home/jenkins/jenkins-home/712657a4/workspace/l_Camel_Core_Build_and_test_main_ws-cleanup_1738256760190/test-infra/camel-test-infra-cli/target/tmp-repo/javax/inject/javax.inject/1/javax.inject-1.pom.sha1': Permission denied
> {noformat}
> Each workspace seems to take around 4G. The total size of nodes are 900G, so we are filling them with around 200 builds on the exact same node, but there are several nodes available
> created this job for investigation https://ci-builds.apache.org/job/Camel/job/Debug%20attempt%20of%20ws-cleanup%20from%20freestyle%20project



--
This message was sent by Atlassian Jira
(v8.20.10#820010)