Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-9068

Jenkins prune job does not clean up everything

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Jenkins

      Description

      The UTIL_PRUNE_JOB job on Jenkins run daily in "soft" mode. In this mode it cleans up items that haven't been used(?) during the latest 24 hours.

      However, it seems that some items, such as volumes, are not cleaned up. So the disk space fills up over time.

      There is a difference in the commands that the jobs run, beside the "older than 24 h" filter:

      Soft:

      docker image prune -f --filter "until=24h"
      

      Hard:

      docker system prune -f -a --volumes
      

      Note that the later runs "docker system" rather than "docker image", and the "--volumes" option. The -a option is to remove all images, not just dangling ones, maybe this difference should remain?

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            samuel Samuel Lidén Borell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified