From: Petr Vorel <petr.vorel@gmail.com>
To: Lucas De Marchi <lucas.de.marchi@gmail.com>
Cc: "Michal Suchánek" <msuchanek@suse.de>,
linux-modules <linux-modules@vger.kernel.org>
Subject: Re: depmod test fails when zstd not available
Date: Thu, 28 Jan 2021 17:25:14 +0100 [thread overview]
Message-ID: <YBLlai0GEEnhg68X@pevik> (raw)
In-Reply-To: <CAKi4VAK6PB1UxwcaPwmL0b0dByq8QcZYuWj5SZVaGjtRuu7BmA@mail.gmail.com>
Hi Lucas,
> On Thu, Jan 28, 2021 at 5:02 AM Michal Suchánek <msuchanek@suse.de> wrote:
> > Hello,
> > kmod version 28 adds support for zstd. The support is optional but when
> > not enabled the depmod test which unconditionally tests zstd fails.
> > As kmod supports more and more compression methods I think it is not
> > reasonable to expect everyone has all copression libraries available.
> > Do you think it is reasonable to fix the tests to only use teh
> > compresion methods enabled by configure?
> We specifically added support for skipping tests when the build
> options would imply that the test
> would fail. It should not be failing, we probably screwed something up.
I noticed that and backported both related patches during backport:
847247a testsuite: Automatically skip tests that fail when sysconfdir != /etc.
b5683f4 testsuite: Add facility to skip tests.
but it failed.
Also running master with:
./autogen.sh && ./configure CFLAGS='-g -O2' --enable-debug --with-zstd --with-xz --with-zlib --with-openssl && ma && ma check
fails on testsuite/test-depmod:
depmod: WARNING: could not open modules.order at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.order at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.order at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.order at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/4.4.4: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/4.4.4: No such file or directory
TESTSUITE: running depmod_search_order_override, in forked context
TESTSUITE: SKIPPED: depmod_search_order_override
TESTSUITE: ------
TESTSUITE: running depmod_search_order_external_last, in forked context
TESTSUITE: 'depmod_search_order_external_last' [649] exited with return code 0
TESTSUITE: PASSED: depmod_search_order_external_last
TESTSUITE: ------
TESTSUITE: running depmod_search_order_external_first, in forked context
TESTSUITE: SKIPPED: depmod_search_order_external_first
TESTSUITE: ------
TESTSUITE: running depmod_detect_loop, in forked context
TESTSUITE: SKIPPED: depmod_detect_loop
TESTSUITE: ------
TESTSUITE: running depmod_search_order_same_prefix, in forked context
TESTSUITE: 'depmod_search_order_same_prefix' [650] exited with return code 0
TESTSUITE: ERR: sizes do not match testsuite/rootfs/test-depmod/search-order-same-prefix/lib/modules/4.4.4/correct-modules.dep testsuite/rootfs/test-depmod/search-order-same-prefix/lib/modules/4.4.4/modules.dep
TESTSUITE: ERR: FAILED: exit ok but outputs do not match: depmod_search_order_same_prefix
TESTSUITE: ------
FAIL testsuite/test-depmod (exit status: 1)
Kind regards,
Petr
prev parent reply other threads:[~2021-01-28 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-28 13:00 depmod test fails when zstd not available Michal Suchánek
2021-01-28 13:18 ` Lucas De Marchi
2021-01-28 16:25 ` 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=YBLlai0GEEnhg68X@pevik \
--to=petr.vorel@gmail.com \
--cc=linux-modules@vger.kernel.org \
--cc=lucas.de.marchi@gmail.com \
--cc=msuchanek@suse.de \
/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.