Project

General

Profile

Bug #12023

zfs test zfs_written_property_001_pos can fail

Added by Jason King 9 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
tests
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

The zfs_written_property_001_pos can fail. Unfortunately the log in this instance isn't very helpful as to why it failed:

SUCCESS: rm /testpool/testfs1/testfile.3
SUCCESS: sync
NOTE: Comparing 157548544 and 131072 given 0.1% (calculated: .08%)
NOTE: Comparing 157532160 and 157286400 given 99.5% (calculated: 99.84%)
NOTE: Comparing 105054208 and 104857600 given 99.5% (calculated: 99.81%)
NOTE: write data
SUCCESS: dd if=/dev/urandom of=/testpool/testfs1/testfile.3 bs=1M count=20
SUCCESS: sync
NOTE: Comparing 21118976 and 20971520 given 99.5% (calculated: 99.30%)
NOTE: Performing test-fail callback (/opt/zfs-tests/callbacks/zfs_dbgmsg)

Presumably the issue is that the calculated difference in this case (99.3%) is lower than the expected (99.5%)

Also available in: Atom PDF