java.nio.file.FileSystemException: C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\log\UnresolvedExpressionSecurityManagerTestCase.log: The process cannot access the file because it is being used by another process at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275) at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110) at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191) at org.jboss.as.test.shared.logging.TestLogHandlerSetupTask.tearDown(TestLogHandlerSetupTask.java:97) at org.jboss.as.test.manualmode.secman.UnresolvedExpressionSecurityManagerTestCase.tearDown(UnresolvedExpressionSecurityManagerTestCase.java:72) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.wildfly.core.testrunner.WildFlyRunner$WrappedStatement.evaluate(WildFlyRunner.java:357) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.wildfly.core.testrunner.WildFlyRunner.run(WildFlyRunner.java:198) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:95) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) ------- Stdout: ------- 11:28:06,712 INFO [org.wildfly.core.testrunner.Server] (main) Starting container with: C:\Java\jdk17\bin\java -D[Standalone] -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=C:\BuildAgent\system\jetbrains.maven.runner\maven.repo.local -Xmx512m --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-exports=jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED -Djboss.dist=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode/target/wildfly-core -Djava.io.tmpdir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -server -Dts.timeout.factor=100 -Djbossas.ts.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode -ea --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-exports=jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-modules=java.se -Djboss.home.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core -Djboss.server.base.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone -Djboss.server.log.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\log -Djboss.server.config.dir=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration -Dorg.jboss.boot.log.file=C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\log\server.log -Dlogging.configuration=file:C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\logging.properties -jar C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\jboss-modules.jar -mp C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\modules org.jboss.as.standalone -c=standalone.xml -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 11:28:07,608 INFO [org.jboss.modules] (main) JBoss Modules version 2.1.6.Final 11:28:08,248 INFO [org.jboss.msc] (main) JBoss MSC version 1.5.6.Final 11:28:08,486 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Core 32.0.0.Beta3-SNAPSHOT starting 11:28:09,469 INFO [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 2.8.0.Final 11:28:09,832 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 11:28:09,838 WARN [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0035: No security realm or http server authentication defined for http management service; all access will be unrestricted. 11:28:09,863 INFO [org.xnio] (MSC service thread 1-5) XNIO version 3.8.16.Final 11:28:09,871 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.8.16.Final 11:28:09,965 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 16) WFLYIO001: Worker 'default' has auto-configured to 8 IO threads with 64 max task threads based on your 4 available processors 11:28:10,013 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.31.Final 11:28:10,095 WARN [org.wildfly.extension.elytron] (MSC service thread 1-8) WFLYELY00023: KeyStore file 'C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore' does not exist. Used blank. 11:28:10,123 WARN [org.wildfly.extension.elytron] (MSC service thread 1-9) WFLYELY01084: KeyStore C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost 11:28:10,161 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-5) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console 11:28:10,313 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 11:28:10,322 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management 11:28:10,323 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled 11:28:10,323 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 32.0.0.Beta3-SNAPSHOT started in 3423ms - Started 82 of 89 services (23 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community 11:28:11,218 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Core 32.0.0.Beta3-SNAPSHOT stopped in 212ms 11:28:11,221 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Core 32.0.0.Beta3-SNAPSHOT starting 11:28:11,335 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 11:28:11,335 WARN [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0035: No security realm or http server authentication defined for http management service; all access will be unrestricted. 11:28:11,379 WARN [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY00023: KeyStore file 'C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore' does not exist. Used blank. 11:28:11,380 WARN [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY01084: KeyStore C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost 11:28:11,389 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-2) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console 11:28:11,404 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 11:28:11,406 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management 11:28:11,407 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled 11:28:11,407 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 32.0.0.Beta3-SNAPSHOT started in 184ms - Started 71 of 80 services (23 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community 11:28:11,861 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Core 32.0.0.Beta3-SNAPSHOT stopped in 36ms 11:28:11,866 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 32.0.0.Beta3-SNAPSHOT starting 11:28:11,954 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 11:28:11,955 WARN [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0035: No security realm or http server authentication defined for http management service; all access will be unrestricted. 11:28:11,981 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 16) WFLYIO001: Worker 'default' has auto-configured to 8 IO threads with 64 max task threads based on your 4 available processors 11:28:11,986 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 20) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "security-manager")]) - Stage: (RUNTIME) - failure description: "WFLYCTL0211: Cannot resolve expression '${undefined.security.manager.permission}'" 11:28:11,996 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-3) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console 11:28:12,029 WARN [org.wildfly.extension.elytron] (MSC service thread 1-9) WFLYELY00023: KeyStore file 'C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore' does not exist. Used blank. 11:28:12,032 WARN [org.wildfly.extension.elytron] (MSC service thread 1-5) WFLYELY01084: KeyStore C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost 11:28:12,051 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 11:28:12,053 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management 11:28:12,053 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled 11:28:12,053 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 32.0.0.Beta3-SNAPSHOT started in 186ms - Started 82 of 89 services (23 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community 11:28:12,561 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 32.0.0.Beta3-SNAPSHOT stopped in 22ms 11:28:12,562 INFO [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Core 32.0.0.Beta3-SNAPSHOT starting 11:28:12,633 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 11:28:12,633 WARN [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0035: No security realm or http server authentication defined for http management service; all access will be unrestricted. 11:28:12,663 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-9) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console 11:28:12,670 WARN [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY00023: KeyStore file 'C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore' does not exist. Used blank. 11:28:12,671 WARN [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY01084: KeyStore C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore not found, it will be auto-generated on first use with a self-signed certificate for host localhost 11:28:12,685 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 11:28:12,686 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management 11:28:12,687 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled 11:28:12,687 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 32.0.0.Beta3-SNAPSHOT started in 123ms - Started 71 of 80 services (23 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community 11:28:12,959 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0272: Suspending server 11:28:12,965 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown' 11:28:12,984 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Core 32.0.0.Beta3-SNAPSHOT stopped in 14ms