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

tools/jimage/JImageExtractTest.java, fails intermittently at testExtract (macos)

    Details

    • Subcomponent:
    • Resolved In Build:
      b22

      Backports

        Description

        tools/jimage/JImageExtractTest.java fails intermittently at testExtract (osx-x64, run with -conc:6)

        ----------System.out:(6/320)----------
        Invoking testExtractToDir
        jimage [extract, --dir, ./JImageExtractTest2369491764840834267, /Users/aurora/sandbox_keepme/jdk/lib/modules]
        Invoking testExtractNotAnImage
        jimage [extract, ./JImageExtractTest2759577580748474434not_an_image]
        Invoking testExtract
        jimage [extract, /Users/aurora/sandbox_keepme/jdk/lib/modules]
        ----------System.err:(24/1672)----------
        java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at JImageCliTest.runTests(JImageCliTest.java:111)
        at JImageExtractTest.main(JImageExtractTest.java:183)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:841)
        Caused by: java.lang.RuntimeException: There are no exploded modules with missing 'module-info.class': expected [./JImageExtractTest2369491764840834267, ./JImageExtractTest2759577580748474434not_an_image, .] to equal [.]
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
        at JImageExtractTest.verifyExplodedImage(JImageExtractTest.java:178)
        at JImageExtractTest.testExtract(JImageExtractTest.java:55)
        ... 12 more

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

        STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sdama Srinivas Dama (Inactive)
                  Reporter:
                  amlu Amy Lu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: