Skip to content

Fix ITs for Maven 3.10.0 - #3508

Merged
olamy merged 1 commit into
apache:masterfrom
slawekjaranowski:mvn-3.10.0-its
Oct 4, 2026
Merged

olamy merged 1 commit into
apache:masterfrom
slawekjaranowski:mvn-3.10.0-its

Conversation

@slawekjaranowski

Copy link
Copy Markdown
Member

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

@slawekjaranowski

Copy link
Copy Markdown
Member Author

On Windows one test ForkCountTestNGIT fail with:

Caused by: java.nio.file.AccessDeniedException: C:\Users\runneradmin\.m2\repository\org\apache\maven\plugins\surefire\maven-dump-pid-plugin\0.1\maven-dump-pid-plugin-0.1.jar.18255110840914051135.tmp -> C:\Users\runneradmin\.m2\repository\org\apache\maven\plugins\surefire\maven-dump-pid-plugin\0.1\maven-dump-pid-plugin-0.1.jar
    at sun.nio.fs.WindowsException.translateToIOException (WindowsException.java:89)
    at sun.nio.fs.WindowsException.rethrowAsIOException (WindowsException.java:103)
    at sun.nio.fs.WindowsFileCopy.move (WindowsFileCopy.java:328)
    at sun.nio.fs.WindowsFileSystemProvider.move (WindowsFileSystemProvider.java:291)
    at java.nio.file.Files.move (Files.java:1431)
    at org.eclipse.aether.spi.io.PathProcessorSupport.fileSystemMove (PathProcessorSupport.java:307)
    at org.eclipse.aether.spi.io.PathProcessorSupport.retryingMove (PathProcessorSupport.java:269)
    at org.eclipse.aether.spi.io.PathProcessorSupport$2.close (PathProcessorSupport.java:241)
    at org.eclipse.aether.spi.io.PathProcessorSupport.copy (PathProcessorSupport.java:152)
    at org.eclipse.aether.spi.io.PathProcessor.copyWithTimestamp (PathProcessor.java:153)
    at org.eclipse.aether.internal.impl.DefaultInstaller.install (DefaultInstaller.java:208)

@olamy

olamy commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

On Windows one test ForkCountTestNGIT fail with:

Caused by: java.nio.file.AccessDeniedException: C:\Users\runneradmin\.m2\repository\org\apache\maven\plugins\surefire\maven-dump-pid-plugin\0.1\maven-dump-pid-plugin-0.1.jar.18255110840914051135.tmp -> C:\Users\runneradmin\.m2\repository\org\apache\maven\plugins\surefire\maven-dump-pid-plugin\0.1\maven-dump-pid-plugin-0.1.jar
    at sun.nio.fs.WindowsException.translateToIOException (WindowsException.java:89)
    at sun.nio.fs.WindowsException.rethrowAsIOException (WindowsException.java:103)
    at sun.nio.fs.WindowsFileCopy.move (WindowsFileCopy.java:328)
    at sun.nio.fs.WindowsFileSystemProvider.move (WindowsFileSystemProvider.java:291)
    at java.nio.file.Files.move (Files.java:1431)
    at org.eclipse.aether.spi.io.PathProcessorSupport.fileSystemMove (PathProcessorSupport.java:307)
    at org.eclipse.aether.spi.io.PathProcessorSupport.retryingMove (PathProcessorSupport.java:269)
    at org.eclipse.aether.spi.io.PathProcessorSupport$2.close (PathProcessorSupport.java:241)
    at org.eclipse.aether.spi.io.PathProcessorSupport.copy (PathProcessorSupport.java:152)
    at org.eclipse.aether.spi.io.PathProcessor.copyWithTimestamp (PathProcessor.java:153)
    at org.eclipse.aether.internal.impl.DefaultInstaller.install (DefaultInstaller.java:208)

Is Windauze supposed to work correctly? :trollface:
But maybe some parallel runs are locking the same jar? But why is it not happening with other JDKs?
Anyway let's merge this, but that's an embarrassing flakiness (resolver upgrade?)

@olamy
olamy merged commit cfaab00 into apache:master Oct 4, 2026
56 of 60 checks passed
@github-actions github-actions Bot added this to the 3.6.1 milestone Oct 4, 2026
@olamy

olamy commented Oct 4, 2026

Copy link
Copy Markdown
Member

ok let's see what is happening with #3509

@slawekjaranowski
slawekjaranowski deleted the mvn-3.10.0-its branch October 4, 2026 07:55
slawekjaranowski added a commit to slawekjaranowski/maven-surefire that referenced this pull request Oct 18, 2026
slawekjaranowski added a commit that referenced this pull request Oct 22, 2026
* Fix ITs for Maven 3.10.0 (#3508)

(cherry picked from commit cfaab00)

* Fix ForkCountIT failing on Windows with Maven 3.10.0 (#3509)

Signed-off-by: Olivier Lamy <olamy@apache.org>
(cherry picked from commit 80b1f78)

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants