-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
RemoteHttpGitRepositoryTestCase.startGitRepoRemoteHttpAuthTest fails intermitently with:
java.io.IOException: Could not delete file C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\remote\.git\objects\pack\pack-9ab95db2fb136df1feb44cbc03731b7e6c6cfdad.pack at org.eclipse.jgit.util.FileUtils.handleDeleteException(FileUtils.java:233) at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:226) at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:167) at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:169) at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:169) at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:169) at org.jboss.as.test.manualmode.management.persistence.RemoteHttpGitRepositoryTestCase.closeRemoteRepository(RemoteHttpGitRepositoryTestCase.java:88) at org.jboss.as.test.manualmode.management.persistence.RemoteHttpGitRepositoryTestCase.after(RemoteHttpGitRepositoryTestCase.java:80) 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.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) Caused by: java.nio.file.FileSystemException: target\remote\.git\objects\pack\pack-9ab95db2fb136df1feb44cbc03731b7e6c6cfdad.pack: 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.eclipse.jgit.util.FileUtils.delete(FileUtils.java:219) ... 48 more ------- Stdout: ------- 23:43:36,085 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 --git-repo=http://httptest@127.0.0.1:54101/sbasic/.git --git-branch=master --git-auth=file:///C:/BuildAgent/work/aa7b981af3f49e3c/testsuite/manualmode/src/test/resources/git-persistence/wildfly-config.xml -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 23:43:36,248 INFO [org.jboss.threads] (main) JBoss Threads version 3.9.1 23:43:36,462 INFO [org.jboss.remoting] (main) JBoss Remoting version 5.0.31.Final 23:43:36,511 INFO [org.xnio] (main) XNIO version 3.8.16.Final 23:43:36,527 INFO [org.xnio.nio] (main) XNIO NIO Implementation Version 3.8.16.Final 23:43:36,612 INFO [org.wildfly.security] (main) ELY00001: WildFly Elytron version 2.6.4.Final 23:43:36,978 INFO [org.jboss.modules] (main) JBoss Modules version 2.1.6.Final 23:43:38,475 INFO [org.apache.sshd.common.util.security.bouncycastle.BouncyCastleSecurityProviderRegistrar] (main) getOrCreateProvider(BC) created instance of org.bouncycastle.jce.provider.BouncyCastleProvider 23:43:38,979 INFO [org.wildfly.security] (main) ELY00001: WildFly Elytron version 2.6.4.Final 23:43:42,856 INFO [org.jboss.as.server] (main) WFLYSRV0278: The configuration history is managed through Git 23:43:42,945 INFO [org.jboss.msc] (main) JBoss MSC version 1.5.6.Final 23:43:42,960 INFO [org.jboss.threads] (main) JBoss Threads version 3.9.1 23:43:43,110 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Core 29.0.0.Beta6-SNAPSHOT starting 23:43:44,504 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 23:43:44,536 INFO [org.xnio] (MSC service thread 1-9) XNIO version 3.8.16.Final 23:43:44,547 INFO [org.xnio.nio] (MSC service thread 1-9) XNIO NIO Implementation Version 3.8.16.Final 23:43:44,706 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 23:43:44,740 INFO [org.jboss.remoting] (MSC service thread 1-9) JBoss Remoting version 5.0.31.Final 23:43:44,797 WARN [org.wildfly.extension.elytron] (MSC service thread 1-6) WFLYELY00023: KeyStore file 'C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore' does not exist. Used blank. 23:43:44,818 WARN [org.wildfly.extension.elytron] (MSC service thread 1-6) 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 23:43:44,964 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-4) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console 23:43:45,098 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 23:43:45,109 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management 23:43:45,109 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled 23:43:45,109 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 29.0.0.Beta6-SNAPSHOT started in 8857ms - Started 81 of 84 services (19 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community 23:43:48,784 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0272: Suspending server 23:43:48,792 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown' 23:43:48,836 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Core 29.0.0.Beta6-SNAPSHOT stopped in 36ms 23:43:49,039 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 --git-repo=http://httptest@127.0.0.1:54101/sbasic/.git --git-branch=my_branch --git-auth=file:///C:/BuildAgent/work/aa7b981af3f49e3c/testsuite/manualmode/src/test/resources/git-persistence/wildfly-config.xml -bmanagement=::1 -Djboss.http.port=8080 -Djboss.bind.address=::1 -D[Standalone] 23:43:49,802 INFO [org.jboss.modules] (main) JBoss Modules version 2.1.6.Final 23:43:51,203 INFO [org.apache.sshd.common.util.security.bouncycastle.BouncyCastleSecurityProviderRegistrar] (main) getOrCreateProvider(BC) created instance of org.bouncycastle.jce.provider.BouncyCastleProvider 23:43:51,773 INFO [org.wildfly.security] (main) ELY00001: WildFly Elytron version 2.6.4.Final 23:43:54,891 INFO [org.jboss.as.server] (main) WFLYSRV0278: The configuration history is managed through Git 23:43:54,922 INFO [org.jboss.msc] (main) JBoss MSC version 1.5.6.Final 23:43:54,934 INFO [org.jboss.threads] (main) JBoss Threads version 3.9.1 23:43:55,087 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Core 29.0.0.Beta6-SNAPSHOT starting 23:43:56,391 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 23:43:56,422 INFO [org.xnio] (MSC service thread 1-3) XNIO version 3.8.16.Final 23:43:56,433 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.8.16.Final 23:43:56,516 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 23:43:56,618 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.31.Final 23:43:56,699 WARN [org.wildfly.extension.elytron] (MSC service thread 1-6) WFLYELY00023: KeyStore file 'C:\BuildAgent\work\aa7b981af3f49e3c\testsuite\manualmode\target\wildfly-core\standalone\configuration\application.keystore' does not exist. Used blank. 23:43:56,721 WARN [org.wildfly.extension.elytron] (MSC service thread 1-4) 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 23:43:56,892 WARN [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-2) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console 23:43:57,024 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 23:43:57,035 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management 23:43:57,036 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled 23:43:57,037 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 29.0.0.Beta6-SNAPSHOT started in 7856ms - Started 81 of 84 services (19 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: community 23:43:57,600 ERROR [org.wildfly.core.testrunner.ManagementClient] (main) Operation { "operation" => "add", "address" => [("system-property" => "git-history-property")], "value" => "git-history-property-value" } did not succeed. Result was { "outcome" => "failed", "failure-description" => "WFLYCTL0212: Duplicate resource [(\"system-property\" => \"git-history-property\")]", "rolled-back" => true } 23:43:58,909 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0272: Suspending server 23:43:58,914 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown' 23:43:58,953 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Core 29.0.0.Beta6-SNAPSHOT stopped in 34ms ------- Stderr: ------- SLF4J(W): No SLF4J providers were found. SLF4J(W): Defaulting to no-operation (NOP) logger implementation SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
Usually together with WFCORE-7283
- is related to
-
WFCORE-7283 RemoteSshGitRepositoryTestCase.startGitRepoRemoteSSHAuthTest fails intermittently
-
- Open
-