<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/readline, branch v3_2_4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>readline: Skip the test_interrupt_in_other_thread on arm32.</title>
<updated>2024-01-31T10:43:45+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>jaruga@redhat.com</email>
</author>
<published>2024-01-03T16:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aefc98891c42024039f19ef45bdfe93fbc590b7c'/>
<id>aefc98891c42024039f19ef45bdfe93fbc590b7c</id>
<content type='text'>
Skip the test_interrupt_in_other_thread test failing on Travis arm32.
The failing test is not a new issue. It had already been skipped in .travis.yml
before updating .travis.yml.
https://github.com/ruby/ruby/blob/7b05cb8dbbd637910757f402e64da3908b4bb809/.travis.yml#L99-L101

Note that RUBY_PLATFORM is "armv8l-linux-eabihf" on Travis arm32 pipeline.
And the readline was deleted in both master and ruby_3_3 branches.
https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535

So, we only need this commit on ruby_3_2 and older Ruby version branches.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip the test_interrupt_in_other_thread test failing on Travis arm32.
The failing test is not a new issue. It had already been skipped in .travis.yml
before updating .travis.yml.
https://github.com/ruby/ruby/blob/7b05cb8dbbd637910757f402e64da3908b4bb809/.travis.yml#L99-L101

Note that RUBY_PLATFORM is "armv8l-linux-eabihf" on Travis arm32 pipeline.
And the readline was deleted in both master and ruby_3_3 branches.
https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535

So, we only need this commit on ruby_3_2 and older Ruby version branches.
</pre>
</div>
</content>
</entry>
<entry>
<title>test_readline#test_without_tty: Use EnvUtil.rubybin</title>
<updated>2022-12-21T00:40:09+00:00</updated>
<author>
<name>Sorah Fukumori</name>
<email>her@sorah.jp</email>
</author>
<published>2022-01-08T05:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=47988e63d65098ce1e6484f03ae5e2ca42bd7963'/>
<id>47988e63d65098ce1e6484f03ae5e2ca42bd7963</id>
<content type='text'>
`ruby` is not always available in certain build environments and
configure options. Choose appropriate command line using EnvUtil.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`ruby` is not always available in certain build environments and
configure options. Choose appropriate command line using EnvUtil.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase wait time</title>
<updated>2021-12-24T15:20:53+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-24T15:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=20dae14ba92c0adf1e47ab4df1a92416d27f35db'/>
<id>20dae14ba92c0adf1e47ab4df1a92416d27f35db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Wait for output results to test correctly</title>
<updated>2021-12-24T15:20:53+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-24T15:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a88169bbe94f3ee767ae59a3af3038987204b21e'/>
<id>a88169bbe94f3ee767ae59a3af3038987204b21e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Output log after loading class to test</title>
<updated>2021-12-24T13:29:06+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-24T13:28:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0aca70e559566a9e834ae7bfcd7f8a06bfd9376b'/>
<id>0aca70e559566a9e834ae7bfcd7f8a06bfd9376b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add logging about timeout</title>
<updated>2021-12-24T11:55:59+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-24T11:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0fbf1f193a863a2aa2d69621b530668a268e539a'/>
<id>0fbf1f193a863a2aa2d69621b530668a268e539a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Kill process before assertion fails</title>
<updated>2021-12-24T11:44:02+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-24T11:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5138ef3875ca3ee7fc94cea536cb4f9cb50ea3fd'/>
<id>5138ef3875ca3ee7fc94cea536cb4f9cb50ea3fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move embedded lines outside the here document</title>
<updated>2021-12-24T08:33:45+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-10-09T14:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=517964d57b9340fc1e0525da56dcd567050e8537'/>
<id>517964d57b9340fc1e0525da56dcd567050e8537</id>
<content type='text'>
So that the actually run test code corresponds to the source file
line-by-line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that the actually run test code corresponds to the source file
line-by-line.
</pre>
</div>
</content>
</entry>
<entry>
<title>Set time limit for waiting for terminating process within a test</title>
<updated>2021-12-24T08:12:01+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-12-24T07:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f8a0ef30b20207aa57cce9537babcc283d8f6a4d'/>
<id>f8a0ef30b20207aa57cce9537babcc283d8f6a4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test/readline/test_readline.rb: skip a test on i686-linux</title>
<updated>2021-11-09T05:52:48+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-11-09T05:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6cf7c0a48fb07a765d447404aba33636d9d87c89'/>
<id>6cf7c0a48fb07a765d447404aba33636d9d87c89</id>
<content type='text'>
... because readline library (or libtinfo) seems to cause SEGV
internally even with Readline 8.1.

This SEGV is caught as SystemStackError, which leads to a test failure.
http://rubyci.s3.amazonaws.com/debian-i386/ruby-master/log/20211109T030008Z.fail.html.gz
```
  1) Failure:
TestReadline#test_interrupt_in_other_thread [/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/ruby/test/readline/test_readline.rb:568]:
Unknown failure with exit status pid 13097 exit 1
Log: ** START **Readline::VERSION is 8.1.
/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `readline': stack level too deep (SystemStackError)
	from /home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `block in &lt;main&gt;'
/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `readline': stack level too deep (SystemStackError)
	from /home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `block in &lt;main&gt;'
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... because readline library (or libtinfo) seems to cause SEGV
internally even with Readline 8.1.

This SEGV is caught as SystemStackError, which leads to a test failure.
http://rubyci.s3.amazonaws.com/debian-i386/ruby-master/log/20211109T030008Z.fail.html.gz
```
  1) Failure:
TestReadline#test_interrupt_in_other_thread [/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/ruby/test/readline/test_readline.rb:568]:
Unknown failure with exit status pid 13097 exit 1
Log: ** START **Readline::VERSION is 8.1.
/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `readline': stack level too deep (SystemStackError)
	from /home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `block in &lt;main&gt;'
/home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `readline': stack level too deep (SystemStackError)
	from /home/chkbuild/chkbuild/tmp/build/20211109T030008Z/tmp/interrupt_in_other_thread20211109-6272-kcfqxo:13:in `block in &lt;main&gt;'
```
</pre>
</div>
</content>
</entry>
</feed>
