infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Bouron (JIRA)" <j...@apache.org>
Subject [jira] [Created] (INFRA-16417) Build
Date Mon, 23 Apr 2018 08:40:00 GMT
Thomas Bouron created INFRA-16417:
-------------------------------------

             Summary: Build 
                 Key: INFRA-16417
                 URL: https://issues.apache.org/jira/browse/INFRA-16417
             Project: Infrastructure
          Issue Type: Bug
          Components: Docker, Jenkins
            Reporter: Thomas Bouron


Our builds became unstable recently with the following error:

```
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://git-wip-us.apache.org/repos/asf/brooklyn.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:862)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1129)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1160)
	at hudson.scm.SCM.checkout(SCM.java:495)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
	at hudson.model.Run.execute(Run.java:1724)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git config remote.origin.url https://git-wip-us.apache.org/repos/asf/brooklyn.git"
returned status code 4:
stdout: 
stderr: error: failed to write new configuration file /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker/.git/config.lock
```

I tried to clean up the workspace as a workaround but got the following error: `An error occurred
processing your request. Ask your Jenkins administrator to look up details. ErrorID=b1b46869-b755-478e-b410-01a3a0c9017d`

Any idea how I can fix this?

Builds are executed inside docker containers. For that, I configured jenkins jobs to build
Brooklyn only on slaves with the tag ubuntu. Is there something I can improve in this configuration?
What we need is a slave with a docker engine but I'm not sure if all slaves have that (and
there is no docker tag)


For reference, here is the link to the job that fails the most: https://builds.apache.org/view/B/view/Brooklyn/job/brooklyn-master-build-docker/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message