[jdk11u-dev] RFR: 8307811: [TEST] compilation of TimeoutInErrorHandlingTest fails after backport of JDK-8303861

Alexey Pavlyutkin duke at openjdk.org
Thu May 11 14:03:06 UTC 2023


On Wed, 10 May 2023 11:42:25 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> Hi!
> 
> This one fixes compilation of 
> 
> runtime/ErrorHandling/ThreadsListHandleInErrorHandlingTest.java
> 
> broken by backport of JDK-8303861. The problem is about backported delta refers to ERROR_LOG_TIMEOUT member that was introduced by different changeset and so was not backported and it stayed covered because the test is selected only for debug VM build
> 
> Verification/regression (amd64/20.04LTS): 
> 
> alex at alex-VirtualBox:~/jdk11u-dev$ /opt/jtreg/bin/jtreg -v -jdk:./build/linux-x86_64-normal-server-fastdebug/images/jdk test/hotspot/jtreg/runtime/ErrorHandling
> runner starting test: runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java
> runner finished test: runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/CreateCoredumpOnCrash.java
> runner finished test: runtime/ErrorHandling/CreateCoredumpOnCrash.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/ErrorFileRedirectTest.java
> runner finished test: runtime/ErrorHandling/ErrorFileRedirectTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/ErrorHandler.java
> runner finished test: runtime/ErrorHandling/ErrorHandler.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java
> runner finished test: runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/ProblematicFrameTest.java
> runner finished test: runtime/ErrorHandling/ProblematicFrameTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java
> runner finished test: runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/SecondaryErrorTest.java
> runner finished test: runtime/ErrorHandling/SecondaryErrorTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/ShowRegistersOnAssertTest.java
> runner finished test: runtime/ErrorHandling/ShowRegistersOnAssertTest.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java
> runner finished test: runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java
> Passed. Execution successful
> runner starting test: runtime/ErrorHandling/TestExitOnOutOfMemoryError.java
> runner finished test: runtime/ErrorHan...

I'll check it but for sure this does not relate to fixed test because it's disabled for Windows

/*
 * @test id=default
 * @bug 8166944
 * @summary Hanging Error Reporting steps may lead to torn error logs
 * @modules java.base/jdk.internal.misc
 * @library /test/lib
 * @requires (vm.debug == true) & (os.family != "windows")
 * @author Thomas Stuefe (SAP)
 */
/*
 * @test id=with-on-error
 * @bug 8303861
 * @summary Error handling step timeouts should never be blocked by OnError etc.
 * @modules java.base/jdk.internal.misc
 * @library /test/lib
 * @requires (vm.debug == true) & (os.family != "windows")
 * @run driver TimeoutInErrorHandlingTest with-on-error
 */

-------------

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/1882#issuecomment-1544041019


More information about the jdk-updates-dev mailing list