xfs
[Top] [All Lists]

Re: [PATCH] xfstests: 311: fsck the dmflakey device instead of the real

To: Josef Bacik <jbacik@xxxxxxxxxxxx>
Subject: Re: [PATCH] xfstests: 311: fsck the dmflakey device instead of the real device V2
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Thu, 16 May 2013 09:04:20 -0500
Cc: <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1368631217-15511-1-git-send-email-jbacik@xxxxxxxxxxxx>
References: <1368631217-15511-1-git-send-email-jbacik@xxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
On 05/15/2013 10:20 AM, Josef Bacik wrote:
Dave pointed out that xfs was having issues with 311 because of caching issues.
He suggested that I fsck the dm-flakey device to make sure we don't have this
problem.  Make _check_scratch_fs take an optional argument to use as the device
to fsck.  Thanks,

Signed-off-by: Josef Bacik <jbacik@xxxxxxxxxxxx>
---
Hi Josef,

Looks like it fails test 19 , are we supposed to see failures for ext4 and xfs?

./check generic/311
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 cxfsxe4 3.9.0+
MKFS_OPTIONS  -- -f -bsize=4096 /dev/sdk2
MOUNT_OPTIONS -- /dev/sdk2 /mnt/scratch

generic/311 - output mismatch (see /usr/src/xfstests/results/generic/311.out.bad)
    --- tests/generic/311.out   2013-05-08 09:30:37.000000000 -0500
+++ /usr/src/xfstests/results/generic/311.out.bad 2013-05-16 08:13:00.000000000 -0500
    @@ -293,16 +293,16 @@
     26b2ad08ac2589804a15ceb473f0b1ac
     Running test 19 direct, normal suspend
     Random seed is 19
    -26b2ad08ac2589804a15ceb473f0b1ac
    -26b2ad08ac2589804a15ceb473f0b1ac
    +d41d8cd98f00b204e9800998ecf8427e
    +d41d8cd98f00b204e9800998ecf8427e
     ...
(Run 'diff -u tests/generic/311.out /usr/src/xfstests/results/generic/311.out.bad' to see the entire diff)
Ran: generic/311
Failures: generic/311
Failed 1 of 1 tests

./check generic/311
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 cxfsxe4 3.9.0+
MKFS_OPTIONS  -- /dev/sdk2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/sdk2 /mnt/scratch

generic/311 - output mismatch (see /usr/src/xfstests/results/generic/311.out.bad)
    --- tests/generic/311.out   2013-05-08 09:30:37.000000000 -0500
+++ /usr/src/xfstests/results/generic/311.out.bad 2013-05-16 08:16:50.000000000 -0500
    @@ -293,16 +293,16 @@
     26b2ad08ac2589804a15ceb473f0b1ac
     Running test 19 direct, normal suspend
     Random seed is 19
    -26b2ad08ac2589804a15ceb473f0b1ac
    -26b2ad08ac2589804a15ceb473f0b1ac
    +d41d8cd98f00b204e9800998ecf8427e
    +d41d8cd98f00b204e9800998ecf8427e
     ...
(Run 'diff -u tests/generic/311.out /usr/src/xfstests/results/generic/311.out.bad' to see the entire diff)
Ran: generic/311
Failures: generic/311
Failed 1 of 1 tests

It passes for btrfs.

./check generic/311
FSTYP         -- btrfs
PLATFORM      -- Linux/x86_64 cxfsxe4 3.9.0+
MKFS_OPTIONS  -- /dev/sdk2
MOUNT_OPTIONS -- /dev/sdk2 /mnt/scratch

generic/311      46s
Ran: generic/311
Passed all 1 tests

<Prev in Thread] Current Thread [Next in Thread>