[CRIU] A few network related tests are failing
Adrian Reber
adrian at lisas.de
Tue Oct 30 12:11:28 MSK 2018
On Mon, Oct 29, 2018 at 08:56:17PM +0100, Adrian Reber wrote:
> On Mon, Oct 29, 2018 at 05:25:50PM +0100, Adrian Reber wrote:
> > On one of my test systems some network related tests are failing:
> >
> > # ./zdtm.py run -t zdtm/static/socket-tcp6-closed -t zdtm/static/socket-tcp4v6-closed -t zdtm/static/socket-tcp-syn-sent -t zdtm/static/netns-nf --keep-going
> >
> > All of those tests either fail with something like:
> >
> > tail: cannot open 'zdtm/static/socket-tcp6-closed.out' for reading: No such file or directory
> >
> > or:
> >
> > ./netns-nf --pidfile=netns-nf.pid --outfile=netns-nf.out --filename=netns-nf.test
> > The test failed (0, 1)
> > make: *** [Makefile:385: netns-nf.pid] Error 1
> > Test zdtm/static/netns-nf FAIL at ['make', '--no-print-directory', '-C', 'zdtm/static', 'netns-nf.pid']
> > Test output: ================================
> > iptables v1.6.2: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
> > Perhaps iptables or your kernel needs to be upgraded.
> > 16:21:51.941: 4: ERR: netns-nf.c:21: Can't set input rule (errno = 2 (No such file or directory))
> > 16:21:51.941: 3: ERR: test.c:316: Test exited unexpectedly with code 255
> >
> > All of those tests can fail with the iptables error or
> > with the tail error. I think this is not a real test
> > error but maybe timing related or something like that.
> >
> > It is on a 4.18 kernel and all other tests in zdtm are working.
> >
> > Any recommendations how to fix this. Where to look?
>
> So I fixed all of the iptables related error by 'git clean -xdf'. It
> seems the tests in namespaces were using old binaries.
>
> Now only zdtm/static/socket-tcp6-closed and
> zdtm/static/socket-tcp4v6-closed are failing with:
>
> tail: cannot open 'zdtm/static/socket-tcp6-closed.out' for reading: No such file or directory
> ########### Test zdtm/static/socket-tcp6-closed FAIL at result check ###########
> tail: cannot open 'zdtm/static/socket-tcp4v6-closed.out' for reading: No such file or directory
> ########## Test zdtm/static/socket-tcp4v6-closed FAIL at result check ##########
This seems to be a python3 error. If I run the test with python2 it
works. This is really strange. Not yet sure why.
Adrian
More information about the CRIU
mailing list