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

jdk/dynalink/TypeConverterFactoryMemoryLeakTest.java failed with "AssertionError: Should have GCd a method handle by now"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      x86_64
    • OS:
      generic

      Backports

        Description

        The following test failed in the JDK17 CI:

        jdk/dynalink/TypeConverterFactoryMemoryLeakTest.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(5/195)----------
        command: main TypeConverterFactoryMemoryLeakTest
        reason: Assumed action based on file name: run main TypeConverterFactoryMemoryLeakTest
        Mode: agentvm
        Agent id: 20
        elapsed time (seconds): 15.013
        ----------configuration:(11/1282)----------
        Boot Layer
          class path: /opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar
                      /opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar
                      /opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/junit.jar
                      /opt/mach5/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/testng.jar
          patch: java.base /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a9a6618d-3a73-4285-824e-1e6a5c1f410a/runs/68255266-df36-4ecf-bede-fc1fd8e95629/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base

        Test Layer
          class path: /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S77111/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a9a6618d-3a73-4285-824e-1e6a5c1f410a/runs/68255266-df36-4ecf-bede-fc1fd8e95629/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/jdk/dynalink/TypeConverterFactoryMemoryLeakTest.d
                      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+9-650/src.full/open/test/jdk/jdk/dynalink

        ----------rerun:(30/4745)*----------

        <snip>

        ----------System.err:(12/764)----------
        java.lang.AssertionError: Should have GCd a method handle by now
        at TypeConverterFactoryMemoryLeakTest.main(TypeConverterFactoryMemoryLeakTest.java:88)
        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.AssertionError
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Should have GCd a method handle by now

        Starting this one as a P3 since this is a Tier2 failure.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                attila Attila Szegedi
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: