public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Networking test failing
Date: Mon, 17 Feb 2020 16:58:40 +0100	[thread overview]
Message-ID: <20200217155840.GA4424@dell5510> (raw)
In-Reply-To: <MAXPR0101MB146826599C0BAB5162CFDD3FEE160@MAXPR0101MB1468.INDPRD01.PROD.OUTLOOK.COM>

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

      reply	other threads:[~2020-02-17 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17  5:24 [LTP] Networking test failing Pankaj Vinadrao Joshi
2020-02-17 15:58 ` Petr Vorel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200217155840.GA4424@dell5510 \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox