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-16836) Can't build on Windows Node 2016-1 -- Permission denied while git clone from gitbox.
Date Tue, 31 Jul 2018 18:58:00 GMT

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

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

Hi, After diving into this more the `mvn-it...` stuff is based on our Maven Core IT build
which contains things like this:

   stage("${stageLabel}") {
                    // on Windows, need a short path or we hit 256 character limit for paths
                    // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent
                    // will not trample each other
                    dir(isUnix() ? 'test' : "/mvn-it-${EXECUTOR_NUMBER}.tmp") {
                        def WORK_DIR=pwd()
                        checkout tests
                        if (isUnix()) {
                            sh "rm -rvf $WORK_DIR/apache-maven-dist.zip $WORK_DIR/it-local-repo"
                        } else {
                            bat "if exist it-local-repo rmdir /s /q it-local-repo"
                            bat "if exist apache-maven-dist.zip del /q apache-maven-dist.zip"
                        }


Can you tell how much space there is consumed ? 
Apart from that I will ask on our dev list...Thanks so far Chris...


> Can't build on Windows Node 2016-1 -- Permission denied while git clone from gitbox.
> ------------------------------------------------------------------------------------
>
>                 Key: INFRA-16836
>                 URL: https://issues.apache.org/jira/browse/INFRA-16836
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>         Environment: Windows 2016-1
>            Reporter: Karl Heinz Marbaise
>            Assignee: Chris Thistlethwaite
>            Priority: Blocker
>
> Currently our Maven build fails constantly while trying to git clone on a windows node(https://builds.apache.org/computer/windows-2016-1/)
> https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/master/46/consoleFull
> The following message:
> [windows-jdk7] Caused by: hudson.plugins.git.GitException: Command "git config remote.origin.url
https://gitbox.apache.org/repos/asf/maven-integration-testing.git" returned status code 4:
> [windows-jdk7] stdout: 
> [windows-jdk7] stderr: error: could not write config file .git/config: Permission denied
> [windows-jdk7] 
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAP
> An older build failed with the following (same permission failure):
> [windows-jdk7] Caused by: hudson.plugins.git.GitException: Command "git config remote.origin.url
https://gitbox.apache.org/repos/asf/maven-integration-testing.git" returned status code 4:
> [windows-jdk7] stdout: 
> [windows-jdk7] stderr: error: could not write config file .git/config: Permission denied
> [windows-jdk7] 
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2002)
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970)
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1966)
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1597)
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1609)
> [windows-jdk7] 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1243)
> [windows-jdk7] 	at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:160)
> [windows-jdk7] 	at sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source)
> [windows-jdk7] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> [windows-jdk7] 	at java.lang.reflect.Method.invoke(Unknown Source)
> [windows-jdk7] 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:896)
> [windows-jdk7] 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:870)
> [windows-jdk7] 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:829)
> [windows-jdk7] 	at hudson.remoting.UserRequest.perform(UserRequest.java:181)
> [windows-jdk7] 	at hudson.remoting.UserRequest.perform(UserRequest.java:52)
> [windows-jdk7] 	at hudson.remoting.Request$2.run(Request.java:336)
> [windows-jdk7] 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
> [windows-jdk7] 	at java.util.concurrent.FutureTask.run(Unknown Source)
> [windows-jdk7] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [windows-jdk7] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [windows-jdk7] 	at hudson.remoting.Engine$1$1.run(Engine.java:98)
> [windows-jdk7] 	at java.lang.Thread.run(Unknown Source)
> [windows-jdk7] 	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to
JNLP4-connect connection from ec2-34-228-168-168.compute-1.amazonaws.com/34.228.168.168:57510
> [windows-jdk7] 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
> [windows-jdk7] 		at hudson.remoting.UserResponse.retrieve(UserRequest.java:389)
> [windows-jdk7] 		at hudson.remoting.Channel.call(Channel.java:955)
> [windows-jdk7] 		at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)
> [windows-jdk7] 		at com.sun.proxy.$Proxy117.setRemoteUrl(Unknown Source)
> [windows-jdk7] 		at org.jenkinsci.plugins.gitclient.RemoteGitImpl.setRemoteUrl(RemoteGitImpl.java:295)
> [windows-jdk7] 		at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:876)
> [windows-jdk7] 		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
> [windows-jdk7] 		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
> [windows-jdk7] 		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
> [windows-jdk7] 		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
> The following builds as reference:
> https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/master/43/
> https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/master/44/
> https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/master/45/



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

Mime
View raw message