openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.51k stars 1.74k forks source link

Test case: send-c_volume #6087

Closed behlendorf closed 3 years ago

behlendorf commented 7 years ago

System information

Type Version/Name
Distribution Name All
Distribution Version
Linux Kernel All
Architecture i686
ZFS Version 0.7.0-rc3
SPL Version 0.7.0-rc3

Describe the problem you're observing

The recently added send-c_volume test case fails occasionally on 32-bit systems. The failure is the result of the stream size not matching the expected dataset size. However, the behavior here isn't consistent and the test case often passes.

Test: tests/functional/rsend/send-c_volume (run as root) [00:08] [FAIL]

Describe how to reproduce the problem

The issue is more likely to manifest itself in the buildbot test environment.

http://build.zfsonlinux.org/builders/Ubuntu%2014.04%20i686%20%28TEST%29/builds/1894/steps/shell_9/logs/log

Include any warning/errors/backtraces from the system logs

Test: /usr/share/zfs/zfs-tests/tests/functional/rsend/send-c_volume (run as root) [00:08] [FAIL]
02:08:40.70 ASSERTION: Verify compressed send works with volumes
02:08:41.27 SUCCESS: zfs create -V 256m -o compress=lz4 testpool/newvol
02:08:45.89 SUCCESS: dd if=/var/tmp/backdir-rsend/file.0 of=/dev/zvol/testpool/newvol bs=1024k
02:08:46.02 SUCCESS: zfs snapshot testpool/newvol@snap
02:08:46.18 SUCCESS: eval zfs send -c testpool/newvol@snap >/var/tmp/backdir-rsend/full
02:08:46.58 SUCCESS: eval zfs recv -d testpool2 </var/tmp/backdir-rsend/full
02:08:46.67 NOTE: Comparing 3218944 and 3147776 given 90% (calculated: 97.78%)
02:08:46.75 NOTE: Comparing 3218944 and 3147776 given 90% (calculated: 97.78%)
02:08:46.96 SUCCESS: dd seek=8 if=/var/tmp/backdir-rsend/file.1 of=/dev/zvol/testpool/newvol bs=1024k
02:08:47.80 SUCCESS: zfs snapshot testpool/newvol@snap2
02:08:47.99 SUCCESS: eval zfs send -c -i snap testpool/newvol@snap2 >/var/tmp/backdir-rsend/inc
02:08:48.33 SUCCESS: eval zfs recv -d testpool2 </var/tmp/backdir-rsend/inc
02:08:48.45 NOTE: Comparing 3206656 and 921600 given 90% (calculated: 28.74%)
02:08:48.46 NOTE: Performing test-fail callback (/usr/share/zfs/zfs-tests/callbacks/zfs_dbgmsg.ksh)
stale[bot] commented 4 years ago

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.