-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
7.1.0.ER2, 7.1.0.ER3, 7.1.0.CR1
-
None
There is problem in AS TS: Integration - Manual Mode Tests with
ParseAndMarshalModelsTestCase which fails only when we are doing RPM testing.
Tests in this TestCase run embed-server cli command and it fails. Please check logs [1] and [2].
My observations are:
- when I change -Djboss.dist argument from EAP rpm installation location to my own (unzipped EAP) EAP location when we are running tests then it works
- when I change EAP rpm installation directory permission then it works too
chmod -R 777 /opt/rh/eap7/root/usr/share/wildfly
IMO it is test suite problem with regards to above observations.
[1] Test logs
java.lang.AssertionError: Failed to execute line 'embed-server --admin-only=true --server-config=standalone.xml --std-out=echo --jboss-home=/root/rpm-automation/workspace/astestsuite/testsuite/integration/manualmode/target/jbossas-parse-marshal' org.jboss.as.cli.CommandLineException: Cannot start embedded server at org.jboss.as.cli.embedded.EmbedServerHandler.doHandle(EmbedServerHandler.java:292) at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:89) at org.jboss.as.cli.impl.CommandExecutor.execute(CommandExecutor.java:672) at org.jboss.as.cli.impl.CommandContextImpl.lambda$handle$0(CommandContextImpl.java:840) at org.jboss.as.cli.impl.CommandContextImpl.execute(CommandContextImpl.java:892) at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:839) at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:180) at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:206) at org.jboss.as.test.shared.ModelParserUtils.standaloneXmlTest(ModelParserUtils.java:71) at org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.standaloneXmlTest(ParseAndMarshalModelsTestCase.java:364) at org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testStandaloneXml(ParseAndMarshalModelsTestCase.java:86) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 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.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.IllegalStateException: WFLYEMB0022: Cannot invoke 'start' on embedded process at org.wildfly.core.embedded.EmbeddedManagedProcessImpl.invokeOnServer(EmbeddedManagedProcessImpl.java:93) at org.wildfly.core.embedded.EmbeddedManagedProcessImpl.start(EmbeddedManagedProcessImpl.java:55) at org.jboss.as.cli.embedded.EmbedServerHandler.doHandle(EmbedServerHandler.java:234) ... 44 more Caused by: org.wildfly.core.embedded.EmbeddedProcessStartException: WFLYEMB0021: Cannot start embedded process at org.wildfly.core.embedded.EmbeddedStandaloneServerFactory$StandaloneServerImpl.start(EmbeddedStandaloneServerFactory.java:320) 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.wildfly.core.embedded.EmbeddedManagedProcessImpl.invokeOnServer(EmbeddedManagedProcessImpl.java:81) ... 46 more Caused by: java.util.concurrent.ExecutionException: Operation failed at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74) at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268) at org.wildfly.core.embedded.EmbeddedStandaloneServerFactory$StandaloneServerImpl.start(EmbeddedStandaloneServerFactory.java:301) ... 51 more Caused by: java.lang.Exception: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. at org.jboss.as.server.BootstrapListener.bootFailure(BootstrapListener.java:87) at org.jboss.as.server.ServerService.boot(ServerService.java:417) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370) at java.lang.Thread.run(Thread.java:748) at org.junit.Assert.fail(Assert.java:88) at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:184) at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:206) at org.jboss.as.test.shared.ModelParserUtils.standaloneXmlTest(ModelParserUtils.java:71) at org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.standaloneXmlTest(ParseAndMarshalModelsTestCase.java:364) at org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testStandaloneXml(ParseAndMarshalModelsTestCase.java:86) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 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.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
[2] EAP server logs
�[0m�[31m08:35:36,923 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("boottime-controller-initializer-step") failed - address: ([]): java.util.ServiceConfigurationError: org.jboss.as.controller.ModelControllerServiceInitialization: Provider org.jboss.as.patching.management.PatchIntegrationFactory not found at java.util.ServiceLoader.fail(ServiceLoader.java:239) [rt.jar:1.8.0_141] at java.util.ServiceLoader.access$300(ServiceLoader.java:185) [rt.jar:1.8.0_141] at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372) [rt.jar:1.8.0_141] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) [rt.jar:1.8.0_141] at java.util.ServiceLoader$1.next(ServiceLoader.java:480) [rt.jar:1.8.0_141] at org.jboss.as.controller.AbstractControllerService$ModelControllerServiceInitializationBootStepHandler$1.execute(AbstractControllerService.java:716) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:978) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:724) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:448) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:516) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:468) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:430) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.server.ServerService.boot(ServerService.java:437) [wildfly-server-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.server.ServerService.boot(ServerService.java:396) [wildfly-server-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370) [wildfly-controller-3.0.0.Beta30-redhat-1.jar:3.0.0.Beta30-redhat-1] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_141]
- is cloned by
-
WFLY-9245 ParseAndMarshalModelsTestCase fails if set EAP server from RPM installation location.
-
- Open
-