Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902672

jtreg doesn't report failure information when trying to get JVM properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      If there is a VM bug, or you select inappropriate flags for a test run, such that the VM fails to run, you get an error in the log as follows:

       Error: failed to get JDK properties for c:\ade\mesos\work_dir\jib-master\install\2020-05-12-0722149.david.holmes.jdk-dev3\windows-x64-debug.jdk\jdk-15\fastdebug\bin\java -XX:MaxRAMPercentage=3 -XX:+UseZGC -Djava.library.path=c:\ade\mesos\work_dir\jib-master\install\2020-05-12-0722149.david.holmes.jdk-dev3\windows-x64-debug.test\hotspot\jtreg\native; exit code 1

      but the actual output of the command is not captured, so if you need to find out the actual error you have to try and recreate the command - which can be a problem if it happened in the test system and you don't have direct access to the platform where it failed.

      It's possible this is captured in some other file, but it would be most useful to see it directly in the main log.

            jjg Jonathan Gibbons
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: