Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7170447

intermittent DeadListenerTest.java failure

    XMLWordPrintable

Details

    • b77
    • x86
    • solaris
    • Not verified

    Backports

      Description

        The SDK/JDK test failed during a Serviceability stack test run
        on Solaris X86:

            javax/management/remote/mandatory/notif/DeadListenerTest.java

        The failure only happened on one config out of eight so it looks
        like the failure is intermittent. Here is the failing config:

            $ cat sdk-mm_jmx-prod-server_bh_hsx_rt_exp_fds_dcubed-fast-comp.solaris-i586/do_sdk_common_tests.16778.version
        java version "1.8.0-ea"
        Java(TM) SE Runtime Environment (build 1.8.0-ea-b39)
        Java HotSpot(TM) Server VM (build 24.0-b10-bh_hsx_rt_exp_fds_dcubed-product-fastdebug, compiled mode)


        Here is a snippet from the failing .jtr file:

        java.lang.AssertionError: Assertion failed: Remove of count1 listener should hav
        e failed
                at DeadListenerTest.assertTrue(DeadListenerTest.java:191)
                at DeadListenerTest.main(DeadListenerTest.java:151)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        sorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:474)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
        94)
                at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.AssertionError: Assertion fail
        ed: Remove of count1 listener should have failed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.AssertionError: Assertion failed
        : Remove of count1 listener should have failed
        result: Failed. Execution failed: `main' threw exception: java.lang.AssertionErr
        or: Assertion failed: Remove of count1 listener should have failed


        test result: Failed. Execution failed: `main' threw exception: java.lang.Asserti
        onError: Assertion failed: Remove of count1 listener should have failed



        I'm going to guess that the use of fastdebug Server VM bits with
        the -Xcomp option made the test take longer than expected.

        Attachments

          Issue Links

            Activity

              People

                jbachorik Jaroslav BachorĂ­k
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: