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

runtime/Safepoint/TestAbortOnVMOperationTimeout.java failed when expecting 'VM operation took too long'

    XMLWordPrintable

Details

    • b09
    • aarch64
    • os_x

    Backports

      Description

        Test arguments: '-XX:-CreateCoredumpOnCrash -XX:-TieredCompilation';
        Build profile: 'macosx-aarch64'.

        The test failed with '-XX:AbortVMOnVMOperationTimeoutDelay=5', the largest value stipulated by the test. A testbug / unexpectedly good performance?

        Unfortunately, there is no output file for the last process executed, only the test log is available:

        ...
        Command line: [${WORKDIR}/jib-master/install/jdk-17+26-2439/macosx-aarch64.jdk/jdk-17.jdk/Contents/Home/bin/java -cp $WORKDIR/slaves/$SL1/frameworks/$FW1/executors/$EX1/runs/$RUN1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/Safepoint/TestAbortOnVMOperationTimeout.d:$WORKDIR/jib-master/install/jdk-17+26-2439/src.full/open/test/hotspot/jtreg/runtime/Safepoint:$WORKDIR/slaves/$SL1/frameworks/$FW1/executors/$EX1/runs/$RUN1/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/test/lib:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:$WORKDIR/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnVMOperationTimeout -XX:AbortVMOnVMOperationTimeoutDelay=5 -Xmx256m -XX:+UseSerialGC -XX:-CreateCoredumpOnCrash TestAbortOnVMOperationTimeout foo ]
        [2021-06-11T18:07:17.417343Z] Gathering output for process 43060
        [2021-06-11T18:07:17.605063Z] Waiting for completion for process 43060
        [2021-06-11T18:07:17.605109Z] Waiting for completion finished for process 43060
        ----------System.err:(19/977)----------
         stdout: [];
         stderr: []
         exitValue = 0

        java.lang.RuntimeException: 'VM operation took too long' missing from stdout/stderr

                at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
                at TestAbortOnVMOperationTimeout.testWith(TestAbortOnVMOperationTimeout.java:77)
                at TestAbortOnVMOperationTimeout.main(TestAbortOnVMOperationTimeout.java:57)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
                at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:568)
                at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
                at java.base/java.lang.Thread.run(Thread.java:833)

        Attachments

          Issue Links

            Activity

              People

                dholmes David Holmes
                enikitin Evgeny Nikitin
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: