You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by "Andrew Bayer (JIRA)" <ji...@apache.org> on 2015/03/25 18:52:53 UTC

[jira] [Resolved] (BUILDS-64) Jenkins job cannot create dir /home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0.1

     [ https://issues.apache.org/jira/browse/BUILDS-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Bayer resolved BUILDS-64.
--------------------------------
    Resolution: Fixed
      Assignee: Andrew Bayer

Ah-ha! Looks like at least one of the Jenkins hosts for some reason had some directories under /home/jenkins/.m2/repository owned by root, not jenkins. I've fixed that across all the slaves.

> Jenkins job cannot create dir /home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0.1
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: BUILDS-64
>                 URL: https://issues.apache.org/jira/browse/BUILDS-64
>             Project: Infra Build Platform
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Michael Dürig
>            Assignee: Andrew Bayer
>
> Many builds failing for Apache Jackrabbit Oak matrix job because of the following error:
> {noformat}
> [ERROR] Failed to execute goal on project oak-jcr: Could not resolve dependencies for project org.apache.jackrabbit:oak-jcr:bundle:1.1-SNAPSHOT: 
> Failed to collect dependencies at org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0.1: 
> Failed to read artifact descriptor for org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0.1: 
> Could not transfer artifact org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:pom:1.0.1 from/to central (http://repo.maven.apache.org/maven2): 
> Specified destination directory cannot be created: /home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0.1 -> [Help 1]
> {noformat}
> Prior to this there is a warning:
> {code}
> [WARNING] Failed to create parent directories for tracking file
> /home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.0.1B_spec/1.0.1/geronimo-jta_1.0.1B_spec-1.0.1.pom.lastUpdated
> {code}
> This happens often but not always. For example [build 29|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/29/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/] passed and the same failed for [build 30|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/30/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/]
> Initial discussion at http://mail-archives.apache.org/mod_mbox/www-builds/201503.mbox/%3CCAGnSx07c1v4y-tefwH0XzbzE75Haj1mDbj8b9jZ3de=vXaPRwQ@mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)