[DRE-maint] Bug#725590: Bug#725590: ruby-memoize: FTBFS: ERROR: Test "ruby1.9.1" failed.

David Suárez david.sephirot at gmail.com
Sat Oct 12 11:21:32 UTC 2013


HI,

El Miércoles, 9 de octubre de 2013 23:44:49 dai at debian.org escribió:
> Control: tags -1 + unreproducible
> 
> On Sun, Oct 06, 2013 at 09:29:56PM +0200, David Suárez wrote:
> > Relevant part (hopefully):
> > >      42:       assert_nothing_raised{ fib(5) }
> > >      43:       assert_nothing_raised{ memoize(:fib, @file) }
> > >   
> > >   => 44:       assert_nothing_raised{ fib(50) }
> > >   
> > >      45:       assert_equal(55, fib(10))
> > >      46:    end
> > > 
> > >      47:
> > > ========================================================================
> > > ======= .
> > > 
> > > Finished in 0.017542262 seconds.
> > > 
> > > 5 tests, 20 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0
> > > notifications 60% passed
> > > 
> > > 285.03 tests/s, 1140.10 assertions/s
> > > ERROR: Test "ruby1.9.1" failed.
> 
> unreproduced in my amd64 pbuilder.
> would you please check it?
> 
> > /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby
> > /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb Loaded suite -e
> > Started
> > .....
> > 
> > Finished in 0.014512884 seconds.
> > 
> > 5 tests, 23 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0
> > notifications 100% passed

I tried today.

amd64 build log on amazon ec2 machine:

> Loaded suite -e
> Started
> ..F
> 
===============================================================================
> Failure:
>   Exception raised:
>   Errno::ENOENT(<No such file or directory - /sbuild-nonexistent/test.cache>)
> test_memoize_file_properties(TC_Memoize)
> /«PKGBUILDDIR»/test/test_memoize.rb:52:in `test_memoize_file_properties'
>      49:       assert_false(File.exists?(@file))
>      50:       assert_nothing_raised{ memoize(:fib, @file) }
>      51:       assert_false(File.exists?(@file))
>   => 52:       assert_nothing_raised{ fib(10) }
>      53:       assert_true(File.exists?(@file))
>      54:       assert_true(File.size(@file) > 0)
>      55:    end
> 
===============================================================================
> F
> 
===============================================================================
> Failure:
>   Exception raised:
>   Errno::ENOENT(<No such file or directory - /sbuild-nonexistent/test.cache>)
> test_memoize_with_file(TC_Memoize)
> /«PKGBUILDDIR»/test/test_memoize.rb:44:in `test_memoize_with_file'
>      41:    def test_memoize_with_file
>      42:       assert_nothing_raised{ fib(5) }
>      43:       assert_nothing_raised{ memoize(:fib, @file) }
>   => 44:       assert_nothing_raised{ fib(50) }
>      45:       assert_equal(55, fib(10))
>      46:    end
>      47: 
> 
===============================================================================
> .
> 
> Finished in 0.039676383 seconds.

i386 build log on my local workstation:

> Loaded suite -e
> Started
> ..F
> 
===============================================================================
> Failure:
>   Exception raised:
>   Errno::ENOENT(<No such file or directory - /sbuild-nonexistent/test.cache>)
> test_memoize_file_properties(TC_Memoize)
> /«PKGBUILDDIR»/test/test_memoize.rb:52:in `test_memoize_file_properties'
>      49:       assert_false(File.exists?(@file))
>      50:       assert_nothing_raised{ memoize(:fib, @file) }
>      51:       assert_false(File.exists?(@file))
>   => 52:       assert_nothing_raised{ fib(10) }
>      53:       assert_true(File.exists?(@file))
>      54:       assert_true(File.size(@file) > 0)
>      55:    end
> 
===============================================================================
> F
> 
===============================================================================
> Failure:
>   Exception raised:
>   Errno::ENOENT(<No such file or directory - /sbuild-nonexistent/test.cache>)
> test_memoize_with_file(TC_Memoize)
> /«PKGBUILDDIR»/test/test_memoize.rb:44:in `test_memoize_with_file'
>      41:    def test_memoize_with_file
>      42:       assert_nothing_raised{ fib(5) }
>      43:       assert_nothing_raised{ memoize(:fib, @file) }
>   => 44:       assert_nothing_raised{ fib(50) }
>      45:       assert_equal(55, fib(10))
>      46:    end
>      47: 
> 
===============================================================================
> .
> 
> Finished in 0.016308217 seconds.

Seeing that in pbuilder buils ok; Maybe a bug in sbuild ?

Thanks
  David 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20131012/fcbddfce/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list