2018-06-05 07:14:05

by kernel test robot

[permalink] [raw]
Subject: [lkp-robot] [vti6] b4331a6818: kernel_selftests.net.pmtu.sh.fail


FYI, we noticed the following commit (built with gcc-7):

commit: b4331a681822b420511b3258f1c3db35001fde48 ("vti6: Change minimum MTU to IPV4_MIN_MTU, vti6 can carry IPv4 too")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: kernel_selftests
with following parameters:

group: kselftests-02

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt


on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


selftests: pmtu.sh
========================================
TEST: vti6: PMTU exceptions [ OK ]
TEST: vti4: PMTU exceptions [ OK ]
TEST: vti4: default MTU assignment [ OK ]
TEST: vti6: default MTU assignment [ OK ]
TEST: vti4: MTU setting on link creation [ OK ]
TEST: vti6: MTU setting on link creation [FAIL]
vti6 tunnel created with invalid MTU 1279
TEST: vti6: MTU changes on link changes [ OK ]
not ok 1..13 selftests: pmtu.sh [FAIL]
make: Leaving directory '/usr/src/linux-selftests-x86_64-fedora-25-b4331a681822b420511b3258f1c3db35001fde48/tools/testing/selftests/net'


To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Xiaolong


Attachments:
(No filename) (1.76 kB)
config-4.16.0-07301-gb4331a6 (196.41 kB)
job-script (5.70 kB)
dmesg.xz (41.59 kB)
kernel_selftests (76.61 kB)
Download all attachments

2018-06-05 09:09:28

by Stefano Brivio

[permalink] [raw]
Subject: Re: [lkp-robot] [vti6] b4331a6818: kernel_selftests.net.pmtu.sh.fail

On Tue, 5 Jun 2018 15:09:27 +0800
kernel test robot <[email protected]> wrote:

> FYI, we noticed the following commit (built with gcc-7):
>
> commit: b4331a681822b420511b3258f1c3db35001fde48 ("vti6: Change minimum MTU to IPV4_MIN_MTU, vti6 can carry IPv4 too")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> [...]
>
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
>
>
> selftests: pmtu.sh
> ========================================
> TEST: vti6: PMTU exceptions [ OK ]
> TEST: vti4: PMTU exceptions [ OK ]
> TEST: vti4: default MTU assignment [ OK ]
> TEST: vti6: default MTU assignment [ OK ]
> TEST: vti4: MTU setting on link creation [ OK ]
> TEST: vti6: MTU setting on link creation [FAIL]
> vti6 tunnel created with invalid MTU 1279

This is solved by net-next.git commit 5a643c861d0f ("selftests: pmtu:
Minimum MTU for vti6 is 68"), which should get merged into net.git soon.

--
Stefano