[ruby-core:120355] [Ruby master Bug#20975] TestEval#test_outer_local_variable_under_gc_compact_stress failure on s390x
From:
"mtasaka (Mamoru TASAKA) via ruby-core" <ruby-core@...>
Date:
2024-12-21 15:03:35 UTC
List:
ruby-core #120355
Issue #20975 has been reported by mtasaka (Mamoru TASAKA).
----------------------------------------
Bug #20975: TestEval#test_outer_local_variable_under_gc_compact_stress failure on s390x
https://bugs.ruby-lang.org/issues/20975
* Author: mtasaka (Mamoru TASAKA)
* Status: Open
* ruby -v: ruby 3.4.0dev (2024-12-21 master 6114094aa0)
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
Trying with commit:6114094aa049ffcf3202254933e5da1552837c32 :
testsuite on s390x shows error:
```
205) Error:
TestEval#test_outer_local_variable_under_gc_compact_stress:
RuntimeError: compaction doesn't work well on s390x. Omit the test in the caller.
/builddir/build/BUILD/ruby-3.4.0_20241221.1252git6114094aa0-build/ruby-3.4.0-6114094aa0/tool/lib/envutil.rb:261:in 'EnvUtil.under_gc_compact_stress'
/builddir/build/BUILD/ruby-3.4.0_20241221.1252git6114094aa0-build/ruby-3.4.0-6114094aa0/test/ruby/test_eval.rb:649:in '<main>'
/builddir/build/BUILD/ruby-3.4.0_20241221.1252git6114094aa0-build/ruby-3.4.0-6114094aa0/test/ruby/test_eval.rb:643:in 'TestEval#test_outer_local_variable_under_gc_compact_stress'
Finished tests in 672.150857s, 47.6857 tests/s, 9724.2724 assertions/s.
32052 tests, 6536178 assertions, 0 failures, 1 errors, 204 skips
ruby -v: ruby 3.4.0dev (2024-12-21 master 6114094aa0) +PRISM [s390x-linux]
make: *** [uncommon.mk:964: yes-test-all] Error 1
```
Perhaps starting from commit:e23a60b929cff951252167935e8868b69ae3dc74 .
Looks like there is some confusion about how tests should be skipped wrt
GC compaction on s390x?
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/