[LTP] netns_netlink test failure
Yang Xu
xuyang2018.jy@cn.fujitsu.com
Mon Mar 2 09:08:38 CET 2020
Hi
CC LTP mail list, you may get more info from others.
> Hi,
> sir, have tried this it giving error with folloeing message
>
> root@exaleapsemi:~/pankaj_ltp# ip tuntap add dev dummy0 mode tap
> open: No such file or directory
It looks like your environment misses /dev/net/tun devfile, you should
check your kernel config and set "CONFIG_TUN=y/m".
Best Regards
Yang Xu
>
> Thanks
> ------------------------------------------------------------------------
> *From:* Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> *Sent:* Monday, March 2, 2020 11:11 AM
> *To:* Pankaj Vinadrao Joshi <Pankaj.VJ@exaleapsemi.com>
> *Cc:* Cyril Hrubis <chrubis@suse.cz>; ltp@lists.linux.it
> <ltp@lists.linux.it>
> *Subject:* Re: [LTP] netns_netlink test failure
> Hi
>
>> Hi,
>> What could be the possible reason behind failing,any guess??
> At lease, you should attach this command output.
> # ip tuntap add dev dummy0 mode tap
>
> Best Regards
> Yang Xu
>> ------------------------------------------------------------------------
>> *From:* Cyril Hrubis <chrubis@suse.cz>
>> *Sent:* Friday, February 28, 2020 2:51 PM
>> *To:* Pankaj Vinadrao Joshi <Pankaj.VJ@exaleapsemi.com>
>> *Cc:* ltp@lists.linux.it <ltp@lists.linux.it>
>> *Subject:* Re: [LTP] netns_netlink test failure
>> Hi!
>>> <<<test_output>>>
>>> open: No such file or directory
>>> netns_netlink 1 TBROK : netns_netlink.c:143: system() failed
>> ^
>> This is a line number,
>> if you look a the
>> source code of the
>> test, you see:
>>
>> if (WEXITSTATUS(system("ip tuntap add dev dummy0 mode tap")))
>> tst_brkm(TBROK, cleanup, "system() failed");
>>
>> So that the failed command was "ip tuntap add dev dummy0 mode tap", it's
>> up to
>> you to figure out why...
>>
>> --
>> Cyril Hrubis
>> chrubis@suse.cz
>> [EXT]
>>
>>
>
>
> [EXT]
More information about the ltp
mailing list