Thanks for the link Tibor (didn't know there was an open infra issue you were working on). Based on that JIRA comment, they have done what I was suggesting for Windows line lengths.
> The error message is Caused by: java.io.IOException: CreateProcess error=5, Access is denied Yes, need to find the "Access is denied" cause. I looked at the log and posted a couple of initial thoughts on the ticket. On Sat, Mar 17, 2018 at 12:48 PM, Tibor Digana <[email protected]> wrote: > Hi Jeff, > > The entire problem is when trying to run a forked sub-process via > ProcessBuilder.start(). > The error message is > Caused by: java.io.IOException: CreateProcess error=5, Access is denied > > I found a sort of similar issue reported for Java 9 as well: > https://bugs.openjdk.java.net/browse/JDK-8168275 > > Cheers > Tibor > > On Sat, Mar 17, 2018 at 6:12 PM, Tibor Digana <[email protected]> > wrote: > >> Hi Jeff, >> >> I am not an expert for Windows internals. Here is the statement [1] given >> by our INFRA team. Do you think they performed same setting you have >> proposed? >> If it is different, you can maybe reply on JIRA and give them the hint. >> [1]: >> https://issues.apache.org/jira/browse/INFRA-16191?focusedCom >> mentId=16402016&page=com.atlassian.jira.plugin.system. >> issuetabpanels:comment-tabpanel#comment-16402016 >> >> We do not have long paths in Git repo hopefully. The situation is that we >> copy some sources to a newly created folder in runtime: >> surefire-its/target/<created-test-folder>/src/main/java/... >> >> Then this exceeds the length. The copy is done by Java process JDK 1.8. >> >> Cheers >> Tibor >> >> >> >> >> >> On Sat, Mar 17, 2018 at 5:52 PM, Jeff Jensen < >> [email protected]> wrote: >> >>> Hi Tibor, >>> >>> > I should maybe write some limitations regarding length of IT >>> class/method/package and length of Git branch name in README.md due to >>> problems with Windows paths length. >>> >>> In case this helps: instead of shortening names for the Windows path >>> length >>> limitation, we can configure Windows and Git: >>> >>> 1. For recent Windows versions, set this to 1 (0 is >>> disabled): HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSyst >>> em >>> -> LongPathsEnabled >>> >>> 2. git config --global core.longpaths true >>> Caveat per git doc and mitigated with step 1: >>> >>> Enable long path (> 260) support for builtin commands in Git for Windows. >>> This is disabled by default, as long paths are not supported by Windows >>> Explorer, cmd.exe and the Git for Windows tool chain (msys, bash, tcl, >>> perl…). Only enable this if you know what you’re doing and are prepared >>> to >>> live with a few quirks. >>> >>> On Sat, Mar 17, 2018 at 11:12 AM, Tibor Digana <[email protected]> >>> wrote: >>> >>> > I will push the Jira 1490 first. >>> > Sorry it took some time. Last days we solved issues INFRA-16168 and >>> > INFRA-16191. >>> > I should maybe write some limitations regarding length of IT >>> > class/method/package and length of Git branch name in README.md due to >>> > problems with Windows paths length. >>> > >>> > On Fri, Mar 9, 2018 at 11:12 AM, Enrico Olivelli <[email protected]> >>> > wrote: >>> > >>> > > 2018-03-09 9:55 GMT+01:00 Tibor Digana <[email protected]>: >>> > > >>> > > > Hi Enrico, Karl, Herve, >>> > > > >>> > > > We reported the issues [1] found during the Vote. They are fixed in >>> > > > branches [2] and CI builds [3]. >>> > > > We can make a code review. >>> > > > Additionally, we fixed SUREFIRE-1490 which was in progress but we >>> did >>> > not >>> > > > have spare time to include it in the Release 2.21.0. Now it is >>> fixed in >>> > > [4]. >>> > > > >>> > > >>> > > >>> > > >>> > > Thank you Tibor, >>> > > I did not have time to create issues yet and you already have >>> resolved >>> > them >>> > > !! >>> > > >>> > > I can confirm that I am now using 2.21.0 and I am really happy with >>> it. >>> > > >>> > > I have reviewed your commits and they looks good to me, >>> > > today I do not have time to test your fixes on my "real" projects but >>> > > surely I will do it next week, I guess we will not release 3.0.0M1 >>> > > immediately >>> > > >>> > > Cheers >>> > > Enrico >>> > > >>> > > >>> > > >>> > > > >>> > > > [1]: >>> > > > https://issues.apache.org/jira/browse/SUREFIRE-1495 >>> > > > https://issues.apache.org/jira/browse/SUREFIRE-1498 >>> > > > >>> > > > [2]: >>> > > > https://git1-us-west.apache.org/repos/asf?p=maven- >>> > > surefire.git;a=commit;h= >>> > > > c496ebf3b4518c25787d5eac9f54b2a220a59447 >>> > > > https://git1-us-west.apache.org/repos/asf?p=maven- >>> > > surefire.git;a=commit;h= >>> > > > af7ae9ef933873a038b2817d6430859f2a5bd1c7 >>> > > > >>> > > > [3]: >>> > > > https://builds.apache.org/job/maven-wip/job/maven-surefire/ >>> > > > job/SUREFIRE-1495/4/ >>> > > > https://builds.apache.org/job/maven-wip/job/maven-surefire/ >>> > > > job/SUREFIRE-1498/1/ >>> > > > >>> > > > [4]: >>> > > > https://issues.apache.org/jira/browse/SUREFIRE-1490 >>> > > > https://git1-us-west.apache.org/repos/asf?p=maven- >>> > > surefire.git;a=commit;h= >>> > > > 6174be76f52ffc2873a18a5215f60767843d7479 >>> > > > https://builds.apache.org/job/maven-wip/job/maven-surefire/ >>> > > > job/SUREFIRE-1490/2/ >>> > > > >>> > > > Cheers >>> > > > Tibor >>> > > > >>> > > > >>> > > > On Tue, Mar 6, 2018 at 5:33 PM, Tibor Digana < >>> [email protected]> >>> > > > wrote: >>> > > > >>> > > >> Hello Gary, yes but my typo was corrected in the second e-mail. >>> > > >> >>> > > >> On Tue, Mar 6, 2018 at 5:16 PM, Gary Gregory < >>> [email protected]> >>> > > >> wrote: >>> > > >> >>> > > >>> This thread has the wrong VERSION in its subject. >>> > > >>> >>> > > >>> Gary >>> > > >>> >>> > > >>> On Sat, Mar 3, 2018 at 4:42 AM, Tibor Digana < >>> [email protected] >>> > > >>> > > >>> wrote: >>> > > >>> >>> > > >>> > Hi, >>> > > >>> > >>> > > >>> > We solved 33 issues: >>> > > >>> > https://issues.apache.org/jira/secure/ReleaseNote.jspa? >>> > > >>> > projectId=12317927&version=12341630 >>> > > >>> > >>> > > >>> > There are still a couple of issues left in JIRA: >>> > > >>> > https://issues.apache.org/jira/i#issues/?jql=project+% >>> > > >>> > 3D+SUREFIRE+AND+status+%3D+Open+ORDER+BY+priority+DESC >>> > > >>> > >>> > > >>> > Staging repo: >>> > > >>> > https://repository.apache.org/content/repositories/maven-1402/ >>> > > >>> > https://repository.apache.org/content/repositories/maven- >>> > > >>> > 1402/org/apache/maven/surefire/surefire/2.21.0/ >>> > > surefire-2.21.0-source- >>> > > >>> > release.zip >>> > > >>> > >>> > > >>> > Source release checksum(s): >>> > > >>> > surefire-2.21.0-source-release.zip sha1: >>> > > >>> > 6927024eefa0b8c80dee70efa014f1f421d7844b >>> > > >>> > >>> > > >>> > Staging site: >>> > > >>> > http://maven.apache.org/surefire-archives/surefire-LATEST/ >>> > > >>> > >>> > > >>> > Guide to testing staged releases: >>> > > >>> > http://maven.apache.org/guides/development/guide- >>> > > testing-releases.html >>> > > >>> > >>> > > >>> > Vote open for 72 hours. >>> > > >>> > >>> > > >>> > [ ] +1 >>> > > >>> > [ ] +0 >>> > > >>> > [ ] -1 >>> > > >>> > >>> > > >>> > Cheers >>> > > >>> > Tibor >>> > > >>> > >>> > > >>> >>> > > >> >>> > > >> >>> > > > >>> > > >>> > >>> >> >> >
