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

compiler/gcbarriers/TestMembarDependencies.java fails in -agentvm mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 8u202
    • hotspot
    • b02
    • generic
    • linux

    Description

      Command used: ./jtreg/bin/jtreg -verbose:summary -conc:auto -a -ignore:quiet -timeoutFactor:5 -agentvm -jdk:./jdks/jdk1.8.0_202 -dir:./openjdk8/jdk8u202-b03/hotspot/test compiler/gcbarriers/TestMembarDependencies.java

      java version "1.8.0_202-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_202-ea-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 25.202-b02, mixed mode)

      Error Log:
      stderr: [Error: Could not find or load main class compiler.membars.TestMembarDependencies
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
      at compiler.membars.TestMembarDependencies.main(TestMembarDependencies.java:49)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
      at java.lang.Thread.run(Thread.java:748)

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

      ----------System.out:(1/377)----------
      Command line: [/export/home/aginfra/muneer/jtest/jdks/jdk1.8.0_202/bin/java -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:+PrintOpto -XX:CompileCommand=compileonly,compiler.membars.TestMembarDependencies::test* -XX:CompileCommand=dontinline,compiler.membars.TestMembarDependencies::test_m1 compiler.membars.TestMembarDependencies run ]
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      Attachments

        Issue Links

          Activity

            People

              scfitch Stephen Fitch
              akolarkunnu Abdul Kolarkunnu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: