dev@glassfish.java.net

Re: QL tests fail

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Wed, 02 Sep 2009 17:12:58 -0700

This a know issue.

Ken Cavanaugh and I are working on tracking down the cause right now.
Something fairly complex is going on that corrupts the domain somehow
when running the full QL suite.

Lloyd

On Sep 1, 2009, at 8:36 PM, dy220099 wrote:

> Hello Jane,
>
> Do I revert the changes?
>
> Thanks
> Darani
>
>
> Jane Young wrote:
>> Hudson job is also failing with the same QL test error. http://hudson.glassfish.org/job/gf-trunk-build-continuous/
>> I've already sent an e-mail to the person who broke QL tests.
>>
>> Jane
>>
>>
>> Martin Grebac wrote:
>>> Hi,
>>> I get the same.
>>> MartiNG
>>>
>>> Oleksiy Stashok wrote:
>>>> Hi,
>>>>
>>>> does anyone else observe QL tests failure? I see it with latest
>>>> updated GFv3 rev 31089.
>>>>
>>>> I'm attaching full server.log and testngoutput.
>>>>
>>>> Here are some failure examples I see on QL client side:
>>>>
>>>> [testng] FAILED CONFIGURATION: @BeforeTest loginBeforeTest("http://localhost:4848/
>>>> ", 8686)
>>>> [testng] java.lang.RuntimeException:
>>>> java.lang.RuntimeException:
>>>> javax.management.InstanceNotFoundException: amx:pp=,type=domain-
>>>> root
>>>> [testng] at test.admin.BaseAdminConsoleTest.setUpEnvironment
>>>> (BaseAdminConsoleTest.java:82)
>>>> [testng] at test.admin.BaseAdminConsoleTest.loginBeforeTest
>>>> (BaseAdminConsoleTest.java:98)
>>>> [testng] Caused by: java.lang.RuntimeException:
>>>> javax.management.InstanceNotFoundException: amx:pp=,type=domain-
>>>> root
>>>> [testng] at org.glassfish.api.amx.AMXUtil.invokeWaitAMXReady
>>>> (AMXUtil.java:85)
>>>> [testng] at org.glassfish.api.amx.AMXBooter.bootAMX
>>>> (AMXBooter.java:95)
>>>> [testng] at test.admin.BaseAdminConsoleTest._getDomainRoot
>>>> (BaseAdminConsoleTest.java:227)
>>>> [testng] at test.admin.BaseAdminConsoleTest.setUpEnvironment
>>>> (BaseAdminConsoleTest.java:79)
>>>> [testng] ... 20 more
>>>> [testng] Caused by: javax.management.InstanceNotFoundException:
>>>> amx:pp=,type=domain-root
>>>> [testng] at
>>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean
>>>> (DefaultMBeanServerInterceptor.java:1094)
>>>> [testng] at
>>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor
>>>> (DefaultMBeanServerInterceptor.java:1438)
>>>> [testng] at
>>>> com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor
>>>> (JmxMBeanServer.java:1276)
>>>> [testng] at javax.management.remote.rmi.RMIConnectionImpl
>>>> $5.run(RMIConnectionImpl.java:1325)
>>>> [testng] at java.security.AccessController.doPrivileged
>>>> (Native Method)
>>>> [testng] at
>>>> javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor
>>>> (RMIConnectionImpl.java:1322)
>>>> [testng] at
>>>> javax.management.remote.rmi.RMIConnectionImpl.invoke
>>>> (RMIConnectionImpl.java:771)
>>>> [testng] at sun.rmi.server.UnicastServerRef.dispatch
>>>> (UnicastServerRef.java:305)
>>>> [testng] at sun.rmi.transport.Transport$1.run
>>>> (Transport.java:159)
>>>> [testng] at java.security.AccessController.doPrivileged
>>>> (Native Method)
>>>> [testng] at sun.rmi.transport.Transport.serviceCall
>>>> (Transport.java:155)
>>>> [testng] at
>>>> sun.rmi.transport.tcp.TCPTransport.handleMessages
>>>> (TCPTransport.java:535)
>>>> [testng] at sun.rmi.transport.tcp.TCPTransport
>>>> $ConnectionHandler.run0(TCPTransport.java:790)
>>>> [testng] at sun.rmi.transport.tcp.TCPTransport
>>>> $ConnectionHandler.run(TCPTransport.java:649)
>>>> [testng] at java.util.concurrent.ThreadPoolExecutor
>>>> $Worker.runTask(ThreadPoolExecutor.java:886)
>>>> [testng] at java.util.concurrent.ThreadPoolExecutor
>>>> $Worker.run(ThreadPoolExecutor.java:908)
>>>> [testng] at java.lang.Thread.run(Thread.java:637)
>>>> [testng] at
>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer
>>>> (StreamRemoteCall.java:255)
>>>> [testng] at sun.rmi.transport.StreamRemoteCall.executeCall
>>>> (StreamRemoteCall.java:233)
>>>> [testng] at sun.rmi.server.UnicastRef.invoke
>>>> (UnicastRef.java:142)
>>>> [testng] at com.sun.jmx.remote.internal.PRef.invoke(Unknown
>>>> Source)
>>>> [testng] at
>>>> javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown
>>>> Source)
>>>> [testng] at javax.management.remote.rmi.RMIConnector
>>>> $RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
>>>> [testng] at org.glassfish.api.amx.AMXUtil.invokeWaitAMXReady
>>>> (AMXUtil.java:81)
>>>> [testng] ... 23 more
>>>> [testng] ... Removed 23 stack frames
>>>> [testng] FAILED: testDeployedAppPage
>>>> [testng] java.lang.NullPointerException
>>>> [testng] at test.admin.BaseAdminConsoleTest.getUrl
>>>> (BaseAdminConsoleTest.java:191)
>>>> [testng] at
>>>> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings
>>>> (BaseAdminConsoleTest.java:169)
>>>> [testng] at test.admin.AdminConsoleTests.testDeployedAppPage
>>>> (AdminConsoleTests.java:53)
>>>> [testng] ... Removed 22 stack frames
>>>> [testng] FAILED: testCommonTasks
>>>> [testng] java.lang.NullPointerException
>>>> [testng] at test.admin.BaseAdminConsoleTest.getUrl
>>>> (BaseAdminConsoleTest.java:191)
>>>> [testng] at
>>>> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings
>>>> (BaseAdminConsoleTest.java:169)
>>>> [testng] at test.admin.AdminConsoleTests.testCommonTasks
>>>> (AdminConsoleTests.java:42)
>>>> [testng] ... Removed 22 stack frames
>>>> [testng] FAILED: testHelpPage
>>>> [testng] java.lang.NullPointerException
>>>> [testng] at test.admin.BaseAdminConsoleTest.getUrl
>>>> (BaseAdminConsoleTest.java:191)
>>>> [testng] at
>>>> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings
>>>> (BaseAdminConsoleTest.java:169)
>>>> [testng] at test.admin.AdminConsoleTests.testHelpPage
>>>> (AdminConsoleTests.java:71)
>>>> [testng] ... Removed 22 stack frames
>>>> [testng] FAILED: testRealmsList
>>>> [testng] java.lang.NullPointerException
>>>> [testng] at test.admin.BaseAdminConsoleTest.getUrl
>>>> (BaseAdminConsoleTest.java:191)
>>>> [testng] at
>>>> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings
>>>> (BaseAdminConsoleTest.java:169)
>>>> [testng] at test.admin.AdminConsoleTests.testRealmsList
>>>> (AdminConsoleTests.java:64)
>>>> [testng] ... Removed 22 stack frames
>>>> [testng]
>>>> [testng] ===============================================
>>>> [testng] adminconsole_tests
>>>> [testng] Tests run: 4, Failures: 4, Skips: 0
>>>> [testng] Configuration Failures: 1, Skips: 0
>>>>
>>>>
>>>>
>>>> Here is server side exception (but there are more like that):
>>>>
>>>> [#|2009-09-02T15:17:05.905+0200|SEVERE|glassfish|
>>>> javax.enterprise.system.container.ejb.com.sun.ejb.containers|
>>>> _ThreadID=23;_ThreadName=Thread-2;|[**EjbMonitoringUtils**] Could
>>>> not register listener for appName: singleton; modName:
>>>> singletonEJB_jar; beanName: BeanLeaf
>>>> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>>>> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>>>> at java.util.ArrayList.get(ArrayList.java:322)
>>>> at
>>>> org.glassfish.admin.monitor.StatsProviderRegistry.disableStatsProvider
>>>> (StatsProviderRegistry.java:168)
>>>> at
>>>> org.glassfish.admin.monitor.StatsProviderManagerDelegateImpl.register
>>>> (StatsProviderManagerDelegateImpl.java:144)
>>>> at
>>>> org.glassfish.external.probe.provider.StatsProviderManager.register
>>>> (StatsProviderManager.java:61)
>>>> at
>>>> com.sun.ejb.monitoring.stats.EjbMonitoringUtils.registerComponent
>>>> (EjbMonitoringUtils.java:70)
>>>> at
>>>> com.sun.ejb.monitoring.stats.EjbMonitoringStatsProvider.register
>>>> (EjbMonitoringStatsProvider.java:95)
>>>> at
>>>> com.sun.ejb.containers.BaseContainer.createMonitoringRegistryMediator
>>>> (BaseContainer.java:5141)
>>>> at com.sun.ejb.containers.BaseContainer.<init>
>>>> (BaseContainer.java:461)
>>>> at com.sun.ejb.containers.AbstractSingletonContainer.<init>
>>>> (AbstractSingletonContainer.java:133)
>>>> at com.sun.ejb.containers.CMCSingletonContainer.<init>
>>>> (CMCSingletonContainer.java:73)
>>>> at com.sun.ejb.containers.ContainerFactoryImpl.createContainer
>>>> (ContainerFactoryImpl.java:109)
>>>> at org.glassfish.ejb.startup.EjbApplication.loadContainers
>>>> (EjbApplication.java:191)
>>>> at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:
>>>> 175)
>>>> at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:
>>>> 63)
>>>> at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:
>>>> 157)
>>>> at org.glassfish.internal.data.ApplicationInfo.load
>>>> (ApplicationInfo.java:197)
>>>> at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy
>>>> (ApplicationLifecycle.java:310)
>>>> at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy
>>>> (ApplicationLifecycle.java:174)
>>>> at org.glassfish.deployment.admin.DeployCommand.execute
>>>> (DeployCommand.java:270)
>>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute
>>>> (CommandRunnerImpl.java:403)
>>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand
>>>> (CommandRunnerImpl.java:418)
>>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand
>>>> (CommandRunnerImpl.java:505)
>>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand
>>>> (CommandRunnerImpl.java:138)
>>>> at com.sun.enterprise.v3.admin.AdminAdapter.doCommand
>>>> (AdminAdapter.java:332)
>>>> at com.sun.enterprise.v3.admin.AdminAdapter.service
>>>> (AdminAdapter.java:184)
>>>> at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service
>>>> (GrizzlyAdapter.java:166)
>>>> at com.sun.enterprise.v3.server.HK2Dispatcher.dispath
>>>> (HK2Dispatcher.java:100)
>>>> at com.sun.enterprise.v3.services.impl.ContainerMapper.service
>>>> (ContainerMapper.java:216)
>>>> at com.sun.grizzly.http.ProcessorTask.invokeAdapter
>>>> (ProcessorTask.java:752)
>>>> at com.sun.grizzly.http.ProcessorTask.doProcess
>>>> (ProcessorTask.java:660)
>>>> at com.sun.grizzly.http.ProcessorTask.process
>>>> (ProcessorTask.java:911)
>>>> at com.sun.grizzly.http.DefaultProtocolFilter.execute
>>>> (DefaultProtocolFilter.java:165)
>>>> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter
>>>> (DefaultProtocolChain.java:135)
>>>> at com.sun.grizzly.DefaultProtocolChain.execute
>>>> (DefaultProtocolChain.java:102)
>>>> at com.sun.grizzly.DefaultProtocolChain.execute
>>>> (DefaultProtocolChain.java:88)
>>>> at com.sun.grizzly.http.HttpProtocolChain.execute
>>>> (HttpProtocolChain.java:76)
>>>> at com.sun.grizzly.ProtocolChainContextTask.doCall
>>>> (ProtocolChainContextTask.java:53)
>>>> at com.sun.grizzly.SelectionKeyContextTask.call
>>>> (SelectionKeyContextTask.java:57)
>>>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>>> at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork
>>>> (FixedThreadPool.java:379)
>>>> at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run
>>>> (FixedThreadPool.java:360)
>>>> at java.lang.Thread.run(Thread.java:637)
>>>> |#]
>>>>
>>>>
>>>> WBR,
>>>> Alexey.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team