* [LTP] netns testcases are failing.
@ 2016-11-18 6:16 nousi
2016-11-18 10:00 ` Alexey Kodanev
0 siblings, 1 reply; 2+ messages in thread
From: nousi @ 2016-11-18 6:16 UTC (permalink / raw)
To: ltp
Hi,
please can someone help me on the below error.
Why the test case is unable create the veth pair.
CONFIG_VETH=y is enabled.
+ scrpt=netns_parent.sh
+ debug 'INFO: Script to be executed in parent NS is netns_parent.sh'
+ '[' 0 = 1 ']'
+ echo 1
+ echo 1
+ create_veth
+ ip link show
+ ip link add type veth
+ sleep 1
+ ip link show
++ diff /tmp/net1 /tmp/net2
++ awk '-F: ' '/^> [0-9]*:/ { print "dev" i+0 "=" $2; i++ }'
+ eval
+ vnet0=
+ vnet1=
+ '[' -z '' -o -z '' ']'
+ tst_resm TFAIL 'Error: unable to create veth pair'
+ tst_flag2mask TFAIL
+ case "$1" in
+ return 1
+ local mask=1
+ LTP_RET_VAL=1
+ local ret=TFAIL
+ shift
+ echo 'netns_parentns.sh 1 TFAIL : Error: unable to create veth pair'
netns_parentns.sh 1 TFAIL : Error: unable to create veth pair
+ case "$ret" in
+ TST_COUNT=2
+ exit 1
netns_crtchild 1 TFAIL : common.c:89: Error while running the script
--
Thanks & Regards,
B.Nousilal,
^ permalink raw reply [flat|nested] 2+ messages in thread* [LTP] netns testcases are failing.
2016-11-18 6:16 [LTP] netns testcases are failing nousi
@ 2016-11-18 10:00 ` Alexey Kodanev
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Kodanev @ 2016-11-18 10:00 UTC (permalink / raw)
To: ltp
Hi,
On 11/18/2016 09:16 AM, nousi wrote:
> Hi,
>
> please can someone help me on the below error.
> Why the test case is unable create the veth pair.
> CONFIG_VETH=y is enabled.
>
> + scrpt=netns_parent.sh
> + debug 'INFO: Script to be executed in parent NS is netns_parent.sh'
There is no such script since commit, netns tests were rewritten a year ago:
commit 3a23e1bf110e9b14e599e2181031ceb32d267516
Author: Matus Marhefka <mmarhefk@redhat.com>
Date: Tue Aug 18 13:58:45 2015 +0200
containers/netns tests rewritten
Please make sure you are running the latest LTP version.
Thanks,
Alexey
> + '[' 0 = 1 ']'
> + echo 1
> + echo 1
> + create_veth
> + ip link show
> + ip link add type veth
> + sleep 1
> + ip link show
> ++ diff /tmp/net1 /tmp/net2
> ++ awk '-F: ' '/^> [0-9]*:/ { print "dev" i+0 "=" $2; i++ }'
> + eval
> + vnet0=
> + vnet1=
> + '[' -z '' -o -z '' ']'
> + tst_resm TFAIL 'Error: unable to create veth pair'
> + tst_flag2mask TFAIL
> + case "$1" in
> + return 1
> + local mask=1
> + LTP_RET_VAL=1
> + local ret=TFAIL
> + shift
> + echo 'netns_parentns.sh 1 TFAIL : Error: unable to create veth pair'
> netns_parentns.sh 1 TFAIL : Error: unable to create veth pair
> + case "$ret" in
> + TST_COUNT=2
> + exit 1
> netns_crtchild 1 TFAIL : common.c:89: Error while running the script
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-18 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-18 6:16 [LTP] netns testcases are failing nousi
2016-11-18 10:00 ` Alexey Kodanev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox