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

compiler/jvmci/TestJVMCISavedProperties.java fails due to garbage in output

XMLWordPrintable

    • b21

      ----------System.out:(4/1970)----------
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/macosx-aarch64-debug.jdk/jdk-24/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S37440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4ee58cba-d93c-43a2-81a2-0e24ac23cc43/runs/ed505f41-3478-42d2-ac06-a39c42be91d3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/compiler/jvmci/TestJVMCISavedProperties.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/src.full/open/test/hotspot/jtreg/compiler/jvmci:/System/Volumes/Data/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S37440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4ee58cba-d93c-43a2-81a2-0e24ac23cc43/runs/ed505f41-3478-42d2-ac06-a39c42be91d3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/junit-platform-console-standalone-1.10.2.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/testng-7.3.0.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jcommander-1.82.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/guice-5.1.0.jar -XX:+UnlockExperimentalVMOptions -XX:+EagerJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=null -Ddebug.jvmci.PrintSavedProperties=true -Dapp1.propX=true -Dapp2.propY=SomeStringValue TestJVMCISavedProperties true ]
      [2024-10-16T05:51:18.869080Z] Gathering output for process 87634
      [2024-10-16T05:51:19.187922Z] Waiting for completion for process 87634
      [2024-10-16T05:51:19.188178Z] Waiting for completion finished for process 87634
      ----------System.err:(66/5936)----------
       stdout: [[Saved system properties]
      [Saved system properties]
      java.vm.info=mixed mode, sharing
      sun.java.command=TestJVMCISavedProperties true
      java.class.path=sun.java.command/System/Volumes/Data/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S37440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4ee58cba-d93c-43a2-81a2-0e24ac23cc43/runs/ed505f41-3478-42d2-ac06-a39c42be91d3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/compiler/jvmci/TestJVMCISavedProperties.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/src.full/open/test/hotspot/jtreg/compiler/jvmci:/System/Volumes/Data/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S37440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4ee58cba-d93c-43a2-81a2-0e24ac23cc43/runs/ed505f41-3478-42d2-ac06-a39c42be91d3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/junit-platform-console-standalone-1.10.2.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/testng-7.3.0.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jcommander-1.82.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/guice-5.1.0.jar
      =TestJVMCISavedProperties true
      java.vm.infojava.specification.version==mixed mode, sharing24

      java.vm.specification.vendorjdk.internal.vm.ci.enabled==Oracle Corporationtrue

      java.library.pathjava.vm.specification.version==24
      jdk.debug=/var/folders/14/hwcnr_6549bf4s7ngfk6q0ch0000gp/T/sparky-temp-home-6253068646304916438/user_home/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.fastdebug

      sun.java.launcherapp1.propX==SUN_STANDARDtrue

      app1.propXdebug.jvmci.PrintSavedProperties==truetrue

      os.namejvmci.Compiler==Mac OS X
      java.vm.specification.namenull=Java Virtual Machine Specification

      java.vm.compressedOopsModejava.vm.vendor==Oracle CorporationZero based

      sun.boot.library.path=java.vm.specification.name/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/macosx-aarch64-debug.jdk/jdk-24/fastdebug/lib=
      Java Virtual Machine Specification
      sun.boot.library.path=java.home/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/macosx-aarch64-debug.jdk/jdk-24/fastdebug/lib=
      /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/macosx-aarch64-debug.jdk/jdk-24/fastdebugjava.home
      =/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/macosx-aarch64-debug.jdk/jdk-24/fastdebug
      os.archjava.vm.name==Java HotSpot(TM) 64-Bit Server VM
      app2.propYaarch64=
      SomeStringValue
      jdk.module.addmods.0=java.class.pathjdk.internal.vm.ci=/System/Volumes/Data/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S37440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4ee58cba-d93c-43a2-81a2-0e24ac23cc43/runs/ed505f41-3478-42d2-ac06-a39c42be91d3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/compiler/jvmci/TestJVMCISavedProperties.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-24+20-2328/src.full/open/test/hotspot/jtreg/compiler/jvmci:/System/Volumes/Data/mesos/work_dir/slaves/7a20d425-e769-4142-b5c1-e3cc2d88e03e-S37440/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4ee58cba-d93c-43a2-81a2-0e24ac23cc43/runs/ed505f41-3478-42d2-ac06-a39c42be91d3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/junit-platform-console-standalone-1.10.2.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/testng-7.3.0.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/jcommander-1.82.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.4/1/bundles/jtreg-7.4+1.zip/jtreg/lib/guice-5.1.0.jar
      debug.jvmci.PrintSavedProperties=
      java.vm.specification.vendor=Oracle Corporation
      sun.java.launchertrue=
      jvmci.Compiler=null
      jdk.debug=fastdebug
      java.vm.name=Java HotSpot(TM) 64-Bit Server VM
      jdk.module.addmods.0=jdk.internal.vm.ci
      java.vm.vendor=Oracle Corporation
      jdk.internal.vm.ci.enabled=true
      java.vm.version=24-ea+20-2328
      java.vm.specification.version=SUN_STANDARD
      java.vm.version=24-ea+20-2328
      24java.vm.compressedOopsMode=
      java.specification.versionZero based
      =os.name24=
      app2.propY=SomeStringValue
      Mac OS X
      os.arch=aarch64
      java.library.path=/var/folders/14/hwcnr_6549bf4s7ngfk6q0ch0000gp/T/sparky-temp-home-6253068646304916438/user_home/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
      DONE IN MAIN
      ];
       stderr: []
       exitValue = 0

      java.lang.RuntimeException: 'debug.jvmci.PrintSavedProperties=true' missing from stdout
      at jdk.test.lib.process.OutputAnalyzer.stdoutShouldContain(OutputAnalyzer.java:268)
      at TestJVMCISavedProperties.main(TestJVMCISavedProperties.java:58)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:573)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1576)

            tzezula Tomáš Zezula
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: