new AS7 itest: GenericJBossAS7PluginTest.testAllMetricsHaveNonNullValues()

Charles Crouch ccrouch at redhat.com
Tue Apr 3 23:04:55 UTC 2012


Great. Thanks Ian

----- Original Message -----
> DataSource type: https://bugzilla.redhat.com/show_bug.cgi?id=809622
> Managed Server type:
> https://bugzilla.redhat.com/show_bug.cgi?id=809623
> Transactions Subsystem type:
> https://bugzilla.redhat.com/show_bug.cgi?id=809626
> 
> On 04/03/2012 04:03 PM, Charles Crouch wrote:
> > Lets get the BZs created, one per resourcetype
> >
> > ----- Original Message -----
> >>
> >> ----- Original Message -----
> >>> From: "Ian Springer"<ian.springer at redhat.com>
> >>> To: rhq-devel at lists.fedorahosted.org
> >>> Sent: Monday, April 2, 2012 3:07:26 PM
> >>> Subject: Re: new AS7	itest:
> >>> 	GenericJBossAS7PluginTest.testAllMetricsHaveNonNullValues()
> >>>
> >>> Yeah, I guess either one BZ for all of them, or one BZ for each
> >>> ResourceType with broken metrics.
> >>>
> >>> Here's one more null metric I found with my latest test run:
> >>>
> >>> ResourceType[id=0, name=EJB3 Thread Pool, plugin=jboss-as-7,
> >>> category=Service]=[keepalive-time:unit],
> >> I will take this one out. It is not needed. No need to open JIRA
> >> for
> >> it either.
> >>
> >>
> >>> On 04/02/2012 03:07 PM, Charles Crouch wrote:
> >>>> So what does this mean? We need to raise JIRAs on AS7 for this?
> >>>>
> >>>> Cheers
> >>>> Charles
> >>>>
> >>>> ----- Original Message -----
> >>>>> I added a new AS7 itest that attempts to collect all defined
> >>>>> numeric
> >>>>> metrics and traits for every discovered Resource. It then
> >>>>> asserts
> >>>>> that
> >>>>> all metrics return non-null values. The test is currently
> >>>>> failing
> >>>>> with
> >>>>> the following results:
> >>>>>
> >>>>> testAllMetricsHaveNonNullValues(org.rhq.modules.plugins.jbossas7.itest.GenericJBossAS7PluginTest):
> >>>>> Metrics with null values by type: {
> >>>>>      ResourceType[id=0, name=DataSource,
> >>>>>      plugin=jboss-as-7,category=Service]
> >>>> =[PreparedStatementCacheCurrentSize,
> >>>>> PreparedStatementCacheMissCount,
> >>>>     PreparedStatementCacheAddCount,
> >>>>> PreparedStatementCacheAccessCount,
> >>>>     PreparedStatementCacheDeleteCount,
> >>>>> PreparedStatementCacheHitCount,
> >>>>     AverageBlockingTime,
> >>>>     ActiveCount,
> >>>>> CreatedCount,
> >>>>     MaxCreationTime,
> >>>>     TotalCreationTime,
> >>>>     AvailableCount,
> >>>>> MaxUsedCount,
> >>>>     TotalBlockingTime,
> >>>>     AverageCreationTime,
> >>>>> DestroyedCount],
> >>>>>      ResourceType[id=0, name=Managed Server,
> >>>>>      plugin=jboss-as-7,category=Server]
> >>>> =[startTime],
> >>>>
> >>>>
> >>>>>      ResourceType[id=0, name=Transactions Subsystem,
> >>>>>      plugin=jboss-as-7,category=Service]
> >>>> =[number-of-nested-transactions,
> >>>>> number-of-timed-out-transactions,
> >>>>     number-of-committed-transactions,
> >>>>> number-of-transactions,
> >>>>     number-of-heuristics,
> >>>>> number-of-aborted-transactions,
> >>>>     number-of-inflight-transactions,
> >>>>> number-of-application-rollbacks,
> >>>>     number-of-resource-rollbacks]
> >>>>> }
> >>>>> expected:<true>   but was:<false>
> >>>>>
> >>>>>
> >>>>> Note, the metrics with null values are grouped by ResourceType.
> >>>>>
> >>>>> _______________________________________________
> >>>>> rhq-devel mailing list
> >>>>> rhq-devel at lists.fedorahosted.org
> >>>>> https://fedorahosted.org/mailman/listinfo/rhq-devel
> >>>>>
> >>>> _______________________________________________
> >>>> rhq-devel mailing list
> >>>> rhq-devel at lists.fedorahosted.org
> >>>> https://fedorahosted.org/mailman/listinfo/rhq-devel
> >>>
> >>> --
> >>> Ian Springer
> >>> Principal Software Developer
> >>> JBoss Operations Network
> >>> Red Hat
> >>> ian.springer at redhat.com
> >>>
> >>> _______________________________________________
> >>> rhq-devel mailing list
> >>> rhq-devel at lists.fedorahosted.org
> >>> https://fedorahosted.org/mailman/listinfo/rhq-devel
> >>>
> >> _______________________________________________
> >> rhq-devel mailing list
> >> rhq-devel at lists.fedorahosted.org
> >> https://fedorahosted.org/mailman/listinfo/rhq-devel
> >>
> > _______________________________________________
> > rhq-devel mailing list
> > rhq-devel at lists.fedorahosted.org
> > https://fedorahosted.org/mailman/listinfo/rhq-devel
> 
> 
> --
> Ian Springer
> Principal Software Developer
> JBoss Operations Network
> Red Hat
> ian.springer at redhat.com
> 
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-devel
> 


More information about the rhq-devel mailing list