Adjust free space threshold for jenkins and allow it to bring machines offline
Les mainteneurs répondent en général sous 3 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- yaml
- Domaine
- ci-cd, infrastructure
Piste de recherche
Start by locating the Jenkins configuration that sets the workspace free-space warning threshold and controls whether low-space agents are taken offline; the issue does not name the file. Review how the current 0.2GB setting is applied, then determine how to set the threshold to roughly 4–5GB and enable taking agents offline. Done when the policy prevents builds from being scheduled on agents below the chosen threshold.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Jenkins has the option to mark machines offline if the workspace space gets too low. At the moment we hae the warning threshold set to 0.2G of space (i.e. when it gets below that it will warn, but not take the machine offline).
I think we should be more aggressive with this and set it to a larger figure (At least 2GB but ideally 4-5GB which would usually cover one full build on most systems) and allow jenkins to take machines offline when they hit the threshold which should prevent out of space conditions.
At the time of writing having a policy of "offline at 5GB" would take out the following executors, including the IBM Cloud RHEL ones which we raised a separate issue for.
Since I have the page up on my screen just now I'll add a note that the following systems have between 5GB and 10GB free:
In recent months we have had quite a lot of issues relating to systems going low on disk space and while taking the machines offline prevents things being scheduled on them and therefore potentially causing queue backlogs (which is why we usually have redundancy across systems for each build type) that is probably preferable to having CI builds fail so I propropose we allow jenkins to take machines in that state machines offline.
Richard has looked at single points of failures in our critical servers under https://github.com/nodejs/build/issues/4498 but we should perhaps take a closer look at our regular agents, not least because we hit a situation today where the only two agents that could run one particuar build were on separate containers on a single physical host and therefore were impacted simultaneously: https://github.com/nodejs/build/issues/4534
- Langage dominant
- Jinja
- Étoiles
- 544
- Forks
- 184
- Merge moyen
- 4 j 16 h
- PR mergées (30 j)
- 12
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de nodejs/build
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
nodejs/build#4539 · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
-
build-agenda
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
nodejs/build#4514 · 14 commentaires ·
Les mainteneurs répondent en général sous 3 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
nodejs/build#4324 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
build-agenda
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
nodejs/build#4540 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
incident
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
nodejs/build#4538 · 3 commentaires ·
Les mainteneurs répondent en général sous 3 jours
Toutes les issues de nodejs/build
Issues similaires
-
aikido high security
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
dequelabs/axe-linter-action#161 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
AIssoufi/issoufi.fr#427 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
push_gh-pages fails on master branch on forksPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertegood first issue infrastructure
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
automation models
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
akitaonrails/ai-memory#1664 ·
Les mainteneurs répondent en général sous 1 jour