[Debian-iot-maintainers] Bug#1000989: ulfius: testsuite broken with proxy set

Gianfranco Costamagna locutusofborg at debian.org
Thu Dec 2 08:26:46 GMT 2021


Source: ulfius
Version: 2.7.6-1
Severity: normal
Tags: patch


Hello, looks like the testsuite fails with proxy set in the autopkgtest environment
https://bugs.launchpad.net/auto-package-testing/+bug/1945634

Would it be possible for you to apply this patch?

+ulfius (2.7.1-3ubuntu1) impish; urgency=medium
+
+  * d/t/unit-test: run with ::1 in no_proxy (LP: #1945634)
+
+ -- Paride Legovini <paride at ubuntu.com>  Thu, 30 Sep 2021 13:52:58 +0200
+
 ulfius (2.7.1-3) unstable; urgency=medium
 
   * d/rules: remove override_dh_auto_install
diff -Nru ulfius-2.7.6/debian/tests/unit-test ulfius-2.7.6/debian/tests/unit-test
--- ulfius-2.7.6/debian/tests/unit-test	2021-09-26 15:14:01.000000000 +0000
+++ ulfius-2.7.6/debian/tests/unit-test	2021-11-07 03:19:45.000000000 +0000
@@ -8,6 +8,11 @@
 ./cert/create-cert.sh
 make u_map core framework websocket
 
+# Workaround for LP: #1945634. If ::1 is already present this will append
+# it another time. Having it twice won't hurt; let's take the simple route.
+# Hopefully we'll be able to drop this delta at some point.
+[ -n "$no_proxy" ] && no_proxy="$no_proxy,::1"
+
 ./u_map
 ./core
 ./framework

thanks

Gianfranco



More information about the Debian-iot-maintainers mailing list