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

applications/ctw/modules/java_xml.java fails with "modules_java_xml_0: failed during compilation of class #255 : com/sun/org/apache/bcel/internal/generic/InstructionFactory"

XMLWordPrintable

    • generic
    • generic

      The following test failed in the JDK18 CI:

      applications/ctw/modules/java_xml.java

      Here's a snippet from the log file:

      ----------System.out:(12/11739)----------
      Compiling 2134 classes (of 2134 total classes) starting at 0 and ending at 2134
      For random generator using seed: 6354716105509609969
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=6354716105509609969" to command line.
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/macosx-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_0.cmd ]
      modules_java_xml_0 298677182ms START : [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/macosx-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_0.cmd]
      cout/cerr are redirected to modules_java_xml_0
      modules_java_xml_0 298687720ms END : exit code = 134
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/macosx-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_256.cmd ]
      modules_java_xml_256 298687746ms START : [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/macosx-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0:/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/0/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S21110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1d3f3e39-ac41-4d51-9f10-00c2a712f3e0/runs/4f7d2ce6-de96-4ce8-9209-8354c1084108/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_256.cmd]
      cout/cerr are redirected to modules_java_xml_256
      modules_java_xml_256 298752159ms END : exit code = 0
      Executed CTW for all 2134 classes in modules:java.xml(at /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+10-426/macosx-aarch64-debug.jdk/jdk-18/fastdebug/lib/modules)
      ----------System.err:(25/1770)----------
      There were 1 errors:[
      java.lang.Error: modules_java_xml_0: failed during compilation of class #255 : com/sun/org/apache/bcel/internal/generic/InstructionFactory
      at sun.hotspot.tools.ctw.CtwRunner.startCtwforAllClasses(CtwRunner.java:215)
      at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:119)
      at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

      java.lang.AssertionError: There were 1 errors:[{modules_java_xml_0: failed during compilation of class #255 : com/sun/org/apache/bcel/internal/generic/InstructionFactory}]
      at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:134)
      at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: There were 1 errors:[{modules_java_xml_0: failed during compilation of class #255 : com/sun/org/apache/bcel/internal/generic/InstructionFactory}]

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: