![]() |
|
|
Change By:
|
Samuel Stirtzel
(05/Dec/12 12:48 PM)
|
Summary:
|
Git rebuild clean workspace
Workspace cleaning
locks up all workspaces
|
Labels:
|
git
jenkins
|
Assignee:
|
Nicolas De Loof
Samuel Stirtzel
|
Environment:
|
Ubuntu Server 64bit 12.04 / Linux 3.2.0-29
Git version 1.7.9.5
Jenkins version 1.480.1
|
Description:
|
-Manually building works as expected, time triggered building- --
After
building once
deleting a workspace
the
next build locks up all workspaces (removes executable flag on
workspace
dir, the parent directory
and all sub-directories
)
{quote} Error trying to determine the git version: Error performing command: git --version Assuming 1
have their executable flag removed rendering them inaccessible
.
6
ERROR: Error cloning remote repo 'origin' : Could not clone <repo-name>
at hudson.plugins.git.GitAPI.clone(GitAPI.java:273) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:986) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1142) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.
Using clean workspace before
scm
.SCMCheckoutStrategy.
-
checkout
(SCMCheckoutStrategy
or manually cleaning the workspace will trigger this issue
.
java:88)
at hudson
This could be a timeout due to "too much data" but no errors will be displayed while / after cleaning, only the subsequent access of any project will throw errors
.
model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1502)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java
Note
:
46)
at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236)
Caused by: hudson.plugins.
Before it was wrongly assumed that this errors happen with
git
checkouts, however this issue is reproducible with every project
.
GitException: Command "git clone -o origin <repo-name> /home/jenkins/workspace/<job-name>" returned status code 128:
{quote}
resulting
Results
in:
{quote} stderr: fatal: could not create work tree dir '/home/jenkins/workspace/<job-name>'.: Permission denied {quote}
Git version is ~$ git --version git version 1.7.9.5
Reproducible: always
|
Component/s:
|
core
|
Component/s:
|
git
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|