Control: reopen -1 On Wed, Nov 22, 2017 at 10:54:21AM +0000, James Cowgill wrote: > Source: ruby2.3 > Version: 2.3.5-1 > Severity: serious > Tags: sid buster patch > > Hi, > > Currently ruby2.3 FTBFS on mips* with the error: > > 1) Error: > > Net::TestSMTP#test_tls_connect: > > Net::OpenTimeout: Net::OpenTimeout > > /<<PKGBUILDDIR>>/lib/net/protocol.rb:41:in `ssl_socket_connect' > > /<<PKGBUILDDIR>>/lib/net/smtp.rb:587:in `tlsconnect' > > /<<PKGBUILDDIR>>/lib/net/smtp.rb:555:in `do_start' > > /<<PKGBUILDDIR>>/lib/net/smtp.rb:521:in `start' > > /<<PKGBUILDDIR>>/test/net/smtp/test_smtp.rb:132:in `test_tls_connect' > > In my attempts to reproduce this bug, sometimes the test will pass however. > > I think this is simply a case of a test taking too long on mips. > Increasing the timeout from 0.1 to 1 second fixes the bug for me. > > Thanks, > James
> --- a/test/net/smtp/test_smtp.rb > +++ b/test/net/smtp/test_smtp.rb > @@ -146,7 +146,7 @@ module Net > end > smtp = Net::SMTP.new("localhost", servers[0].local_address.ip_port) > smtp.enable_tls > - smtp.open_timeout = 0.1 > + smtp.open_timeout = 1 > assert_raise(Net::OpenTimeout) do > smtp.start do > end This patch is changing a test that is not the one that fails. I will follow up with a new patch that changes all timeouts involved.
signature.asc
Description: PGP signature