From: usa@... Date: 2014-09-10T02:49:41+00:00 Subject: [ruby-core:64911] [ruby-trunk - Bug #9984] OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM Issue #9984 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE backported into `ruby_2_0_0` at r47494. ---------------------------------------- Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM https://bugs.ruby-lang.org/issues/9984#change-48769 * Author: Vit Ondruch * Status: Closed * Priority: Normal * Assignee: Tomoyuki Chikanaga * Category: * Target version: * ruby -v: ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [armv7hl-linux] * Backport: 2.0.0: DONE, 2.1: DONE ---------------------------------------- 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/