Your message dated Thu, 09 May 2013 21:06:28 +0000
with message-id <e1uay2m-0006ls...@franck.debian.org>
and subject line Bug#706517: fixed in ruby-mini-magick 3.5.0-2
has caused the Debian Bug report #706517,
regarding FTBFS: tests require internet connectivity
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
706517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706517
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-mini-magick
Version: 3.5.0-1
Severity: serious
Tags: patch
Justification: fails to build from source

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 simple patch that removes the offending test
methods.


Build log:

Loaded suite debian/ruby-tests
Started
.......................................E
===============================================================================
Error: test_remote_image(ImageTest)
SocketError: getaddrinfo: Name or service not known
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
     557: 
     558:     def connect
     559:       D "opening connection to #{conn_address()}..."
  => 560:       s = timeout(@open_timeout) { TCPSocket.open(conn_address(), 
conn_port()) }
     561:       D "opened"
     562:       if use_ssl?
     563:         unless @ssl_context.verify_mode
/usr/lib/ruby/1.8/net/http.rb:560:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'
/usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
/usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
/usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
/usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
/usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
/usr/lib/ruby/1.8/open-uri.rb:518:in `open'
/usr/lib/ruby/1.8/open-uri.rb:30:in `open'
/build/buildd/ruby-mini-magick-3.5.0/lib/mini_magick.rb:126:in `open'
../test/image_test.rb:59:in `test_remote_image'
===============================================================================
E
===============================================================================
Error: test_remote_image_with_complex_url(ImageTest)
SocketError: getaddrinfo: Name or service not known
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
     557: 
     558:     def connect
     559:       D "opening connection to #{conn_address()}..."
  => 560:       s = timeout(@open_timeout) { TCPSocket.open(conn_address(), 
conn_port()) }
     561:       D "opened"
     562:       if use_ssl?
     563:         unless @ssl_context.verify_mode
/usr/lib/ruby/1.8/net/http.rb:560:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'
/usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
/usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
/usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
/usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
/usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
/usr/lib/ruby/1.8/open-uri.rb:518:in `open'
/usr/lib/ruby/1.8/open-uri.rb:30:in `open'
/build/buildd/ruby-mini-magick-3.5.0/lib/mini_magick.rb:126:in `open'
../test/image_test.rb:65:in `test_remote_image_with_complex_url'
===============================================================================
.......

Finished in 1.306837 seconds.

46 tests, 65 assertions, 0 failures, 2 errors, 0 pendings, 0 omissions, 0 
notifications
95.6522% passed

35.20 tests/s, 49.74 assertions/s
ERROR: Test "ruby1.8" failed. Exiting.
Description: Remove tests that require internet connectivity.
Author: Felix Geyer <fge...@debian.org>

--- ruby-mini-magick-3.5.0.orig/test/image_test.rb
+++ ruby-mini-magick-3.5.0/test/image_test.rb
@@ -55,18 +55,6 @@ class ImageTest < Test::Unit::TestCase
     image.destroy!
   end
 
-  def test_remote_image
-    image = Image.open("http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png";)
-    assert image.valid?
-    image.destroy!
-  end
-
-  def test_remote_image_with_complex_url
-    image = Image.open("http://a0.twimg.com/a/1296609216/images/fronts/logo_withbird_home.png?extra=foo&plus=bar";)
-    assert image.valid?
-    image.destroy!
-  end
-
   def test_reformat_with_capitalized_extension
     image = Image.open(CAP_EXT_PATH)
     image.format "jpg"

--- End Message ---
--- Begin Message ---
Source: ruby-mini-magick
Source-Version: 3.5.0-2

We believe that the bug you reported is fixed in the latest version of
ruby-mini-magick, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 706...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Tornow <tor...@riseup.net> (supplier of updated ruby-mini-magick package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 09 May 2013 17:51:29 +0200
Source: ruby-mini-magick
Binary: ruby-mini-magick
Architecture: source all
Version: 3.5.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Ruby Extras Maintainers 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Markus Tornow <tor...@riseup.net>
Description: 
 ruby-mini-magick - wrapper for ImageMagick with a small memory footprint
Closes: 706517
Changes: 
 ruby-mini-magick (3.5.0-2) unstable; urgency=low
 .
   * Applying patch remove-remote-test by Felix Geyer (thanks to him)
     to disable tests requiring network connectivity (Closes: #706517)
Checksums-Sha1: 
 889645df4dbd19ef174d1804f3be87b08070d22e 2150 ruby-mini-magick_3.5.0-2.dsc
 f5ebcbca539fc114bdcd40c41170169bfe5829e0 4639 
ruby-mini-magick_3.5.0-2.debian.tar.gz
 e3776e6553e53f5b3aff1c12bdd4a760f111b95b 14670 ruby-mini-magick_3.5.0-2_all.deb
Checksums-Sha256: 
 64a17a8fb05dbbf55508731d8d22086817c3ae07ee72c7a38cabbdbcb1efea74 2150 
ruby-mini-magick_3.5.0-2.dsc
 e695075a1d5db2da0868c31bfaa6986e883b1ed40d3b863541a20be68e7432db 4639 
ruby-mini-magick_3.5.0-2.debian.tar.gz
 498d7cf210bd857625518732380e246efee7ae0fea8fbd5f0802f8b253ac09d1 14670 
ruby-mini-magick_3.5.0-2_all.deb
Files: 
 176af30ba3c9cee3d0787840fb39f67c 2150 ruby optional 
ruby-mini-magick_3.5.0-2.dsc
 4159fece8d8341099ad606d67a52819b 4639 ruby optional 
ruby-mini-magick_3.5.0-2.debian.tar.gz
 719ee55bf380ef618282c6c3b82b153e 14670 ruby optional 
ruby-mini-magick_3.5.0-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRjAJfAAoJENpJWPYR4UnpU1kQAKuuklh95iTWyry6eYIIp/pK
r7c9NAC/7FiDLpgDQM67OgdYl+G0tK06ObTMuZUiiBOPbhYGuZYp5Rj/RactEDuC
JA/Z0g6oMTibMADYNzv/hm41SH0q7wmc8WQbYN1GJ88B1COaRS1dkpk1Hpi7iJJn
bYC1v0VnMerwui27ZlRO1Av15aRjy/6gSrFEVar0mceZhxAMgdJNNjrp9l+cUO0o
OjKuMTFlYdf0NavmCed/m8oWKy/wm5Hwf0ygt3mQbP4TA7WRQ2ossp1JbMoqZrox
f3l/VJPOku4HuldNI9nR731HZqHjwtt64cnWP/Dk621kjNlyf3T37ih9OEuEbtSC
QGLwmbx185wiiqfGEx41tC17Y1lQCytmExSoLs3pJmjkajmdZBO1wzhL8av8r1R2
nrXJ3vuubdJz6XKpZifmc0dm1hfSPHX4L33baffNqzjVnEYTkE53viTxbzlNTYbR
+SZqzr2SR0h7XzOnqPSZCFnV7X49nwjQAQFHJsr/3JtcbqZLj7SKlFQY2NqJN3yx
7zJL0xKGDbgFTeOMLWI3som7fTYwET+wGYc8DSPUsoGbpka2/Jm1BXXdOyKUkRgb
tb1Pa449ld1qGd5IsAP5sDs7H8KUEn66+qIMEQoUUM+NWSt3hWSD8gkcZotkt1pr
368T50K2j2WsuHSxIxGI
=KeZ/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to