[CRIU] ✗ ci.openvz.org: failure for zdtm: use flake8 to verify zdtm.py (rev3)

Tycho Andersen tycho.andersen at canonical.com
Fri Jun 3 08:18:48 PDT 2016


On Fri, Jun 03, 2016 at 03:12:26PM -0000, Patchwork wrote:
> == Series Details ==
> 
> Series: zdtm: use flake8 to verify zdtm.py (rev3)
> URL   : https://zdtm.openvz.org/series/209/
> State : failure

Ah, whoops, but against criu-dev and not master :)

>From fd47cda5568727bc3e71c3fbf9ebf90584a2d56a Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.andersen at canonical.com>
Date: Fri, 3 Jun 2016 09:17:41 -0600
Subject: [PATCH] travis: run `make lint` to catch pep8 violations in zdtm.py

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 scripts/travis-tests | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/travis-tests b/scripts/travis-tests
index cb6ac1e..0045983 100755
--- a/scripts/travis-tests
+++ b/scripts/travis-tests
@@ -6,8 +6,9 @@ test "$1" = "x86_64" || exit 0
 apt-get update -qq
 apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev	\
 	libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev	\
-	libnl-3-dev gcc-multilib libc6-dev-i386
+	libnl-3-dev gcc-multilib libc6-dev-i386 flake8
 chmod a+x $HOME
 make
+make lint
 make -C test/zdtm
 python test/zdtm.py run -a -f h,ns -x 'cgroup*'
-- 
2.7.4


> == Logs ==
> 
> For more details see: https://ci.openvz.org/job/CRIU/job/criu-patchwork/299//console


More information about the CRIU mailing list