linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: mdadm regression tests fail
Date: Tue, 4 Jan 2022 21:07:38 -0600	[thread overview]
Message-ID: <f6db0bed-2f6c-d98c-c413-583030909700@gmail.com> (raw)
In-Reply-To: <c4c17b11-16f4-ef70-5897-02f923907963@gmail.com>

I am trying to document the mdadm-4.2 installation procedures for our book,
https://www.linuxfromscratch.org/blfs/view/svn/postlfs/mdadm.html

For testing, I am doing a simple:

    make
    sudo ./test --keep-going --logdir=test-logs --save-logs

But I get failures for about half the tests.

Digging in a bit I just ran:

   sudo ./test --tests=00raid0 --logdir=test-logs

This is the first test that fails.  With some hacking, it appears that the first
portion of this test that fails is:

     mdadm -CR $md0 -e0.90 -l0 -n4 $dev0 $dev1 $dev2 $dev3

This resolves to

     mdadm -CR /dev/md0 -e0.90 -l0 -n4 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3

There is not a lot of error output in the test, so I manually ran:

     dd if=/dev/zero of=/tmp/mdtest0 count=20000 bs=1K
     losetup /dev/loop0 /tmp/mdtest0

For /dev/loop[0123]

Then I ran

     mdadm -CR /dev/md0 -e0.90 -l0 -n4 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3
     mdadm: 0.90 metadata does not support layouts for RAID0

My question is whether the regression tests in the tarball are valid for mdadm-4.2?

     -- Bruce Dubbs
        linuxfromscratch.org

Note: The kernel is version 5.15.12.


       reply	other threads:[~2022-01-05  3:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c4c17b11-16f4-ef70-5897-02f923907963@gmail.com>
2022-01-05  3:07 ` Bruce Dubbs [this message]
2022-01-05 17:12 ` mdadm regression tests fail Randy Dunlap
2022-01-05 17:44   ` Wols Lists
2022-01-05 20:42     ` Bruce Dubbs
2022-01-11 12:06       ` Mariusz Tkaczyk

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=f6db0bed-2f6c-d98c-c413-583030909700@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).