From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] How to convert TFAIL into TCONF for netns_*
Date: Wed, 18 Jul 2018 09:05:32 -0400 (EDT) [thread overview]
Message-ID: <1467848633.34028528.1531919132241.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20180713150356.025d1b75@dell-desktop.home>
----- Original Message -----
> Hello everyone,
>
> While running containers' tests we got failures on all netns_xxx
> tests with different errors but the main one is:
>
> unable to create veth pair devices
Checking the output of 'ip' could be one way:
# ip link add ve_A type veth peer name ve_B
RTNETLINK answers: Operation not supported
If there's "Operation not supported" -> TCONF, else TBROK.
>
> It is because we currently do not have CONFIG_VETH enabled.
> There are also some tests failing because we again do not have the
> correct configuration such as CONFIG_TUN for netns_link tests:
> https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/containers/netns/netns_netlink.c#L142
Similar here, but check for ENODEV.
Other than that I can only think of grepping /proc/kallsyms,
which could break if symbols change name.
Regards,
Jan
>
> We would like to convert all these TFAIL tests into TCONF but we
> are not sure how to implement that in a proper way. The readme of this
> test indicates the kernel's configurations needed but we would like
> to test the kernel that we currently have without any modification.
>
> What do you think about that?
> What should we do to convert these TBROK into TCONF?
>
> Thank you in advance,
> Best regards,
>
> --
> Mylène Josserand, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
next prev parent reply other threads:[~2018-07-18 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 13:03 [LTP] How to convert TFAIL into TCONF for netns_* =?unknown-8bit?q?Myl=C3=A8ne?= Josserand
2018-07-18 13:05 ` Jan Stancek [this message]
2018-08-02 14:08 ` =?unknown-8bit?q?Myl=C3=A8ne?= Josserand
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=1467848633.34028528.1531919132241.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--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