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

sa/TestSysProps.java failed due to "RuntimeException: Could not find property in jinfo output: [0.058s][info][cds] Archive was created with UseCompressedOops"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • hotspot
    • b18
    • generic
    • generic

    Description

      The following test failed in the JDK15 CI:

      serviceability/sa/TestSysProps.java

      Here's a snippet from the log file:

      -- listing properties --
      java.specification.version=15
      sun.management.compiler=HotSpot 64-Bit Tiered Compilers
      sun.jnu.encoding=ANSI_X3.4-1968
      java.runtime.version=15-ea+18-762
      java.class.path=/opt/mach5/mesos/work_dir/slaves/b0d8...
      user.name=mach5-one
      java.vm.vendor=Oracle Corporation
      path.separator=:
      sun.arch.data.model=64
      os.version=4.14.35-1902.10.4.el7uek.x86_64
      java.runtime.name=Java(TM) SE Runtime Environment
      file.encoding=ANSI_X3.4-1968
      java.vendor.url=https://java.oracle.com/
      java.vm.name=Java HotSpot(TM) 64-Bit Server VM
      java.vm.specification.version=15
      os.name=Linux
      sun.java.launcher=SUN_STANDARD
      user.country=US
      sun.boot.library.path=/opt/mach5/mesos/work_dir/jib-master/...
      sun.java.command=LingeredAppSysProps 1d0c55fb-6457-4b0...
      java.vendor.url.bug=https://bugreport.java.com/bugreport/
      java.io.tmpdir=/tmp
      jdk.debug=fastdebug
      sun.cpu.endian=little
      java.version=15-ea
      user.home=/opt/mach5
      user.dir=/opt/mach5/mesos/work_dir/slaves/b0d8...
      os.arch=amd64
      user.language=en
      java.specification.vendor=Oracle Corporation
      java.vm.specification.name=Java Virtual Machine Specification
      java.version.date=2020-09-15
      java.home=/opt/mach5/mesos/work_dir/jib-master/...
      file.separator=/
      java.vm.compressedOopsMode=Zero based
      line.separator=

      java.library.path=/usr/java/packages/lib:/usr/lib64:/li...
      java.vm.info=mixed mode, sharing
      java.vm.specification.vendor=Oracle Corporation
      java.specification.name=Java Platform API Specification
      java.vendor=Oracle Corporation
      java.vm.version=15-ea+18-762
      sun.io.unicode.encoding=UnicodeLittle
      java.class.version=59.0
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      java.lang.RuntimeException: Could not find property in jinfo output: [0.058s][info][cds] Archive was created with UseCompressedOops
      at TestSysProps.main(TestSysProps.java:144)
      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:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Could not find property in jinfo output: [0.058s][info][cds] Archive was created with UseCompressedOops
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Could not find property in jinfo output: [0.058s][info][cds] Archive was created with UseCompressedOops
      ----------rerun:(35/6075)*----------

      Looks like the test is newly added via:

          JDK-8242165 SA sysprops support fails to dump all system properties

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: