infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16351) Permission issues with Maven repo on H21 and H31
Date Sat, 14 Apr 2018 20:36:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438497#comment-16438497
] 

Karl Heinz Marbaise commented on INFRA-16351:
---------------------------------------------

If you don't have programmatically said to delete the workspace it is kept.. Of course it
can happen that your build will run on another node which means downloading the deps agains
but that makes your build independent of any other build cause in the case using the location
of the local user each build which uses this node could be influenced by any other build on
that same box (apart from other issues which could happen)....which is a bad idea...in the
Maven project itself we are doing this for a very long time (apart from being best practice)...you
can take a look at https://builds.apache.org/view/M-R/view/Maven/job/maven-box/ as an example
(we are using pipelines) ....

Based on your build configuration I would say you need to change .gitignore to ignore `.repository`
in your workspace which means also it is not deleted by using your "git clean -xdf" ...


> Permission issues with Maven repo on H21 and H31
> ------------------------------------------------
>
>                 Key: INFRA-16351
>                 URL: https://issues.apache.org/jira/browse/INFRA-16351
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Jenkins
>            Reporter: Doroszlai, Attila
>            Assignee: Daniel Takamori
>            Priority: Major
>
> Hi,
> Jenkins has problem storing some dependencies for one of Ambari's modules on H21 and
H31 due to some permission issue.
> H21:
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/compojure/compojure/1.1.3/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/compojure/compojure/1.1.3/compojure-1.1.3.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/clout/clout/1.0.1/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/clout/clout/1.0.1/clout-1.0.1.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/ring/ring-core/1.1.5/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/ring/ring-core/1.1.5/ring-core-1.1.5.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/hiccup/hiccup/0.3.6/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/hiccup/hiccup/0.3.6/hiccup-0.3.6.pom.lastUpdated
> https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1829/
> H31:
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/org/apache/commons/commons-lang3/resolver-status.properties
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/junit-addons/junit-addons/resolver-status.properties
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/compojure/compojure/1.1.3/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/compojure/compojure/1.1.3/compojure-1.1.3.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/clout/clout/1.0.1/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/clout/clout/1.0.1/clout-1.0.1.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/ring/ring-core/1.1.5/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/ring/ring-core/1.1.5/ring-core-1.1.5.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/hiccup/hiccup/0.3.6/_remote.repositories
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/hiccup/hiccup/0.3.6/hiccup-0.3.6.pom.lastUpdated
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/org/apache/commons/commons-lang3/resolver-status.properties
> [WARNING] Failed to write tracking file /home/jenkins/.m2/repository/junit-addons/junit-addons/resolver-status.properties
> https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1830/
> Could you please take a look?  Thanks.



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

Mime
View raw message