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

Should we disable auto-update of system packages? #3962

Open
richardlau opened this issue Nov 18, 2024 · 0 comments
Open

Should we disable auto-update of system packages? #3962

richardlau opened this issue Nov 18, 2024 · 0 comments

Comments

@richardlau
Copy link
Member

Originally posted by @richardlau in #3754 (comment)

Should we disable auto-update of system packages?

That's a good question. On the one hand it would mean no unexpected surprises but the onus is then back on us to keep the systems reasonably up-to-date. Maybe we should schedule regular (monthly?) maintenance windows for applying routine package updates?

@nodejs/build-infra thoughts?

This manifests as Jenkins being unable to spawn git/bash after an automatic Java Runtime Environment update until the Jenkins agent is restarted, e.g.

09:26:33 ERROR: Error cloning remote repo 'origin'
09:26:33 hudson.plugins.git.GitException: Could not init /home/iojs/build/workspace/node-test-commit
09:26:33 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:1073)
...
09:26:33 Caused by: java.io.IOException: Cannot run program "git" (in directory "/home/iojs/build/workspace/node-test-commit"): error=0, Failed to exec spawn helper: pid: 1881683, exit value: 1
09:26:33 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
...
09:26:33 Caused by: java.io.IOException: error=0, Failed to exec spawn helper: pid: 1881683, exit value: 1
09:26:33 	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)

This has affected the Ubuntu machines:

and also Debian:

Alternatively maybe there's a way to have the Systemd service running the Jenkins agent to restart if Java gets updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant