Package: mininet
Version: 2.2.2-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch autopkgtest

Dear maintainers,

Since the upload of mininet 2.2.2-2, the autopkgtests for this package have
been consistently failing in Ubuntu:

*** Adding switches:
Cannot find required executable ovs-vsctl.
Please make sure that Open vSwitch (openvswitch.org) is installed and available 
in your $PATH:
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin)
autopkgtest [15:11:15]: test simple: -----------------------]
simple               FAIL non-zero exit status 1

  http://autopkgtest.ubuntu.com/packages/m/mininet/bionic/amd64

The openvswitch-switch package is only a recommends: of the binary package,
so is not automatically installed in the test environment.

This test failure is not reported on ci.debian.net, because the test
infrastructure there does not provide machine-isolation, so these tests are
skipped instead.

The attached patch, which has been uploaded to Ubuntu, adds an explicit test
dependency on openvswitch-switch to let it pass.  Please consider applying
this patch in Debian.

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 mininet-2.2.2/debian/tests/control mininet-2.2.2/debian/tests/control
--- mininet-2.2.2/debian/tests/control  2017-12-03 05:29:47.000000000 -0800
+++ mininet-2.2.2/debian/tests/control  2018-02-05 23:29:08.000000000 -0800
@@ -1,3 +1,3 @@
 Tests: simple
-Depends: @, sudo, net-tools
+Depends: @, sudo, net-tools, openvswitch-switch
 Restrictions: isolation-machine, needs-root

Reply via email to