Your message dated Fri, 13 Dec 2024 16:49:54 +0000
with message-id <[email protected]>
and subject line Bug#1036369: fixed in ruby-rest-client 2.1.0-4
has caused the Debian Bug report #1036369,
regarding ruby-rest-client: network-dependent tests fail
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 [email protected]
immediately.)


-- 
1036369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036369
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-rest-client
Version: 2.1.0-3
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

ruby-rest-client is failing to build because its test suite
depends on access to the internet,

Failures:
RestClient::Request timeouts raises OpenTimeout when it hits an open timeout
   Failure/Error:
     expect { request.execute }.to(
       raise_error(RestClient::Exceptions::OpenTimeout))
     expected RestClient::Exceptions::OpenTimeout, got #<SocketError: Failed to 
open TCP connection to www.mozilla.org:80 (getaddrinfo: Name or service not 
known)> with backtrace:

Already some network tests are disabled. Disable the other network
tests which requires access to internet.

Please find the patch for this issue. Thanks.

Regards,
Vignesh

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ruby-rest-client depends on:
ii  ruby              1:3.1
ii  ruby-http-accept  2.2.0-1
ii  ruby-http-cookie  1.0.5-1
ii  ruby-mime-types   3.4.1-2
ii  ruby-netrc        0.11.0-4

ruby-rest-client recommends no packages.

ruby-rest-client suggests no packages.

-- no debconf information
>From 6e93dafa17821dde2f7ae5971bbd6d4597304251 Mon Sep 17 00:00:00 2001
From: Vignesh Raman <[email protected]>
Date: Fri, 5 May 2023 17:56:16 +0530
Subject: [PATCH] Disable network-dependent tests

ruby-rest-client is failing to build because its test suite
depends on access to the internet,

Failures:
RestClient::Request timeouts raises OpenTimeout when it hits an open timeout
   Failure/Error:
     expect { request.execute }.to(
       raise_error(RestClient::Exceptions::OpenTimeout))
     expected RestClient::Exceptions::OpenTimeout, got #<SocketError: Failed to 
open TCP connection to www.mozilla.org:80 (getaddrinfo: Name or service not 
known)> with backtrace:

Already some network tests are disabled. Disable the other network
tests which requires access to internet.

Signed-off-by: Vignesh Raman <[email protected]>
---
 spec/integration/request_spec.rb | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/spec/integration/request_spec.rb b/spec/integration/request_spec.rb
index 35552fd..3f0aa54 100644
--- a/spec/integration/request_spec.rb
+++ b/spec/integration/request_spec.rb
@@ -14,16 +14,7 @@ describe RestClient::Request do
   end
 
   describe "timeouts" do
-    it "raises OpenTimeout when it hits an open timeout" do
-      request = RestClient::Request.new(
-        :method => :get,
-        :url => 'http://www.mozilla.org',
-        :open_timeout => 1e-10,
-      )
-      expect { request.execute }.to(
-        raise_error(RestClient::Exceptions::OpenTimeout))
-    end
-
+    # all removed; accessing the network
   end
 
 end
-- 
2.30.2


--- End Message ---
--- Begin Message ---
Source: ruby-rest-client
Source-Version: 2.1.0-4
Done: Antonio Terceiro <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ruby-rest-client, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated ruby-rest-client 
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 [email protected])


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

Format: 1.8
Date: Fri, 13 Dec 2024 13:10:49 -0300
Source: ruby-rest-client
Architecture: source
Version: 2.1.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 1036369
Changes:
 ruby-rest-client (2.1.0-4) unstable; urgency=medium
 .
   * Team upload
   * Handle URI bevavior change in Ruby 3.2+
     Fixes test (and library) with Ruby 3.3
   * Skip test that hits the network (Closes: #1036369)
Checksums-Sha1:
 36cbcff67cfdf1aa321bac775c49295d2fb8271a 2185 ruby-rest-client_2.1.0-4.dsc
 9727f334e768b0be4f9781b0f3c133a2c766c531 8848 
ruby-rest-client_2.1.0-4.debian.tar.xz
 4bcd2a29b4506307bc154d4e3fd00f8d28af1f71 14909 
ruby-rest-client_2.1.0-4_source.buildinfo
Checksums-Sha256:
 68f955819e2ee86e7ffa15df2ff657a4a38bc7c2fe107ce79693f65238a27a5d 2185 
ruby-rest-client_2.1.0-4.dsc
 e28c0f46216b1ced2ff8b67198fcd1d97c5af22ff83681aa92f1cc7bfe401010 8848 
ruby-rest-client_2.1.0-4.debian.tar.xz
 515d85a0b54da237656efd8b2e199782f394b77256c431779a670f891ec9e048 14909 
ruby-rest-client_2.1.0-4_source.buildinfo
Files:
 3965ec9fcb8e4d14dd27174037914ca1 2185 ruby optional 
ruby-rest-client_2.1.0-4.dsc
 23cd536ec50cec0e94f1dc06114ff41a 8848 ruby optional 
ruby-rest-client_2.1.0-4.debian.tar.xz
 0795f4fc017727ac6ec6ffa4582dd31a 14909 ruby optional 
ruby-rest-client_2.1.0-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmdcYXYACgkQ/A2xu81G
C97WJBAAwmzDHxK9kLzaGlosIg9WNH3c6EP6370GC8zD53LigAOX0zhsGXCa8O89
dKX/UfdrGL9eTmdRlSkPvpPXbxh8V6Bonqy5ktRgUlJQ7IhPVnk1pNWjP/n93Le6
U0rAcgDwf02sN/FN+pkmuvN8tDuoGtQEfzmErfShOAsskRYi5mb1+fc+wWSpX55C
+kLS2rqRvZw1PkOV8qAVgicBUQ+Y9HTveCVNOnvQT2otcY1khhYk5qldvyCgQvci
WTBKuQ8SgSKfMHITU2aJ05VcXyTvb92uVcnlWon0gzbcz8BDfA3S3Y49aLGAzQrS
nY4wVWwH47bNydj8zJq7TZ7HWvyggjLatHxxHT6+PVihim0XutyX7Kthd88xVOW0
EpLpLF4Mr9acjkPLAflBYS8eciGRjtz5SkZkKNEZJ/i4bEi/6fpRAsZJksc3+Oen
X9RYeusijpOa8jSytWc/0/FK9gvy2014m++c0FADRWneHsacw9F+wHYukeleNF2r
YeduAXB0Q3u0t0s+Zc8rpt/SBzoPguRE19Pm7/pw8CSSrGBqniH6gBD9O4h/9SAb
Gbx/rDro57m7GpmyvcNC31LvX4takscMAalKqRieMVmDHtecBSq1OHGkqEuWzIuR
GRm3d4y8Txg2V0MXjuELqnowVmiz2i0YSxdYzUvBFCLwYHOG1v4=
=Dl7n
-----END PGP SIGNATURE-----

Attachment: pgptds2q3ic3o.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to