[DRE-maint] Bug#683153: FTBFS: Requires internet connectivity

Felix Geyer fgeyer at debian.org
Sun Jul 29 08:53:12 UTC 2012


Package: ruby-zoom
Version: 0.4.1-3
Severity: normal
Tags: patch, sid, wheezy

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

I have attached a patch that disables all tests except package_test.rb
which is the only one that doesn't rely on internet connectivity.

Build log:
> Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
> Started
> E
> ===============================================================================
> Error: test_search_batch_test(SearchBatchTest)
> RuntimeError: Connect failed (10000) z3950.loc.gov:7090
> /tmp/buildd/ruby-zoom-0.4.1/test/search_batch_test.rb:8:in `open'
>       5:   # Terry Reese 9-17-07
>       6:   # Test for batch results
>       7:   def test_search_batch_test
>   =>  8:     ZOOM::Connection.open('z3950.loc.gov', 7090) do |conn|
>       9:       conn.database_name = 'Voyager'
>      10:       conn.preferred_record_syntax = 'USMARC'
>      11:       result_set = conn.search('@attr 1=4 "Oregon"')
> /tmp/buildd/ruby-zoom-0.4.1/test/search_batch_test.rb:8:in `test_search_batch_test'
> ===============================================================================
> [...]

Example of a full log:
https://buildd.debian.org/status/fetch.php?pkg=ruby-zoom&arch=armel&ver=0.4.1-4&stamp=1340496396
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-zoom_tests_internet.diff
Type: text/x-diff
Size: 488 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20120729/a7149cf1/attachment.diff>


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