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

java/util/logging/ParentLoggersTest.java failed with "checkLoggers: getLoggerNames() returned unexpected loggers"

XMLWordPrintable

        The following test failed in an Adhoc Mach5 job:

        java/util/logging/ParentLoggersTest.java

        Here's a snippet from the log file:

        ----------System.out:(18/569)----------

        [, abc.xyz.foo, global, myParentLogger.myLogger, abc.xyz.foo.myBar.myLogger]

        # checkLoggers: getLoggerNames() returned unexpected loggers
        # expected logger names (6):
         expNames[0] =
         expNames[1] = global
         expNames[2] = myParentLogger
         expNames[3] = myParentLogger.myLogger
         expNames[4] = abc.xyz.foo
         expNames[5] = abc.xyz.foo.myBar.myLogger
        # returned logger names (5):
          retNames[0] =
          retNames[1] = abc.xyz.foo
          retNames[2] = global
          retNames[3] = myParentLogger.myLogger
          retNames[4] = abc.xyz.foo.myBar.myLogger
        ParentLoggersTest: failed
        ----------System.err:(12/719)----------
        java.lang.Exception: ParentLoggersTest: failed
        at ParentLoggersTest.main(ParentLoggersTest.java:92)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:831)

        JavaTest Message: Test threw exception: java.lang.Exception
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.Exception: ParentLoggersTest: failed

        My Adhoc Mach5 job only contain new tests in another area.
        See JDK-8262881 for details.

        The repo that I'm using has the tip/HEAD at:

        commit b7f0b3fc8b556b352fd7593ca674ab8e562c709a
        Author: Harold Seigel <hseigel@openjdk.org>
        Date: Tue Mar 9 13:15:39 2021 +0000

            8252173: Use handles instead of jobjects in modules.cpp
            
            Reviewed-by: lfoltan, coleenp

        so it's a very recent repo instead of my usual last snapshot style.

        The JVM args for the test task are: -XX:-UseCompressedOops

              dfuchs Daniel Fuchs
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: