Windows build times in the CI are highly variable
Les mainteneurs répondent en général sous 4 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 42/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- github-actions, node.js
- Domaine
- ci-cd
Piste de recherche
Start with the Windows build time trends linked in the issue and compare the compile jobs that finish in about 20 minutes with those taking over two hours. The issue also points to the Windows JavaScript suite console log and a test-sqlite-session failure; inspect that failure and compare other intermittent failures for the reported out-of-memory condition. Done means identifying likely causes and actionable improvements to build time or test flakiness; the issue names no repository files or tests to change.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
As part of the analysis I was doing for coming up with some CI improvement ideas for https://github.com/nodejs/build/issues/4529 I noted that the Windows builds were extremely variable in terms of build times. While the Linux build tend to run in about 5-30 minutes (it's typically dwarfed by the test time which is now running at close to half an hour) the Windows builds are taking between 20 minutes (best case) but most days there are a few that seem to take over 2 hours for just the compile phase. win-vs2022_clang / win-vs2022_clang-arm64
Creating this issue so we can investigate whether there is any scope for improvement of the build times since (albeit subjectively) I've seen more occurrences of queued windows jobs in the CI recently than other platforms, and the spikiness of the compile jobs could potentially explain why.
I'll also note that here (because it's windows, although it's a different problem) there seems to be a relatively high proportion of failures occurring in the Windows js test suites that should perhaps also be looked at to see if any improvement to flakiness can be done. As an example https://ci.nodejs.org/job/node-test-binary-windows-js-suites/RUN_SUBSET=1,nodes=win10-COMPILED_BY-vs2022_clang/44048/console had one failure in test-sqlite-session. As noted in the CI improvement ideas issue we already have re-run testing but in this case (a 1/10 failure) the job is still marked as a fail so we possibly need to look at utilising this data as each failure in the js-suites one would likely have resulted in a PR test re-run.
08:46:45 failed 1 out of 10
08:46:45 not ok 1056 parallel/test-sqlite-session
That failure was a 08:46:45 # Fatal JavaScript out of memory: GC during deserialization condition - it would be useful to know how many of the other intermittent failures are similar problems.
- Langage dominant
- Jinja
- Étoiles
- 544
- Forks
- 184
- Merge moyen
- 5 j 40 min
- PR mergées (30 j)
- 11
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 4 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 4 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 4 jours
-
Disappearing Jenkins jobsOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
Les mainteneurs répondent en général sous 4 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 4 jours
Toutes les issues de nodejs/build
Issues similaires
-
bug
Difficulté 2/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 68/100
valkey-io/valkey-operator#549 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
CI: миграции на пустой PostgresOuvertetrack:release
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
cloudnative-pg/plugin-barman-cloud#1187 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
prometheus-community/yet-another-cloudwatch-exporter#1954 ·
Les mainteneurs répondent en général sous 1 jour