* [LTP] Networking test failing
@ 2020-02-17 5:24 Pankaj Vinadrao Joshi
2020-02-17 15:58 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-02-17 5:24 UTC (permalink / raw)
To: ltp
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????
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"
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
How i can resolve these errors please guide me how these tests needs to run and from which path.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200217/4df52ed2/attachment.htm>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LTP] Networking test failing
2020-02-17 5:24 [LTP] Networking test failing Pankaj Vinadrao Joshi
@ 2020-02-17 15:58 ` Petr Vorel
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2020-02-17 15:58 UTC (permalink / raw)
To: ltp
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-17 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-17 5:24 [LTP] Networking test failing Pankaj Vinadrao Joshi
2020-02-17 15:58 ` Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.