Disable more tests on riscv64

These tests time out on QEMU VM:

  1) Error:
Racc::TestRaccCommand#test_cast:
Timeout::Error: execution of assert_ruby_status expired timeout (10 sec)
pid 127860 killed by SIGTERM (signal 15)
|
    /builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:108:in `ruby'
    /builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:104:in `racc'
    /builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:57:in `assert_compile'
    /builddir/build/BUILD/ruby-2.7.1/test/racc/test_racc_command.rb:269:in `test_cast'
  2) Error:
Racc::TestRaccCommand#test_riml:
Timeout::Error: execution of assert_ruby_status expired timeout (10 sec)
pid 127914 killed by SIGTERM (signal 15)
|
    /builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:108:in `ruby'
    /builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:104:in `racc'
    /builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:57:in `assert_compile'
    /builddir/build/BUILD/ruby-2.7.1/test/racc/test_racc_command.rb:245:in `test_riml'
  3) Error:
TestBugReporter#test_bug_reporter_add:
Timeout::Error: execution of assert_in_out_err expired timeout (30 sec)
pid 128134 killed by SIGKILL (signal 9)
|
| -:1: [BUG] Segmentation fault at 0x000003db0001f486
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC  :kill
| c:0002 p:0021 s:0006 e:000005 EVAL   -:1 [FINISH]
| c:0001 p:0000 s:0003 E:001570 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- C level backtrace information -------------------------------------------

    /builddir/build/BUILD/ruby-2.7.1/test/-ext-/bug_reporter/test_bug_reporter.rb:22:in `test_bug_reporter_add'
  4) Error:
TestFiber#test_many_fibers_with_threads:
Timeout::Error: execution of assert_normal_exit expired timeout (60 sec)
pid 128358 killed by SIGKILL (signal 9)
|
    /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_fiber.rb:53:in `test_many_fibers_with_threads'
  5) Error:
TestRubyOptions#test_segv_test:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 134299 killed by SIGKILL (signal 9)
|
| -e:1: [BUG] Segmentation fault at 0x000003db00020c9b
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC  :kill
| c:0002 p:0015 s:0006 e:000005 EVAL   -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:002170 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-05-02 15:33:34 +03:00
parent 03cb588be8
commit 120ff99bc9
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -868,7 +868,13 @@ sed -i '/assert_in_out_err/ s/)/, timeout: 30)/' test/-ext-/bug_reporter/test_bu
# TestRubyOptions#test_segv_setproctitle: execution of assert_in_out_err expired timeout (10 sec)
# TestRubyOptions#test_segv_loaded_features: execution of assert_in_out_err expired timeout (10 sec)
# TestJIT#test_compile_insn_once: gcc: internal compiler error: Segmentation fault signal terminated program cc1
DISABLE_TESTS="$DISABLE_TESTS -n !/test_segv_\(setproctitle\|loaded_features\)/ -n !/test_compile_insn_once/"
# The following timeout on QEMU:
# Racc::TestRaccCommand#test_cast: execution of assert_ruby_status expired timeout (10 sec)
# Racc::TestRaccCommand#test_riml: execution of assert_ruby_status expired timeout (10 sec)
# TestBugReporter#test_bug_reporter_add: execution of assert_in_out_err expired timeout (30 sec)
# TestFiber#test_many_fibers_with_threads: execution of assert_normal_exit expired timeout (60 sec)
# TestRubyOptions#test_segv_test: execution of assert_in_out_err expired timeout (10 sec)
DISABLE_TESTS="$DISABLE_TESTS -n !/test_segv_\(setproctitle\|loaded_features\)/ -n !/test_compile_insn_once/ -n !/test_cast/ -n !/test_riml/ -n !/test_bug_reporter_add/ -n !/test_many_fibers_with_threads/ -n !/test_segv_test/"
%endif
make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"