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

gtest/GTestWrapper.java is not helpful if gtest framework is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      gtest/GTestWrapper.java fails in tier1 reliably on multiple machines. It seems to have started recently. I assume this is infra/build issue, assigning there.

      This reproduces on clean checkout of jdk/jdk:

      $ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdk14-ea/ --with-jtreg=/home/shade/Install/jtreg
      $ CONF=linux-x86_64-server-fastdebug make run-test TEST=jtreg:gtest/GTestWrapper.java

      STDERR:
      java.lang.Error: TESTBUG: the library has not been found in /home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/images/test/hotspot/jtreg/native
      at GTestWrapper.main(GTestWrapper.java:60)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ihse Magnus Ihse Bursie
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: