infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Thistlethwaite (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-16191) We have problem to run builds on Windows Jenkins because the paths are too long
Date Wed, 21 Mar 2018 15:50:00 GMT

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

Chris Thistlethwaite updated INFRA-16191:
-----------------------------------------
    Status: Waiting for user  (was: Waiting for Infra)

The more I've dug around with this the more my previous comment holds true. In Explorer and
cmd.exe, there is a 260 character limit, but in other tools PowerShell or git, the limit doesn't
exist.

There aren't extra java processes running on the nodes and other builds are running. 

The only thing left to test is another build with MAX_PATH set to 0, which is waiting on a
build.

> We have problem to run builds on Windows Jenkins because the paths are too long
> -------------------------------------------------------------------------------
>
>                 Key: INFRA-16191
>                 URL: https://issues.apache.org/jira/browse/INFRA-16191
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>         Environment: windows-2012 and windows-2016 Jenkins nodes
>            Reporter: Tibor Digana
>            Assignee: Chris Thistlethwaite
>            Priority: Blocker
>
> Currently the length of workspace directory name is 55 characters.
> Please configure the length with system property {{-Djenkins.branch.WorkspaceLocatorImpl.PATH_MAX=...}}.
> Perhaps this setting would have an effect on all jobs if we use it in the startup service
script. Here is JIRA as a hint https://issues.jenkins-ci.org/browse/JENKINS-34564
> Our Maven builds are very unstable and we already made project folders much shorter and
it is still not enough.
> {quote}
> 02:21:30.044 [windows-jdk8-maven3.3.x] cmd.exe /X /C "F:\jenkins\tools\maven\apache-maven-3.3.9\bin\..\bin\mvn
-e --batch-mode -Dmaven.repo.local=f:\jenkins\jenkins-slave\workspace\aven-surefire_SUREFIRE-1495-AZVF7TDCCMKWMBHS2VO5MLWAKGTWFQWCOGV6TP2CHVULE4Z77ANA@2\.m2
org.apache.maven.plugins:maven-clean-plugin:clean -Dsurefire.version=3.0.0-SNAPSHOT -Djacoco.agent=
"-P junit47-test" -Dtest=%regex[#testSuccessTwo] test"
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1358)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.surefire.its.fixture.MavenLauncher.executeCurrentGoals(MavenLauncher.java:332)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	... 49 more
> 02:21:30.045 [windows-jdk8-maven3.3.x] Caused by: org.apache.maven.it.LauncherException:
Failed to run Maven: Error while executing process.
> 02:21:30.045 [windows-jdk8-maven3.3.x] cmd.exe /X /C "F:\jenkins\tools\maven\apache-maven-3.3.9\bin\..\bin\mvn
-e --batch-mode -Dmaven.repo.local=f:\jenkins\jenkins-slave\workspace\aven-surefire_SUREFIRE-1495-AZVF7TDCCMKWMBHS2VO5MLWAKGTWFQWCOGV6TP2CHVULE4Z77ANA@2\.m2
org.apache.maven.plugins:maven-clean-plugin:clean -Dsurefire.version=3.0.0-SNAPSHOT -Djacoco.agent=
"-P junit47-test" -Dtest=%regex[#testSuccessTwo] test"
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.it.ForkedLauncher.run(ForkedLauncher.java:131)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.it.ForkedLauncher.run(ForkedLauncher.java:142)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1354)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	... 50 more
> 02:21:30.045 [windows-jdk8-maven3.3.x] Caused by: org.apache.maven.shared.utils.cli.CommandLineException:
Error while executing process.
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.Commandline.execute(Commandline.java:412)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.CommandLineUtils.executeCommandLineAsCallable(CommandLineUtils.java:229)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:165)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:142)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:122)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:89)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.it.ForkedLauncher.run(ForkedLauncher.java:127)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	... 52 more
> 02:21:30.045 [windows-jdk8-maven3.3.x] Caused by: java.io.IOException: Cannot run program
"cmd.exe" (in directory "F:\jenkins\jenkins-slave\workspace\aven-surefire_SUREFIRE-1495-AZVF7TDCCMKWMBHS2VO5MLWAKGTWFQWCOGV6TP2CHVULE4Z77ANA@2\surefire-its\target\TestMultipleMethodPatternsIT_testRegexSuccessTwo_junit47-test"):
CreateProcess error=5, Access is denied
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at java.lang.Runtime.exec(Runtime.java:620)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at org.apache.maven.shared.utils.cli.Commandline.execute(Commandline.java:407)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	... 58 more
> 02:21:30.045 [windows-jdk8-maven3.3.x] Caused by: java.io.IOException: CreateProcess
error=5, Access is denied
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at java.lang.ProcessImpl.create(Native Method)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at java.lang.ProcessImpl.start(ProcessImpl.java:137)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
> 02:21:30.045 [windows-jdk8-maven3.3.x] 	... 60 more
> {quote}



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

Mime
View raw message