# HG changeset patch # User jiefu # Date 1566953260 -28800 # Node ID edc00278955d9032556820cf2c2c8b04588385d2 # Parent da87424384eb9b58d573d5ef6ebfe563974aeb7e 8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms Reviewed-by: coleenp, stuefe, mseledtsov diff -r da87424384eb -r edc00278955d test/hotspot/jtreg/runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java --- a/test/hotspot/jtreg/runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java Wed Aug 28 15:15:38 2019 -0700 +++ b/test/hotspot/jtreg/runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java Wed Aug 28 08:47:40 2019 +0800 @@ -57,7 +57,7 @@ // we should have crashed with a SIGSEGV output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*"); - output_detail.shouldMatch("# +(?:SIGSEGV|EXCEPTION_ACCESS_VIOLATION).*"); + output_detail.shouldMatch("# +(?:SIGSEGV|SIGBUS|EXCEPTION_ACCESS_VIOLATION).*"); // extract hs-err file String hs_err_file = output_detail.firstMatch("# *(\\S*hs_err_pid\\d+\\.log)", 1); diff -r da87424384eb -r edc00278955d test/hotspot/jtreg/runtime/ErrorHandling/ErrorFileRedirectTest.java --- a/test/hotspot/jtreg/runtime/ErrorHandling/ErrorFileRedirectTest.java Wed Aug 28 15:15:38 2019 -0700 +++ b/test/hotspot/jtreg/runtime/ErrorHandling/ErrorFileRedirectTest.java Wed Aug 28 08:47:40 2019 +0800 @@ -58,7 +58,7 @@ // we should have crashed with a SIGSEGV output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*"); - output_detail.shouldMatch("# +(?:SIGSEGV|EXCEPTION_ACCESS_VIOLATION).*"); + output_detail.shouldMatch("# +(?:SIGSEGV|SIGBUS|EXCEPTION_ACCESS_VIOLATION).*"); // If no redirection happened, we should find a mention of the file in the output. String hs_err_file = output_detail.firstMatch("# *(\\S*hs_err_pid\\d+\\.log)", 1); diff -r da87424384eb -r edc00278955d test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java --- a/test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java Wed Aug 28 15:15:38 2019 -0700 +++ b/test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java Wed Aug 28 08:47:40 2019 +0800 @@ -61,7 +61,7 @@ // we should have crashed with a SIGSEGV output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*"); - output_detail.shouldMatch("# +(?:SIGSEGV|EXCEPTION_ACCESS_VIOLATION).*"); + output_detail.shouldMatch("# +(?:SIGSEGV|SIGBUS|EXCEPTION_ACCESS_VIOLATION).*"); // extract hs-err file String hs_err_file = output_detail.firstMatch("# *(\\S*hs_err_pid\\d+\\.log)", 1); diff -r da87424384eb -r edc00278955d test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java --- a/test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java Wed Aug 28 15:15:38 2019 -0700 +++ b/test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java Wed Aug 28 08:47:40 2019 +0800 @@ -95,7 +95,7 @@ // we should have crashed with a SIGSEGV output_detail.shouldMatch("# A fatal error has been detected by the Java Runtime Environment:.*"); - output_detail.shouldMatch("# +(?:SIGSEGV|EXCEPTION_ACCESS_VIOLATION).*"); + output_detail.shouldMatch("# +(?:SIGSEGV|SIGBUS|EXCEPTION_ACCESS_VIOLATION).*"); // VM should have been aborted by WatcherThread output_detail.shouldMatch(".*timer expired, abort.*");