Git 2.50.0 on Windows(version `3309.v27b_9314fd1a_4-5`): `fetch` command fails with error code 130
Jenkins and plugins versions report
The packaging step of the Jenkins 2.516 release failed on Windows with the error:
Command "git fetch --tags --force --progress -- [email protected]:jenkinsci/packaging.git +refs/heads/*:refs/remotes/origin/*" returned status code 130
It used the version 3309.v27b_9314fd1a_4-5 of the nanoserver agent which features Git 2.50.0. The failure seems consistent (at least on 3 consecutive tentatives).
With a rollback to the previous version 3309.v27b_9314fd1a_4-4 it works with no issues.
The failure happens during a pipeline git step which tries to clone the repository jenkinsci/packaging with SSH:
https://github.com/jenkins-infra/release/blob/001b3c2f75d35047dee7a8f599bef9e657eac205/Jenkinsfile.d/core/package#L266
Could be the same issue as mentionned by @jonesbusy in https://github.com/jenkinsci/docker-agent/pull/1001#issuecomment-2983362123.
What Operating System are you using (both controller, and any agents involved in the problem)?
Windows Nanoserver
Reproduction steps
pipeline {
agent {
kubernetes {
yamlFile 'PodTemplates.d/package-windows.yaml'
}
}
stages {
stage('Test Git') {
steps {
container('dotnet') {
checkout scm
dir('test1') {
// HTTPS (anonymous) clone
git branch: 'master', url: 'https://github.com/jenkinsci/packaging.git'
}
dir('test2') {
// SSH clone
git branch: 'master', credentialsId: 'release-key', url: '[email protected]:jenkinsci/packaging.git'
}
}
}
}
}
}
apiVersion: "v1"
kind: "Pod"
metadata:
labels:
jenkins: "slave"
job: "package"
#Following label is required by the NetworkPolicy managed by stable/jenkins helm chart and configured from jenkins-infra/charts
jenkins/default-release-jenkins-agent: true
spec:
containers:
- image: jenkins/inbound-agent:3309.v27b_9314fd1a_4-5-jdk21-nanoserver-1809
imagePullPolicy: "IfNotPresent"
name: "jnlp"
env:
- name: "JENKINS_JAVA_BIN"
value: "C:/openjdk-21/bin/java"
- name: "JENKINS_JAVA_OPTS"
value: '"-XX:+PrintCommandLineFlags" --show-version'
resources:
limits:
memory: "4Gi"
cpu: "1"
requests:
memory: "4Gi"
cpu: "1"
- args:
- -Command
- Start-Sleep -s 2147483 # We must be sure that the process used by the container doesn't stop before the Jenkins job and second is not greater than 2147483
command:
- "powershell.exe"
image: "mcr.microsoft.com/dotnet/framework/sdk:3.5"
imagePullPolicy: "IfNotPresent"
name: "dotnet"
resources:
limits:
memory: "4Gi"
cpu: "1"
requests:
memory: "4Gi"
cpu: "1"
securityContext:
privileged: false
tty: false
nodeSelector:
kubernetes.azure.com/agentpool: w2019
kubernetes.io/os: windows
tolerations:
- key: "os"
operator: "Equal"
value: "windows"
effect: "NoSchedule"
- key: "jenkins"
operator: "Equal"
value: "release.ci.jenkins.io"
effect: "NoSchedule"
Expected Results
The git step should work with no error in the same way as when using the 3309.v27b_9314fd1a_4-4 version
Actual Results
[2025-06-24T13:25:49.678Z] The recommended git tool is: NONE
[2025-06-24T13:25:50.955Z] using credential release-key
[2025-06-24T13:25:50.965Z] Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6efb9da2; decorates RemoteLauncher[hudson.remoting.Channel@2b167e32:core-package-master-390-kpspz-j78gq-6vdrc] will be ignored (a typical symptom is the Git executable not being run inside a designated container)
[2025-06-24T13:25:50.968Z] Cloning the remote Git repository
[2025-06-24T13:25:50.970Z] Cloning repository [email protected]:jenkinsci/packaging.git
[2025-06-24T13:25:50.972Z] > git init C:\home\jenkins\agent\workspace\core_package_master\release # timeout=10
[2025-06-24T13:25:51.495Z] Fetching upstream changes from [email protected]:jenkinsci/packaging.git
[2025-06-24T13:25:51.495Z] > git --version # timeout=10
[2025-06-24T13:25:51.551Z] > git --version # 'git version 2.50.0.windows.1'
[2025-06-24T13:25:51.552Z] using GIT_SSH to set credentials SSH private key to commit on jenkinsci/jenkins
[2025-06-24T13:25:51.567Z] Verifying host key using manually-configured host key entries
[2025-06-24T13:25:51.570Z] > git fetch --tags --force --progress -- [email protected]:jenkinsci/packaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2025-06-24T13:35:51.897Z] ERROR: Error cloning remote repo 'origin'
[2025-06-24T13:35:51.897Z] hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- [email protected]:jenkinsci/packaging.git +refs/heads/*:refs/remotes/origin/*" returned status code 130:
[2025-06-24T13:35:51.897Z] stdout:
[2025-06-24T13:35:51.897Z] stderr: remote: Enumerating objects: 8337, done.
[2025-06-24T13:35:51.897Z] remote: Counting objects: 0% (1/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 1% (4/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 2% (7/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 3% (10/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 4% (13/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 5% (16/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 6% (19/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 7% (22/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 8% (25/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 9% (28/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 10% (31/308)
[2025-06-24T13:35:51.897Z] remote: Counting objects: 11% (34/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 12% (37/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 13% (41/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 14% (44/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 15% (47/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 16% (50/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 17% (53/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 18% (56/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 19% (59/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 20% (62/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 21% (65/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 22% (68/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 23% (71/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 24% (74/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 25% (77/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 26% (81/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 27% (84/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 28% (87/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 29% (90/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 30% (93/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 31% (96/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 32% (99/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 33% (102/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 34% (105/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 35% (108/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 36% (111/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 37% (114/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 38% (118/308)
[2025-06-24T13:35:51.898Z] remote: Counting objects: 39% (121/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 40% (124/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 41% (127/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 42% (130/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 43% (133/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 44% (136/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 45% (139/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 46% (142/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 47% (145/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 48% (148/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 49% (151/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 50% (154/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 51% (158/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 52% (161/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 53% (164/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 54% (167/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 55% (170/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 56% (173/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 57% (176/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 58% (179/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 59% (182/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 60% (185/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 61% (188/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 62% (191/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 63% (195/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 64% (198/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 65% (201/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 66% (204/308)
[2025-06-24T13:35:51.899Z] remote: Counting objects: 67% (207/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 68% (210/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 69% (213/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 70% (216/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 71% (219/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 72% (222/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 73% (225/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 74% (228/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 75% (231/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 76% (235/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 77% (238/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 78% (241/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 79% (244/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 80% (247/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 81% (250/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 82% (253/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 83% (256/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 84% (259/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 85% (262/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 86% (265/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 87% (268/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 88% (272/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 89% (275/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 90% (278/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 91% (281/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 92% (284/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 93% (287/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 94% (290/308)
[2025-06-24T13:35:51.900Z] remote: Counting objects: 95% (293/308)
[2025-06-24T13:35:51.901Z] remote: Counting objects: 96% (296/308)
[2025-06-24T13:35:51.901Z] remote: Counting objects: 97% (299/308)
[2025-06-24T13:35:51.901Z] remote: Counting objects: 98% (302/308)
[2025-06-24T13:35:51.901Z] remote: Counting objects: 99% (305/308)
[2025-06-24T13:35:51.901Z] remote: Counting objects: 100% (308/308)
[2025-06-24T13:35:51.901Z] remote: Counting objects: 100% (308/308), done.
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 0% (1/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 1% (2/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 2% (4/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 3% (5/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 4% (7/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 5% (8/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 6% (10/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 7% (11/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 8% (13/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 9% (14/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 10% (16/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 11% (17/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 12% (19/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 13% (20/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 14% (22/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 15% (23/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 16% (25/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 17% (27/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 18% (28/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 19% (30/153)
[2025-06-24T13:35:51.901Z] remote: Compressing objects: 20% (31/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 21% (33/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 22% (34/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 23% (36/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 24% (37/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 25% (39/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 26% (40/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 27% (42/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 28% (43/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 29% (45/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 30% (46/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 31% (48/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 32% (49/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 33% (51/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 34% (53/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 35% (54/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 36% (56/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 37% (57/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 38% (59/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 39% (60/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 40% (62/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 41% (63/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 42% (65/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 43% (66/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 44% (68/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 45% (69/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 46% (71/153)
[2025-06-24T13:35:51.902Z] remote: Compressing objects: 47% (72/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 48% (74/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 49% (75/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 50% (77/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 51% (79/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 52% (80/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 53% (82/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 54% (83/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 55% (85/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 56% (86/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 57% (88/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 58% (89/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 59% (91/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 60% (92/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 61% (94/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 62% (95/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 63% (97/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 64% (98/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 65% (100/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 66% (101/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 67% (103/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 68% (105/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 69% (106/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 70% (108/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 71% (109/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 72% (111/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 73% (112/153)
[2025-06-24T13:35:51.903Z] remote: Compressing objects: 74% (114/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 75% (115/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 76% (117/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 77% (118/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 78% (120/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 79% (121/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 80% (123/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 81% (124/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 82% (126/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 83% (127/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 84% (129/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 85% (131/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 86% (132/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 87% (134/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 88% (135/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 89% (137/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 90% (138/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 91% (140/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 92% (141/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 93% (143/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 94% (144/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 95% (146/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 96% (147/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 97% (149/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 98% (150/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 99% (152/153)
[2025-06-24T13:35:51.904Z] remote: Compressing objects: 100% (153/153)
[2025-06-24T13:35:51.905Z] remote: Compressing objects: 100% (153/153), done.
[2025-06-24T13:35:51.905Z] Receiving objects: 0% (1/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 1% (84/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 2% (167/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 3% (251/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 4% (334/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 5% (417/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 6% (501/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 7% (584/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 8% (667/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 9% (751/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 10% (834/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 11% (918/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 12% (1001/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 13% (1084/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 14% (1168/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 15% (1251/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 16% (1334/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 17% (1418/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 18% (1501/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 19% (1585/8337)
[2025-06-24T13:35:51.905Z] Receiving objects: 20% (1668/8337)
[2025-06-24T13:35:51.905Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2852)
[2025-06-24T13:35:51.905Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2188)
[2025-06-24T13:35:51.905Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:638)
[2025-06-24T13:35:51.906Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:880)
[2025-06-24T13:35:51.906Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:173)
[2025-06-24T13:35:51.906Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:164)
[2025-06-24T13:35:51.906Z] at hudson.remoting.UserRequest.perform(UserRequest.java:225)
[2025-06-24T13:35:51.906Z] at hudson.remoting.UserRequest.perform(UserRequest.java:50)
[2025-06-24T13:35:51.906Z] at hudson.remoting.Request$2.run(Request.java:391)
[2025-06-24T13:35:51.906Z] at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
[2025-06-24T13:35:51.906Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[2025-06-24T13:35:51.906Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[2025-06-24T13:35:51.906Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[2025-06-24T13:35:51.906Z] at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:138)
[2025-06-24T13:35:51.906Z] at java.base/java.lang.Thread.run(Thread.java:1583)
[2025-06-24T13:35:51.906Z] Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to core-package-master-390-kpspz-j78gq-6vdrc
[2025-06-24T13:35:51.907Z] at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1916)
[2025-06-24T13:35:51.907Z] at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:384)
[2025-06-24T13:35:51.907Z] at hudson.remoting.Channel.call(Channel.java:1108)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:155)
[2025-06-24T13:35:51.907Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
[2025-06-24T13:35:51.907Z] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:140)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for git-client/jdk.proxy56/jdk.proxy56.$Proxy150.execute(Unknown Source)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1221)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1311)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1278)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
[2025-06-24T13:35:51.907Z] at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101)
[2025-06-24T13:35:51.908Z] at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88)
[2025-06-24T13:35:51.908Z] at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:49)
[2025-06-24T13:35:51.908Z] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[2025-06-24T13:35:51.908Z] at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
[2025-06-24T13:35:51.908Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[2025-06-24T13:35:51.908Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[2025-06-24T13:35:51.908Z] at java.base/java.lang.Thread.run(Unknown Source)
[2025-06-24T13:35:51.908Z] ERROR: Error cloning remote repo 'origin'
[2025-06-24T13:35:51.908Z] ERROR: Maximum checkout retry attempts reached, aborting
Anything else?
No response
Are you interested in contributing a fix?
No response
https://github.com/jenkinsci/docker-agent/pull/1001#issuecomment-3003093465
Upstream issue: https://github.com/git-for-windows/git/issues/5688
Workaround is to move to HTTPS transport. On my side, it was quicker than a rollback. Don't know if it's possible on your side?
Workaround is to move to HTTPS transport. On my side, it was quicker than a rollback. Don't know if it's possible on your side?
Good point, have not thought about it. Yes, it could be easier for us until the issue is resolve with a potential new git for windows version.
@jonesbusy what do you think if we update the releases note with the description of the issue and the workaround?
Updated release note with workarounds: https://github.com/jenkinsci/docker-agent/releases/tag/3309.v27b_9314fd1a_4-5
Please feel free to update the admonition or ask for change here!
That commit message 🤯 ❤ (from the upstream issue thread) https://github.com/git-for-windows/msys2-runtime/commit/cb9b2d04699ca0a5d1f32f6e79447b0823444fb4
Note: we have published a fixed version with Git rolled back to 2.49.0:
- 3309.v27b_9314fd1a_4-6
- https://hub.docker.com/r/jenkins/agent/tags?name=3309.v27b_9314fd1a_4-6
=> Next Git bump should be to 2.50.1 or more
Solved by https://github.com/jenkinsci/docker-agent/releases/tag/3309.v27b_9314fd1a_4-7 and https://github.com/jenkinsci/docker-ssh-agent/releases/tag/6.21.0 which both feature Git 2.50.0 windows 2 (with the fix). Thanks @MarkEWaite!