From 112cf5e475682f2a5f547c7046ae699157d7606e Mon Sep 17 00:00:00 2001 From: Andrew Konchin Date: Mon, 21 Oct 2024 20:29:59 +0300 Subject: [PATCH] @fixup Retag MRI tests --- test/mri/excludes/TestAllRubyQuine.rb | 1 + test/mri/excludes/TestM17NComb.rb | 1 + test/mri/excludes/TestTRICK2013.rb | 2 +- test/mri/excludes/TestTRICK2015.rb | 4 ++-- test/mri/excludes/TestTRICK2018.rb | 6 +++--- test/mri/excludes/TestTRICK2022.rb | 4 ++-- .../mri/excludes/TestThreadInstrumentation.rb | 9 +++++++++ test/mri/excludes/TestTimeout.rb | 20 +++++++++++-------- test/mri/excludes/Test_Load_ResolveSymbol.rb | 1 + 9 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 test/mri/excludes/TestAllRubyQuine.rb create mode 100644 test/mri/excludes/Test_Load_ResolveSymbol.rb diff --git a/test/mri/excludes/TestAllRubyQuine.rb b/test/mri/excludes/TestAllRubyQuine.rb new file mode 100644 index 000000000000..d614f367f7a7 --- /dev/null +++ b/test/mri/excludes/TestAllRubyQuine.rb @@ -0,0 +1 @@ +exclude :test_all_ruby_quine, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/all-ruby-quine.rb" diff --git a/test/mri/excludes/TestM17NComb.rb b/test/mri/excludes/TestM17NComb.rb index cb0ecedf8b8b..81ff72d9e203 100644 --- a/test/mri/excludes/TestM17NComb.rb +++ b/test/mri/excludes/TestM17NComb.rb @@ -7,6 +7,7 @@ exclude :test_str_end_with?, "\"\\x80\".force_encoding(\"UTF-8\").end_with?(\"\\x80\".force_encoding(\"UTF-8\"))." exclude :test_str_include?, "Encoding::CompatibilityError expected but nothing was raised." exclude :test_str_index, "\"\\xA1\".force_encoding(\"EUC-JP\").index(\"\\x80\".force_encoding(\"EUC-JP\"), -1)." +exclude :test_str_partition, "transient: already checked in the caller, String#index (java.lang.AssertionError) from org.truffleruby.core.string.StringNodes$StringCharacterIndexNode.singleByteOptimizable(StringNodes.java:3859)" exclude :test_str_rindex, "Encoding::CompatibilityError expected but nothing was raised." exclude :test_str_rpartition, "\"\\x80\".force_encoding(\"ASCII-8BIT\").rpartition(\"\\xC2\\xA1\".force_encoding(\"Windows-31J\"))." exclude :test_str_smart_chomp, "Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-16BE" diff --git a/test/mri/excludes/TestTRICK2013.rb b/test/mri/excludes/TestTRICK2013.rb index d2774cd9b9b8..de5de918479c 100644 --- a/test/mri/excludes/TestTRICK2013.rb +++ b/test/mri/excludes/TestTRICK2013.rb @@ -1,4 +1,4 @@ -exclude :test_mame, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2013/mame/entry.rb" exclude :test_kinaba, "pid 293000 exit 1" +exclude :test_mame, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2013/mame/entry.rb" exclude :test_shinh, "pid 293020 exit 1" exclude :test_yhara, "pid 293040 exit 1" diff --git a/test/mri/excludes/TestTRICK2015.rb b/test/mri/excludes/TestTRICK2015.rb index 695e3ab8ac52..714cc230d36c 100644 --- a/test/mri/excludes/TestTRICK2015.rb +++ b/test/mri/excludes/TestTRICK2015.rb @@ -1,5 +1,5 @@ -exclude :test_monae, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2015/monae/entry.rb" +exclude :test_eregon, "pid 293124 exit 1" exclude :test_kinaba, "pid 293064 exit 1" exclude :test_ksk_1, "pid 293084 exit 1" exclude :test_ksk_2, "pid 293104 exit 1" -exclude :test_eregon, "pid 293124 exit 1" +exclude :test_monae, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2015/monae/entry.rb" diff --git a/test/mri/excludes/TestTRICK2018.rb b/test/mri/excludes/TestTRICK2018.rb index 57f654cfa9b5..449a124ed3b0 100644 --- a/test/mri/excludes/TestTRICK2018.rb +++ b/test/mri/excludes/TestTRICK2018.rb @@ -1,5 +1,5 @@ -exclude :test_05_tompng, "pid 272929 exit 1" exclude :test_01_kinaba, "pid 272949 exit 1" +exclude :test_02_mame, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/02-mame/entry.rb" exclude :test_03_tompng, "pid 272969 exit 1" -exclude :test_02_mame, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/02-mame/entry.rb" -exclude :test_04_colin, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/04-colin/entry.rb" +exclude :test_04_colin, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/04-colin/entry.rb" +exclude :test_05_tompng, "pid 272929 exit 1" diff --git a/test/mri/excludes/TestTRICK2022.rb b/test/mri/excludes/TestTRICK2022.rb index 5eece0724820..f3cb0570a7f9 100644 --- a/test/mri/excludes/TestTRICK2022.rb +++ b/test/mri/excludes/TestTRICK2022.rb @@ -1,3 +1,3 @@ -exclude :test_03_mame, "pid 20544 exit 1" -exclude :test_02_tompng, "pid 20563 exit 1" exclude :test_01_tompng, "pid 20581 exit 1" +exclude :test_02_tompng, "pid 20563 exit 1" +exclude :test_03_mame, "pid 20544 exit 1" diff --git a/test/mri/excludes/TestThreadInstrumentation.rb b/test/mri/excludes/TestThreadInstrumentation.rb index bd1689f22352..8c2e59fefd11 100644 --- a/test/mri/excludes/TestThreadInstrumentation.rb +++ b/test/mri/excludes/TestThreadInstrumentation.rb @@ -1,4 +1,13 @@ exclude :test_join_counters, "undefined symbol: rb_internal_thread_add_event_hook" exclude :test_thread_instrumentation, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_io_release_gvl, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_join_suspends, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_muti_thread_timeline, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_queue_releases_gvl, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_single_thread_timeline, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_thread_blocked_forever_on_mutex, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_thread_blocked_temporarily_on_mutex, "undefined symbol: rb_internal_thread_add_event_hook" exclude :test_thread_instrumentation_fork_safe, "undefined symbol: rb_internal_thread_add_event_hook" exclude :test_thread_instrumentation_unregister, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_thread_pass_multi_thread, "undefined symbol: rb_internal_thread_add_event_hook" +exclude :test_thread_pass_single_thread, "undefined symbol: rb_internal_thread_add_event_hook" diff --git a/test/mri/excludes/TestTimeout.rb b/test/mri/excludes/TestTimeout.rb index 8ab5049d23c3..6bd7187e0783 100644 --- a/test/mri/excludes/TestTimeout.rb +++ b/test/mri/excludes/TestTimeout.rb @@ -1,9 +1,13 @@ -exclude :test_timeout, "flaky: timeout can be missed and test then spins in a loop" -exclude :test_queue, "test hangs" +exclude :test_cannot_convert_into_time_interval, "TypeError expected but nothing was raised." +exclude :test_custom_exception, "Exception(#) with message matches to \"execution expired\"." exclude :test_enumerator_next, "test hangs" -exclude :test_cannot_convert_into_time_interval, "needs investigation" -exclude :test_custom_exception, "needs investigation" -exclude :test_handle_interrupt, "needs investigation" -exclude :test_rescue_exit, "needs investigation" -exclude :test_skip_rescue, "needs investigation" -exclude :test_threadgroup, "<\"[]\"> expected but was" +exclude :test_handle_interrupt, "[Timeout::Error] exception expected, not #." +exclude :test_nested_timeout, "test hangs, flaky" +exclude :test_nested_timeout_error_identity, "test hangs, flaky" +exclude :test_nested_timeout_which_error_bubbles_up, "<\"inner message\"> expected but was <\"uninitialized constant Timeout::ExitException\">." +exclude :test_queue, "test hangs" +exclude :test_raises_exception_internally, "Exception(Timeout::Error) with message matches to /execution expired/." +exclude :test_rescue_exit, "Exception(#) with message matches to \"execution expired\"." +exclude :test_skip_rescue_standarderror, "Exception(Timeout::Error) with message matches to /execution expired/." +exclude :test_threadgroup, "<\"[]\"> expected but was <\"[#]\">." +exclude :test_timeout, "flaky: timeout can be missed and test then spins in a loop" diff --git a/test/mri/excludes/Test_Load_ResolveSymbol.rb b/test/mri/excludes/Test_Load_ResolveSymbol.rb new file mode 100644 index 000000000000..1c9e5ad49dbd --- /dev/null +++ b/test/mri/excludes/Test_Load_ResolveSymbol.rb @@ -0,0 +1 @@ +exclude :test_load_resolve_symbol_resolver, "pid 15154 killed by SIGABRT (signal 6)"