Issue #16492 has been updated by vo.x (Vit Ondruch).

Subject changed from TestBugReporter#test_bug_reporter_add test failures on s390x to TestBugReporter#test_bug_reporter_add test failures

Digging a bit into this issue, I was wrong that this is just s390x.


~~~
for i in {1..10000}
do
  echo "******** $i"
  make runruby TESTRUN_SCRIPT="-Itool/lib test/-ext-/bug_reporter/test_bug_reporter.rb -v"
done

... snip ...

******** 1103
+ for i in {1..10000}
+ echo '******** 1103'
+ make runruby 'TESTRUN_SCRIPT=-Itool/lib test/-ext-/bug_reporter/test_bug_reporter.rb -v'
./revision.h unchanged
./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -Itool/lib test/-ext-/bug_reporter/test_bug_reporter.rb -v
Run options: -v
# Running tests:
[1/1] TestBugReporter#test_bug_reporter_add = 12.01 s
  1) Error:
TestBugReporter#test_bug_reporter_add:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 3442171 killed by SIGKILL (signal 9)
| 
| -:1: [BUG] Segmentation fault at 0x000003e8003485fb
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-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:000210 (none) [FINISH]
| 
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
| 
| -- Machine register context ------------------------------------------------
|  RIP: 0x00007f76dc8b3e0b RBP: 0x000000000000000b RSP: 0x00007ffdc485aeb8
|  RAX: 0x0000000000000000 RBX: 0x0000000000000001 RCX: 0x00007f76dc8b3e0b
|  RDX: 0x00000000003485fb RDI: 0x00000000003485fb RSI: 0x000000000000000b
|   R8: 0x00000000003485fb  R9: 0x00000000ffffffff R10: 0x0000000000000000
|  R11: 0x0000000000000206 R12: 0x0000000000000002 R13: 0x00007f76dc519048
|  R14: 0x00000000003485fb R15: 0x0000000000000001 EFL: 0x0000000000000206
| 
| -- Other runtime information -----------------------------------------------
| 
| * Loaded script: -
| 
| * Loaded features:
| 
|     0 enumerator.so
|     1 thread.rb
|     2 rational.so
|     3 complex.so
|     4 ruby2_keywords.rb
|     5 /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/encdb.so
|     6 /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/trans/transdb.so
|     7 /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/-test-/bug_reporter.so
| 
| * Process memory map:
| 
| 55d14a238000-55d14a239000 r--p 00000000 fc:02 145422722                  /builddir/build/BUILD/ruby-2.7.1/ruby
| 55d14a239000-55d14a23a000 r-xp 00001000 fc:02 145422722                  /builddir/build/BUILD/ruby-2.7.1/ruby
| 55d14a23a000-55d14a23b000 r--p 00002000 fc:02 145422722                  /builddir/build/BUILD/ruby-2.7.1/ruby
| 55d14a23b000-55d14a23c000 r--p 00002000 fc:02 145422722                  /builddir/build/BUILD/ruby-2.7.1/ruby
| 55d14a23c000-55d14a23d000 rw-p 00003000 fc:02 145422722                  /builddir/build/BUILD/ruby-2.7.1/ruby
| 55d14aab5000-55d14ac26000 rw-p 00000000 00:00 0                          [heap]
| 7f76d9c5f000-7f76d9c60000 r--p 00000000 fc:02 7954088                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/-test-/bug_reporter.so
| 7f76d9c60000-7f76d9c61000 r-xp 00001000 fc:02 7954088                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/-test-/bug_reporter.so
| 7f76d9c61000-7f76d9c62000 r--p 00002000 fc:02 7954088                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/-test-/bug_reporter.so
| 7f76d9c62000-7f76d9c63000 r--p 00002000 fc:02 7954088                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/-test-/bug_reporter.so
| 7f76d9c63000-7f76d9c64000 rw-p 00000000 00:00 0 
| 7f76d9c64000-7f76d9c65000 r--p 00000000 fc:02 71528115                   /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/trans/transdb.so
| 7f76d9c65000-7f76d9c67000 r-xp 00001000 fc:02 71528115                   /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/trans/transdb.so
| 7f76d9c67000-7f76d9c68000 r--p 00003000 fc:02 71528115                   /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/trans/transdb.so
| 7f76d9c68000-7f76d9c69000 r--p 00003000 fc:02 71528115                   /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/trans/transdb.so
| 7f76d9c69000-7f76d9c6a000 rw-p 00000000 00:00 0 
| 7f76d9c6a000-7f76d9c6b000 r--p 00000000 fc:02 4022274                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/encdb.so
| 7f76d9c6b000-7f76d9c6c000 r-xp 00001000 fc:02 4022274                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/encdb.so
| 7f76d9c6c000-7f76d9c6d000 r--p 00002000 fc:02 4022274                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/encdb.so
| 7f76d9c6d000-7f76d9c6e000 r--p 00002000 fc:02 4022274                    /builddir/build/BUILD/ruby-2.7.1/.ext/x86_64-linux/enc/encdb.so
| 7f76d9c6e000-7f76d9c6f000 rw-p 00000000 00:00 0 
| 7f76d9c6f000-7f76d9c70000 ---p 00000000 00:00 0 
| 7f76d9c70000-7f76d9cb1000 rw-p 00000000 00:00 0 
| 7f76d9cb1000-7f76d9cb2000 ---p 00000000 00:00 0 
| 7f76d9cb2000-7f76d9cf3000 rw-p 00000000 00:00 0 
| 7f76d9cf3000-7f76d9cf4000 ---p 00000000 00:00 0 
| 7f76d9cf4000-7f76d9d35000 rw-p 00000000 00:00 0 
| 7f76d9d35000-7f76d9d36000 ---p 00000000 00:00 0 
| 7f76d9d36000-7f76d9d77000 rw-p 00000000 00:00 0 
| 7f76d9d77000-7f76d9d78000 ---p 00000000 00:00 0 
| 7f76d9d78000-7f76d9db9000 rw-p 00000000 00:00 0 
| 7f76d9db9000-7f76d9dba000 ---p 00000000 00:00 0 
| 7f76d9dba000-7f76d9dfb000 rw-p 00000000 00:00 0 
| 7f76d9dfb000-7f76d9dfc000 ---p 00000000 00:00 0 
| 7f76d9dfc000-7f76d9e3d000 rw-p 00000000 00:00 0 
| 7f76d9e3d000-7f76d9e3e000 ---p 00000000 00:00 0 
| 7f76d9e3e000-7f76d9e7f000 rw-p 00000000 00:00 0 
| 7f76d9e7f000-7f76d9e80000 ---p 00000000 00:00 0 
| 7f76d9e80000-7f76d9ec1000 rw-p 00000000 00:00 0 
| 7f76d9ec1000-7f76d9ec2000 ---p 00000000 00:00 0 
| 7f76d9ec2000-7f76d9f03000 rw-p 00000000 00:00 0 
| 7f76d9f03000-7f76d9f04000 ---p 00000000 00:00 0 
| 7f76d9f04000-7f76d9f45000 rw-p 00000000 00:00 0 
| 7f76d9f45000-7f76d9f46000 ---p 00000000 00:00 0 
| 7f76d9f46000-7f76d9f87000 rw-p 00000000 00:00 0 
| 7f76d9f87000-7f76d9f88000 ---p 00000000 00:00 0 
| 7f76d9f88000-7f76d9fc9000 rw-p 00000000 00:00 0 
| 7f76d9fc9000-7f76d9fca000 ---p 00000000 00:00 0 
| 7f76d9fca000-7f76da00b000 rw-p 00000000 00:00 0 
| 7f76da00b000-7f76da00c000 ---p 00000000 00:00 0 
| 7f76da00c000-7f76da04d000 rw-p 00000000 00:00 0 
| 7f76da04d000-7f76da04e000 ---p 00000000 00:00 0 
| 7f76da04e000-7f76da08f000 rw-p 00000000 00:00 0 
| 7f76da08f000-7f76da090000 ---p 00000000 00:00 0 
| 7f76da090000-7f76da0d1000 rw-p 00000000 00:00 0 
| 7f76da0d1000-7f76da0d2000 ---p 00000000 00:00 0 
| 7f76da0d2000-7f76da113000 rw-p 00000000 00:00 0 
| 7f76da113000-7f76da114000 ---p 00000000 00:00 0 
| 7f76da114000-7f76da155000 rw-p 00000000 00:00 0 
| 7f76da155000-7f76da156000 ---p 00000000 00:00 0 
| 7f76da156000-7f76da197000 rw-p 00000000 00:00 0 
| 7f76da197000-7f76da198000 ---p 00000000 00:00 0 
| 7f76da198000-7f76da1d9000 rw-p 00000000 00:00 0 
| 7f76da1d9000-7f76da1da000 ---p 00000000 00:00 0 
| 7f76da1da000-7f76da21b000 rw-p 00000000 00:00 0 
| 7f76da21b000-7f76da21c000 ---p 00000000 00:00 0 
| 7f76da21c000-7f76da25d000 rw-p 00000000 00:00 0 
| 7f76da25d000-7f76da25e000 ---p 00000000 00:00 0 
| 7f76da25e000-7f76da29f000 rw-p 00000000 00:00 0 
| 7f76da29f000-7f76da2a0000 ---p 00000000 00:00 0 
| 7f76da2a0000-7f76da2e1000 rw-p 00000000 00:00 0 
| 7f76da2e1000-7f76da2e2000 ---p 00000000 00:00 0 
| 7f76da2e2000-7f76da323000 rw-p 00000000 00:00 0 
| 7f76da323000-7f76da324000 ---p 00000000 00:00 0 
| 7f76da324000-7f76da365000 rw-p 00000000 00:00 0 
| 7f76da365000-7f76da366000 ---p 00000000 00:00 0 
| 7f76da366000-7f76da3a7000 rw-p 00000000 00:00 0 
| 7f76da3a7000-7f76da3a8000 ---p 00000000 00:00 0 
| 7f76da3a8000-7f76da3e9000 rw-p 00000000 00:00 0 
| 7f76da3e9000-7f76da3ea000 ---p 00000000 00:00 0 
| 7f76da3ea000-7f76da42b000 rw-p 00000000 00:00 0 
| 7f76da42b000-7f76da42c000 ---p 00000000 00:00 0 
| 7f76da42c000-7f76da46d000 rw-p 00000000 00:00 0 
| 7f76da46d000-7f76da46e000 ---p 00000000 00:00 0 
| 7f76da46e000-7f76dc61c000 rw-p 00000000 00:00 0 
| 7f76dc61c000-7f76dc62b000 r--p 00000000 fc:02 137156855                  /usr/lib64/libm-2.31.9000.so
| 7f76dc62b000-7f76dc6c7000 r-xp 0000f000 fc:02 137156855                  /usr/lib64/libm-2.31.9000.so
| 7f76dc6c7000-7f76dc760000 r--p 000ab000 fc:02 137156855                  /usr/lib64/libm-2.31.9000.so
| 7f76dc760000-7f76dc761000 r--p 00143000 fc:02 137156855                  /usr/lib64/libm-2.31.9000.so
| 7f76dc761000-7f76dc762000 rw-p 00144000 fc:02 137156855                  /usr/lib64/libm-2.31.9000.so
| 7f76dc762000-7f76dc764000 r--p 00000000 fc:02 137197846                  /usr/lib64/libcrypt.so.2.0.0
| 7f76dc764000-7f76dc779000 r-xp 00002000 fc:02 137197846                  /usr/lib64/libcrypt.so.2.0.0
| 7f76dc779000-7f76dc793000 r--p 00017000 fc:02 137197846                  /usr/lib64/libcrypt.so.2.0.0
| 7f76dc793000-7f76dc794000 r--p 00030000 fc:02 137197846                  /usr/lib64/libcrypt.so.2.0.0
| 7f76dc794000-7f76dc79f000 rw-p 00000000 00:00 0 
| 7f76dc79f000-7f76dc7a1000 r--p 00000000 fc:02 137156853                  /usr/lib64/libdl-2.31.9000.so
| 7f76dc7a1000-7f76dc7a3000 r-xp 00002000 fc:02 137156853                  /usr/lib64/libdl-2.31.9000.so
| 7f76dc7a3000-7f76dc7a4000 r--p 00004000 fc:02 137156853                  /usr/lib64/libdl-2.31.9000.so
| 7f76dc7a4000-7f76dc7a5000 r--p 00004000 fc:02 137156853                  /usr/lib64/libdl-2.31.9000.so
| 7f76dc7a5000-7f76dc7a6000 rw-p 00000000 00:00 0 
| 7f76dc7a6000-7f76dc7b6000 r--p 00000000 fc:02 137775300                  /usr/lib64/libgmp.so.10.4.0
| 7f76dc7b6000-7f76dc82f000 r-xp 00010000 fc:02 137775300                  /usr/lib64/libgmp.so.10.4.0
| 7f76dc82f000-7f76dc846000 r--p 00089000 fc:02 137775300                  /usr/lib64/libgmp.so.10.4.0
| 7f76dc846000-7f76dc847000 ---p 000a0000 fc:02 137775300                  /usr/lib64/libgmp.so.10.4.0
| 7f76dc847000-7f76dc849000 r--p 000a0000 fc:02 137775300                  /usr/lib64/libgmp.so.10.4.0
| 7f76dc849000-7f76dc84a000 rw-p 000a2000 fc:02 137775300                  /usr/lib64/libgmp.so.10.4.0
| 7f76dc84a000-7f76dc84d000 r--p 00000000 fc:02 137160069                  /usr/lib64/librt-2.31.9000.so
| 7f76dc84d000-7f76dc851000 r-xp 00003000 fc:02 137160069                  /usr/lib64/librt-2.31.9000.so
| 7f76dc851000-7f76dc853000 r--p 00007000 fc:02 137160069                  /usr/lib64/librt-2.31.9000.so
| 7f76dc853000-7f76dc854000 r--p 00008000 fc:02 137160069                  /usr/lib64/librt-2.31.9000.so
| 7f76dc854000-7f76dc855000 rw-p 00009000 fc:02 137160069                  /usr/lib64/librt-2.31.9000.so
| 7f76dc855000-7f76dc85c000 r--p 00000000 fc:02 137160065                  /usr/lib64/libpthread-2.31.9000.so
| 7f76dc85c000-7f76dc86c000 r-xp 00007000 fc:02 137160065                  /usr/lib64/libpthread-2.31.9000.so
| 7f76dc86c000-7f76dc871000 r--p 00017000 fc:02 137160065                  /usr/lib64/libpthread-2.31.9000.so
| 7f76dc871000-7f76dc872000 r--p 0001b000 fc:02 137160065                  /usr/lib64/libpthread-2.31.9000.so
| 7f76dc872000-7f76dc873000 rw-p 0001c000 fc:02 137160065                  /usr/lib64/libpthread-2.31.9000.so
| 7f76dc873000-7f76dc877000 rw-p 00000000 00:00 0 
| 7f76dc877000-7f76dc89c000 r--p 00000000 fc:02 137156851                  /usr/lib64/libc-2.31.9000.so
| 7f76dc89c000-7f76dc9ed000 r-xp 00025000 fc:02 137156851                  /usr/lib64/libc-2.31.9000.so
| 7f76dc9ed000-7f76dca38000 r--p 00176000 fc:02 137156851                  /usr/lib64/libc-2.31.9000.so
| 7f76dca38000-7f76dca39000 ---p 001c1000 fc:02 137156851                  /usr/lib64/libc-2.31.9000.so
| 7f76dca39000-7f76dca3c000 r--p 001c1000 fc:02 137156851                  /usr/lib64/libc-2.31.9000.so
| 7f76dca3c000-7f76dca3f000 rw-p 001c4000 fc:02 137156851                  /usr/lib64/libc-2.31.9000.so
| 7f76dca3f000-7f76dca43000 rw-p 00000000 00:00 0 
| 7f76dca46000-7f76dca74000 r--p 00000000 fc:02 145031565                  /builddir/build/BUILD/ruby-2.7.1/libruby.so.2.7.1
| 7f76dca74000-7f76dcc8d000 r-xp 0002e000 fc:02 145031565                  /builddir/build/BUILD/ruby-2.7.1/libruby.so.2.7.1
| 7f76dcc8d000-7f76dcd85000 r--p 00247000 fc:02 145031565                  /builddir/build/BUILD/ruby-2.7.1/libruby.so.2.7.1
| 7f76dcd85000-7f76dcd8e000 r--p 0033e000 fc:02 145031565                  /builddir/build/BUILD/ruby-2.7.1/libruby.so.2.7.1
| 7f76dcd8e000-7f76dcd8f000 rw-p 00347000 fc:02 145031565                  /builddir/build/BUILD/ruby-2.7.1/libruby.so.2.7.1
| 7f76dcd8f000-7f76dcda9000 rw-p 00000000 00:00 0 
| 7f76dcda9000-7f76dcdaa000 r--p 00000000 fc:02 137156844                  /usr/lib64/ld-2.31.9000.so
| 7f76dcdaa000-7f76dcdcb000 r-xp 00001000 fc:02 137156844                  /usr/lib64/ld-2.31.9000.so
| 7f76dcdcb000-7f76dcdd3000 r--p 00022000 fc:02 137156844                  /usr/lib64/ld-2.31.9000.so
| 7f76dcdd4000-7f76dcdd5000 r--p 0002a000 fc:02 137156844                  /usr/lib64/ld-2.31.9000.so
| 7f76dcdd5000-7f76dcdd7000 rw-p 0002b000 fc:02 137156844                  /usr/lib64/ld-2.31.9000.so
| 7ffdc405f000-7ffdc485e000 rw-p 00000000 00:00 0                          [stack]
| 7ffdc48d0000-7ffdc48d4000 r--p 00000000 00:00 0                          [vvar]
| 7ffdc48d4000-7ffdc48d6000 r-xp 00000000 00:00 0                          [vdso]
| ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
| 
| 
| Sample bug reporter: 12345
    test/-ext-/bug_reporter/test_bug_reporter.rb:22:in `test_bug_reporter_add'
Finished tests in 12.019894s, 0.0832 tests/s, 0.0000 assertions/s.
1 tests, 0 assertions, 0 failures, 1 errors, 0 skips
ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
~~~

I also triggered this on i686 after 607 iterations. So can somebody please help to address this?

----------------------------------------
Bug #16492: TestBugReporter#test_bug_reporter_add test failures
https://bugs.ruby-lang.org/issues/16492#change-86312

* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [s390x-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Building Ruby packages on Fedora, in 90% of cases, I observe the following error on s390:

~~~
  1) Error:
TestBugReporter#test_bug_reporter_add:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 2061293 killed by SIGKILL (signal 9)
| 
| -:1: [BUG] Segmentation fault at 0x001f73ed000003e8
| ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [s390x-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:000430 (none) [FINISH]
| 
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
| 
| -- Other runtime information -----------------------------------------------
| 
| * Loaded script: -
| 
| * Loaded features:
| 
|     0 enumerator.so
|     1 thread.rb
|     2 rational.so
|     3 complex.so
|     4 ruby2_keywords.rb
|     5 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/encdb.so
|     6 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/trans/transdb.so
|     7 /builddir/build/BUILD/ruby-2.7.0/abrt.rb
|     8 /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/-test-/bug_reporter.so
| 
| * Process memory map:
| 
| 2aa27a00000-2aa27a01000 r-xp 00000000 fc:03 1845127                      /builddir/build/BUILD/ruby-2.7.0/ruby
| 2aa27a01000-2aa27a02000 r--p 00000000 fc:03 1845127                      /builddir/build/BUILD/ruby-2.7.0/ruby
| 2aa27a02000-2aa27a03000 rw-p 00001000 fc:03 1845127                      /builddir/build/BUILD/ruby-2.7.0/ruby
| 2aa28a7e000-2aa28bfe000 rw-p 00000000 00:00 0                            [heap]
| 3ff9ff80000-3ff9ff81000 r-xp 00000000 fc:03 1844756                      /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/-test-/bug_reporter.so
| 3ff9ff81000-3ff9ff82000 r--p 00000000 fc:03 1844756                      /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/-test-/bug_reporter.so
| 3ff9ff82000-3ff9ff83000 rw-p 00000000 00:00 0 
| 3ffa0000000-3ffa0002000 r-xp 00000000 fc:03 1844387                      /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/trans/transdb.so
| 3ffa0002000-3ffa0003000 r--p 00001000 fc:03 1844387                      /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/trans/transdb.so
| 3ffa0003000-3ffa0004000 rw-p 00000000 00:00 0 
| 3ffa0036000-3ffa0037000 ---p 00000000 00:00 0 
| 3ffa0037000-3ffa0078000 rw-p 00000000 00:00 0 
| 3ffa0078000-3ffa0079000 ---p 00000000 00:00 0 
| 3ffa0079000-3ffa00ba000 rw-p 00000000 00:00 0 
| 3ffa00ba000-3ffa00bb000 ---p 00000000 00:00 0 
| 3ffa00bb000-3ffa00fc000 rw-p 00000000 00:00 0 
| 3ffa00fc000-3ffa00fd000 ---p 00000000 00:00 0 
| 3ffa00fd000-3ffa013e000 rw-p 00000000 00:00 0 
| 3ffa013e000-3ffa013f000 ---p 00000000 00:00 0 
| 3ffa013f000-3ffa0180000 rw-p 00000000 00:00 0 
| 3ffa0180000-3ffa0181000 ---p 00000000 00:00 0 
| 3ffa0181000-3ffa01c2000 rw-p 00000000 00:00 0 
| 3ffa01c2000-3ffa01c3000 ---p 00000000 00:00 0 
| 3ffa01c3000-3ffa0204000 rw-p 00000000 00:00 0 
| 3ffa0204000-3ffa0205000 ---p 00000000 00:00 0 
| 3ffa0205000-3ffa0246000 rw-p 00000000 00:00 0 
| 3ffa0246000-3ffa0247000 ---p 00000000 00:00 0 
| 3ffa0247000-3ffa0288000 rw-p 00000000 00:00 0 
| 3ffa0288000-3ffa0289000 ---p 00000000 00:00 0 
| 3ffa0289000-3ffa02ca000 rw-p 00000000 00:00 0 
| 3ffa02ca000-3ffa02cb000 ---p 00000000 00:00 0 
| 3ffa02cb000-3ffa030c000 rw-p 00000000 00:00 0 
| 3ffa030c000-3ffa030d000 ---p 00000000 00:00 0 
| 3ffa030d000-3ffa034e000 rw-p 00000000 00:00 0 
| 3ffa034e000-3ffa034f000 ---p 00000000 00:00 0 
| 3ffa034f000-3ffa0390000 rw-p 00000000 00:00 0 
| 3ffa0390000-3ffa0391000 ---p 00000000 00:00 0 
| 3ffa0391000-3ffa03d2000 rw-p 00000000 00:00 0 
| 3ffa03d2000-3ffa03d3000 ---p 00000000 00:00 0 
| 3ffa03d3000-3ffa0414000 rw-p 00000000 00:00 0 
| 3ffa0414000-3ffa0415000 ---p 00000000 00:00 0 
| 3ffa0415000-3ffa0456000 rw-p 00000000 00:00 0 
| 3ffa0456000-3ffa0457000 ---p 00000000 00:00 0 
| 3ffa0457000-3ffa0498000 rw-p 00000000 00:00 0 
| 3ffa0498000-3ffa0499000 ---p 00000000 00:00 0 
| 3ffa0499000-3ffa04da000 rw-p 00000000 00:00 0 
| 3ffa04da000-3ffa04db000 ---p 00000000 00:00 0 
| 3ffa04db000-3ffa051c000 rw-p 00000000 00:00 0 
| 3ffa051c000-3ffa051d000 ---p 00000000 00:00 0 
| 3ffa051d000-3ffa055e000 rw-p 00000000 00:00 0 
| 3ffa055e000-3ffa055f000 ---p 00000000 00:00 0 
| 3ffa055f000-3ffa05a0000 rw-p 00000000 00:00 0 
| 3ffa05a0000-3ffa05a1000 ---p 00000000 00:00 0 
| 3ffa05a1000-3ffa05e2000 rw-p 00000000 00:00 0 
| 3ffa05e2000-3ffa05e3000 ---p 00000000 00:00 0 
| 3ffa05e3000-3ffa0624000 rw-p 00000000 00:00 0 
| 3ffa0624000-3ffa0625000 ---p 00000000 00:00 0 
| 3ffa0625000-3ffa0666000 rw-p 00000000 00:00 0 
| 3ffa0666000-3ffa0667000 ---p 00000000 00:00 0 
| 3ffa0667000-3ffa06a8000 rw-p 00000000 00:00 0 
| 3ffa06a8000-3ffa06a9000 ---p 00000000 00:00 0 
| 3ffa06a9000-3ffa06ea000 rw-p 00000000 00:00 0 
| 3ffa06ea000-3ffa06eb000 ---p 00000000 00:00 0 
| 3ffa06eb000-3ffa072c000 rw-p 00000000 00:00 0 
| 3ffa072c000-3ffa072d000 ---p 00000000 00:00 0 
| 3ffa072d000-3ffa076e000 rw-p 00000000 00:00 0 
| 3ffa076e000-3ffa076f000 ---p 00000000 00:00 0 
| 3ffa076f000-3ffa07b0000 rw-p 00000000 00:00 0 
| 3ffa07b0000-3ffa07b1000 ---p 00000000 00:00 0 
| 3ffa07b1000-3ffa07f2000 rw-p 00000000 00:00 0 
| 3ffa07f2000-3ffa07f3000 ---p 00000000 00:00 0 
| 3ffa07f3000-3ffa0834000 rw-p 00000000 00:00 0 
| 3ffa0834000-3ffa0835000 ---p 00000000 00:00 0 
| 3ffa0835000-3ffa2980000 rw-p 00000000 00:00 0 
| 3ffa2980000-3ffa2a17000 r-xp 00000000 fc:03 1813828                      /usr/lib64/libm-2.30.9000.so
| 3ffa2a17000-3ffa2a18000 r--p 00096000 fc:03 1813828                      /usr/lib64/libm-2.30.9000.so
| 3ffa2a18000-3ffa2a19000 rw-p 00097000 fc:03 1813828                      /usr/lib64/libm-2.30.9000.so
| 3ffa2a80000-3ffa2ab2000 r-xp 00000000 fc:03 1814596                      /usr/lib64/libcrypt.so.2.0.0
| 3ffa2ab2000-3ffa2ab3000 ---p 00032000 fc:03 1814596                      /usr/lib64/libcrypt.so.2.0.0
| 3ffa2ab3000-3ffa2ab4000 r--p 00032000 fc:03 1814596                      /usr/lib64/libcrypt.so.2.0.0
| 3ffa2ab4000-3ffa2abd000 rw-p 00000000 00:00 0 
| 3ffa2b00000-3ffa2b03000 r-xp 00000000 fc:03 1813826                      /usr/lib64/libdl-2.30.9000.so
| 3ffa2b03000-3ffa2b04000 r--p 00002000 fc:03 1813826                      /usr/lib64/libdl-2.30.9000.so
| 3ffa2b04000-3ffa2b05000 rw-p 00000000 00:00 0 
| 3ffa2b80000-3ffa2c05000 r-xp 00000000 fc:03 1814658                      /usr/lib64/libgmp.so.10.3.2
| 3ffa2c05000-3ffa2c07000 r--p 00084000 fc:03 1814658                      /usr/lib64/libgmp.so.10.3.2
| 3ffa2c07000-3ffa2c08000 rw-p 00086000 fc:03 1814658                      /usr/lib64/libgmp.so.10.3.2
| 3ffa2c80000-3ffa2c88000 r-xp 00000000 fc:03 1813840                      /usr/lib64/librt-2.30.9000.so
| 3ffa2c88000-3ffa2c89000 r--p 00007000 fc:03 1813840                      /usr/lib64/librt-2.30.9000.so
| 3ffa2c89000-3ffa2c8a000 rw-p 00008000 fc:03 1813840                      /usr/lib64/librt-2.30.9000.so
| 3ffa2d00000-3ffa2d1e000 r-xp 00000000 fc:03 1813836                      /usr/lib64/libpthread-2.30.9000.so
| 3ffa2d1e000-3ffa2d1f000 r--p 0001d000 fc:03 1813836                      /usr/lib64/libpthread-2.30.9000.so
| 3ffa2d1f000-3ffa2d20000 rw-p 0001e000 fc:03 1813836                      /usr/lib64/libpthread-2.30.9000.so
| 3ffa2d20000-3ffa2d24000 rw-p 00000000 00:00 0 
| 3ffa2d80000-3ffa2f1e000 r-xp 00000000 fc:03 1813824                      /usr/lib64/libc-2.30.9000.so
| 3ffa2f1e000-3ffa2f22000 r--p 0019d000 fc:03 1813824                      /usr/lib64/libc-2.30.9000.so
| 3ffa2f22000-3ffa2f25000 rw-p 001a1000 fc:03 1813824                      /usr/lib64/libc-2.30.9000.so
| 3ffa2f25000-3ffa2f28000 rw-p 00000000 00:00 0 
| 3ffa2f80000-3ffa2f82000 r-xp 00000000 fc:03 1844333                      /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/encdb.so
| 3ffa2f82000-3ffa2f83000 r--p 00001000 fc:03 1844333                      /builddir/build/BUILD/ruby-2.7.0/.ext/s390x-linux/enc/encdb.so
| 3ffa2f83000-3ffa2f84000 rw-p 00000000 00:00 0 
| 3ffa3000000-3ffa336e000 r-xp 00000000 fc:03 1844256                      /builddir/build/BUILD/ruby-2.7.0/libruby.so.2.7.0
| 3ffa336e000-3ffa3377000 r--p 0036d000 fc:03 1844256                      /builddir/build/BUILD/ruby-2.7.0/libruby.so.2.7.0
| 3ffa3377000-3ffa3378000 rw-p 00376000 fc:03 1844256                      /builddir/build/BUILD/ruby-2.7.0/libruby.so.2.7.0
| 3ffa3378000-3ffa338f000 rw-p 00000000 00:00 0 
| 3ffa3400000-3ffa3426000 r-xp 00000000 fc:03 1813817                      /usr/lib64/ld-2.30.9000.so
| 3ffa3426000-3ffa3427000 r--p 00025000 fc:03 1813817                      /usr/lib64/ld-2.30.9000.so
| 3ffa3427000-3ffa3428000 rw-p 00026000 fc:03 1813817                      /usr/lib64/ld-2.30.9000.so
| 3ffa3428000-3ffa3429000 rw-p 00000000 00:00 0 
| 3ffa3476000-3ffa347e000 rw-p 00000000 00:00 0 
| 3ffa347e000-3ffa3480000 r-xp 00000000 00:00 0                            [vdso]
| 3ffc5301000-3ffc5b00000 rw-p 00000000 00:00 0                            [stack]
| 
| 
| Sample bug reporter: 12345
    /builddir/build/BUILD/ruby-2.7.0/test/-ext-/bug_reporter/test_bug_reporter.rb:22:in `test_bug_reporter_add'
Finished tests in 544.051367s, 38.5515 tests/s, 4998.1953 assertions/s.
20974 tests, 2719275 assertions, 0 failures, 1 errors, 68 skips
ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [s390x-linux]
~~~

Since the default timeout is 10s, I tried to increase the timeout to 30s via simple `sed -i '/assert_in_out_err/ s/)/, timeout: 30)/' test/-ext-/bug_reporter/test_bug_reporter.rb` and this seems to help to avoid this issue.

However, I am not really sure why s390x is so slow handling this test case :/



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>