[jboss-as7-dev] as7-master-testsuite-ip6 - Build # 5530 - Failure!
Stuart Douglas
stuart.w.douglas at gmail.com
Sun Nov 18 22:09:36 EST 2012
I have created https://issues.jboss.org/browse/AS7-5971 for this
issue. Basically service dependencies are not properly setup for
deployment modules that export the contents of another deployment
module.
The reason why this has only just started to show up is previously we
had a listener that basically waited for 2 seconds for the module to
come up, which effectively masked the issue.
Stuart
On Sun, Nov 18, 2012 at 3:34 PM, Jaikiran Pai <jpai at redhat.com> wrote:
> I've started seeing these module not found exceptions pretty frequently
> across different tests, for deployment.* module names. I believe we have
> some kind of race condition somewhere.
>
> Here's the relevant log:
>
> Error Message
>
> Cannot deploy: deployment-structure.ear
>
> Stacktrace
>
> org.jboss.arquillian.container.spi.client.container.DeploymentException:
> Cannot deploy: deployment-structure.ear
> at
> org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
> at
> org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)
> at
> org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:46)
> at
> org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:144)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
> at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at
> org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
> at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at
> org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
> at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at
> org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
> at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at
> org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at
> org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
> at
> org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
> at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at
> org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at
> org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at
> org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
> at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at
> org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at
> org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
> at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
> at
> org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at
> org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at
> org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at
> org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
> at
> org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
> at
> org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
> at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
> at
> org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {
> "jboss.module.service.\"deployment.deployment-structure.ear\".main" =>
> "org.jboss.msc.service.StartException in service
> jboss.module.service.\"deployment.deployment-structure.ear\".main:
> JBAS018759: Failed to load module: deployment.deployment-structure.ear:main
> Caused by: org.jboss.modules.ModuleNotFoundException:
> deployment.aaa:main",
> "jboss.module.service.\"deployment.deployment-structure.ear.ejb.jar\".main"
> => "org.jboss.msc.service.StartException in service
> jboss.module.service.\"deployment.deployment-structure.ear.ejb.jar\".main:
> JBAS018759: Failed to load module:
> deployment.deployment-structure.ear.ejb.jar:main
> Caused by: org.jboss.modules.ModuleNotFoundException:
> deployment.aaa:main"
> }}
> at
> org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
> at
> org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
> at
> org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
> at
> org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
> at
> org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.deploy(ServerDeploymentHelper.java:50)
> at
> org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:77)
> ... 88 more
>
> Standard Output
>
> [0m21:44:06,367 INFO [org.jboss.as.server.deployment] (MSC service
> thread 1-4) JBAS015877: Stopped deployment deployment-structure.jar in 9ms
> [0m[0m21:44:06,389 INFO [org.jboss.as.repository] (MainThread)
> JBAS014901: Content removed from location
> /home/jenkins/jenkins-work/workspace/as7-master-testsuite-ip6/testsuite/integration/basic/target/jbossas/standalone/data/content/99/481a2b96e3204131bc0a952b6b98e338486ff5/content
> [0m[0m21:44:06,390 INFO [org.jboss.as.server] (MainThread)
> JBAS018558: Undeployed "deployment-structure.jar"
> [0m21:44:06,408 INFO
> [org.jboss.as.test.integration.deployment.structure.ear.EarJBossDeploymentStructureTestCase]
> (main) deployment-structure.ear:
> /ignored.jar
> /available.jar
> /ejb.jar
> /META-INF/
> /META-INF/jboss-deployment-structure.xml
> [0m21:44:06,466 INFO [org.jboss.as.repository]
> (management-handler-thread - 3) JBAS014900: Content added at location
> /home/jenkins/jenkins-work/workspace/as7-master-testsuite-ip6/testsuite/integration/basic/target/jbossas/standalone/data/content/f8/c47112445818fb7a5084bf44deea0193efdc0b/content
> [0m[0m21:44:06,468 INFO [org.jboss.as.server.deployment] (MSC
> service thread 1-1) JBAS015876: Starting deployment of
> "deployment-structure.ear"
> [0m[0m21:44:06,483 INFO [org.jboss.as.server.deployment] (MSC
> service thread 1-2) JBAS015876: Starting deployment of "ejb.jar"
> [0m[31m21:44:06,507 ERROR [org.jboss.msc.service.fail] (MSC
> service thread 1-4) MSC00001: Failed to start service
> jboss.module.service."deployment.deployment-structure.ear".main:
> org.jboss.msc.service.StartException in service
> jboss.module.service."deployment.deployment-structure.ear".main:
> JBAS018759: Failed to load module: deployment.deployment-structure.ear:main
> at
> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:92)
> [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [rt.jar:1.6.0_29]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [rt.jar:1.6.0_29]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> Caused by: org.jboss.modules.ModuleNotFoundException: deployment.aaa:main
> at org.jboss.modules.Module.addPaths(Module.java:864)
> [jboss-modules.jar:1.1.3.GA]
> at org.jboss.modules.Module.link(Module.java:1206)
> [jboss-modules.jar:1.1.3.GA]
> at org.jboss.modules.Module.relinkIfNecessary(Module.java:1235)
> [jboss-modules.jar:1.1.3.GA]
> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
> [jboss-modules.jar:1.1.3.GA]
> at
> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:71)
> [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
> ... 5 more
>
> [0m[31m21:44:06,508 ERROR [org.jboss.msc.service.fail] (MSC
> service thread 1-2) MSC00001: Failed to start service
> jboss.module.service."deployment.deployment-structure.ear.ejb.jar".main:
> org.jboss.msc.service.StartException in service
> jboss.module.service."deployment.deployment-structure.ear.ejb.jar".main:
> JBAS018759: Failed to load module:
> deployment.deployment-structure.ear.ejb.jar:main
> at
> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:92)
> [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [rt.jar:1.6.0_29]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [rt.jar:1.6.0_29]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> Caused by: org.jboss.modules.ModuleNotFoundException: deployment.aaa:main
> at
> org.jboss.modules.ModuleLoader$FutureModule.getModule(ModuleLoader.java:511)
> [jboss-modules.jar:1.1.3.GA]
> at
> org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:261)
> [jboss-modules.jar:1.1.3.GA]
> at
> org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
> [jboss-modules.jar:1.1.3.GA]
> at
> org.jboss.as.server.moduleservice.ServiceModuleLoader.preloadModule(ServiceModuleLoader.java:146)
> [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
> at org.jboss.modules.Module.addPaths(Module.java:851)
> [jboss-modules.jar:1.1.3.GA]
> at org.jboss.modules.Module.link(Module.java:1206)
> [jboss-modules.jar:1.1.3.GA]
> at org.jboss.modules.Module.relinkIfNecessary(Module.java:1235)
> [jboss-modules.jar:1.1.3.GA]
> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
> [jboss-modules.jar:1.1.3.GA]
> at
> org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:71)
> [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
> ... 5 more
>
> [0m[31m21:44:06,734 ERROR [org.jboss.as.server]
> (management-handler-thread - 3) JBAS015870: Deploy of deployment
> "deployment-structure.ear" was rolled back with the following failure
> message:
> {"JBAS014671: Failed services" => {
> "jboss.module.service.\"deployment.deployment-structure.ear\".main" =>
> "org.jboss.msc.service.StartException in service
> jboss.module.service.\"deployment.deployment-structure.ear\".main:
> JBAS018759: Failed to load module: deployment.deployment-structure.ear:main
> Caused by: org.jboss.modules.ModuleNotFoundException:
> deployment.aaa:main",
> "jboss.module.service.\"deployment.deployment-structure.ear.ejb.jar\".main"
> => "org.jboss.msc.service.StartException in service
> jboss.module.service.\"deployment.deployment-structure.ear.ejb.jar\".main:
> JBAS018759: Failed to load module:
> deployment.deployment-structure.ear.ejb.jar:main
> Caused by: org.jboss.modules.ModuleNotFoundException:
> deployment.aaa:main"
> }}
> [0m[0m21:44:06,740 INFO [org.jboss.as.server.deployment] (MSC
> service thread 1-4) JBAS015877: Stopped deployment ejb.jar in 5ms
> [0m[0m21:44:06,743 INFO [org.jboss.as.server.deployment] (MSC
> service thread 1-4) JBAS015877: Stopped deployment
> deployment-structure.ear in 9ms
> [0m
>
>
> -Jaikiran
> On Sunday 18 November 2012 08:50 AM, ci-builds at redhat.com wrote:
>> as7-master-testsuite-ip6 - Build # 5530 - Failure:
>>
>> Check console output at to view the results.
>>
>> Public: http://hudson.jboss.org/hudson/job/as7-master-testsuite-ip6/5530
>> Internal: http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-testsuite-ip6/5530/
>>
>> Test summary:
>>
>> 1 tests failed.
>> FAILED: org.jboss.as.test.integration.deployment.structure.ear.EarJBossDeploymentStructureTestCase.org.jboss.as.test.integration.deployment.structure.ear.EarJBossDeploymentStructureTestCase
>>
>> Error Message:
>> Cannot deploy: deployment-structure.ear
>>
>>
>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list