https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112012-02-17T00:25:08ZRuby Issue Tracking SystemRuby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=239252012-02-17T00:25:08Zakr (Akira Tanaka)akr@fsij.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r34646.<br>
Bohuslav, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.<br>
reported by Bohuslav Kabrda.<br>
<a href="/issues/6036">[ruby-core:42685]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed parent" title="Bug: Test failures in Fedora Rawhide/17 (Closed)" href="https://redmine.ruby-lang.org/issues/6036">#6036</a>]</li>
</ul> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=239822012-02-20T16:12:49ZAnonymous
<ul></ul><p>Well, thanks for fixing the gdbm support, but the other 16 failures and 20 errors are the main reason why I reported the bug... Could you have a look at that?<br>
Thanks.</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=239832012-02-20T16:39:58Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>vo.x (Vit Ondruch)</i></li></ul><p>Bohuslav Kabrda wrote:</p>
<blockquote>
<p>Well, thanks for fixing the gdbm support, but the other 16 failures and 20 errors are the main reason why I reported the bug... Could you have a look at that?<br>
Thanks.</p>
</blockquote>
<p>Vit, could you inspect this?</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=239882012-02-20T22:02:12Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>Tests passes with following command: "make check TESTS="-v -x test_pathname.rb -x test_drbssl.rb -x test_parse.rb -x test_x509cert.rb"</p>
<p>The test_drbssl.rb and test_x509cert.rb might be related to the OpenSSL changes?</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=239892012-02-20T22:27:53Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>The test_pathname appears to hang somewhere. The TestPathname#test_pathsubext_510 is the last output which appears in my log, however there might be some entries lost due to not flushed log.</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=240172012-02-22T07:24:05Zakr (Akira Tanaka)akr@fsij.org
<ul></ul><p>2012/2/20 Vit Ondruch <a href="mailto:v.ondruch@tiscali.cz" class="email">v.ondruch@tiscali.cz</a>:</p>
<blockquote>
<p>The test_pathname appears to hang somewhere. The TestPathname#test_pathsubext_510 is the last output which appears in my log, however there might be some entries lost due to not flushed log.</p>
</blockquote>
<p>I installed Fedora but I couldn't reproduce the problem.</p>
<p>% ./ruby test/pathname/test_pathname.rb<br>
Run options:</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>...(snip)...</p>
<p>Finished tests in 0.520247s, 505.5290 tests/s, 1039.8904 assertions/s.</p>
<h2>263 tests, 541 assertions, 0 failures, 0 errors, 0 skips<br>
% ./ruby -v<br>
ruby 1.9.3p134 (2012-02-19 revision 34690) [i686-linux]<br>
% lsb_release -a<br>
LSB Version: :core-4.0-ia32:core-4.0-noarch<br>
Distributor ID: Fedora<br>
Description: Fedora release 18 (Rawhide)<br>
Release: 18<br>
Codename: Rawhide</h2>
<p>Tanaka Akira</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=240182012-02-22T08:08:47Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>Akira Tanaka wrote:</p>
<blockquote>
<p>2012/2/20 Vit Ondruch <a href="mailto:v.ondruch@tiscali.cz" class="email">v.ondruch@tiscali.cz</a>:</p>
<blockquote>
<p>The test_pathname appears to hang somewhere. The TestPathname#test_pathsubext_510 is the last output which appears in my log, however there might be some entries lost due to not flushed log.</p>
</blockquote>
<p>I installed Fedora but I couldn't reproduce the problem.</p>
<p>% ./ruby test/pathname/test_pathname.rb<br>
Run options:</p>
<a name="Running-tests"></a>
<h1 >Running tests:<a href="#Running-tests" class="wiki-anchor">¶</a></h1>
<p>...(snip)...</p>
<p>Finished tests in 0.520247s, 505.5290 tests/s, 1039.8904 assertions/s.</p>
<h2>263 tests, 541 assertions, 0 failures, 0 errors, 0 skips<br>
% ./ruby -v<br>
ruby 1.9.3p134 (2012-02-19 revision 34690) [i686-linux]<br>
% lsb_release -a<br>
LSB Version: :core-4.0-ia32:core-4.0-noarch<br>
Distributor ID: Fedora<br>
Description: Fedora release 18 (Rawhide)<br>
Release: 18<br>
Codename: Rawhide</h2>
<p>Tanaka Akira</p>
</blockquote>
<p>I am afraid that the test results differs if you run the whole test suite in once or if you run just part of the test suite, as you did.</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=240602012-02-23T17:53:36Zakr (Akira Tanaka)akr@fsij.org
<ul></ul><p>2012/2/22 Vit Ondruch <a href="mailto:v.ondruch@tiscali.cz" class="email">v.ondruch@tiscali.cz</a>:</p>
<blockquote>
<p>I am afraid that the test results differs if you run the whole test suite in once or if you run just part of the test suite, as you did.</p>
</blockquote>
<p>I see.</p>
<p>The hang is reproduced on my environment.</p>
<p>However the hang is occur at TestProcess#test_abort, not<br>
TestPathname#test_pathsubext_510.</p>
<p>|TestProc#test_to_proc = 0.00 s = .<br>
|TestProc#test_to_s = 0.00 s = .<br>
|TestProcess#test_abort =<br>
^C/home/akr/ruby/193/ruby/test/drb/ut_array_drbssl.rb:22:in <code>join': Interrupt | from /home/akr/ruby/193/ruby/test/drb/ut_array_drbssl.rb:22:in </code>'<br>
|/home/akr/ruby/193/ruby/test/drb/ut_drb_drbssl.rb:23:in <code>join': Interrupt | from /home/akr/ruby/193/ruby/test/drb/ut_drb_drbssl.rb:23:in </code>'<br>
|<br>
|<br>
|Finished tests in 3031.769106s, 2.1611 tests/s, 593.4136 assertions/s.<br>
|<br>
| 1) Failure:<br>
|test_dsig_algorithm_mismatch(OpenSSL::TestX509Certificate)<br>
[/home/akr/ruby/193/ruby/test/openssl/test_x509cert.rb:175]:<br>
|OpenSSL::X509::CertificateError expected but nothing was raised.<br>
|...</p>
<p>After ^C, bactrace shows drb.</p>
<a name="I-think-the-problem-is-caused-by-drb-tests"></a>
<h2 >I think the problem is caused by drb tests.<a href="#I-think-the-problem-is-caused-by-drb-tests" class="wiki-anchor">¶</a></h2>
<p>Tanaka Akira</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=240672012-02-24T01:19:30Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>Akira Tanaka wrote:</p>
<blockquote>
<p>2012/2/22 Vit Ondruch <a href="mailto:v.ondruch@tiscali.cz" class="email">v.ondruch@tiscali.cz</a>:</p>
<blockquote>
<p>I am afraid that the test results differs if you run the whole test suite in once or if you run just part of the test suite, as you did.</p>
</blockquote>
<p>I see.</p>
<p>The hang is reproduced on my environment.</p>
<p>However the hang is occur at TestProcess#test_abort, not<br>
TestPathname#test_pathsubext_510.</p>
</blockquote>
<p>Yes, that might be. I just noted that the "TestPathname#test_pathsubext_510" was last entry in my log, so there might be other tests passed, but not flushed yet.</p>
<blockquote>
<p>|TestProc#test_to_proc = 0.00 s = .<br>
|TestProc#test_to_s = 0.00 s = .<br>
|TestProcess#test_abort =<br>
^C/home/akr/ruby/193/ruby/test/drb/ut_array_drbssl.rb:22:in <code>join': Interrupt | from /home/akr/ruby/193/ruby/test/drb/ut_array_drbssl.rb:22:in </code>'<br>
|/home/akr/ruby/193/ruby/test/drb/ut_drb_drbssl.rb:23:in <code>join': Interrupt | from /home/akr/ruby/193/ruby/test/drb/ut_drb_drbssl.rb:23:in </code>'<br>
|<br>
|<br>
|Finished tests in 3031.769106s, 2.1611 tests/s, 593.4136 assertions/s.<br>
|<br>
| 1) Failure:<br>
|test_dsig_algorithm_mismatch(OpenSSL::TestX509Certificate)<br>
[/home/akr/ruby/193/ruby/test/openssl/test_x509cert.rb:175]:<br>
|OpenSSL::X509::CertificateError expected but nothing was raised.<br>
|...</p>
<p>After ^C, bactrace shows drb.</p>
<a name="I-think-the-problem-is-caused-by-drb-tests"></a>
<h2 >I think the problem is caused by drb tests.<a href="#I-think-the-problem-is-caused-by-drb-tests" class="wiki-anchor">¶</a></h2>
<p>Tanaka Akira</p>
</blockquote>
<p>That makes sense. I now testing with drb tests disabled, and it does not hang.</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=240852012-02-24T21:46:33Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>It seems that the errors are due to updated openssl library: openssl-1.0.1-0.1.beta2.fc17 ... there is a lot of errors around, Python, MySql ...</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=240872012-02-25T00:34:17Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>It seems that the patch [1] changes the behavior of openssl and makes the test_x509cert.rb fail:</p>
<ol>
<li>Failure:<br>
test_dsig_algorithm_mismatch(OpenSSL::TestX509Certificate) [test/openssl/test_x509cert.rb:175]:<br>
OpenSSL::X509::CertificateError expected but nothing was raised.</li>
</ol>
<p>I also notified Fedora's openssl maintainer about these issues [2].</p>
<p>[1] <a href="http://cvs.openssl.org/filediff?f=openssl/crypto/asn1/a_sign.c&v1=1.21.4.1&v2=1.21.4.2" class="external">http://cvs.openssl.org/filediff?f=openssl/crypto/asn1/a_sign.c&v1=1.21.4.1&v2=1.21.4.2</a><br>
[2] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=797217" class="external">https://bugzilla.redhat.com/show_bug.cgi?id=797217</a></p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=241482012-02-25T21:10:19Znaruse (Yui NARUSE)naruse@airemix.jp
<ul></ul><p>Could you make another ticket ans assign it to Martin Boßlet about openssl?</p> Ruby master - Bug #6036: Test failures in Fedora Rawhide/17https://redmine.ruby-lang.org/issues/6036?journal_id=260062012-04-19T16:39:06Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>Since the remaining issues were reported in separate issues <a class="issue tracker-1 status-5 priority-4 priority-default closed child" title="Bug: Test suite fails with OpenSSL 1.0.1 (Closed)" href="https://redmine.ruby-lang.org/issues/6089">#6089</a>, <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: OpenSSL 1.0.1 is breaking the drb test suite (Closed)" href="https://redmine.ruby-lang.org/issues/6221">#6221</a>, I'm closing this ticket</p>