xfstests fails with Metadata corruption at leaf on xfs filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Unassigned | ||
xfsprogs (Ubuntu) |
Fix Released
|
Medium
|
Canonical Foundations Team |
Bug Description
Problem Description
-------
xfstests fails with Metadata corruption at leaf on xfs filesystem
Environment
------------------
Kernel Build: 4.12.1-
System Name : ltc-test-ci2
Model : 8247-22L
Platform : PowerNV ( P8 )
Uname output
-------------------
# uname -a
Linux ltc-test-ci2 4.12.1-
Steps to reproduce:
-------
1. dd if=/dev/null of=/tmp/loop.img bs=$((1024*
2. dd if=/dev/null of=/tmp/loop2.img bs=$((1024*
3. sudo apt install libaio-dev acl-dev attr-dev xfslibs-dev xfsprogs attr bc
4. git clone git://git.
5. make
6. LOOP=$(sudo losetup -f --show /tmp/loop.img)
7. LOOP2=$(sudo losetup -f --show /tmp/loop2.img)
6. $ cat > local.config <<EOF
export TEST_DEV=$LOOP
export TEST_DIR=/mnt/test
export SCRATCH_DEV=$LOOP2
export SCRATCH_
EOF
7. sudo mkdir -p /mnt/test /mnt/scratch
8. Run xfstests-dev test : sudo ./check tests/xfs/288
9. sudo rmdir -p /mnt/test /mnt/scratch
10. sudo losetup -d $LOOP LOOP2
11. rm /tmp/loop.img /tmp/loop2.img
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/ppc64le ltc-test-ci2 4.12.1-
MKFS_OPTIONS -- -f -bsize=4096 /dev/loop6
MOUNT_OPTIONS -- /dev/loop6 /mnt/scratch
xfs/288 [failed, exit status 1] - output mismatch (see /root/harish/
--- tests/xfs/288.out 2017-07-13 06:04:36.276322778 -0400
+++ /root/harish/
@@ -1,2 +1,3 @@
QA output created by 288
-Silence is golden
+xfs_repair didn't junk the empty attr leaf
+(see /root/harish/
...
(Run 'diff -u tests/xfs/288.out /root/harish/
_check_
(see /root/harish/
Ran: xfs/288
Failures: xfs/288
Failed 1 of 1 tests
Nothing observed in dmesg.
Full log is attached.
Found https:/
.
xfsprogs source (https:/
is downloaded and check for the commit and not able to see this commit integrated.
affects: | ubuntu → xfsprogs (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: triage-g |
Changed in ubuntu-power-systems: | |
status: | New → Fix Released |
Default Comment by Bridge