Giter VIP home page Giter VIP logo

Comments (6)

dirk-thomas avatar dirk-thomas commented on July 1, 2024

It also looks like that the cleanup log file does not contain any output for the last 17h.

from buildfarm_deployment.

dirk-thomas avatar dirk-thomas commented on July 1, 2024

Trying to run the cleanup script manually on one of the slaves:

Traceback (most recent call last):
  File "/home/jenkins-slave/cleanup_docker_images.py", line 4, in <module>
    import dateutil.parser
ImportError: No module named 'dateutil'

from buildfarm_deployment.

dirk-thomas avatar dirk-thomas commented on July 1, 2024

Did you also resolve the duplicate cronjobs?

from buildfarm_deployment.

tfoote avatar tfoote commented on July 1, 2024

Yeah, in the 1st commit, 495d802. The ensure absent was there, but it didn't specify the user, and the default was 'root' not 'jenkins-slave' 495d802#diff-a2052a49729c2f5f50ebbc65e3d02352R163

I also added the cleanup rule for the repo. The job does not exist on the master so I didn't add a cleanup for it.

from buildfarm_deployment.

tfoote avatar tfoote commented on July 1, 2024

Also, since the last run, I verified the cronjob has gone away:

# HEADER: This file was autogenerated at 2015-02-16 23:30:11 +0000 by puppet.
# HEADER: While it can still be managed manually, it is definitely not recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# Puppet Name: docker_cleanup_images
15 */2 * * * bash -c "python3 -u /home/jenkins-slave/cleanup_docker_images.py"

from buildfarm_deployment.

dirk-thomas avatar dirk-thomas commented on July 1, 2024

This seems to happen again:

from buildfarm_deployment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.