[LTP] Networking test failing
Petr Vorel
pvorel@suse.cz
Mon Feb 17 16:58:40 CET 2020
Hi,
> i am running ltp test when i checked log files i found following errors in networking tests. I am not getting how to run these test individually????
export PATH="/opt/ltp/testcases/bin:$PATH"
netns_breakns.sh ns_exec ipv4 netlink
on properly installed LTP, to default path /opt/ltp
(that's from runtest/containers).
> netns_netlink 1 TBROK : netns_netlink.c:143: system() failed
> netns_netlink 2 TBROK : netns_netlink.c:143: Remaining cases broken
> netns_breakns_ns_exec_ipv4_netlink 1 TBROK: unable to create veth pair devices
> Cannot find device "veth0"
It fails on ip link add veth0 type veth peer name veth1.
Do you have CONFIG_VETH=m or CONFIG_VETH=y in your kernel config (in /boot/config-$(uname -r)).
> I am attaching log file report
> netns_netlink FAIL 2
> netns_breakns_ns_exec_ipv4_netlink FAIL 2
> netns_breakns_ns_exec_ipv6_netlink FAIL 2
> netns_breakns_ns_exec_ipv4_ioctl FAIL 2
> netns_breakns_ns_exec_ipv6_ioctl FAIL 2
> netns_breakns_ip_ipv4_netlink FAIL 2
> netns_breakns_ip_ipv6_netlink FAIL 2
> netns_breakns_ip_ipv4_ioctl FAIL 2
> netns_breakns_ip_ipv6_ioctl FAIL 2
> netns_comm_ns_exec_ipv4_netlink FAIL 2
> netns_comm_ns_exec_ipv6_netlink FAIL 2
> netns_comm_ns_exec_ipv4_ioctl FAIL 2
> netns_comm_ns_exec_ipv6_ioctl FAIL 2
> netns_comm_ip_ipv4_netlink FAIL 2
> netns_comm_ip_ipv6_netlink FAIL 2
> netns_comm_ip_ipv4_ioctl FAIL 2
> netns_comm_ip_ipv6_ioctl FAIL 2
> netns_sysfs FAIL 2
Well, next time a bit more info about the kernel and distro you run might help :).
> How i can resolve these errors please guide me how these tests needs to run and from which path.
> Thank you
Kind regards,
Petr
More information about the ltp
mailing list