infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16191) We have problem to run builds on Windows Jenkins because the paths are too long
Date Mon, 26 Mar 2018 06:36:00 GMT

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

Tibor Digana commented on INFRA-16191:
--------------------------------------

[~cthistle]
M build failed. Maybe it is related, please see this build https://builds.apache.org/job/maven-box/job/maven-surefire/job/1506/2/
It was running last night. Did you restart the systems or changed while the builds were running?
There are 4 errors. Three out of them are in Windows [1] and one on Linux[2].
[1]: 00:01:37.136 [windows-jdk10-maven3.2.x] The system cannot find the path specified.
[2]: 00:01:20.237 [linux-jdk10-maven3.3.x] /bin/sh: 1: /home/jenkins/tools/java/latest10/bin/java:
not found

Question. Is it related to systems on AWS? Do them have problem with power supply or filesystems?

> 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