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

javax/management/remote/mandatory/notif/NotificationEmissionTest.java fails intermittently

XMLWordPrintable

        TESTFAIL:javax/management/remote/mandatory/notif/NotificationEmissionTest.java

        javax/management/remote/mandatory/notif/NotificationEmissionTest.java fails intermittently in nightly:

        ----------System.out:(20/721)*----------

        --- Check the emission of notifications when a Security Manager is installed

        =-=-= Running testcase 4 =-=-=

        Setting policy file C:\\Users\\aurora\\sandbox\\testbase\\test\\javax\\management\\remote\\mandatory\\notif\\policy.positive
        Create principal with name = role
        Setting SM
        handleNotification:
        Notification = javax.management.Notification[source=domain:type=NB,name=1][type=nb][message=]
        Notification.SeqNum = 0
        Handback = null
        handleNotification:
        Notification = javax.management.Notification[source=domain:type=NB,name=2][type=nb][message=]
        Notification.SeqNum = 1
        Handback = null
        Error: expecting 3 notifications, got 2
        ...SecurityManager=true; policy=true

        Test FAILED! Got 1 error(s)
        ----------System.err:(15/803)----------
        java.lang.IllegalArgumentException:
        Test FAILED! Got 1 error(s)
        at NotificationEmissionTest.main(NotificationEmissionTest.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)

        JavaTest Message: Test threw exception: java.lang.IllegalArgumentException:
        Test FAILED! Got 1 error(s)
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.IllegalArgumentException: Test FAILED! Got 1 error(s)



              lujaniuk Ludvig Janiuk
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: