-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Some intermittent failures in:
org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsInStaticModuleTestCase
org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsTestCase
can be seen running wildfly-core integration testsuite on IBM jvm.
see https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/eap-7x-as-testsuite-test-core-rhel/78/testReport/ for results of DR15 runs.
e.g.
org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsTestCase.checkNotifications_startReloadStop
Error Details
jmx.attribute.change 2 jboss.root:type=state The attribute 'RuntimeConfigurationState' has changed from 'starting' to 'ok', jmx.attribute.change 13 jboss.root:type=state The attribute 'RuntimeConfigurationState' has changed from 'starting' to 'ok', jmx.attribute.change 16 jboss.root:type=state The attribute 'RuntimeConfigurationState' has changed from 'ok' to 'stopping' expected:<4> but was:<3>
Stack Trace
java.lang.AssertionError: jmx.attribute.change 2 jboss.root:type=state The attribute 'RuntimeConfigurationState' has changed from 'starting' to 'ok', jmx.attribute.change 13 jboss.root:type=state The attribute 'RuntimeConfigurationState' has changed from 'starting' to 'ok', jmx.attribute.change 16 jboss.root:type=state The attribute 'RuntimeConfigurationState' has changed from 'ok' to 'stopping' expected:<4> but was:<3> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsTestCase.lambda$checkFacadeJmxNotifications$0(JmxControlledStateNotificationsTestCase.java:175)
Standard Output snippet
&#27;[0m&#27;[0m14:18:42,096 INFO [org.jboss.as.server] (ServerService Thread Pool -- 7) WFLYSRV0212: Resuming server &#27;[0m&#27;[0m14:18:42,232 INFO [org.jboss.as.protocol] (management I/O-1) WFLYPRT0057: cancelled task by interrupting thread Thread[management-handler-thread - 3,5,management-handler-thread] &#27;[0m&#27;[31m14:18:42,240 ERROR [org.wildfly.test.jmx.ControlledStateNotificationListener] (management-handler-thread - 3) Problem handling JMX Notification: java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:220) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:228) at java.nio.channels.Channels.writeFullyImpl(Channels.java:89) at java.nio.channels.Channels.writeFully(Channels.java:112) at java.nio.channels.Channels.access$000(Channels.java:72) at java.nio.channels.Channels$1.write(Channels.java:185) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:303) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:307) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:153) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:287) at java.io.BufferedWriter.flush(BufferedWriter.java:265) at org.wildfly.test.jmx.ControlledStateNotificationListener.writeNotification(ControlledStateNotificationListener.java:84) at org.wildfly.test.jmx.ControlledStateNotificationListener.handleNotification(ControlledStateNotificationListener.java:74) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1766) at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:286) at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:363) at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:348) at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:259) at org.jboss.as.server.jmx.RunningStateJmx.setProcessState(RunningStateJmx.java:112) at org.jboss.as.server.jmx.RunningStateJmx.lambda$registerStateListener$0(RunningStateJmx.java:212) at org.jboss.as.server.jmx.RunningStateJmx$$Lambda$46.0000000040DD2A40.propertyChange(Unknown Source) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:346) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:338) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:274) at org.jboss.as.controller.ControlledProcessStateService.stateChanged(ControlledProcessStateService.java:105) at org.jboss.as.controller.ControlledProcessState.setStopping(ControlledProcessState.java:127) at org.jboss.as.controller.operations.common.ProcessReloadHandler$1$1$1.listenerAdded(ProcessReloadHandler.java:82) at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1537) at org.jboss.msc.service.ServiceControllerImpl.addListener(ServiceControllerImpl.java:1254) at org.jboss.as.controller.OperationContextImpl$OperationContextServiceController.addListener(OperationContextImpl.java:2449) at org.jboss.as.controller.operations.common.ProcessReloadHandler$1$1.handleResult(ProcessReloadHandler.java:79) at org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1493) at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1475) at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1437) at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1410) at org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1284) at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:856) at org.jboss.as.controller.AbstractOperationContext.executeDoneStage(AbstractOperationContext.java:842) at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:748) at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:441) at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1388) at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:421) at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243) at org.jboss.as.controller.ModelControllerImpl$$Lambda$193.00000000E0015CC0.run(Unknown Source) at org.wildfly.security.auth.server.SecurityIdentity$$Lambda$194.00000000E00163C0.run(Unknown Source) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229) at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243) at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217) at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137) at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161) at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157) at org.wildfly.security.auth.server.SecurityIdentity$$Lambda$192.00000000E000FE80.run(Unknown Source) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287) at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244) at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254) at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225) at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157) at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70) at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:785) at org.jboss.threads.JBossThread.run(JBossThread.java:320)
The tests were introduced just recently as a coverage for EAP7-471.
- clones
-
JBEAP-9927 JmxControlledStateNotificationsInStaticModuleTestCase intermittently fails on IBM jdk
- Closed