[21:30] <bdmurray> Could you update the test case with the setup you
configured on diamond? I just used the environment you had configured so
I'm not convinced what I tried at home was good.

Helping where I can :-)
Trying to add a full path of "how to reproduce"

# Prep VM
$ uvt-simplestreams-libvirt --verbose sync --source 
http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=xenial
$ uvt-kvm create --password=ubuntu artful-test-xfs release=xenial arch=amd64 
label=daily
$ uvt-kvm ssh --insecure xenial-test-xfs
# all following in the VM

# Prep (fake) Devices
$ sudo apt update
$ sudo apt install xfsprogs
$ sudo mkdir /mnt/loop-device /mnt/test /mnt/scratch
$ for i in $(seq 0 1); do sudo fallocate -o 0 -l 1GiB 
/mnt/loop-device/file-$i.img; done
$ for i in $(seq 0 1); do sudo losetup /dev/loop$i 
/mnt/loop-device/file-$i.img; done
$ for i in $(seq 0 1); do sudo mkfs.xfs /dev/loop$i; done

# make the test build
$ git clone http://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
$ cd xfstests-dev/
$ sudo apt-get install bc xfslibs-dev uuid-dev libtool-bin e2fsprogs automake 
gcc libuuid1 quota attr libattr1-dev make libacl1-dev libaio-dev xfsprogs 
libgdbm-dev gawk fio dbench uuid-runtime
$ make

# Configure and run the test
$ cat << EOF > local.config
export TEST_DEV=/dev/loop0
export TEST_DIR=/mnt/test
export SCRATCH_DEV=/dev/loop1
export SCRATCH_MNT=/mnt/scratch
EOF
$ sudo ./check tests/xfs/073

Output:
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 xenial-xfs-test 4.4.0-93-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-09-08 07:09:40.754427994 +0000
    +++ /home/ubuntu/xfstests-dev/results//xfs/073.out.bad      2017-09-08 
07:12:08.382624013 +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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1696102

Title:
  xfs/073 test fails with Metadata corruption detected on xfs file
  system (xfsprogs)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1696102/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to