[Bug 1696102] Re: xfs/073 test fails with Metadata corruption detected on xfs file system (xfsprogs)
ChristianEhrhardt
1696102 at bugs.launchpad.net
Thu Aug 31 09:02:10 UTC 2017
I was asked to also recheck:
Working on artful for me as well:
<get the tests to build>
<setup as described 2x2G is enough>
[...]
root at cpaelzer-artful:/home/ubuntu/xfstests-dev# ./check tests/xfs/073
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/ppc64le cpaelzer-artful 4.11.0-10-generic
MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
xfs/073 4s
Ran: xfs/073
Passed all 1 tests
xfsprogs 4.9.0+nmu1ubuntu1 ppc64el
---
Comparing Xenial:
./check tests/xfs/073
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/ppc64le cpaelzer-xenial 4.4.0-92-generic
MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
xfs/073 [failed, exit status 1] - output mismatch (see /home/ubuntu/xfstests-dev/results//xfs/073.out.bad)
--- tests/xfs/073.out 2017-08-31 08:53:15.888003364 +0000
+++ /home/ubuntu/xfstests-dev/results//xfs/073.out.bad 2017-08-31 08:59:47.111628779 +0000
@@ -59,8 +59,7 @@
comparing new image geometry to old
unmounting and removing new image
checking new image
-mounting new image on loopback
-comparing new image files to old
-comparing new image directories to old
-comparing new image geometry to old
...
(Run 'diff -u tests/xfs/073.out /home/ubuntu/xfstests-dev/results//xfs/073.out.bad' to see the entire diff)
Ran: xfs/073
Failures: xfs/073
Failed 1 of 1 tests
xfsprogs 4.3.0+nmu1ubuntu1
---
@bdmurray - I left you two KVM guests that are set up with that on Diamond and imported your keys there, ping me if you need help to access (but vorlon can help as well if I'm out of reach).
- cpaelzer-artful
- cpaelzer-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xfsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1696102
Title:
xfs/073 test fails with Metadata corruption detected on xfs file
system (xfsprogs)
Status in The Ubuntu-power-systems project:
Fix Released
Status in linux package in Ubuntu:
Invalid
Status in xfsprogs package in Ubuntu:
Fix Released
Status in linux source package in Xenial:
Invalid
Status in xfsprogs source package in Xenial:
Triaged
Status in linux source package in Zesty:
Invalid
Status in xfsprogs source package in Zesty:
Triaged
Bug description:
Problem Description
--------------------------------
xfs/073 test fails with Metadata corruption detected on xfs file system. Test fails with _check_xfs_filesystem: filesystem on /mnt/test/84004.image2 is inconsistent.
# diff -u tests/xfs/073.out /root/xfstests-dev/results//xfs/073.out.bad
--- tests/xfs/073.out 2017-03-23 12:13:05.288877197 +0530
+++ /root/xfstests-dev/results//xfs/073.out.bad 2017-03-27 11:11:43.023059702 +0530
@@ -59,8 +59,7 @@
comparing new image geometry to old
unmounting and removing new image
checking new image
-mounting new image on loopback
-comparing new image files to old
-comparing new image directories to old
-comparing new image geometry to old
-unmounting and removing new image
+_check_xfs_filesystem: filesystem on /mnt/test/15413.image2 is inconsistent (c)
+(see /root/xfstests-dev/results//xfs/073.full for details)
+_check_xfs_filesystem: filesystem on /mnt/test/15413.image2 is inconsistent (r)
+(see /root/xfstests-dev/results//xfs/073.full for details)
Metadata corruption detected at xfs_agf block 0x1/0x200
# uname -a
Linux ltc-tuleta12 4.10.0-21-generic #23~16.04.1-Ubuntu SMP Tue May 2 12:54:57 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Steps to reproduce:
----------------------------------------
1. Create a loop device with xfs filesystem
2. git clone git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git; cd xfstests-dev
3. make
4. Create a local.conf for running with created loop device
5.. Run xfstests-dev test : ./check tests/xfs/073
Full log is attached.
== Comment: #2 - Harish Sriram <hasriram at in.ibm.com> - 2017-05-31 01:22:11 ==
(In reply to comment #1)
> Hi Harish,
> Can you share the steps used in creating the loop device with xfs filesystem
> ?
>
> Thank you.
Create loop device:
# mkdir /mnt/loop-device /mnt/test /mnt/scratch
# for i in $(seq 0 1); do fallocate -o 0 -l 5GiB /mnt/loop-device/file-$i.img; done
# for i in $(seq 0 1); do losetup /dev/loop$i /mnt/loop-device/file-$i.img; done
Create File system:
# for i in $(seq 0 1); do mkfs.ext4 -F /dev/loop$i; done
# cat local.config
export TEST_DEV=/dev/loop0
export TEST_DIR=/mnt/test
export SCRATCH_DEV=/dev/loop1
export SCRATCH_MNT=/mnt/scratch
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1696102/+subscriptions
More information about the foundations-bugs
mailing list