This release vote is cancelled. I have been able to duplicate the problem in my Windows VM. I believe I know what the problem is and will be testing it shortly. The problem is not with the test.
Ralph > On Jun 25, 2019, at 4:01 PM, Remko Popma <[email protected]> wrote: > > When building from the tag on my Windows laptop, I get the same errors that > Gary was seeing: > > [ERROR] Failures: > [ERROR] > QueueFullAsyncLoggerConfigLoggingFromToStringTest.testLoggingFromToStringCausesOutOfOrderMessages:76->asyncLoggerConfigRecursiveTest:96 > expected:<...ging in toString() #[0]> but was:<...ging in toString() #[128]> > [ERROR] ResolverUtilTest.testExtractPathFromFileUrl > target\testpluginsutil failed with java.nio.file.FileSystemException: > target\testpluginsutil\resolverutil2\customplugin2.jar: The process cannot > access thefile because it is being used by another process. > > [ERROR] ResolverUtilTest.testExtractPathFromFileUrlNotDecodedIfFileExists > target\testpluginsutil failed with java.nio.file.FileSystemException: > target\testpluginsutil\resolverutil2\customplugin2.jar: The process cannot > access the file because it is being used by another process. > > [ERROR] ResolverUtilTest.testFileFromUriWithSpacesAndPlusCharactersInName > target\testpluginsutil failed with java.nio.file.FileSystemException: > target\testpluginsutil\resolverutil2\customplugin2.jar: The process cannot > access the file because it is being used by another process. > > [ERROR] ResolverUtilTest.testFindInPackageFromJarPath > target\testpluginsutil failed with java.nio.file.FileSystemException: > target\testpluginsutil\resolverutil2\customplugin2.jar: The process cannot > access the file because it is being used by another process. > > C:\Users\remko\IdeaProjects\logging-log4j2>mvn --version > Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; > 2017-10-18T16:58:13+09:00) > Maven home: C:\apps\apache-maven-3.5.2\bin\.. > Java version: 1.8.0_202, vendor: Oracle Corporation > Java home: C:\apps\jdk1.8.0_202\jre > Default locale: en_GB, platform encoding: MS932 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" > > I will set JAVA_HOME to Java 7 and try again later. > > > On Wed, Jun 26, 2019 at 3:55 AM Ralph Goers <[email protected]> > wrote: > >> Interesting. It is failing trying to cleanup files before running the next >> test. This seems likely to be something wrong in the unit test rather than >> something wrong with ResolverUtil. However, ResolverUtilTest hasn’t changed >> in quite a while. >> >> If this is the only problem I am reluctant to respin a release just for >> this. I’d first have to see if I can even replicate it in my Windows VM. >> >> Ralph >> >>> On Jun 25, 2019, at 11:31 AM, Gary Gregory <[email protected]> >> wrote: >>> >>> Here we go: >>> >>> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ log4j-core >> --- >>> [INFO] Surefire report directory: >>> C:\temp\rc\logging-log4j2\log4j-core\target\surefire-reports >>> [INFO] parallel='none', perCoreThreadCount=true, threadCount=0, >>> useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, >>> threadCountMethods=0, parallelOptimized=true >>> [INFO] >>> [INFO] ------------------------------------------------------- >>> [INFO] T E S T S >>> [INFO] ------------------------------------------------------- >>> [INFO] Running >>> org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest >>> java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> at >>> >> sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) >>> at >>> >> sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) >>> at >>> >> sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) >>> at java.nio.file.Files.deleteIfExists(Files.java:1165) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:63) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:38) >>> at java.nio.file.Files.walkFileTree(Files.java:2670) >>> at java.nio.file.Files.walkFileTree(Files.java:2742) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders.cleanFolder(CleanFolders.java:103) >>> at >>> org.apache.logging.log4j.junit.CleanFolders.clean(CleanFolders.java:97) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.clean(AbstractExternalFileCleaner.java:103) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.after(AbstractExternalFileCleaner.java:85) >>> at >>> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50) >>> at org.junit.rules.RunRules.evaluate(RunRules.java:20) >>> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at org.junit.runners.Suite.runChild(Suite.java:128) >>> at org.junit.runners.Suite.runChild(Suite.java:27) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at >>> org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) >>> java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> at >>> >> sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) >>> at >>> >> sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) >>> at >>> >> sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) >>> at java.nio.file.Files.deleteIfExists(Files.java:1165) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:63) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:38) >>> at java.nio.file.Files.walkFileTree(Files.java:2670) >>> at java.nio.file.Files.walkFileTree(Files.java:2742) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders.cleanFolder(CleanFolders.java:103) >>> at >>> org.apache.logging.log4j.junit.CleanFolders.clean(CleanFolders.java:97) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.clean(AbstractExternalFileCleaner.java:103) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.before(AbstractExternalFileCleaner.java:92) >>> at >>> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46) >>> at org.junit.rules.RunRules.evaluate(RunRules.java:20) >>> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at org.junit.runners.Suite.runChild(Suite.java:128) >>> at org.junit.runners.Suite.runChild(Suite.java:27) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at >>> org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) >>> java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> at >>> >> sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) >>> at >>> >> sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) >>> at >>> >> sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) >>> at java.nio.file.Files.deleteIfExists(Files.java:1165) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:63) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:38) >>> at java.nio.file.Files.walkFileTree(Files.java:2670) >>> at java.nio.file.Files.walkFileTree(Files.java:2742) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders.cleanFolder(CleanFolders.java:103) >>> at >>> org.apache.logging.log4j.junit.CleanFolders.clean(CleanFolders.java:97) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.clean(AbstractExternalFileCleaner.java:103) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.before(AbstractExternalFileCleaner.java:92) >>> at >>> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46) >>> at org.junit.rules.RunRules.evaluate(RunRules.java:20) >>> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at org.junit.runners.Suite.runChild(Suite.java:128) >>> at org.junit.runners.Suite.runChild(Suite.java:27) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at >>> org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) >>> java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> at >>> >> sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) >>> at >>> >> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) >>> at >>> >> sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) >>> at >>> >> sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) >>> at java.nio.file.Files.deleteIfExists(Files.java:1165) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:63) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders$DeleteAllFileVisitor.visitFile(CleanFolders.java:38) >>> at java.nio.file.Files.walkFileTree(Files.java:2670) >>> at java.nio.file.Files.walkFileTree(Files.java:2742) >>> at >>> >> org.apache.logging.log4j.junit.CleanFolders.cleanFolder(CleanFolders.java:103) >>> at >>> org.apache.logging.log4j.junit.CleanFolders.clean(CleanFolders.java:97) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.clean(AbstractExternalFileCleaner.java:103) >>> at >>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.before(AbstractExternalFileCleaner.java:92) >>> at >>> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46) >>> at org.junit.rules.RunRules.evaluate(RunRules.java:20) >>> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) >>> at >>> >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at org.junit.runners.Suite.runChild(Suite.java:128) >>> at org.junit.runners.Suite.runChild(Suite.java:27) >>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) >>> at >> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) >>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) >>> at >> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) >>> at org.junit.runners.ParentRunner.run(ParentRunner.java:363) >>> at >>> org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) >>> at >>> >> org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) >>> at >>> >> org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) >>> at >>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) >>> [ERROR] Tests run: 14, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: >>> 9.756 s <<< FAILURE! - in >>> org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest >>> [ERROR] >>> >> testFindInPackageFromJarPath(org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest) >>> Time elapsed: 2.766 s <<< FAILURE! >>> java.lang.AssertionError: >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> >>> [ERROR] >>> >> testExtractPathFromFileUrlNotDecodedIfFileExists(org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest) >>> Time elapsed: 2.031 s <<< FAILURE! >>> java.lang.AssertionError: >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> >>> [ERROR] >>> >> testFileFromUriWithSpacesAndPlusCharactersInName(org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest) >>> Time elapsed: 2.053 s <<< FAILURE! >>> java.lang.AssertionError: >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> >>> [ERROR] >>> >> testExtractPathFromFileUrl(org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest) >>> Time elapsed: 2.01 s <<< FAILURE! >>> java.lang.AssertionError: >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> >>> [INFO] >>> [INFO] Results: >>> [INFO] >>> [ERROR] Failures: >>> [ERROR] ResolverUtilTest.testExtractPathFromFileUrl >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> [ERROR] >> ResolverUtilTest.testExtractPathFromFileUrlNotDecodedIfFileExists >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> [ERROR] >> ResolverUtilTest.testFileFromUriWithSpacesAndPlusCharactersInName >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> [ERROR] ResolverUtilTest.testFindInPackageFromJarPath >>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >> cannot >>> access the file because it is being used by another process. >>> >>> [INFO] >>> [ERROR] Tests run: 14, Failures: 4, Errors: 0, Skipped: 0 >>> [INFO] >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 51.146 s >>> [INFO] Finished at: 2019-06-25T14:30:14-04:00 >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) >>> on project log4j-core: There are test failures. >>> [ERROR] >>> [ERROR] Please refer to >>> C:\temp\rc\logging-log4j2\log4j-core\target\surefire-reports for the >>> individual test results. >>> [ERROR] Please refer to dump files (if any exist) [date].dump, >>> [date]-jvmRun[N].dump and [date].dumpstream. >>> [ERROR] -> [Help 1] >>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >>> goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test >>> (default-test) on project log4j-core: There are test failures. >>> >>> Please refer to >>> C:\temp\rc\logging-log4j2\log4j-core\target\surefire-reports for the >>> individual test results. >>> Please refer to dump files (if any exist) [date].dump, >>> [date]-jvmRun[N].dump and [date].dumpstream. >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>> (MojoExecutor.java:215) >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>> (MojoExecutor.java:156) >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>> (MojoExecutor.java:148) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >>> (LifecycleModuleBuilder.java:117) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >>> (LifecycleModuleBuilder.java:81) >>> at >>> >> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build >>> (SingleThreadedBuilder.java:56) >>> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >>> (LifecycleStarter.java:128) >>> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) >>> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) >>> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) >>> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) >>> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) >>> at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke >>> (NativeMethodAccessorImpl.java:62) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke >>> (DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke (Method.java:498) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced >>> (Launcher.java:282) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.launch >>> (Launcher.java:225) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode >>> (Launcher.java:406) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.main >>> (Launcher.java:347) >>> Caused by: org.apache.maven.plugin.MojoFailureException: There are test >>> failures. >>> >>> Please refer to >>> C:\temp\rc\logging-log4j2\log4j-core\target\surefire-reports for the >>> individual test results. >>> Please refer to dump files (if any exist) [date].dump, >>> [date]-jvmRun[N].dump and [date].dumpstream. >>> at org.apache.maven.plugin.surefire.SurefireHelper.throwException >>> (SurefireHelper.java:289) >>> at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution >>> (SurefireHelper.java:161) >>> at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary >>> (SurefirePlugin.java:364) >>> at >>> >> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked >>> (AbstractSurefireMojo.java:1041) >>> at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute >>> (AbstractSurefireMojo.java:857) >>> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo >>> (DefaultBuildPluginManager.java:137) >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>> (MojoExecutor.java:210) >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>> (MojoExecutor.java:156) >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >>> (MojoExecutor.java:148) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >>> (LifecycleModuleBuilder.java:117) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject >>> (LifecycleModuleBuilder.java:81) >>> at >>> >> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build >>> (SingleThreadedBuilder.java:56) >>> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >>> (LifecycleStarter.java:128) >>> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) >>> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) >>> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) >>> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) >>> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) >>> at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke >>> (NativeMethodAccessorImpl.java:62) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke >>> (DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke (Method.java:498) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced >>> (Launcher.java:282) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.launch >>> (Launcher.java:225) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode >>> (Launcher.java:406) >>> at org.codehaus.plexus.classworlds.launcher.Launcher.main >>> (Launcher.java:347) >>> [ERROR] >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> [ERROR] >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> [ERROR] [Help 1] >>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>> >>> using: mvn test -Dtest=ResolverUtilTest -pl log4j-core -e -V >>> >>> Gary >>> >>> On Tue, Jun 25, 2019 at 11:48 AM Gary Gregory <[email protected]> >>> wrote: >>> >>>> I will retest and report back today... >>>> >>>> Gary >>>> >>>> On Tue, Jun 25, 2019, 10:51 Ralph Goers <[email protected]> >>>> wrote: >>>> >>>>> Can you run just that test to see if you get stack traces? >>>>> >>>>> Ralph >>>>> >>>>>> On Jun 25, 2019, at 6:59 AM, Gary Gregory <[email protected]> >>>>> wrote: >>>>>> >>>>>> Oops, hit send too soon. I get the test failures: >>>>>> >>>>>> ... >>>>>> [ERROR] Failures: >>>>>> [ERROR] ResolverUtilTest.testExtractPathFromFileUrl >>>>>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>>>>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >>>>> cannot >>>>>> access the file because it is being used by another process. >>>>>> >>>>>> [ERROR] >>>>> ResolverUtilTest.testExtractPathFromFileUrlNotDecodedIfFileExists >>>>>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>>>>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >>>>> cannot >>>>>> access the file because it is being used by another process. >>>>>> >>>>>> [ERROR] >>>>> ResolverUtilTest.testFileFromUriWithSpacesAndPlusCharactersInName >>>>>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>>>>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >>>>> cannot >>>>>> access the file because it is being used by another process. >>>>>> >>>>>> [ERROR] ResolverUtilTest.testFindInPackageFromJarPath >>>>>> target\testpluginsutil failed with java.nio.file.FileSystemException: >>>>>> target\testpluginsutil\resolverutil2\customplugin2.jar: The process >>>>> cannot >>>>>> access the file because it is being used by another process. >>>>>> >>>>>> [INFO] >>>>>> [ERROR] Tests run: 2056, Failures: 4, Errors: 0, Skipped: 26 >>>>>> [INFO] >>>>>> [INFO] >>>>>> >> ------------------------------------------------------------------------ >>>>>> [INFO] Reactor Summary for Apache Log4j 2 2.12.0: >>>>>> [INFO] >>>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [ >>>>>> 6.669 s] >>>>>> [INFO] Apache Log4j API Java 9 support .................... SUCCESS [ >>>>>> 5.495 s] >>>>>> [INFO] Apache Log4j API ................................... SUCCESS >>>>> [01:09 >>>>>> min] >>>>>> [INFO] Apache Log4j Implementation Java 9 support ......... SUCCESS [ >>>>>> 2.235 s] >>>>>> [INFO] Apache Log4j Core .................................. FAILURE >>>>> [16:23 >>>>>> min] >>>>>> [INFO] Apache Log4j Core Integration Tests ................ SKIPPED >>>>>> ... >>>>>> >>>>>> using: >>>>>> >>>>>> Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; >>>>>> 2019-04-04T15:00:29-04:00) >>>>>> Maven home: C:\Java\apache-maven-3.6.1\bin\.. >>>>>> Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: >> C:\Program >>>>>> Files\Java\jdk1.8.0_212\jre >>>>>> Default locale: en_US, platform encoding: Cp1252 >>>>>> OS name: "windows 10", version: "10.0", arch: "amd64", family: >> "windows" >>>>>> >>>>>> Gary >>>>>> >>>>>> >>>>>> On Tue, Jun 25, 2019 at 9:58 AM Gary Gregory <[email protected]> >>>>> wrote: >>>>>> >>>>>>> I get the following test failures: >>>>>>> >>>>>>> >>>>>>> On Sun, Jun 23, 2019 at 9:43 PM Ralph Goers < >>>>> [email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> This is a vote to release Log4j 2.12.0, the next version of the >> Log4j >>>>> 2 >>>>>>>> project. >>>>>>>> >>>>>>>> Please download, test, and cast your votes on the log4j developers >>>>> list. >>>>>>>> [] +1, release the artifacts >>>>>>>> [] -1, don't release because... >>>>>>>> >>>>>>>> The vote will remain open for 72 hours (or more if required). All >>>>> votes >>>>>>>> are welcome and we encourage everyone to test the release, but only >>>>> Logging >>>>>>>> PMC votes are “officially” counted. As always, at least 3 +1 votes >>>>> and more >>>>>>>> positive than negative votes are required. >>>>>>>> >>>>>>>> Changes in this release include: >>>>>>>> >>>>>>>> New Features >>>>>>>> >>>>>>>> • LOG4J2-2403: Allow zero padding the counter of a >>>>>>>> RollingFileAppender. Thanks to hupfdule. >>>>>>>> • LOG4J2-2427: Add filter that will match events when no >> marker >>>>>>>> is present. Thanks to Rimaljit Kaur. >>>>>>>> • LOG4J2-2406: Add reconfiguration methods to Configurator. >>>>>>>> • LOG4J2-913: Add support for reconfiguration via HTTP(S), >>>>>>>> Docker, and Spring Cloud Configuration. >>>>>>>> • LOG4J2-2586: TCP Appender should support a host name >>>>> resolving >>>>>>>> to multiple IP addresses. >>>>>>>> • LOG4J2-2337: Allow custom end-of-line with JsonLayout. >> Thanks >>>>>>>> to Arvind Sahare, Patrice Ferrot. >>>>>>>> • LOG4J2-2598: GZIP compression on rollover supports >>>>> configurable >>>>>>>> compression levels. Thanks to Carter Kozak. >>>>>>>> • LOG4J2-2611: AsyncQueueFullPolicy configuration short values >>>>>>>> "Default" and "Discard" are case insensitive to avoid confusion. >>>>>>>> • LOG4J2-2634: Add and use method >>>>>>>> org.apache.logging.log4j.message.MapMessage.toKey(String) for >> simpler >>>>>>>> subclasses. >>>>>>>> Fixed Bugs >>>>>>>> >>>>>>>> • LOG4J2-2547: RollingRandomAccessFileAppender error message >>>>>>>> referenced incorrect class name. >>>>>>>> • LOG4J2-2616: Restore constructor to >> ThrowablePatternConverter >>>>>>>> that was removed in 2.8.2. >>>>>>>> • LOG4J2-2622: StructuredDataId was ignoring maxLength >>>>> atribute. >>>>>>>> • LOG4J2-2636: RFC5424Layout was not properly setting default >>>>>>>> Structured Element id for the MDC >>>>>>>> • LOG4J2-1143: Lookups were not found if the plugin key was >> not >>>>>>>> lowercase. Thanks to Pascal Heinrich. >>>>>>>> • LOG4J2-1852: Locate plugins within a Jar using a URL >>>>>>>> Connection. Thanks to Tanner Altares. >>>>>>>> • LOG4J2-2610: Explicitly set file creation time. >>>>>>>> • LOG4J2-2561: JEP223 version detection fix for JDK 9 and up. >>>>>>>> Thanks to Ulrich Enslin. >>>>>>>> • LOG4J2-1103: FailoverAppender was failing with ERROR >> appender >>>>>>>> Failover has no parameter that matches element Failovers. Thanks to >>>>> Seán >>>>>>>> Dunne. >>>>>>>> • LOG4J2-2602: Update file time when size based triggering >>>>> policy >>>>>>>> is used without a time-based triggering policy. >>>>>>>> • LOG4J2-2597: Throw better exception message when both >>>>>>>> log4j-slf4j-impl and log4j-to-slf4j are present. >>>>>>>> • LOG4J2-2559: NullPointerException in >>>>>>>> JdbcAppender.createAppender(). Thanks to Li Lei, Gary Gregory. >>>>>>>> • LOG4J2-2592: StackOverflowException when server not >> reachable >>>>>>>> with SocketAppender. Thanks to Dávid Kaya, Gary Gregory. >>>>>>>> • LOG4J2-2598: java.lang.StackOverflowError at >>>>>>>> >>>>> >> org.apache.logging.log4j.junit.AbstractExternalFileCleaner.println(AbstractExternalFileCleaner.java:169). >>>>>>>> Thanks to Gary Gregory. >>>>>>>> • LOG4J2-2564: MapPatternConverter is properly created from >> the >>>>>>>> '%K', '%map', and '%MAP' patterns. PatternConverter instanceOf >>>>> methods with >>>>>>>> unknown parameter types no longer elide those with known parameters. >>>>>>>> • LOG4J2-2612: NullPointerException at >>>>>>>> >>>>> >> org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager.writeInternal(JdbcDatabaseManager.java:803). >>>>>>>> • LOG4J2-2618: Possible ClassCastException in >>>>>>>> >>>>> >> org.apache.logging.log4j.core.script.ScriptManager.ScriptManager(Configuration, >>>>>>>> WatchManager) >>>>>>>> • LOG4J2-2631: RoutingAppender PurgePolicy implementations no >>>>>>>> longer stop appenders referenced from the logger configuration, only >>>>> those >>>>>>>> that have been created by the RoutingAppender. Note that >>>>>>>> RoutingAppender.getAppenders no longer includes entries for >> referenced >>>>>>>> appenders, only those which it has created. >>>>>>>> • LOG4J2-2629: Fix a race allowing events not to be recorded >>>>> when >>>>>>>> a RoutingAppender purge policy attempts to delete an idle appender >> at >>>>>>>> exactly the same time as a new event is recorded. >>>>>>>> • LOG4J2-2606: Asynchronous logging when the queue is full no >>>>>>>> longer results in heavy CPU utilization and low throughput. >>>>>>>> Changes >>>>>>>> >>>>>>>> • : Update tests from H2 1.4.197 to 1.4.199. Thanks to Gary >>>>>>>> Gregory. >>>>>>>> • LOG4J2-2570: Update Jackson from 2.9.7 to 2.9.8. Thanks to >>>>> Gary >>>>>>>> Gregory. >>>>>>>> • LOG4J2-2574: Update MongoDB 3 module driver from 3.9.0 to >>>>>>>> 3.10.1. Thanks to Gary Gregory. >>>>>>>> • LOG4J2-2619: Update Jackson from 2.9.8 to 2.9.9. >>>>>>>> • LOG4J2-2634: Refactor several AsyncLogger methods below the >>>>> 35 >>>>>>>> byte threshold for inlining. >>>>>>>> >>>>>>>> Tag: >>>>>>>> a) for a new copy do "git clone >>>>>>>> https://github.com/apache/logging-log4j2.git" and then "git >> checkout >>>>>>>> tags/log4j-2.12.0-rc1” >>>>>>>> b) for an existing working copy to “git pull” and then “git checkout >>>>>>>> tags/log4j-2.12.0-rc1” >>>>>>>> >>>>>>>> Web Site: http://rgoers.github.io/log4j2-site/index.html. >>>>>>>> >>>>>>>> Maven Artifacts: >>>>>>>> >>>>> >> https://repository.apache.org/content/repositories/orgapachelogging-1046 >>>>>>>> >>>>>>>> Distribution archives: >>>>>>>> https://dist.apache.org/repos/dist/dev/logging/log4j/ >>>>>>>> >>>>>>>> You may download all the Maven artifacts by executing: >>>>>>>> wget -e robots=off --cut-dirs=7 -nH -r -p -np --no-check-certificate >>>>>>>> >>>>> >> https://repository.apache.org/content/repositories/orgapachelogging-1046/org/apache/logging/log4j/ >>>>>>>> >>>>>>>> Ralph >>>>>>>> >>>>>>> >>>>> >>>>> >>>>> >> >> >>
