-
Notifications
You must be signed in to change notification settings - Fork 167
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
java.io.IOException: Cannot run program "git" #3754
Comments
According to logs, there was an automatically installed Java update today: root@test-equinix-ubuntu2204-x64-2:~# cat /var/log/apt/history.log
Start-Date: 2024-06-05 06:40:53
Commandline: /usr/bin/unattended-upgrade
Upgrade: libarchive13:amd64 (3.6.0-1ubuntu1, 3.6.0-1ubuntu1.1)
End-Date: 2024-06-05 06:40:53
Start-Date: 2024-06-06 06:26:13
Commandline: /usr/bin/unattended-upgrade
Upgrade: openjdk-17-jre-headless:amd64 (17.0.10+7-1~22.04.1, 17.0.11+9-1~22.04.1)
End-Date: 2024-06-06 06:26:14
root@test-equinix-ubuntu2204-x64-2:~# Will try restarting the agent. |
Just checked and the other jenkins-workspace machines are still running 17.0.10+7-Ubuntu-122.04.1. |
I think it's just a matter of time before the other machines pick up the Java update. root@test-equinix-ubuntu2204-x64-1:~# systemctl list-timers apt-daily.timer
NEXT LEFT LAST PASSED UNIT ACTIVATES
Thu 2024-06-06 14:17:57 UTC 2h 43min left Wed 2024-06-05 23:44:06 UTC 11h ago apt-daily.timer apt-daily.service
1 timers listed.
Pass --all to see loaded but inactive timers, too.
root@test-equinix-ubuntu2204-x64-1:~# |
Agent on test-equinix-ubuntu2204-x64-2 has been restarted and the builds it has picked up look okay (they got through the git checkout). I'll leave this open in case we need to fix up the other workspace machine later this afternoon. |
Potentially all of these ubuntu2204 hosts could be affected:
Checkboxes denote if the machines are running Java 17.0.11+9-Ubuntu-122.04.1 and have had their agent restarted. |
The docker hosts are not running Jenkins agents directly -- the agents are in the containers. I reran the docker-host playbook on all three |
Should we disable auto-update of system packages? |
For the Docker agents, unless there's a critical security vulnerability in Java, I think we can keep them at the old version? |
I think so. |
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? |
ci-release is affected (since 8 June). Again, looks to be the JDK update: root@infra-ibm-ubuntu1804-x64-1:~# tail /var/log/apt/history.log
Start-Date: 2024-06-08 07:00:13
Commandline: /usr/bin/unattended-upgrade
Upgrade: openjdk-8-jdk:amd64 (8u402-ga-2ubuntu1~20.04, 8u412-ga-1~20.04.1), openjdk-8-jre:amd64 (8u402-ga-2ubuntu1~20.04, 8u412-ga-1~20.04.1), openjdk-8-jdk-headless:amd64 (8u402-ga-2ubuntu1~20.04, 8u412-ga-1~20.04.1), openjdk-8-jre-headless:amd64 (8u402-ga-2ubuntu1~20.04, 8u412-ga-1~20.04.1)
End-Date: 2024-06-08 07:00:19
Start-Date: 2024-06-08 07:00:22
Commandline: /usr/bin/unattended-upgrade
Upgrade: openjdk-17-jre-headless:amd64 (17.0.10+7-1~20.04.1, 17.0.11+9-1~20.04.2)
End-Date: 2024-06-08 07:00:27
root@infra-ibm-ubuntu1804-x64-1:~# I've just restarted the jenkins service on the machine. |
Looks like builds on test-equinix-ubuntu2204-x64-2 (one of the jenkins-workspace machines) are failing:
e.g.
https://ci.nodejs.org/job/node-test-commit-linux-containered/43835/console
I'll take the machine offline in Jenkins for investigation.
The text was updated successfully, but these errors were encountered: