Package: varnish
Version: 3.0.5-1
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty
User: autopkgtest-de...@lists.alioth.debian.org
Usertags: autopkgtest

Hello,

varnish's autopkgtest currently fails pretty much completely [1]:

Turns out that it needs to run as root, as it is issuing lots of
"service stop/start" etc. commands during its tests. Simple fix
attached, confirmed with

  adt-run -B .// --- schroot sid

I also confirmed it in Qemu.

Thanks for considering,

Martin

[1] http://ci.debian.net/#package/varnish
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru varnish-3.0.5/debian/changelog varnish-3.0.5/debian/changelog
--- varnish-3.0.5/debian/changelog      2013-12-02 15:06:51.000000000 +0100
+++ varnish-3.0.5/debian/changelog      2014-03-24 18:16:41.000000000 +0100
@@ -1,3 +1,9 @@
+varnish (3.0.5-2) UNRELEASED; urgency=medium
+
+  * Add missing "needs-root" test restriction to fix autopkgtest.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Mon, 24 Mar 2014 18:16:29 +0100
+
 varnish (3.0.5-1) unstable; urgency=low
 
   * Imported upstream version 3.0.5
diff -Nru varnish-3.0.5/debian/tests/control varnish-3.0.5/debian/tests/control
--- varnish-3.0.5/debian/tests/control  2013-12-02 15:06:51.000000000 +0100
+++ varnish-3.0.5/debian/tests/control  2014-03-24 18:15:58.000000000 +0100
@@ -1,2 +1,3 @@
 Tests: run-tests
 Depends: @,perl
+Restrictions: needs-root

Attachment: signature.asc
Description: Digital signature

Reply via email to