[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#902683: stretch-pu: package python-proliantutils/2.1.11-2



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Dear release team,

I've prepared an update to python-proliantutils which fixes FTBFS when
there is internet connectivity in the build host. Please find the diff
attached to this bug report. Trivially, it replaces 1.1.1.1 by a never
reachable IP address in the test suite.

This update package will fix #902241.

The resulting built package is here:
http://sid.gplhost.com/stretch-proposed-updates/proliantutils/

Cheers,

Thomas Goirand (zigo)
diff -Nru python-proliantutils-2.1.11/debian/changelog python-proliantutils-2.1.11/debian/changelog
--- python-proliantutils-2.1.11/debian/changelog	2016-09-26 19:13:41.000000000 +0200
+++ python-proliantutils-2.1.11/debian/changelog	2018-06-29 16:25:22.000000000 +0200
@@ -1,3 +1,10 @@
+python-proliantutils (2.1.11-2+deb9u1) stretch; urgency=medium
+
+  * Add replace-quad1-by-doc-reserved-ip.patch which fixes FTBFS when the
+    build machine has internet connectivity (Closes: #902241).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 29 Jun 2018 16:25:22 +0200
+
 python-proliantutils (2.1.11-2) unstable; urgency=medium
 
   * d/s/options: extend-diff-ignore of .gitreview
diff -Nru python-proliantutils-2.1.11/debian/patches/replace-quad1-by-doc-reserved-ip.patch python-proliantutils-2.1.11/debian/patches/replace-quad1-by-doc-reserved-ip.patch
--- python-proliantutils-2.1.11/debian/patches/replace-quad1-by-doc-reserved-ip.patch	1970-01-01 01:00:00.000000000 +0100
+++ python-proliantutils-2.1.11/debian/patches/replace-quad1-by-doc-reserved-ip.patch	2018-06-29 16:25:22.000000000 +0200
@@ -0,0 +1,23 @@
+Description: Replace 1.1.1.1 by doc reserved IPs
+ Looks like there's connectivity to 1.1.1.1 when the build machine has
+ internet access. Swiching to 198.51.100.1 never works, as it is a reserved
+ IP range for documentation purpose.
+ .
+ Note that upstream already removed 1.1.1.1 from its test decoration, so it
+ isn't needed to forward the patch in upstream master branch.
+Author: Thomas Goirand <zigo@debian.org>
+Bug-Debian: https://bugs.debian.org/902241
+Forwarded: not-needed
+Last-Update: 2018-06-29
+
+--- python-proliantutils-2.1.11.orig/proliantutils/tests/ilo/test_firmware_controller.py
++++ python-proliantutils-2.1.11/proliantutils/tests/ilo/test_firmware_controller.py
+@@ -551,7 +551,7 @@ class FirmwareImageUploaderTestCase(unit
+         self.assertEqual(returned_sock, ssl_mock.wrap_socket())
+ 
+     @ddt.data(('foo.bar.com', exception.IloConnectionError),
+-              ('1.1.1.1', exception.IloConnectionError),
++              ('198.51.100.1', exception.IloConnectionError),
+               ('any_kind_of_address', exception.IloConnectionError),)
+     @ddt.unpack
+     def test__get_socket_throws_exception_in_case_of_failed_connection(
diff -Nru python-proliantutils-2.1.11/debian/patches/series python-proliantutils-2.1.11/debian/patches/series
--- python-proliantutils-2.1.11/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ python-proliantutils-2.1.11/debian/patches/series	2018-06-29 16:25:22.000000000 +0200
@@ -0,0 +1 @@
+replace-quad1-by-doc-reserved-ip.patch

Reply to: