All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/3] test_net.sh: delete netns before testing
Date: Fri, 23 Dec 2016 12:04:34 +0100	[thread overview]
Message-ID: <20161223110434.a2qs3qlofj5l7bkd@dell5510> (raw)
In-Reply-To: <7d5f577f-1484-6655-8401-1a2c76b2c56e@oracle.com>

Hi Alexey,
> Hmm, could you describe the error you are getting?
> I cannot reproduce it in my environment.

> ...or is it about setting IPv6 address for the second time on the interface,
> because network.sh and test_net.sh are both using the same '-6' option?
> network_settings 1 TINFO : set local addr fd00:1:1:1::2/64
> RTNETLINK answers: File exists
I don't know why (probably bad setup or something on my side), but sometimes it even it's
ltp_ns setup (/var/run/netns/ltp_ns exists), ltp_ns_veth2 device is not available
(directory /sys/class/net/ltp_ns_veth2/ doesn't exist):

/opt/ltp/testscripts/network.sh -6
...
cmdline="ping01.sh -6"
contacts=""
analysis=exit
<<<test_output>>>
cat: /sys/class/net/ltp_ns_veth2/address: No such file or directory
...
ping01 1 TINFO : ping6 with 8 16 32 64 128 256 512 1024 2048 4064 ICMP packets
ping01 1 TFAIL : ping6 -c 3 -s 8 fd00:1:1:1::1 >/dev/null failed unexpectedly

> Moreover, it's not needed to set TST_USE_NETNS.
OK, do I understand that for netns I don't need to setup any variable?

Kind regards,
Petr

  reply	other threads:[~2016-12-23 11:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 23:04 [LTP] [PATCH 1/3] test_net.sh: fix netns when defined LHOST_IFACES or RHOST_IFACES Petr Vorel
2016-12-21 23:04 ` [LTP] [PATCH 2/3] test_net.sh: delete netns before testing Petr Vorel
2016-12-22 11:08   ` Alexey Kodanev
2016-12-23 11:04     ` Petr Vorel [this message]
2017-01-09 12:09       ` Alexey Kodanev
2016-12-21 23:04 ` [LTP] [PATCH 3/3] test_net.sh: netns as default in tst_rhost_run Petr Vorel
2017-01-19 17:50   ` Petr Vorel
2017-01-20 16:14     ` Alexey Kodanev
2017-01-23  9:57       ` Petr Vorel
2016-12-22 10:47 ` [LTP] [PATCH 1/3] test_net.sh: fix netns when defined LHOST_IFACES or RHOST_IFACES Alexey Kodanev
2016-12-22 13:01   ` Petr Vorel
2016-12-22 14:15     ` Alexey Kodanev
2016-12-22 15:17       ` Petr Vorel
2016-12-22 17:55         ` Alexey Kodanev
2016-12-23 10:54           ` Petr Vorel

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=20161223110434.a2qs3qlofj5l7bkd@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 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.