<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/bootstraptest/test_fork.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Fail test if child process exists non-zero</title>
<updated>2025-03-26T02:14:26+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-03-25T19:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=be6954f5d466f4b274505e4f14bcad291d0b0989'/>
<id>be6954f5d466f4b274505e4f14bcad291d0b0989</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Fix broken CI. (#12963)"</title>
<updated>2025-03-24T04:25:07+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-03-24T01:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ef7c7f9e77777477b8f6cdd72f92f9650afafdb4'/>
<id>ef7c7f9e77777477b8f6cdd72f92f9650afafdb4</id>
<content type='text'>
This reverts commit eb91c664dc0b4d69db09ae913f2d7a5ef3490d74.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit eb91c664dc0b4d69db09ae913f2d7a5ef3490d74.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken CI. (#12963)</title>
<updated>2025-03-22T23:49:18+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2025-03-22T23:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb91c664dc0b4d69db09ae913f2d7a5ef3490d74'/>
<id>eb91c664dc0b4d69db09ae913f2d7a5ef3490d74</id>
<content type='text'>
* Increase timeout to fix flaky tests?

* Fix bundler test - wording changed.

expect "fatal: Remote branch deadbeef not found in upstream origin" to
include "Revision deadbeef does not exist in the repository"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Increase timeout to fix flaky tests?

* Fix bundler test - wording changed.

expect "fatal: Remote branch deadbeef not found in upstream origin" to
include "Revision deadbeef does not exist in the repository"</pre>
</div>
</content>
</entry>
<entry>
<title>Extend the timeout of fork-exit bootstraptest</title>
<updated>2024-11-21T10:23:15+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-11-21T09:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cabfaa9fb4731c0b82847f51f0b5266f8c78415f'/>
<id>cabfaa9fb4731c0b82847f51f0b5266f8c78415f</id>
<content type='text'>
It often fails randomly.

http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-noble-docker/5421564
```
 Fstderr output is not empty
   bootstraptest.test_fork.rb_78_287.rb:16:in 'block in &lt;main&gt;': failed (RuntimeError)
           from &lt;internal:numeric&gt;:257:in 'Integer#times'
           from bootstraptest.test_fork.rb_78_287.rb:10:in '&lt;main&gt;'
```

I'm not sure why the frequency of failure has suddenly increased,
though.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It often fails randomly.

http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-noble-docker/5421564
```
 Fstderr output is not empty
   bootstraptest.test_fork.rb_78_287.rb:16:in 'block in &lt;main&gt;': failed (RuntimeError)
           from &lt;internal:numeric&gt;:257:in 'Integer#times'
           from bootstraptest.test_fork.rb_78_287.rb:10:in '&lt;main&gt;'
```

I'm not sure why the frequency of failure has suddenly increased,
though.
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-initialize vm-&gt;ractor.sched.lock after fork</title>
<updated>2024-08-13T18:52:24+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2024-08-08T09:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87a85550edd786665e081b355c6af62c4854b1d7'/>
<id>87a85550edd786665e081b355c6af62c4854b1d7</id>
<content type='text'>
Previously under certain conditions it was possible to encounter a
deadlock in the forked child process if ractor.sched.lock was held.

Co-authored-by: Nathan Froyd &lt;froydnj@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously under certain conditions it was possible to encounter a
deadlock in the forked child process if ractor.sched.lock was held.

Co-authored-by: Nathan Froyd &lt;froydnj@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bootstraptest/test_fork.rb: Stop too restrict NPROC test temporarily</title>
<updated>2018-01-09T08:05:40+00:00</updated>
<author>
<name>mame</name>
<email>mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-01-09T08:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=60bb4fcdf615e20b39d7726b6ff7c0d84b7c8475'/>
<id>60bb4fcdf615e20b39d7726b6ff7c0d84b7c8475</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* bootstraptest/test_fork.rb ([ruby-dev:37934]): :NPROC (RLIMIT_NPROC)</title>
<updated>2015-11-10T08:50:06+00:00</updated>
<author>
<name>ngoto</name>
<email>ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2015-11-10T08:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b935a13ba559a6993f6fcbdcc1096ef6b2d41b02'/>
<id>b935a13ba559a6993f6fcbdcc1096ef6b2d41b02</id>
<content type='text'>
  is not supported on some platforms (e.g. Solaris 10).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  is not supported on some platforms (e.g. Solaris 10).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>test_fork.rb: wait signals</title>
<updated>2014-06-28T18:12:47+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2014-06-28T18:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f1cf168bcfc93d0f85c97594f902212b2ee16fba'/>
<id>f1cf168bcfc93d0f85c97594f902212b2ee16fba</id>
<content type='text'>
* bootstraptest/test_fork.rb: wait until receiving both singals,
  upto 0.1sec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bootstraptest/test_fork.rb: wait until receiving both singals,
  upto 0.1sec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>bootstraptest/test_{fork,io,thread}.rb: reduce sleep times</title>
<updated>2014-06-07T19:57:46+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2014-06-07T19:57:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=85521e60eef7eee999cf1c0c0e460cabdeaa6f7f'/>
<id>85521e60eef7eee999cf1c0c0e460cabdeaa6f7f</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* thread.c (rb_threadptr_check_signal): only wake up main thread.</title>
<updated>2011-06-30T22:29:34+00:00</updated>
<author>
<name>ko1</name>
<email>ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2011-06-30T22:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fa4514e4fedc1e1390200e3901e2add22a4a27b4'/>
<id>fa4514e4fedc1e1390200e3901e2add22a4a27b4</id>
<content type='text'>
* thread.c (rb_threadptr_execute_interrupts_common): check signal
  deliverly if it is main thread.
  fixes [ruby-dev:44005] [Ruby 1.9 - Bug #4950]
* bootstraptest/test_fork.rb: add a test for above.
* signal.c (rb_get_next_signal): skip if signal_buff is empty.
  (check signal_buff.size first)
* vm_core.h: remove unused variable rb_thread_t::exec_signal.
* thread.c (rb_thread_check_trap_pending): check
  rb_signal_buff_size() because rb_thread_t::exec_signal
  is no longer available.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* thread.c (rb_threadptr_execute_interrupts_common): check signal
  deliverly if it is main thread.
  fixes [ruby-dev:44005] [Ruby 1.9 - Bug #4950]
* bootstraptest/test_fork.rb: add a test for above.
* signal.c (rb_get_next_signal): skip if signal_buff is empty.
  (check signal_buff.size first)
* vm_core.h: remove unused variable rb_thread_t::exec_signal.
* thread.c (rb_thread_check_trap_pending): check
  rb_signal_buff_size() because rb_thread_t::exec_signal
  is no longer available.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
