[CRIU] [PATCH] jenkins: exclude static/cgroups02 from the criu-dump job (v2)
Andrew Vagin
avagin at parallels.com
Tue Aug 26 07:43:02 PDT 2014
On Tue, Aug 26, 2014 at 09:21:08AM -0500, Tycho Andersen wrote:
> On Tue, Aug 26, 2014 at 02:53:14PM +0400, Andrey Vagin wrote:
> > In this job tests are dumped and resumed. The cgroup02 test checks,
> > that it is moved in another set of cgroups, but this is done on restore.
>
> I'm confused, I guess this test is totally broken? Is there a call to
> make it restore vs. resume?
No, it isn't;). Look at test/jenkins/:
[root at avagin-fc19-cr criu]# ls test/jenkins/
criu-btrfs.sh criu-dump.sh criu-lib.sh criu-pre-dump.sh criu-snap.sh
criu-by-id.sh criu-iter.sh criu-other.sh criu.sh
All these scripts are executed by our Jenkins as separate jobs. We want
to check different scenarios.
criu-dump checks that "criu dump" is not destructive. The most popular
use-case for this scenario is making snapshot of processes.
>
> Tycho
>
> > Output file: test/zdtm/live/static/cgroup02.out>
> > ------------------------------------------------------------------------------
> > 14:35:55.127: 85: found cgroup at cgroup02.test/zdtmtst>
> > 14:35:55.127: 85: found cgroup at cgroup02.test/defaultroot>
> > 14:35:55.127: 85: FAIL: cgroup02.c:132: oldroot not rewritten to zdtmtstroot!
> >
> > v2: typo fix
> > Signed-off-by: Andrey Vagin <avagin at openvz.org>
> > ---
> > test/jenkins/criu-dump.sh | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/test/jenkins/criu-dump.sh b/test/jenkins/criu-dump.sh
> > index d924d2b..3d69cf9 100644
> > --- a/test/jenkins/criu-dump.sh
> > +++ b/test/jenkins/criu-dump.sh
> > @@ -4,5 +4,5 @@ source `dirname $0`/criu-lib.sh &&
> > prep &&
> > mkdir -p test/dump &&
> > mount -t tmpfs dump test/dump &&
> > -make -C test -j 4 ZDTM_ARGS="-d -C" &&
> > +make -C test -j 4 ZDTM_ARGS="-d -C -x static/cgroup02" &&
> > true || fail
> > --
> > 1.9.3
> >
> > _______________________________________________
> > CRIU mailing list
> > CRIU at openvz.org
> > https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list