Forum: Ruby-dev [Ruby 1.9 - Bug #4439] [Assigned] TestBeginEndBlock#test should propagate signaled が必ず1度失敗する

Posted by Motohiro KOSAKI (Guest)
on 2011-02-24 14:18
(Received via mailing list)
Issue #4439 has been reported by Motohiro KOSAKI.

----------------------------------------
Bug #4439: TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
http://redmine.ruby-lang.org/issues/4439

Author: Motohiro KOSAKI
Status: Assigned
Priority: Low
Assignee: Shota Fukumori
Category: test
Target version: 1.9.x
ruby -v: ruby 1.9.3dev (2011-02-24 trunk 30951) [x86_64-linux]


% make test-all TESTS="-v  test/ruby/test_beginendblock.rb -j2"

のように、test_beginendblock.rbを並列実行すると

--------------------------------------------------------
# Running tests:

TestBeginEndBlock#test_beginendblock = 0.17 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.21 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 5.03 s = F

Retrying...

TestBeginEndBlock#test_beginendblock = 0.13 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.20 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 0.14 s = .


Finished tests in 6.488242s, 1.3871 tests/s, 2.9284 assertions/s.

9 tests, 19 assertions, 0 failures, 0 errors, 0 skips
Posted by sorah (Shota Fukumori) (Guest)
on 2013-02-17 11:45
(Received via mailing list)
Issue #4439 has been updated by sorah (Shota Fukumori).

Description updated
Status changed from Assigned to Feedback
ruby -v changed from ruby 1.9.3dev (2011-02-24 trunk 30951) 
[x86_64-linux] to ruby 2.0.0dev (2013-02-17 trunk 39291) 
[x86_64-darwin12.2.0]

=begin
Can't reproduce on OS X 10.8 with both ruby_2_0_0 and trunk:

* ruby 2.0.0dev (2013-02-17 trunk 39291) [x86_64-darwin12.2.0]
* ruby 2.0.0dev (2013-02-16 trunk 39280) [x86_64-darwin12.2.0]

Maybe able to reproduce on Linux?
=end

----------------------------------------
Bug #4439: TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
https://bugs.ruby-lang.org/issues/4439#change-36424

Author: kosaki (Motohiro KOSAKI)
Status: Feedback
Priority: Low
Assignee: sorah (Shota Fukumori)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-17 trunk 39291) [x86_64-darwin12.2.0]


=begin
% make test-all TESTS="-v  test/ruby/test_beginendblock.rb -j2"

のように、test_beginendblock.rbを並列実行すると

--------------------------------------------------------
# Running tests:

TestBeginEndBlock#test_beginendblock = 0.17 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.21 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 5.03 s = F

Retrying...

TestBeginEndBlock#test_beginendblock = 0.13 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.20 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 0.14 s = .


Finished tests in 6.488242s, 1.3871 tests/s, 2.9284 assertions/s.

9 tests, 19 assertions, 0 failures, 0 errors, 0 skips
Posted by sorah (Shota Fukumori) (Guest)
on 2013-02-17 12:05
(Received via mailing list)
Issue #4439 has been updated by sorah (Shota Fukumori).


Also can't reproduce at "ruby 1.9.3p362 (2012-12-25 revision 38607) 
[x86_64-darwin12.2.0]"
----------------------------------------
Bug #4439: TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
https://bugs.ruby-lang.org/issues/4439#change-36428

Author: kosaki (Motohiro KOSAKI)
Status: Feedback
Priority: Low
Assignee: sorah (Shota Fukumori)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-17 trunk 39291) [x86_64-darwin12.2.0]


=begin
% make test-all TESTS="-v  test/ruby/test_beginendblock.rb -j2"

のように、test_beginendblock.rbを並列実行すると

--------------------------------------------------------
# Running tests:

TestBeginEndBlock#test_beginendblock = 0.17 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.21 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 5.03 s = F

Retrying...

TestBeginEndBlock#test_beginendblock = 0.13 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.20 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 0.14 s = .


Finished tests in 6.488242s, 1.3871 tests/s, 2.9284 assertions/s.

9 tests, 19 assertions, 0 failures, 0 errors, 0 skips
Posted by sorah (Shota Fukumori) (Guest)
on 2013-02-17 13:06
(Received via mailing list)
Issue #4439 has been updated by sorah (Shota Fukumori).

Status changed from Feedback to Closed


----------------------------------------
Bug #4439: TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
https://bugs.ruby-lang.org/issues/4439#change-36432

Author: kosaki (Motohiro KOSAKI)
Status: Closed
Priority: Low
Assignee: sorah (Shota Fukumori)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-17 trunk 39291) [x86_64-darwin12.2.0]


=begin
% make test-all TESTS="-v  test/ruby/test_beginendblock.rb -j2"

のように、test_beginendblock.rbを並列実行すると

--------------------------------------------------------
# Running tests:

TestBeginEndBlock#test_beginendblock = 0.17 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.21 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 5.03 s = F

Retrying...

TestBeginEndBlock#test_beginendblock = 0.13 s = .
TestBeginEndBlock#test_begininclass = 0.00 s = .
TestBeginEndBlock#test_begininmethod = 0.00 s = .
TestBeginEndBlock#test_endblock_raise = 0.20 s = .
TestBeginEndBlock#test_endblockwarn = 0.07 s = .
TestBeginEndBlock#test_nested_at_exit = 0.03 s = .
TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = .
TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = .
TestBeginEndBlock#test_should_propagate_signaled = 0.14 s = .


Finished tests in 6.488242s, 1.3871 tests/s, 2.9284 assertions/s.

9 tests, 19 assertions, 0 failures, 0 errors, 0 skips
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.