While running with "misc-next" btrfs-devel branch below test fails. Logs: https://github.com/Lakshmipathi/btrfsqa/tree/master/results/results_2017-12-05_12:14 screencast: https://asciinema.org/a/96MtJsjl0WaBDTzCRwK7oeqlZ #uname -a Linux ip-172-31-32-199.us-west-2.compute.internal 4.15.0-rc2 #1 SMP Tue Dec 5 10:21:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux bash-4.4# ./check tests/btrfs/100 FSTYP -- btrfs PLATFORM -- Linux/x86_64 ip-172-31-32-199 4.15.0-rc2 MKFS_OPTIONS -- /dev/xvdc MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/xvdc /mnt/scratch btrfs/100 - output mismatch (see /home/fedora/xfstests/results//btrfs/100.out.bad) --- tests/btrfs/100.out 2017-12-05 11:30:22.300933755 +0000 +++ /home/fedora/xfstests/results//btrfs/100.out.bad 2017-12-05 12:26:15.589611115 +0000 @@ -7,5 +7,6 @@ Label: none uuid: <UUID> Total devices <NUM> FS bytes used <SIZE> devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV + devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test === device replace completed ... (Run 'diff -u tests/btrfs/100.out /home/fedora/xfstests/results//btrfs/100.out.bad' to see the entire diff) Ran: btrfs/100 Failures: btrfs/100 Failed 1 of 1 tests ------------- bash-4.4# cat tests/btrfs/100.out QA output created by 100 Label: none uuid: <UUID> Total devices <NUM> FS bytes used <SIZE> devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test Label: none uuid: <UUID> Total devices <NUM> FS bytes used <SIZE> devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV === device replace completed ------ bash-4.4# cat /home/fedora/xfstests/results//btrfs/100.out.bad QA output created by 100 Label: none uuid: <UUID> Total devices <NUM> FS bytes used <SIZE> devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test Label: none uuid: <UUID> Total devices <NUM> FS bytes used <SIZE> devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test === device replace completed bash-4.4#
Same reason as https://bugzilla.kernel.org/show_bug.cgi?id=198085 It does not fail on my setups with updated fstests and kernel 4.16 (rc5). There were several other failing tests fixed just by updating fstests so I suppose this was one of them. Feel free to reopen if you still reproduce the failure.