Hello,

      The wipe workspace plugin is no longer removing old data, what happens is that it just renames the workspace to random folder name, however this renamed folder is not getting deleted, instead it's just kept there on the Disk, which resulted in a huge workspace consumption.

      This is happening pretty much across all of our agents

          [JENKINS-73662] The workspace not getting cleaned up

          Mohamed Khamis created issue -

          Markus Winter added a comment -

          You're on windows. Are the directories empty or are there still files inside?

          Markus Winter added a comment - You're on windows. Are the directories empty or are there still files inside?
          Markus Winter made changes -
          Description Original: Hello,

          The wipe workspace plugin is no longer removing old data, what happens is that it just renames the workspace to random folder name, however this renamed folder is not getting deleted, instead it's just kept there on the Disk, which resulted in a huge workspace consumption.

          This is happening pretty much across all of our slaves !image-2024-08-21-10-13-37-650.png!
          New: Hello,

          The wipe workspace plugin is no longer removing old data, what happens is that it just renames the workspace to random folder name, however this renamed folder is not getting deleted, instead it's just kept there on the Disk, which resulted in a huge workspace consumption.

          This is happening pretty much across all of our agents !image-2024-08-21-10-13-37-650.png!

          All directories still contain all files in them, hogging all available disk space.

          Its happing across all slaves we have connected to the master, the picture is just an example from a random machine. 

          Mohamed Khamis added a comment - All directories still contain all files in them, hogging all available disk space. Its happing across all slaves we have connected to the master, the picture is just an example from a random machine. 

          To add more info, we are using Jenkins version 2.440.3 and the version of the plugin is 0.45

          Mohamed Khamis added a comment - To add more info, we are using Jenkins version 2.440.3 and the version of the plugin is 0.45

          Markus Winter added a comment -

          Anything in the Jenkins logs or agent logs that it's not able to delete the files?

          Markus Winter added a comment - Anything in the Jenkins logs or agent logs that it's not able to delete the files?
          Mohamed Khamis made changes -
          Attachment New: image-2024-08-21-11-23-47-019.png [ 63179 ]

          In the Jenkins console, it says that succeeded

          Mohamed Khamis added a comment - In the Jenkins console, it says that succeeded

          Markus Winter added a comment -

          It says Deferred wipeout is used. So all that happens during the build is that the folder is renamed and then a background job should start that takes care of deleting things.

          You need to look in the logs of Jenkins itself, not the job log. I think there is also an admin monitor that tells you if there are problems with the async deletion of files

          Markus Winter added a comment - It says Deferred wipeout is used. So all that happens during the build is that the folder is renamed and then a background job should start that takes care of deleting things. You need to look in the logs of Jenkins itself, not the job log. I think there is also an admin monitor that tells you if there are problems with the async deletion of files
          Mohamed Khamis made changes -
          Attachment New: image-2024-08-25-13-54-40-580.png [ 63199 ]

            olivergondza Oliver Gondža
            mkhamisg Mohamed Khamis
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: