* [PATCH] btrfs: fix btrfs/271 failure due to missing source of fail_make_request
@ 2022-09-01 20:17 fdmanana
2022-09-02 2:27 ` Zorro Lang
0 siblings, 1 reply; 3+ messages in thread
From: fdmanana @ 2022-09-01 20:17 UTC (permalink / raw)
To: fstests; +Cc: linux-btrfs, Filipe Manana
From: Filipe Manana <fdmanana@suse.com>
The recent commit 49272aacac850c ("common: refactor fail_make_request
boilerplate") moved _require_fail_make_request() from common/rc into
common/fail_make_request, but it forgot to make btrfs/271 source this
new file, so now the test always fails:
$ ./check btrfs/271
FSTYP -- btrfs
PLATFORM -- Linux/x86_64 debian9 6.0.0-rc2-btrfs-next-122 #1 SMP PREEMPT_DYNAMIC Mon Aug 29 09:45:59 WEST 2022
MKFS_OPTIONS -- /dev/sdb
MOUNT_OPTIONS -- /dev/sdb /home/fdmanana/btrfs-tests/scratch_1
btrfs/271 4s ... - output mismatch (see /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad)
--- tests/btrfs/271.out 2022-08-08 10:36:20.404812893 +0100
+++ /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad 2022-09-01 21:12:29.689481068 +0100
@@ -1,4 +1,5 @@
QA output created by 271
+/home/fdmanana/git/hub/xfstests/tests/btrfs/271: line 17: _require_fail_make_request: command not found
Step 1: writing with one failing mirror:
wrote 8192/8192 bytes at offset 0
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
...
(Run 'diff -u /home/fdmanana/git/hub/xfstests/tests/btrfs/271.out /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad' to see the entire diff)
Ran: btrfs/271
Failures: btrfs/271
Failed 1 of 1 tests
Fix that by sourcing common/fail_make_request at btrfs/271.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
---
tests/btrfs/271 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/btrfs/271 b/tests/btrfs/271
index c21858d1..681fa965 100755
--- a/tests/btrfs/271
+++ b/tests/btrfs/271
@@ -10,6 +10,7 @@
_begin_fstest auto quick raid
. ./common/filter
+. ./common/fail_make_request
_supported_fs btrfs
_require_scratch
--
2.35.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: fix btrfs/271 failure due to missing source of fail_make_request
2022-09-01 20:17 [PATCH] btrfs: fix btrfs/271 failure due to missing source of fail_make_request fdmanana
@ 2022-09-02 2:27 ` Zorro Lang
2022-09-02 4:38 ` Zorro Lang
0 siblings, 1 reply; 3+ messages in thread
From: Zorro Lang @ 2022-09-02 2:27 UTC (permalink / raw)
To: fdmanana; +Cc: fstests, linux-btrfs, Filipe Manana
On Thu, Sep 01, 2022 at 09:17:02PM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
>
> The recent commit 49272aacac850c ("common: refactor fail_make_request
> boilerplate") moved _require_fail_make_request() from common/rc into
> common/fail_make_request, but it forgot to make btrfs/271 source this
> new file, so now the test always fails:
>
> $ ./check btrfs/271
> FSTYP -- btrfs
> PLATFORM -- Linux/x86_64 debian9 6.0.0-rc2-btrfs-next-122 #1 SMP PREEMPT_DYNAMIC Mon Aug 29 09:45:59 WEST 2022
> MKFS_OPTIONS -- /dev/sdb
> MOUNT_OPTIONS -- /dev/sdb /home/fdmanana/btrfs-tests/scratch_1
>
> btrfs/271 4s ... - output mismatch (see /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad)
> --- tests/btrfs/271.out 2022-08-08 10:36:20.404812893 +0100
> +++ /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad 2022-09-01 21:12:29.689481068 +0100
> @@ -1,4 +1,5 @@
> QA output created by 271
> +/home/fdmanana/git/hub/xfstests/tests/btrfs/271: line 17: _require_fail_make_request: command not found
> Step 1: writing with one failing mirror:
> wrote 8192/8192 bytes at offset 0
> XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> ...
> (Run 'diff -u /home/fdmanana/git/hub/xfstests/tests/btrfs/271.out /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad' to see the entire diff)
> Ran: btrfs/271
> Failures: btrfs/271
> Failed 1 of 1 tests
>
> Fix that by sourcing common/fail_make_request at btrfs/271.
>
> Signed-off-by: Filipe Manana <fdmanana@suse.com>
> ---
Thanks for fixing it! Looks like we missed the btrfs/271 ...
$ grep -rsn _require_fail_make_request tests/
tests/btrfs/271:16:_require_fail_make_request
tests/btrfs/088:26:_require_fail_make_request
tests/btrfs/150:25:_require_fail_make_request
tests/generic/019:21:_require_fail_make_request
Reviewed-by: Zorro Lang <zlang@redhat.com>
> tests/btrfs/271 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/btrfs/271 b/tests/btrfs/271
> index c21858d1..681fa965 100755
> --- a/tests/btrfs/271
> +++ b/tests/btrfs/271
> @@ -10,6 +10,7 @@
> _begin_fstest auto quick raid
>
> . ./common/filter
> +. ./common/fail_make_request
>
> _supported_fs btrfs
> _require_scratch
> --
> 2.35.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] btrfs: fix btrfs/271 failure due to missing source of fail_make_request
2022-09-02 2:27 ` Zorro Lang
@ 2022-09-02 4:38 ` Zorro Lang
0 siblings, 0 replies; 3+ messages in thread
From: Zorro Lang @ 2022-09-02 4:38 UTC (permalink / raw)
To: fdmanana; +Cc: fstests, linux-btrfs, Filipe Manana
On Fri, Sep 02, 2022 at 10:27:51AM +0800, Zorro Lang wrote:
> On Thu, Sep 01, 2022 at 09:17:02PM +0100, fdmanana@kernel.org wrote:
> > From: Filipe Manana <fdmanana@suse.com>
> >
> > The recent commit 49272aacac850c ("common: refactor fail_make_request
> > boilerplate") moved _require_fail_make_request() from common/rc into
> > common/fail_make_request, but it forgot to make btrfs/271 source this
> > new file, so now the test always fails:
> >
> > $ ./check btrfs/271
> > FSTYP -- btrfs
> > PLATFORM -- Linux/x86_64 debian9 6.0.0-rc2-btrfs-next-122 #1 SMP PREEMPT_DYNAMIC Mon Aug 29 09:45:59 WEST 2022
> > MKFS_OPTIONS -- /dev/sdb
> > MOUNT_OPTIONS -- /dev/sdb /home/fdmanana/btrfs-tests/scratch_1
> >
> > btrfs/271 4s ... - output mismatch (see /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad)
> > --- tests/btrfs/271.out 2022-08-08 10:36:20.404812893 +0100
> > +++ /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad 2022-09-01 21:12:29.689481068 +0100
> > @@ -1,4 +1,5 @@
> > QA output created by 271
> > +/home/fdmanana/git/hub/xfstests/tests/btrfs/271: line 17: _require_fail_make_request: command not found
> > Step 1: writing with one failing mirror:
> > wrote 8192/8192 bytes at offset 0
> > XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> > ...
> > (Run 'diff -u /home/fdmanana/git/hub/xfstests/tests/btrfs/271.out /home/fdmanana/git/hub/xfstests/results//btrfs/271.out.bad' to see the entire diff)
> > Ran: btrfs/271
> > Failures: btrfs/271
> > Failed 1 of 1 tests
> >
> > Fix that by sourcing common/fail_make_request at btrfs/271.
> >
> > Signed-off-by: Filipe Manana <fdmanana@suse.com>
> > ---
>
> Thanks for fixing it! Looks like we missed the btrfs/271 ...
>
> $ grep -rsn _require_fail_make_request tests/
> tests/btrfs/271:16:_require_fail_make_request
> tests/btrfs/088:26:_require_fail_make_request
> tests/btrfs/150:25:_require_fail_make_request
> tests/generic/019:21:_require_fail_make_request
>
> Reviewed-by: Zorro Lang <zlang@redhat.com>
Oh, Christoph has sent a patch to fix this issue:
https://lore.kernel.org/fstests/20220823193230.505544-1-hch@lst.de/
It's been reviewed but hasn't been merged (will be in this week).
Thanks,
Zorro
>
> > tests/btrfs/271 | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/tests/btrfs/271 b/tests/btrfs/271
> > index c21858d1..681fa965 100755
> > --- a/tests/btrfs/271
> > +++ b/tests/btrfs/271
> > @@ -10,6 +10,7 @@
> > _begin_fstest auto quick raid
> >
> > . ./common/filter
> > +. ./common/fail_make_request
> >
> > _supported_fs btrfs
> > _require_scratch
> > --
> > 2.35.1
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-02 4:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 20:17 [PATCH] btrfs: fix btrfs/271 failure due to missing source of fail_make_request fdmanana
2022-09-02 2:27 ` Zorro Lang
2022-09-02 4:38 ` Zorro Lang
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.