[ruby-core:114471] [Ruby master Bug#12500] TestProcess#test_aspawn_too_long_path fails on mips with "argument too big"
From:
"jeremyevans0 (Jeremy Evans) via ruby-core" <ruby-core@...>
Date:
2023-08-23 20:16:44 UTC
List:
ruby-core #114471
Issue #12500 has been updated by jeremyevans0 (Jeremy Evans). I submitted a pull request to handle this ArgumentError: https://github.com= /ruby/ruby/pull/8270=20 ---------------------------------------- Bug #12500: TestProcess#test_aspawn_too_long_path fails on mips with "argum= ent too big" https://bugs.ruby-lang.org/issues/12500#change-104244 * Author: zeha (Christian Hofstaedtler) * Status: Open * Priority: Normal * ruby -v: ruby 2.3.1p112 (2016-04-26) [mips-linux-gnu] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: REQUIRED ---------------------------------------- Recently in Debian we've enabled `make check` and this is one of the test f= ailures we get for ruby2.3, on mips: ``` TestProcess#test_aspawn_too_long_path [/=ABPKGBUILDDIR=BB/test/ruby/test_pr= ocess.rb:1602]: [ruby-core:34833] #7904 [ruby-core:52628] #11613. [Errno::ENOENT, Errno::E2BIG] exception expected, not. Class: <ArgumentError> Message: <"argument too big"> ---Backtrace--- /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1619:in `*' /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1619:in `block (3 levels) in a= ssert_fail_too_long_path' /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1616:in `loop' /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1616:in `block (2 levels) in a= ssert_fail_too_long_path' /=ABPKGBUILDDIR=BB/test/lib/test/unit/assertions.rb:74:in `assert_raise' /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1614:in `block in assert_fail_= too_long_path' /=ABPKGBUILDDIR=BB/test/lib/envutil.rb:159:in `suppress_warning' /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1613:in `assert_fail_too_long_= path' /=ABPKGBUILDDIR=BB/test/ruby/test_process.rb:1602:in `test_aspawn_too_long_= path' /=ABPKGBUILDDIR=BB/test/lib/test/unit.rb:1018:in `run_test' --------------- ``` I think is caused by some array or string mangling code used by Process.spa= wn, but can't be sure. Please also backport any fixes for this to 2.3. --=20 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/postorius/lists/ruby-c= ore.ml.ruby-lang.org/