[DRE-maint] Bug#710940: FTBFS: tests require internet connectivity

Felix Geyer fgeyer at debian.org
Mon Jun 3 18:09:28 UTC 2013


Source: ruby-curb
Version: 0.8.3-1
Severity: serious
Justification: fails to build from source

This package requires internet connectivity for its test suite
to pass. Package builds must not not rely on external network
connectivity, but should be self-contained.

The test tries to resolve example.com in tests/tc_curl_easy.rb / test_easy_http_verbs_must_respond_to_str()

Build log:

/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
ruby1.8: no such file to load -- rake (LoadError)
WARNING: Test "ruby1.8" failed, but ignoring this test result.
/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
Run options: 

# Running tests:

........................F..................................................................../tmp/buildd/ruby-curb-0.8.3/lib/curl/easy.rb:56: warning: uncaught exception from callback
.........................................................

Finished tests in 6.698389s, 22.0949 tests/s, 104.2042 assertions/s.

  1) Failure:
test_easy_http_verbs_must_respond_to_str(TestCurbCurlEasy) [/tmp/buildd/ruby-curb-0.8.3/tests/tc_curl_easy.rb:901]:
Exception raised:
<#<Curl::Err::HostResolutionError: Curl::Err::HostResolutionError>>.

148 tests, 698 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.9.1 -I"lib" -I"/usr/lib/rub...]

Tasks: TOP => default => unittests
(See full trace by running task with --trace)
ERROR: Test "ruby1.9.1" failed. Exiting.
dh_auto_install: dh_ruby --install /tmp/buildd/ruby-curb-0.8.3/debian/ruby-curb returned exit code 1
make: *** [binary] Error 1



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