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

[REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags

    XMLWordPrintable

Details

    • b14
    • generic
    • generic

    Backports

      Description

        The following test failed in the JDK22 CI:

        serviceability/jdwp/AllModulesCommandTest.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(7/376)----------
        command: main AllModulesCommandTest
        reason: User specified action: run main/othervm AllModulesCommandTest
        started: Wed Aug 30 18:26:23 UTC 2023
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jdwp.agent,java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        finished: Wed Aug 30 18:26:24 UTC 2023
        elapsed time (seconds): 1.024
        ----------configuration:(4/111)----------
        Boot Layer
          add modules: jdk.jdwp.agent java.base
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(1/1676)----------
        Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+13-953/linux-x64-debug.jdk/jdk-22/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/437eabab-8674-4947-aa94-28da6cfd6a45/runs/06e03276-18aa-45e3-95b7-d1e574b316be/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/0/serviceability/jdwp/AllModulesCommandTest.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+13-953/src.full/open/test/hotspot/jtreg/serviceability/jdwp:/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/437eabab-8674-4947-aa94-28da6cfd6a45/runs/06e03276-18aa-45e3-95b7-d1e574b316be/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/0/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+13-953/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-x64/jdk-20_linux-x64_bin.tar.gz/jdk-20 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S152494/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/437eabab-8674-4947-aa94-28da6cfd6a45/runs/06e03276-18aa-45e3-95b7-d1e574b316be/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/tmp -Xshare:off -showversion -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0 AllModulesCommandTestDebuggee ]
        ----------System.err:(4/222)----------
        java version "22-ea" 2024-03-19
        Java(TM) SE Runtime Environment (fastdebug build 22-ea+13-953)
        Java HotSpot(TM) 64-Bit Server VM (fastdebug build 22-ea+13-953, mixed mode)
        Debuggee error: 'java version "22-ea" 2024-03-19'
        ----------rerun:(38/7357)*----------

        <snip>

        result: Failed. Unexpected exit from test [exit code: 1]


        The failing test was modified by the following fix:

        JDK-8314834 serviceability/jdwp/AllModulesCommandTest.java ignores VM flags

        so I've labeled this bug as a regression.

        Attachments

          Issue Links

            Activity

              People

                lmesnik Leonid Mesnik
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: