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

jfr/startupargs/TestMemoryOptions.java fails intermittently on Linux-X64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 11, 12, 13
    • hotspot
    • jfr
    • x86_64
    • linux_ubuntu

      The following test failed due to an exception on Linux X64
      in the fastdebug config using jdk11+19 bits:

      jdk/jfr/startupargs/TestMemoryOptions.java

      The test only failed in 1 of 3 'fastdebug' bits runs so I'm
      tagging this bug as intermittent. It did not fail at all in the
      'release' or 'slowdebug' bits runs.

      Here is a snippet from the log file:

      ----------System.err:(26/1420)----------
       stdout: [[0.533s][error][arguments] Value specified for option "numglobalbuffers" is 1
      [0.533s][error][arguments] This value is lower than the minimum required number 2
      Error occurred during initialization of VM
      Failure when starting JFR on_vm_start
      ];
       stderr: []
       exitValue = 139

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

              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
              at jdk.jfr.startupargs.TestMemoryOptions$Driver.launchTestVM(TestMemoryOptions.java:514)
              at jdk.jfr.startupargs.TestMemoryOptions$Driver.runTestCase(TestMemoryOptions.java:519)
              at jdk.jfr.startupargs.TestMemoryOptions.main(TestMemoryOptions.java:649)
              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:566)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [1]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [1]
      ----------rerun:(31/3789)*----------


      The test case is expected to fail with an exit code of "1", but instead failed
      with an exit code of "139". That exit code make me wonder if the test crashed,
      but the test run directories show no sign of that:

      $ ls build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions*
      build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions.jtr

      build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions:
      environment.html environment.log

      build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_jdk_jdk_svc/jdk/jfr/startupargs/TestMemoryOptions.d:
      compile.0.jta main.1.jta

        1. hs_err_pid14867.log
          107 kB
        2. hs_err_pid14962.log
          4 kB
        3. hs_err_pid9410.log
          105 kB
        4. jdk11_migrate_linux.8207970.zip
          3 kB
        5. jdk-11+23_linux.8207970.zip
          3 kB
        6. jdk-12+10_linux.8207970.zip
          3 kB
        7. jdk-12+11_linux.8207970.zip
          7 kB
        8. jdk-13+11_linux.8207970.zip
          6 kB
        9. jdk-13+13_linux.8207970.zip
          21 kB
        10. jdk-13+9_linux.8207970.zip
          20 kB

            egahlin Erik Gahlin
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: