[DRE-maint] Bug#676197: rcov: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jun 5 11:56:48 UTC 2012


Source: rcov
Version: 1.0-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120605 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[2]: Entering directory `/«PKGBUILDDIR»/ext/rcovrt'
> mkdir -p /«PKGBUILDDIR»/debian/rcov/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux
> /usr/bin/install -c -m 0755 rcovrt.so /«PKGBUILDDIR»/debian/rcov/usr/lib/ruby/vendor_ruby/1.8/x86_64-linux
> make[2]: Leaving directory `/«PKGBUILDDIR»/ext/rcovrt'
> Rewriting shebang line of /«PKGBUILDDIR»/debian/rcov/usr/bin/rcov
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> Loaded suite -e
> Started
> sh: 1: cannot create actual_coverage/diff-gcc-original.out: Directory nonexistent
> ...........................................E
> ===============================================================================
> Error: test_diff(TestFunctional)
> Errno::ENOENT: No such file or directory - /«PKGBUILDDIR»/test/actual_coverage/diff-gcc-original.out
> ./test/functional_test.rb:32:in `read'
>      29:   end
>      30: 
>      31:   def cmp(file)
>   => 32:     content = lambda{|dir| strip_variable_sections(File.read(@@dir+dir+file))}
>      33: 
>      34:     assert_equal(content["expected_coverage"], content["actual_coverage"])
>      35:   end
> ./test/functional_test.rb:32:in `cmp'
> ./test/functional_test.rb:34:in `[]'
> ./test/functional_test.rb:34:in `cmp'
> ./test/functional_test.rb:70:in `test_diff'
> ./test/functional_test.rb:48:in `run_rcov'
> ./test/functional_test.rb:38:in `chdir'
> ./test/functional_test.rb:38:in `with_testdir'
> ./test/functional_test.rb:46:in `run_rcov'
> ./test/functional_test.rb:69:in `test_diff'
> sh: 1: cannot create actual_coverage/gcc-text.out: Directory nonexistent
> ===============================================================================
> E
> ===============================================================================
> Error: test_text_gcc(TestFunctional)
> Errno::ENOENT: No such file or directory - /«PKGBUILDDIR»/test/actual_coverage/gcc-text.out
> ./test/functional_test.rb:32:in `read'
>      29:   end
>      30: 
>      31:   def cmp(file)
>   => 32:     content = lambda{|dir| strip_variable_sections(File.read(@@dir+dir+file))}
>      33: 
>      34:     assert_equal(content["expected_coverage"], content["actual_coverage"])
>      35:   end
> ./test/functional_test.rb:32:in `cmp'
> ./test/functional_test.rb:34:in `[]'
> ./test/functional_test.rb:34:in `cmp'
> ./test/functional_test.rb:62:in `test_text_gcc'
> ./test/functional_test.rb:48:in `run_rcov'
> ./test/functional_test.rb:38:in `chdir'
> ./test/functional_test.rb:38:in `with_testdir'
> ./test/functional_test.rb:46:in `run_rcov'
> ./test/functional_test.rb:61:in `test_text_gcc'
> ===============================================================================
> 
> 
> Finished in 0.245108 seconds.
> 
> 45 tests, 443 assertions, 0 failures, 2 errors, 0 pendings, 0 omissions, 0 notifications
> 95.5556% passed
> 
> 183.59 tests/s, 1807.37 assertions/s
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/rcov returned exit code 1
> make[1]: *** [override_dh_auto_install] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/06/05/rcov_1.0-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.






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