Hello Gary, some more detailed testing. In general: mvn clean install -Drelease -DallTests -Dmaven.test.failure.ignore=true Run from main directory. Don't miss -Drelease -DallTests here. You can use Java 8 or 11, both is used in RedHats CI environment.
=================== Windows Setup =================== PS C:\workspaces\wildfly-core> mvn --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\xyz\apache-maven-3.6.3\bin\.. Java version: 1.8.0_272, vendor: AdoptOpenJDK, runtime: C:\xyz\jdk8u272-b10\jre Default locale: de_DE, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Test 1 - windows) git clone https://github.com/wildfly/wildfly-core.git Building from master (commit 62c032216380b442a74664b6b2a5f1d190921495 ) Result for the relevant test: [INFO] Running org.jboss.as.test.integration.management.cli.ModuleTestCase [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.642 s - in org.jboss.as.test.integration.management.cli.ModuleTestCase ==> Build fails in other unrelated tests. Test 2 - windows) Take same version as from Test 1, except commons-io set to 2.9.0-snapshot (build local from commit 1057ca2cedc74cf909b89bf9358b9933ff91912e ) [INFO] Running org.jboss.as.test.integration.management.cli.ModuleTestCase [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.539 s - in org.jboss.as.test.integration.management.cli.ModuleTestCase ==> Build fails in other unrelated tests. =================== Linux Setup =================== mvn --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/maven Java version: 1.8.0_275, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/adoptopenjdk-8-hotspot/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "linux", version: "5.9.16-200.fc33.x86_64", arch: "amd64", family: "unix" commons-io 2.5 [INFO] Running org.jboss.as.test.integration.management.cli.ModuleTestCase [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.742 s - in org.jboss.as.test.integration.management.cli.ModuleTestCase ==> Build completes without any other failure or error commons-io 2.9.0-SNAPSHOT [ERROR] Tests run: 23, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.793 s <<< FAILURE! - in org.jboss.as.test.integration.management.cli.ModuleTestCase [ERROR] addModuleWithDirectoryAndInvalidLinks3(org.jboss.as.test.integration.management.cli.ModuleTestCase) Time elapsed: 0.006 s <<< ERROR! java.io.IOException: Unable to delete /home/borisunckel/javaprojects/wildfly/wildfly-core/testsuite/standalone/target/C at org.apache.commons.io.FileUtils.delete(FileUtils.java:1120) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1140) at org.jboss.as.test.integration.management.cli.ModuleTestCase.addModuleWithDirectoryAndInvalidLinks3(ModuleTestCase.java:468) [ERROR] addModuleWithDirectoryError(org.jboss.as.test.integration.management.cli.ModuleTestCase) Time elapsed: 0.008 s <<< ERROR! org.apache.commons.io.IOExceptionList: 1 exceptions: [java.io.IOException: Cannot delete file: /home/borisunckel/javaprojects/wildfly/wildfly-core/testsuite/standalone/target/1610399122036dir/1610399122036file.txt] at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:309) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1138) at org.jboss.as.test.integration.management.cli.ModuleTestCase.addModuleWithDirectoryError(ModuleTestCase.java:289) Caused by: java.io.IOException: Cannot delete file: /home/borisunckel/javaprojects/wildfly/wildfly-core/testsuite/standalone/target/1610399122036dir/1610399122036file.txt at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1327) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:302) ... 44 more Caused by: java.nio.file.AccessDeniedException: /home/borisunckel/javaprojects/wildfly/wildfly-core/testsuite/standalone/target/1610399122036dir/1610399122036file.txt at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixPath.openForAttributeAccess(UnixPath.java:787) at sun.nio.fs.LinuxDosFileAttributeView.updateDosAttribute(LinuxDosFileAttributeView.java:256) at sun.nio.fs.LinuxDosFileAttributeView.setReadOnly(LinuxDosFileAttributeView.java:190) at org.apache.commons.io.file.PathUtils.setReadOnly(PathUtils.java:875) at org.apache.commons.io.file.PathUtils.deleteFile(PathUtils.java:486) at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:393) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1324) ... 45 more ==> Build completes without any other failure or error Kind regards Boris -----Ursprüngliche Nachricht----- Von: Gary Gregory <garydgreg...@gmail.com> Gesendet: Montag, 11. Januar 2021 17:49 An: Commons Developers List <dev@commons.apache.org> Betreff: Re: [IO] Release 2.8.1 or 2.9 for IO-692 fix It's possible that this is a bug in the tests or that your account does not have the proper krama, nevertheless, I'll try and reproduce... what branch are you building? When I build master (commit 1e20522d8882a0ea5ee1ed44d34a1f01ea576236 (HEAD -> master, origin/master, origin/HEAD)) without changes I get: [ERROR] Errors: [ERROR] ChildFirstClassLoadingTest.testSingleClassFromDirectory:99 » ExceptionInInitializer [ERROR] ChildFirstClassLoadingTest.testSingleClassFromJar:121 » NoClassDefFound Could ... [ERROR] MavenSettingsTest.testWithPassedRepository:66 » Runtime java.io.IOException: C... [ERROR] MavenUtilTestCase.testRepositorySystem:14 NoClassDefFound Could not initialize... [INFO] Diese Mail wurde aus Datenschutzgründen verschlüsselt versandt. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org