Package: stunnel4
Version: 3:5.44-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch autopkgtest

Dear Peter,

The autopkgtest in the latest version of the stunnel package is failing in
Ubuntu, specifically on armhf, because the test environment for this
architecture does not have net-tools pre-installed and one of the tests
expects the ifconfig command:

autopkgtest [09:18:43]: test command2: [-----------------------
Thu Dec 21 09:18:44 UTC 2017
stunnel 5.44 on arm-unknown-linux-gnueabihf platform
Compiled/running with OpenSSL 1.0.2g  1 Mar 2016
Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LI
BWRAP
 
test 010_require_cert                   ok
test 011_verify_peer                    ok
test 012_verify_chain                   ok
test 013_CRL_file                       ok
test 014_PSK_secrets                    ok
test 015_p12_cert                       ok
/tmp/autopkgtest.BKAEia/build.7kf/stunnel4-5.44/tests/recipes/020_IPv6: 24: /tmp
/autopkgtest.BKAEia/build.7kf/stunnel4-5.44/tests/recipes/020_IPv6: ifconfig: no
t found
test 020_IPv6                           skipped
[...]
autopkgtest [09:19:11]: test command2: -----------------------]
autopkgtest [09:19:14]: test command2:  - - - - - - - - - - results - - - - - - 
- - - -
command2             FAIL stderr: 
/tmp/autopkgtest.BKAEia/build.7kf/stunnel4-5.44/tests/recipes/020_IPv6: 24: 
/tmp/autopkgtest.BKAEia/build.7kf/stunnel4-5.44/tests/recipes/020_IPv6: 
ifconfig: not found
autopkgtest [09:19:14]: test command2:  - - - - - - - - - - stderr - - - - - - 
- - - -

  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/armhf/s/stunnel4/20171221_091933_bcd85@/log.gz

The net-tools package is not essential, so should be depended on by packages
which require it.

I have uploaded the attached patch to Ubuntu which fixes this test failure. 
Please consider applying it in Debian as well.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru stunnel4-5.44/debian/tests/control stunnel4-5.44/debian/tests/control
--- stunnel4-5.44/debian/tests/control  2017-11-15 02:02:20.000000000 -0800
+++ stunnel4-5.44/debian/tests/control  2018-02-04 23:19:59.000000000 -0800
@@ -3,4 +3,4 @@
 Restrictions: allow-stderr
 
 Test-Command: debian/tests/upstream
-Depends: @, netcat-traditional
+Depends: @, netcat-traditional, net-tools

Reply via email to