ZTS: Add zts-report exceptions for FreeBSD
There are three tests we expect to fail only on FreeBSD. * link_count never exits and eventually times out: - @amotin tells me this test is probably not applicable to us - Skip on FreeBSD * userobj feature does not activate immediately after pool upgrade - low impact; we are aware of this issue * removal does not appear to condense on export - low impact; we are aware of this issue Additionally removal_with_zdb passes on FreeBSD, so it is moved to "maybe". Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10093
This commit is contained in:
parent
f49db9b504
commit
4b06d05298
|
@ -121,11 +121,11 @@ fio_reason = 'Fio v2.3 or newer required'
|
|||
trim_reason = 'DISKS must support discard (TRIM/UNMAP)'
|
||||
|
||||
#
|
||||
# Some tests are not applicable to Linux or need to be updated to operate
|
||||
# in the manor required by Linux. Any tests which are skipped for this
|
||||
# Some tests are not applicable to a platform or need to be updated to operate
|
||||
# in the manor required by the platform. Any tests which are skipped for this
|
||||
# reason will be suppressed in the final analysis output.
|
||||
#
|
||||
na_reason = "N/A on Linux"
|
||||
na_reason = "Not applicable"
|
||||
|
||||
summary = {
|
||||
'total': float(0),
|
||||
|
@ -153,12 +153,18 @@ known = {
|
|||
'cli_user/misc/zfs_unshare_001_neg': ['SKIP', na_reason],
|
||||
'privilege/setup': ['SKIP', na_reason],
|
||||
'refreserv/refreserv_004_pos': ['FAIL', known_reason],
|
||||
'removal/removal_with_zdb': ['SKIP', known_reason],
|
||||
'rootpool/setup': ['SKIP', na_reason],
|
||||
'rsend/rsend_008_pos': ['SKIP', '6066'],
|
||||
'vdev_zaps/vdev_zaps_007_pos': ['FAIL', known_reason],
|
||||
}
|
||||
|
||||
if sys.platform.startswith('freebsd'):
|
||||
known.update({
|
||||
'link_count/link_count_001': ['SKIP', na_reason],
|
||||
'removal/removal_condense_export': ['FAIL', known_reason],
|
||||
'upgrade/upgrade_userobj_001_pos': ['FAIL', known_reason],
|
||||
})
|
||||
|
||||
#
|
||||
# These tests may occasionally fail or be skipped. We want there failures
|
||||
# to be reported but only unexpected failures should bubble up to cause
|
||||
|
@ -207,6 +213,7 @@ maybe = {
|
|||
'no_space/enospc_002_pos': ['FAIL', enospc_reason],
|
||||
'projectquota/setup': ['SKIP', exec_reason],
|
||||
'redundancy/redundancy_004_neg': ['FAIL', '7290'],
|
||||
'removal/removal_with_zdb': ['SKIP', known_reason],
|
||||
'reservation/reservation_008_pos': ['FAIL', '7741'],
|
||||
'reservation/reservation_018_pos': ['FAIL', '5642'],
|
||||
'rsend/rsend_019_pos': ['FAIL', '6086'],
|
||||
|
@ -300,7 +307,7 @@ if __name__ == "__main__":
|
|||
issue_url = 'https://github.com/openzfs/zfs/issues/'
|
||||
|
||||
# Include the reason why the result is expected, given the following:
|
||||
# 1. Suppress test results which set the "N/A on Linux" reason.
|
||||
# 1. Suppress test results which set the "Not applicable" reason.
|
||||
# 2. Numerical reasons are assumed to be GitHub issue numbers.
|
||||
# 3. When an entire test group is skipped only report the setup reason.
|
||||
if test in known:
|
||||
|
|
|
@ -49,6 +49,10 @@ log_assert "Verify file link count is zero on zfs"
|
|||
export ITERS=10
|
||||
export NUMFILES=10000
|
||||
|
||||
if is_freebsd; then
|
||||
log_unsupported "Not applicable on FreeBSD"
|
||||
fi
|
||||
|
||||
# Detect and make sure this test must be executed on a multi-process system
|
||||
if ! is_mp; then
|
||||
log_unsupported "This test requires a multi-processor system."
|
||||
|
|
Loading…
Reference in New Issue