Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b113
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8034661 | 7u65 | Shanliang Jiang | P4 | Resolved | Fixed | b01 |
JDK-8026383 | 7u60 | Shanliang Jiang | P4 | Closed | Fixed | b01 |
Description
TESTFAIL:javax/management/monitor/CounterMonitorThresholdTest.java
javax/management/monitor/CounterMonitorThresholdTest.java failing intermittently:
----------System.out:(86/2302)----------
Retrieve the platform MBean server
Start monitoring...
Counter = 0
Derived Gauge = 0
Threshold = 1
Counter = 1
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361963913
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 1
Trigger: 1
Derived Gauge = 1
Threshold = 2
Counter = 2
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361964614
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 2
Trigger: 2
Derived Gauge = 2
Threshold = 3
Counter = 3
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361965156
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 3
Trigger: 3
Derived Gauge = 3
Threshold = 4
Counter = 4
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361965797
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 4
Trigger: 4
Derived Gauge = 4
Threshold = 5
Counter = 4
Derived Gauge = 4
Threshold = 5
Counter = 5
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361967068
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 5
Trigger: 5
Derived Gauge = 5
Threshold = 1
Counter = 5
Derived Gauge = 5
Threshold = 1
Counter = 0
Derived Gauge = 0
Threshold = 1
Counter = 1
Derived Gauge = 0
Wrong derived gauge! Current value = 0 Expected value = 1
Stop monitoring...
----------System.err:(14/860)----------
java.lang.IllegalArgumentException: wrong derived gauge
at CounterMonitorThresholdTest.runTest(CounterMonitorThresholdTest.java:155)
at CounterMonitorThresholdTest.main(CounterMonitorThresholdTest.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:724)
javax/management/monitor/CounterMonitorThresholdTest.java failing intermittently:
----------System.out:(86/2302)----------
Retrieve the platform MBean server
Start monitoring...
Counter = 0
Derived Gauge = 0
Threshold = 1
Counter = 1
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361963913
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 1
Trigger: 1
Derived Gauge = 1
Threshold = 2
Counter = 2
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361964614
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 2
Trigger: 2
Derived Gauge = 2
Threshold = 3
Counter = 3
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361965156
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 3
Trigger: 3
Derived Gauge = 3
Threshold = 4
Counter = 4
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361965797
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 4
Trigger: 4
Derived Gauge = 4
Threshold = 5
Counter = 4
Derived Gauge = 4
Threshold = 5
Counter = 5
Received notification: jmx.monitor.counter.threshold
Source: DefaultDomain:type=javax.management.monitor.CounterMonitor,offset=1
Type: jmx.monitor.counter.threshold
TimeStamp: 1376361967068
ObservedObject: DefaultDomain:type=CounterMonitorThresholdTest$Test,offset=1
ObservedAttribute: Counter
DerivedGauge: 5
Trigger: 5
Derived Gauge = 5
Threshold = 1
Counter = 5
Derived Gauge = 5
Threshold = 1
Counter = 0
Derived Gauge = 0
Threshold = 1
Counter = 1
Derived Gauge = 0
Wrong derived gauge! Current value = 0 Expected value = 1
Stop monitoring...
----------System.err:(14/860)----------
java.lang.IllegalArgumentException: wrong derived gauge
at CounterMonitorThresholdTest.runTest(CounterMonitorThresholdTest.java:155)
at CounterMonitorThresholdTest.main(CounterMonitorThresholdTest.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:724)
Attachments
Issue Links
- backported by
-
JDK-8034661 Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java
- Resolved
-
JDK-8026383 Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java
- Closed