Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9930

PlatformMBeanUnitTestCase fails consistently on IBMJDK7 due to InstanceNotFoundException

XMLWordPrintable

    • Not Required
    • NEW

      This testcase is failing consistently even when run manually as follows(is it possible that there could be some issues as we are building with ibmjdk 6 and running tests on ibm jdk7 maybe a mismatch in constructor..just a thought):

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JDK7/job/eap-5.2.x-IBMJDk7-RHEL6-matrix/2/jdk=ibm17,label=RHEL6_x86_64/testReport/org.jboss.test.profileservice.test/PlatformMBeanUnitTestCase/testThreadMXBean/

      Log:
      2012-09-14 08:56:37,823 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] ==== setUp org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase ====
      2012-09-14 08:56:37,823 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] JBossTestServices.setUp()
      2012-09-14 08:56:37,892 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] initialContext.getEnvironment()=

      {jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=localhost:1099, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

      2012-09-14 08:56:37,893 INFO [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] jbosstest.beancount: 5
      2012-09-14 08:56:37,893 INFO [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] jbosstest.iterationcount: 10
      2012-09-14 08:56:37,893 INFO [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] jbosstest.threadcount: 5
      2012-09-14 08:56:37,893 INFO [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] jbosstest.nodeploy: false
      2012-09-14 08:56:37,893 INFO [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] jbosstest.jndiurl: localhost:1099
      2012-09-14 08:56:37,893 INFO [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] jbosstest.jndifactory: org.jnp.interfaces.NamingContextFactory
      2012-09-14 08:56:37,893 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] ==== Starting testPlatformMBeanDeployment ====
      2012-09-14 08:56:37,896 DEBUG [org.jnp.interfaces.TimedSocketFactory] createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
      2012-09-14 08:56:40,147 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] Root component names: [java.lang:type=Memory, java.lang:type=Runtime, java.lang:type=Threading, java.lang:type=ClassLoading, java.lang:type=OperatingSystem]
      2012-09-14 08:56:40,151 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] ==== Starting testClassLoadingMXBean ====
      2012-09-14 08:56:40,261 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] totalLoadedClassCountSVSimpleMetaType:long:17851
      2012-09-14 08:56:40,261 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] loadedClassCountSVSimpleMetaType:int:16865
      2012-09-14 08:56:40,261 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] unloadedClassCountSVSimpleMetaType:long:986
      2012-09-14 08:56:40,261 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] verboseSVSimpleMetaType:boolean:false
      2012-09-14 08:56:40,263 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] ==== Starting testMemoryMXBean ====
      2012-09-14 08:56:40,349 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] heapMemoryUsageMV; CompositeValueSupport: metaType=[MutableCompositeMetaType

      {java.lang.management.MemoryUsage items=[name=committed type=long], [name=init type=long], [name=max type=long], [name=used type=long]}] items=[committed=SimpleMetaType:long:490274816,init=SimpleMetaType:long:134217728,max=SimpleMetaType:long:536870912,used=SimpleMetaType:long:276448984]
      2012-09-14 08:56:40,359 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] nonHeapMemoryUsageMV; CompositeValueSupport: metaType=[MutableCompositeMetaType{java.lang.management.MemoryUsage items=[name=committed type=long], [name=init type=long], [name=max type=long], [name=used type=long]}

      ] items=[committed=SimpleMetaType:long:90451040,init=SimpleMetaType:long:0,max=SimpleMetaType:long:-1,used=SimpleMetaType:long:73710472]
      2012-09-14 08:56:40,359 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] objectPendingFinalizationCountMV; SimpleMetaType:int:0
      2012-09-14 08:56:40,359 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] verboseSV; SimpleMetaType:boolean:false
      2012-09-14 08:56:40,392 WARN [org.jboss.remoting.MicroRemoteClientInvoker] An exception occurred on the server side when making remote invocation. The exception returned from server does not include a stack trace. Original server side exception message is Failed to invoke method 'gc' on component 'java.lang:type=Memory' with parameters [].
      java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'gc' on component 'java.lang:type=Memory' with parameters [].
      Caused by:
      javax.management.InstanceNotFoundException: java.lang:type=Memory is not registered.
      2012-09-14 08:56:40,402 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] ==== Starting testThreadMXBean ====
      2012-09-14 08:56:40,637 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] [org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21b80, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e1f2c1, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21b34, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21eb5, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21ac5, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21e09, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21d3b, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21fbc, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21c3d, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e2194f, org.jboss.profileservice.management.client.ManagedOperationDelegate@16e20c3f]
      2012-09-14 08:56:40,640 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] org.jboss.profileservice.management.client.ManagedOperationDelegate@16e21eb5
      2012-09-14 08:56:40,660 WARN [org.jboss.remoting.MicroRemoteClientInvoker] An exception occurred on the server side when making remote invocation. The exception returned from server does not include a stack trace. Original server side exception message is Failed to invoke method 'getThreadInfo' on component 'java.lang:type=Threading' with parameters [SimpleMetaType:long:4].
      java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'getThreadInfo' on component 'java.lang:type=Threading' with parameters [SimpleMetaType:long:4].
      Caused by:
      javax.management.InstanceNotFoundException: java.lang:type=Threading is not registered.
      2012-09-14 08:56:40,664 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] ==== Starting testRuntimeMXBean ====
      2012-09-14 08:56:40,869 DEBUG [org.jboss.test.profileservice.test.PlatformMBeanUnitTestCase] {ibm.signalhandling.sigint=true, com.ibm.oti.configuration=scar, jboss.server.base.url=file:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/, jboss.partition.name=DefaultPartition, catalina.ext.dirs=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice/lib, PROPERTIES_FILE=tsmx.properties, com.arjuna.ats.jta.lastResourceOptimisationInterface=org.jboss.tm.LastResource, jboss.jgroups.udp_async.mcast_port=45689, jboss.jgroups.diagnostics_addr=224.0.75.75, java.version=1.7.0, jboss.jgroups.udp_async.bind_port=55225, org.apache.catalina.core.StandardHost.autoDeploy=false, jboss.jgroups.jbm_data.fd_sock_port=57900, jboss.jgroups.udp_sync.mcast_addr=229.11.11.11, java.io.tmpdir=/tmp, jboss.server.home.url=file:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice/, java.protocol.handler.
      pkgs=org.jboss.net.protocol|org.jboss.virtual.protocol, java.vendor.url=http://www.ibm.com/, jboss.home.url=file:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/, jxe.lowest.romimage.version=17, user.language=en, os.encoding=UTF-8, os.arch=x86, java.specification.version=1.7, user.home=/home/msadhukh, jboss.jgroups.tcp_sync.mping_mcast_port=45701, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, jboss.server.base.dir=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server, java.class.path=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/bin/run.jar:/qa/tools/opt/ibm-java-70/lib/tools.jar, org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true, com.arjuna.common.util.logging.VisibilityLevel=0xffffffff, jboss.jgroups.udp.mcast_port=45688, hornetq.remoting.netty.port=5445, java.home=/qa/tools/opt/ibm-java-i386-70/jre, java.runtime.name=Java(TM) SE Runtime Environment, jboss.server.log.
      dir=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice/log, jboss.jgroups.tcp.fd_sock_port=57600, jgroups.tcp.mping_mcast_port=45700, jboss.server.home.dir=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice, catalina.home=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice, jboss.home.dir=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0, org.apache.catalina.core.StandardHost.deployXML=false, jboss.partition.udpGroup=239.16.88.165, org.apache.catalina.core.StandardHost.deployOnStartup=false, java.vm.specification.version=1.0, bind.address=localhost, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.awt.fonts=, ibm.signalhandling.rs=false, com.ibm.util.extralibs.properties=, jboss.jgroups.udp_sync.fd_sock_port=54250, org.apache.catalina.connector.Request.SESSION_ID_CHECK=true, org.apache.catalina.STRICT_
      SERVLET_COMPLIANCE=true, awt.toolkit=sun.awt.X11.XToolkit, jboss.jgroups.udp.bind_port=55200, jboss.jgroups.udp.fd_sock_port=54200, sun.jnu.encoding=UTF-8, java.rmi.server.hostname=localhost, jboss.messaging.connector.bisocket.port=4457, os.name=Linux, ibm.signalhandling.sigchain=true, com.ibm.jcl.checkClassPath=, jboss.jgroups.tcp.mping_mcast_addr=239.16.88.165, path.separator=:, hornetq.remoting.netty.batch.port=5455, java.rmi.server.codebase=http://localhost:8083/, jboss.common.base.url=file:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/common/, com.arjuna.ats.tsmx.agentimpl=com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl, java.vm.specification.name=Java Virtual Machine Specification, user.variant=, sun.java.launcher.pid=11590, com.ibm.cpu.endian=little, jboss.jgroups.tcp_sync.fd_sock_port=57650, sun.io.unicode.encoding=UnicodeLittle, jboss.messaging.datachanneludpport=45710, hornetq.backup1.remoting.netty.port=5465, line.separator=
      , jboss.lib.url=file:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/, jboss.jgroups.udp_async.fd_sock_port=54225, user.country=US, jboss.jgroups.tcp.tcp_port=7600, java.net.preferIPv4Stack=true, jboss.common.lib.url=file:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/common/lib/, jboss.jgroups.udp_async.mcast_addr=228.11.11.11, jboss.server.data.dir=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice/data, java.util.logging.manager=org.jboss.logmanager.LogManager, java.ext.dirs=/qa/tools/opt/ibm-java-i386-70/jre/lib/ext, jxe.current.romimage.version=17, sun.cpu.endian=little, jgroups.bind_addr=localhost, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, file.encoding=UTF-8, com.ibm.oti.shared.enabled=false, org.apache.catalina.core.StandardHost.startChildren=false, jboss.messaging.datachanneltcpport=7900, hornetq.backup1.remoting.netty.ssl.port=5466, jboss.server.log.
      threshold=DEBUG, jboss.jgroups.tcp_sync.mping_mcast_addr=239.16.88.165, java.vm.vendor=IBM Corporation, java.vendor=IBM Corporation, jboss.jgroups.udp_sync.bind_port=55250, java.class.version=51.0, java.vm.name=IBM J9 VM, jboss.jgroups.udp.mcast_addr=228.11.11.11, com.ibm.zero.version=2, com.arjuna.common.util.logging.DebugLevel=0x00000000, jboss.jgroups.diagnostics_port=7500, java.fullversion=JRE 1.7.0 IBM J9 2.6 Linux x86-32 20110810_88604 (JIT enabled, AOT enabled)
      J9VM - R26_Java726_GA_20110810_1208_B88592
      JIT - r11_20110810_20466
      GC - R26_Java726_GA_20110810_1208_B88592
      J9CL - 20110810_88604, com.ibm.oti.vm.bootstrap.library.path=/qa/tools/opt/ibm-java-i386-70/jre/lib/i386/default:/qa/tools/opt/ibm-java-i386-70/jre/lib/i386, java.vm.specification.vendor=Sun Microsystems Inc., javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, org.apache.catalina.core.StandardHost.configClass=org.jboss.web.tomcat.service.deployers.JBossContextConfig, java.awt.printerjob=sun.print.PSPrinterJob, jgroups.udp.mcast_addr=239.16.88.165, jboss.jgroups.udp_sync.mcast_port=45699, com.ibm.oti.jcl.build=20110810_88604, jboss.remoting.version=22, jboss.server.temp.dir=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/server/profileservice/tmp, com.arjuna.common.util.logger=log4j_releveler, jboss.jgroups.tcp_sync.tcp_port=7650, java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory, tomcat.util.buf.StringCache.byte.enabled=true, sun.boot.class.path=/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.
      0/lib/endorsed/jbossws-native-factories.jar:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/endorsed/xalan.jar:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/endorsed/resolver.jar:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/endorsed/xercesImpl.jar:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/endorsed/jaxb-api.jar:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/endorsed/activation.jar:/qa/home/msadhukh/5.2.0/ER2/jboss-eap-5.2-src/jboss-as/build/output/jboss-5.2.0/lib/endorsed/serializer.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/i386/default/jclSC170/vm.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/se-service.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/math.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/jlm.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmorb.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmorbapi.jar:/qa/tools/opt/ibm-
      java-i386-70/jre/lib/ibmcfw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmpkcs.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmcertpathfw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmjgssfw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmjssefw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmsaslfw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmjcefw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmjgssprovider.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmjsseprovider2.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmcertpathprovider.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/ibmxmlcrypto.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/xmldsigfw.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/xml.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/charsets.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/resources.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/rt.jar:/qa/tools/opt/ibm-java-i386-70/jre/lib/RACF.jar, com.arjuna.common.util.logging.FacilityLevel=0xffffffff, jboss.jgroups.jbm_data.mping_mcast_addr=239.16.88.165, ibm.system.
      encoding=UTF-8, org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger, java.vm.info=JRE 1.7.0 Linux x86-32 20110810_88604 (JIT enabled, AOT enabled)
      J9VM - R26_Java726_GA_20110810_1208_B88592
      JIT - r11_20110810_20466
      GC - R26_Java726_GA_20110810_1208_B88592

        1. JBPAPP-9930.patch
          6 kB
        2. JBPAPP-9930.patch
          10 kB
        3. JBPAPP-9930.patch
          83 kB
        4. JBPAPP-9930.patch
          82 kB
        5. JBPAPP-9930.patch
          14 kB
        6. JBPAPP-9930.patch
          14 kB
        7. JBPAPP-9930-full.patch
          83 kB

              istudens@redhat.com Ivo Studensky
              madhumita12_jira Madhumita Sadhukhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 3 days Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - 3 days Remaining Estimate - 1 week
                  3d