Replies: 1 comment 2 replies
-
I don't know what WildFly-Core EJBCA-9 is. Do you have a link to where you got that from? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am trying to build WildFly-Core EJBCA-9 using Maven but encountering the following error:
[ERROR] Failures:
[ERROR] ModuleResourceRootPathsTestCase.after:69->removeModule:98 Failed to execute line 'module remove --name=module.resource.test'
org.jboss.as.cli.CommandLineException: java.util.concurrent.ExecutionException: org.jboss.as.cli.CommandLineException: Failed to delete /home/zhxasxs/wildfly-core/testsuite/standalone/target/wildfly-core/modules/module/resource/test/main
at org.jboss.as.cli.impl.CommandContextImpl.execute(CommandContextImpl.java:927)
at org.jboss.as.cli.impl.CommandContextImpl.handleLegacyCommand(CommandContextImpl.java:1928)
at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:864)
at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:201)
at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:227)
at org.jboss.as.test.integration.management.cli.modules.ModuleResourceRootPathsTestCase.removeModule(ModuleResourceRootPathsTestCase.java:98)
at org.jboss.as.test.integration.management.cli.modules.ModuleResourceRootPathsTestCase.after(ModuleResourceRootPathsTestCase.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
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.util.concurrent.ExecutionException: org.jboss.as.cli.CommandLineException: Failed to delete /home/zhxasxs/wildfly-core/testsuite/standalone/target/wildfly-core/modules/module/resource/test/main
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.jboss.as.cli.impl.CommandExecutor.execute(CommandExecutor.java:715)
at org.jboss.as.cli.impl.CommandExecutor.execute(CommandExecutor.java:696)
at org.jboss.as.cli.impl.CommandContextImpl.lambda$handleLegacyCommand$4(CommandContextImpl.java:1929)
at org.jboss.as.cli.impl.CommandContextImpl.execute(CommandContextImpl.java:914)
... 49 more
Caused by: org.jboss.as.cli.CommandLineException: Failed to delete /home/zhxasxs/wildfly-core/testsuite/standalone/target/wildfly-core/modules/module/resource/test/main
at org.jboss.as.cli.handlers.module.ASModuleHandler.deleteRecursively(ASModuleHandler.java:527)
at org.jboss.as.cli.handlers.module.ASModuleHandler.removeModule(ASModuleHandler.java:503)
at org.jboss.as.cli.handlers.module.ASModuleHandler.doHandle(ASModuleHandler.java:331)
at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:72)
at org.jboss.as.cli.impl.CommandExecutor$2.lambda$build$0(CommandExecutor.java:687)
at org.jboss.as.cli.impl.CommandExecutor.lambda$execute$0(CommandExecutor.java:710)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Troubleshooting Attempts
I have tried the following but still facing the issue:
File Lock Check
Verified that no other process is using the file/directory.
Used lsof +D but found no active locks.
Manual Deletion
Manually deleted the folder before the build, but it gets recreated during runtime.
Permission Fixes
Granted full permissions using command
Additional Info
Environment: Linux
First-time checkout & build
Maven command used: mvn clean install
Request for Help
Am I missing any configuration or steps? Any guidance on how to resolve this issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions