[#62904] [ruby-trunk - Feature #9894] [Open] [RFC] README.EXT: document rb_gc_register_mark_object — normalperson@...
Issue #9894 has been reported by Eric Wong.
3 messages
2014/06/02
[#63321] [ANN] ElixirConf 2014 - Don't Miss Jos辿 Valim and Dave Thomas — Jim Freeze <jimfreeze@...>
Just a few more weeks until ElixirConf 2014!
6 messages
2014/06/24
[#63391] Access Modifiers (Internal Interfaces) — Daniel da Silva Ferreira <danieldasilvaferreira@...>
Hi,
3 messages
2014/06/28
[ruby-core:63385] [ruby-trunk - Bug #9984] OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
From:
nagachika00@...
Date:
2014-06-28 04:54:17 UTC
List:
ruby-core #63385
Issue #9984 has been updated by Tomoyuki Chikanaga.
Hello, Vit
I'd like to extend timeout for the testcase in `ruby_2_1` branch, but is it only occurs on 2.1?
Should we care about it on each branch?
Anyway, could you try with the following patch to determine how long does the test take?
> diff --git a/test/openssl/test_pkey_rsa.rb b/test/openssl/test_pkey_rsa.rb
> index ce9bd60..e0856c5 100644
> --- a/test/openssl/test_pkey_rsa.rb
> +++ b/test/openssl/test_pkey_rsa.rb
> @@ -77,7 +77,7 @@ class OpenSSL::TestPKeyRSA < Test::Unit::TestCase
>
> def test_sign_verify_memory_leak
> bug9743 = '[ruby-core:62038] [Bug #9743]'
> - assert_no_memory_leak(%w[-ropenssl], <<-PREP, <<-CODE, bug9743, rss: true)
> + assert_no_memory_leak(%w[-ropenssl], <<-PREP, <<-CODE, bug9743, rss: true, timeout: 30)
> data = 'Sign me!'
> digest = OpenSSL::Digest::SHA512.new
> pkey = OpenSSL::PKey::RSA.new(2048)
>
----------------------------------------
Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
https://bugs.ruby-lang.org/issues/9984#change-47428
* Author: Vit Ondruch
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category:
* Target version:
* ruby -v: ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [armv7hl-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Ruby's test suite fails on ARM [1] (originally reported at [2]) with error:
~~~
4) Error:
OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak:
Timeout::Error: execution of assert_no_memory_leak expired
/builddir/build/BUILD/ruby-2.1.2/test/openssl/test_pkey_rsa.rb:80:in `test_sign_verify_memory_leak'
~~~
This seems to be due to low performance of that particular builder. We were able to build ruby by applying this easy fix:
~~~
$ sed -i -e 's|20_000|10_000|g' test/openssl/test_pkey_rsa.rb
~~~
Nevertheless, I am not sure if this is optimal fix.
[1] https://kojipkgs.fedoraproject.org//work/tasks/4012/7074012/build.log
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1107044#c7
--
https://bugs.ruby-lang.org/