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

TestAbortVMOnSafepointTimeout.java fails due to "'SIGILL' missing from stdout/stderr"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 13, 14
    • hotspot
    • None
    • generic
    • linux



      The following test failed on Solaris-X64 in slowdebug configs using
      jdk-13+12 bits:

      runtime/Safepoint/TestAbortVMOnSafepointTimeout.java

      The test failed in 3 of 3 'slowdebug' bits runs. It did not fail at all in the
      'fastdebug' or 'release' bits runs.

      Here's a snippet from one of the failing log files:

      ----------System.out:(1/1312)----------
      Command line: [/work/shared/bug_hunt/thread_SMR_stress/jdk13_exp/build/solaris-x86_64-normal-server-slowdebug/images/jdk/bin/java -cp /work/shared/bug_hunt/thread_SMR_stress/jdk13_exp/build/solaris-x86_64-normal-server-slowdebug/test-support/jtreg_open_test_hotspot_jtreg_tier1/classes/7/runtime/Safepoint/TestAbortVMOnSafepointTimeout.d:/work/shared/bug_hunt/thread_SMR_stress/jdk13_exp/open/test/hotspot/jtreg/runtime/Safepoint:/work/shared/bug_hunt/thread_SMR_stress/jdk13_exp/build/solaris-x86_64-normal-server-slowdebug/test-support/jtreg_open_test_hotspot_jtreg_tier1/classes/7/test/lib:/work/shared/bug_hunt/thread_SMR_stress/jdk13_exp/open/test/lib:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/work/local/jib-dcubed/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:+UnlockDiagnosticVMOptions -XX:+SafepointTimeout -XX:+SafepointALot -XX:+AbortVMOnSafepointTimeout -XX:SafepointTimeoutDelay=500 -XX:GuaranteedSafepointInterval=500 -XX:-TieredCompilation -XX:-UseCountedLoopSafepoints -XX:LoopStripMiningIter=0 -XX:LoopUnrollLimit=0 -XX:CompileCommand=compileonly,TestAbortVMOnSafepointTimeout::test_loop -Xcomp -XX:-CreateCoredumpOnCrash -Xms64m TestAbortVMOnSafepointTimeout runTestLoop ]
      ----------System.err:(32/1955)----------
       stdout: [CompileCommand: compileonly TestAbortVMOnSafepointTimeout.test_loop
      [1.993s][warning][safepoint]
      [1.993s][warning][safepoint] # SafepointSynchronize::begin: Timeout detected:
      [1.993s][warning][safepoint] # SafepointSynchronize::begin: Timed out while spinning to reach a safepoint.
      [1.993s][warning][safepoint] # SafepointSynchronize::begin: Threads which did not reach the safepoint:
      [1.993s][warning][safepoint] # "main" #1 prio=5 os_prio=64 cpu=1220.75ms elapsed=1.99s tid=0x0000000000443800 nid=0x2 runnable [0x0000000000000000]
      [1.993s][warning][safepoint] java.lang.Thread.State: RUNNABLE
      [1.993s][warning][safepoint] Thread: 0x0000000000443800 [0x 2] State: _running _at_poll_safepoint 0
      [1.993s][warning][safepoint] JavaThread state: _thread_in_Java
      [1.993s][warning][safepoint]
      [1.993s][warning][safepoint] # SafepointSynchronize::begin: (End of list)
      ];
       stderr: []
       exitValue = 11

      java.lang.RuntimeException: 'SIGILL' missing from stdout/stderr

              at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:270)
              at TestAbortVMOnSafepointTimeout.testWith(TestAbortVMOnSafepointTimeout.java:84)
              at TestAbortVMOnSafepointTimeout.main(TestAbortVMOnSafepointTimeout.java:46)
              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:567)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'SIGILL' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'SIGILL' missing from stdout/stderr
      ----------rerun:(31/3869)*----------

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: