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

compiler/c2/TestBit.java failed "RuntimeException: 'test' missing from stdout/stderr"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      x86_64
    • OS:
      linux, windows

      Backports

        Description

        The following test failed in the JDK16 CI:

        compiler/c2/TestBit.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(4/172)----------
        command: main compiler.c2.TestBit
        reason: User specified action: run main/othervm compiler.c2.TestBit
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 1.045
        ----------configuration:(0/0)----------
        ----------System.out:(4/1327)*----------
        Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+4-112\\windows-x64-debug.jdk\\jdk-16\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs\\classes\\1\\compiler\\c2\\TestBit.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+4-112\\src.full\\open\\test\\hotspot\\jtreg\\compiler\\c2;T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs\\classes\\1\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+4-112\\src.full\\open\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs\\classes\\1;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-16+4-112\\src.full\\open\\test\\hotspot\\jtreg;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.1\\b01\\bundles\\jtreg_bin-5.1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.1\\b01\\bundles\\jtreg_bin-5.1.zip\\jtreg\\lib\\jtreg.jar -XX:+PrintOptoAssembly -XX:CompileCommand=compileonly,compiler.c2.TestBit::tst* compiler.c2.TestBit tstBitLong ]
        [2020-06-30T11:56:18.857217Z] Gathering output for process 3952
        [2020-06-30T11:56:19.125240500Z] Waiting for completion for process 3952
        [2020-06-30T11:56:19.160210500Z] Waiting for completion finished for process 3952
        ----------System.err:(72/2989)----------
         stdout: [CompileCommand: compileonly compiler/c2/TestBit.tst*

        ============================= C2-compiled nmethod ==============================
        ----------------------- MetaData before Compile_id = 2 ------------------------
        {method}
         - this oop: 0x000001acc6ef08a0
         - method holder: 'compiler/c2/TestBit'
         - constants: 0x000001acc6ef00d0 constant pool [135]/operands[10] {0x000001acc6ef00d8} for 'compiler/c2/TestBit' cache=0x000001acc6ef0c90
         - access: 0x81000008 static
         - name: 'tstBitLong'
         - signature: '(J)V'
         - max stack: 7
         - max locals: 2
         - size of params: 2
         - method size: 13
         - highest level: 3
         - vtable index: -2
         - i2i entry: 0x000001ac91350960
         - adapters: AHE@0x000001acc73d1440: 0xbe000000 i2c: 0x000001ac914f90e0 c2i: 0x000001ac914f91cc c2iUV: 0x000001ac914f9192 c2iNCI: 0x000001ac914f9209
         - compiled entry 0x000001ac918e01c0
         - code size: 28
         - code start: 0x000001acc6ef0878
         - code end (excl): 0x000001acc6ef0894
         - method data: 0x000001acc6ef1098
         - checked ex length: 0
         - linenumber start: 0x000001acc6ef0894
         - localvar length: 0
         - compiled code: nmethod 235 1 3 compiler.c2.TestBit::tstBitLong (28 bytes)

        ------------------------ OptoAssembly for Compile_id = 2 -----------------------
        #
        # void ( long, half )
        #
        #r016 rdx:rdx : parm 0: long
        # -- Old rsp -- Framesize: 32 --
        #r583 rsp+28: in_preserve
        #r582 rsp+24: return address
        #r581 rsp+20: in_preserve
        #r580 rsp+16: saved fp register
        #r579 rsp+12: pad2, stack alignment
        #r578 rsp+ 8: pad2, stack alignment
        #r577 rsp+ 4: Fixed slot 1
        #r576 rsp+ 0: Fixed slot 0
        #
        000 N1: # out( B1 ) <- in( B4 ) Freq: 1

        000 B1: # out( B3 B2 ) <- BLOCK HEAD IS JUNK Freq: 1
        000 # stack bang (96 bytes)
        pushq rbp # Save rbp
        subq rsp, #16 # Create frame

        00c movq ];
         stderr: []
         exitValue = 0

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

        at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:189)
        at compiler.c2.TestBit.runTest(TestBit.java:58)
        at compiler.c2.TestBit.main(TestBit.java:90)
        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.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)

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

        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'test' missing from stdout/stderr
        ----------rerun:(42/6021)*----------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                bulasevich Boris Ulasevich
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: