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

java/util/Locale/LocaleProvidersRun.java failed with "RuntimeException: Expected log was not emitted. LogRecord: null"

    XMLWordPrintable

Details

    • b11
    • x86_64
    • linux

    Description

      The following test failed in the JDK17 CI:

      java/util/Locale/LocaleProvidersRun.java

      Here's a snippet from the log file:

      Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+10-723/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java -ea -esa -cp /opt/mach5/mesos/work_dir/slaves/a4f8fba9-f017-4328-b286-c66b6a97143d-S8400/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/be5232f7-080e-407a-9736-c0bf4a5b27f9/runs/9591bb1e-c2df-495c-9239-94996eafdb1e/testoutput/test-support/jtreg_open_test_jdk_jdk_util/classes/3/java/util/Locale/LocaleProvidersRun.d:/opt/mach5/mesos/work_dir/slaves/a4f8fba9-f017-4328-b286-c66b6a97143d-S8400/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/be5232f7-080e-407a-9736-c0bf4a5b27f9/runs/9591bb1e-c2df-495c-9239-94996eafdb1e/testoutput/test-support/jtreg_open_test_jdk_jdk_util/classes/3/test/lib -Djava.locale.providers=FOO --add-exports=java.base/sun.util.locale.provider=ALL-UNNAMED LocaleProviders bug8245241Test Invalid locale provider adapter "FOO" ignored. ]
      [2021-02-17T11:27:39.299894073Z] Gathering output for process 1482
      [2021-02-17T11:27:40.121906683Z] Waiting for completion for process 1482
      [2021-02-17T11:27:40.122212151Z] Waiting for completion finished for process 1482
      Output and diagnostic info for process 1482 was saved into 'pid-1482-output.log'
      Feb 17, 2021 11:27:39 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
      INFO: Invalid locale provider adapter "FOO" ignored.
      Exception in thread "main" java.lang.RuntimeException: Expected log was not emitted. LogRecord: null
      at LocaleProviders.bug8245241Test(LocaleProviders.java:416)
      at LocaleProviders.main(LocaleProviders.java:107)

      [2021-02-17T11:27:40.124161588Z] Waiting for completion for process 1482
      [2021-02-17T11:27:40.124298037Z] Waiting for completion finished for process 1482
      ----------System.err:(14/882)----------
      java.lang.RuntimeException: Unexpected exit code: 1
      at LocaleProvidersRun.testRun(LocaleProvidersRun.java:197)
      at LocaleProvidersRun.main(LocaleProvidersRun.java:170)
      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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exit code: 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exit code: 1
      ----------rerun:(41/6926)*----------

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: