[Pkg-varnish-devel] Bug#742520: Fix broken autopkgtest
Martin Pitt
martin.pitt at ubuntu.com
Mon Mar 24 17:19:16 UTC 2014
Package: varnish
Version: 3.0.5-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty
User: autopkgtest-devel at 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)
-------------- next part --------------
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.pitt at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-varnish-devel/attachments/20140324/52e585f2/attachment.sig>
More information about the Pkg-varnish-devel
mailing list