-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins ver. 2.107.1
git-plugin 2.7.1
kubernetes-plugin 1.4
When I try to build something I always got this error:
> git fetch --no-tags --progress git@bitbucket.org:xxxxxx/xxxxx.git +refs/heads/*:refs/remotes/origin/* ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git fetch --no-tags --progress git@bitbucket.org:xxxxxx/xxxxx.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: cannot exec '/home/jenkins/workspace/service-skeleton_master-7JMZPV5GKPYJ7FXGSQK6YYEOA6VIRJOEPUFA5ATSGLP5FPZSOMBA@tmp/ssh6122672630332030715.sh': Permission denied fatal: unable to fork
It seems to look like what's described in Git plugin wiki: https://plugins.jenkins.io/git-client
I just connected to my slave to check folder rights and everything belongs to the "jenkins" user... so I don't understand what is the problem.
May it be a problem from Kubernetes?
I'm looking for a solution for 2 days... But still blocked with this issue. Could you help me please? Thanks.
NB: I've already ask help on IRC but no concluent solution
PS: Additionnal info in comments
- is duplicated by
-
JENKINS-71453 Git plugin fails with ReadonlyRootFilesystem when tmp is mounted as noexec
-
- Closed
-
- is related to
-
JENKINS-26993 GIT Plugin requires /tmp to be mounted executable
-
- Closed
-
When executing the command "mount" I can see this line:
It could be the origin of the issue because of the "noexec". How can I fix this simply since I'm not managing slave creation (due to Kubernetes plugin) please?
And even if I could fix that by overriding this mount or whatever... it seems strange this is not working from basic configuration of Kubernetes plugin, no?