Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1431

org.jboss.as.test.integration.ejb.interceptor.lifecycle.chains.InterceptorLifecycleSFSBTestCase failed

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha2
    • 8.0.0.Alpha1
    • Test Suite
    • None

      org.jboss.as.test.integration.ejb.interceptor.lifecycle.chains.InterceptorLifecycleSFSBTestCase failed with

       
      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:92)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.junit.Assert.assertTrue(Assert.java:54)
      	at org.jboss.as.test.integration.ejb.interceptor.lifecycle.chains.InterceptorLifecycleSFSBTestCase.testInterceptorPostConstructWithProceed(InterceptorLifecycleSFSBTestCase.java:67)
      	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:601)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      	at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)
      	at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
      	at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
      	at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
      	at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
      	at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
      	at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
      	at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      	at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
      	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      	at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      	at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
      	at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
      	at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
      	at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
      	at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
      	at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
      	at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
      	at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      	at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
      	at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
      	at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
      	at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      	at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      	at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)
      	at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:128)
      	at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:107)
      	at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:214)
      	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
      	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
      	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
      	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
      	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
      	at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:527)
      	at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:263)
      	at org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:915)
      	at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:152)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:722)
      

            [WFLY-1431] org.jboss.as.test.integration.ejb.interceptor.lifecycle.chains.InterceptorLifecycleSFSBTestCase failed

            Kabir Khan added a comment -

            Bulk close issues resolved against old releases

            Kabir Khan added a comment - Bulk close issues resolved against old releases

            mark yarborough <myarboro@redhat.com> changed the Status of bug 969915 from VERIFIED to CLOSED

            RH Bugzilla Integration added a comment - mark yarborough <myarboro@redhat.com> changed the Status of bug 969915 from VERIFIED to CLOSED

            Ondrej Chaloupka <ochaloup@redhat.com> made a comment on bug 969915

            Verfified on EAP 6.1.1.ER1.
            Run single test testInterceptorPostConstructWithProceed.

            RH Bugzilla Integration added a comment - Ondrej Chaloupka <ochaloup@redhat.com> made a comment on bug 969915 Verfified on EAP 6.1.1.ER1. Run single test testInterceptorPostConstructWithProceed.

            Ondrej Chaloupka <ochaloup@redhat.com> changed the Status of bug 969915 from ON_QA to VERIFIED

            RH Bugzilla Integration added a comment - Ondrej Chaloupka <ochaloup@redhat.com> changed the Status of bug 969915 from ON_QA to VERIFIED

            Paul Gier <pgier@redhat.com> changed the Status of bug 969915 from MODIFIED to ON_QA

            RH Bugzilla Integration added a comment - Paul Gier <pgier@redhat.com> changed the Status of bug 969915 from MODIFIED to ON_QA

            Carlo de Wolf <cdewolf@redhat.com> changed the Status of bug 969915 from ASSIGNED to MODIFIED

            RH Bugzilla Integration added a comment - Carlo de Wolf <cdewolf@redhat.com> changed the Status of bug 969915 from ASSIGNED to MODIFIED

            Rostislav Svoboda <rsvoboda@redhat.com> made a comment on bug 969915

            QA_ACK granted, AS TS fix. Related WF JIRA contains fix.

            RH Bugzilla Integration added a comment - Rostislav Svoboda <rsvoboda@redhat.com> made a comment on bug 969915 QA_ACK granted, AS TS fix. Related WF JIRA contains fix.

            Chao Wang added a comment -

            hi jaikiran this one keeps failing on our test suite running on Thunder http://thunder.sin.redhat.com:8380/hudson/job/eap6-testsuite/27/testReport/ (May. 31 )and http://thunder.sin.redhat.com:8380/hudson/job/eap6-testsuite/22/testReport/ (May 30). I'm not seeing this failure in QE test run.

            Before introduce the fix, if run two test methods without any pause, it passed at most of time, it seems testInterceptorPostConstructWithProceed uses some data left around by testInterceptorPostConstructWithoutProceed. And, break point will help to see the failure as something is cleared during that time.

            Yes, running single testInterceptorPostConstructWithProceed, or running testInterceptorPostConstructWithProceed at first place (test suite might fail due to this), we can constantly see the failure.

            Chao Wang added a comment - hi jaikiran this one keeps failing on our test suite running on Thunder http://thunder.sin.redhat.com:8380/hudson/job/eap6-testsuite/27/testReport/ (May. 31 )and http://thunder.sin.redhat.com:8380/hudson/job/eap6-testsuite/22/testReport/ (May 30). I'm not seeing this failure in QE test run. Before introduce the fix, if run two test methods without any pause, it passed at most of time, it seems testInterceptorPostConstructWithProceed uses some data left around by testInterceptorPostConstructWithoutProceed. And, break point will help to see the failure as something is cleared during that time. Yes, running single testInterceptorPostConstructWithProceed, or running testInterceptorPostConstructWithProceed at first place (test suite might fail due to this), we can constantly see the failure.

            Just curious - did it start failing recently? I'm surprised that we hadn't noticed this failure anywhere else. Perhaps you just tried running InterceptorLifecycleSFSBTestCase#testInterceptorPostConstructWithProceed method? If that's the case then the test methods in that testcases are perhaps using some data left around by other test methods in that same testcase.

            The fix you provided is correct. I'm just trying to figure out if other test methods in that testcase have to be reviewed too.

            Jaikiran Pai (Inactive) added a comment - Just curious - did it start failing recently? I'm surprised that we hadn't noticed this failure anywhere else. Perhaps you just tried running InterceptorLifecycleSFSBTestCase#testInterceptorPostConstructWithProceed method? If that's the case then the test methods in that testcases are perhaps using some data left around by other test methods in that same testcase. The fix you provided is correct. I'm just trying to figure out if other test methods in that testcase have to be reviewed too.

            Chao Wang added a comment -

            Chao Wang added a comment - PR is sent here: https://github.com/wildfly/wildfly/pull/4574

              chaowan@redhat.com Chao Wang
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: