Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build pipelines are keeping too many builds #13

Open
sxa opened this issue Aug 14, 2019 · 5 comments
Open

Build pipelines are keeping too many builds #13

sxa opened this issue Aug 14, 2019 · 5 comments
Labels

Comments

@sxa
Copy link
Member

sxa commented Aug 14, 2019

Despite the following from :

create_job_from_template.groovy:        numToKeep(10)
create_job_from_template.groovy:        artifactNumToKeep(1)

We appear to be keeping far more builds than that in the pipelines:

root@Ubuntu-1604-xenial-64-minimal /home/jenkins/.jenkins/jobs/build-scripts/jobs # for A in open*; do echo ==== $A; ls -d $A/builds/[0-9]* | wc; done
==== openjdk10-pipeline
     10      10     300
==== openjdk11-pipeline
     32      32     960
==== openjdk12-pipeline
     23      23     690
==== openjdk13-pipeline
     14      14     406
==== openjdk8-pipeline
     34      34     986
==== openjdk9-pipeline
     10      10     290

This needs to be resolved as these have chewed up an additional 50Gb of space on the jenkins master node over the last week.

@sxa
Copy link
Member Author

sxa commented Dec 31, 2019

@johnoliver are you able to look into this? Is it just because of all the locked GA builds being retained?

@sxa
Copy link
Member Author

sxa commented Dec 31, 2019

Current numbers:

==== openjdk10-pipeline
      4       4     120
==== openjdk11-pipeline
     47      47    1410
==== openjdk12-pipeline
     33      33     990
==== openjdk13-pipeline
     24      24     715
==== openjdk8-pipeline
     47      47    1363
==== openjdk9-pipeline
      3       3      87

@johnoliver
Copy link
Contributor

I think most of the issue is probably the ga builds, looking at the 8 pipeline we currently have 30 builds retained between GA and nightly, although that does still leave about 17 dirs unaccounted for why they are there. long term we do just need to find a way to offload our builds so they dont accumulate on ci.

@sxa
Copy link
Member Author

sxa commented Mar 3, 2020

The alternate question is whether they need to be retained on the CI for so long

@karianna
Copy link
Contributor

We've increased disk space and @johnoliver is exploring S3 and Azure Storage and Artifactory storage options.

@gdams gdams transferred this issue from adoptium/temurin-build Feb 9, 2021
@karianna karianna modified the milestone: February 2021 Feb 10, 2021
@M-Davies M-Davies added the bug label Feb 16, 2021
vsebe pushed a commit to vsebe/ci-jenkins-pipelines that referenced this issue Sep 16, 2021
Fix configuration for jdk18 pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

4 participants