[LTP] Netns tests failure

Ankita Anil Kulkarni Ankita.AN@exaleapsemi.com
Wed Nov 24 14:32:05 CET 2021


Hi,
I am facing failure with following tests.

netns_breakns_ip_ipv4_ioctl
netns_breakns_ip_ipv6_ioctl
netns_breakns_ns_exec_ipv4_ioctl
netns_breakns_ns_exec_ipv6_ioctl
netns_comm_ip_ipv4_ioctl
netns_comm_ip_ipv6_ioctl
netns_comm_ns_exec_ipv4_ioctl
netns_comm_ns_exec_ipv6_ioctl
​ERROR:
 TBROK: adding address to veth0 failed

What could be the reason of failure?

Thanks,
Ankita Kulkarni


________________________________
From: Ankita Anil Kulkarni
Sent: 22 November 2021 07:46 PM
To: ltp@lists.linux.it <ltp@lists.linux.it>
Subject: Netns tests failure

Hi,
I am executing netns tests on FU740(RISCV) for yocto linux kernel 5.10.41.
List of failures:
netns_breakns_ip_ipv4_ioctl
netns_breakns_ip_ipv4_netlink
netns_breakns_ip_ipv6_ioctl
netns_breakns_ip_ipv6_netlink
netns_breakns_ns_exec_ipv4_ioctl
netns_breakns_ns_exec_ipv4_netlink
netns_breakns_ns_exec_ipv6_ioctl
netns_breakns_ns_exec_ipv6_netlink
netns_comm_ip_ipv4_ioctl
netns_comm_ip_ipv4_netlink
netns_comm_ip_ipv6_ioctl
netns_comm_ip_ipv6_netlink
netns_comm_ns_exec_ipv4_ioctl
netns_comm_ns_exec_ipv4_netlink
netns_comm_ns_exec_ipv6_ioctl
netns_comm_ns_exec_ipv6_netlink
​I enabled following kernel configurations:
CONFIG_DUMMY=m
CONFIG_VETH=m
CONFIG_TUN=y
CONFIG_TAP=y
CONFIG_MACVLAN=y
CONFIG_NET_IP_TUNNEL=y
CONFIG_NET_CORE=y
CONFIG_NET_NSH=m
CONFIG_VXLAN=y
CONFIG_TUN_VNET_CROSS_LE=y
CONFIG_NETDEVICES=y
CONFIG_NET_NS=y
CONFIG_NETLABEL=y
CONFIG_VETH=y
CONFIG_NETLABEL=y
CONFIG_NET=y
CONFIG_NET_IP_TUNNEL=y
​What could be the reason of failure?
How do I proceed on this issue?

TBROK: unable to create veth pair devices
ip: can't find device 'veth0'

TBROK: don't obtain valid iproute version


Thanks,
Ankita Kulkarni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211124/683fe533/attachment.htm>


More information about the ltp mailing list