]> git.proxmox.com Git - mirror_zfs.git/commit - configure.ac
ZTS: Adopt OpenZFS test analysis script
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 20 Jun 2018 21:03:13 +0000 (14:03 -0700)
committerGitHub <noreply@github.com>
Wed, 20 Jun 2018 21:03:13 +0000 (14:03 -0700)
commite4a3297a044ebafe467e6edda6096a784a0e1848
treeb99d11702d85e9eda0132adcc7ad8531260c14ba
parent1c38ac61e1dbc876eb4079a69f965bb51635fef7
ZTS: Adopt OpenZFS test analysis script

Adopt and extend the OpenZFS ZTS results analysis script for use
with ZFS on Linux.  This allows for automatic analysis of tests
which may be skipped for a variety or reasons or which are not
entirely reliable.

In addition to the list of 'known' failures, which have been updated
for ZFS on Linux, there in a new 'maybe' section.  This mapping
include tests which might be correctly skipped depending on the
test environment.  This may be because of a missing dependency or
lack of required kernel support.  This list also includes tests
which normally pass but might on occasion fail for a harmless
reason.

The script was also extended include a reason for why a given test
might be skipped or may fail.  The reason will be included after
the test in the "results other than PASS that are expected" section.
For failures it is preferable to set the reason to the GitHub issue
number and for skipped tests several generic reasons are available.
You may also specify a custom reason if needed.

All tests were added back in to the linux.run file even if they are
expected to failed.  There is value in running tests which may not
pass, the expected results for these tests has been encoded in
the new analysis script.

All tests which were disabled because they ran more slowly on a
32-bit system have been re-enabled.  Developers working on 32-bit
systems should assess what it reasonable for their environment.

The unnecessary dependency on physical block devices was removed for
the checksum, grow_pool, and grow_replicas test groups so they are
no longer skipped.  Updated the filetest_001_pos test case to run
properly now that it is enabled and moved the grow tests in to a
single directory.

Reviewed-by: Prakash Surya <prakash.surya@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7638
63 files changed:
configure.ac
scripts/common.sh.in
scripts/zfs-tests.sh
tests/runfiles/linux.run
tests/test-runner/bin/Makefile.am
tests/test-runner/bin/zts-report.py [new file with mode: 0755]
tests/zfs-tests/tests/functional/Makefile.am
tests/zfs-tests/tests/functional/cache/cache_010_neg.ksh
tests/zfs-tests/tests/functional/chattr/setup.ksh
tests/zfs-tests/tests/functional/checksum/cleanup.ksh
tests/zfs-tests/tests/functional/checksum/default.cfg
tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh
tests/zfs-tests/tests/functional/checksum/setup.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh
tests/zfs-tests/tests/functional/delegate/setup.ksh
tests/zfs-tests/tests/functional/devices/devices_001_pos.ksh
tests/zfs-tests/tests/functional/devices/devices_002_neg.ksh
tests/zfs-tests/tests/functional/grow/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/grow/grow.cfg [new file with mode: 0644]
tests/zfs-tests/tests/functional/grow/grow_pool_001_pos.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/grow/grow_replicas_001_pos.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/grow_pool/Makefile.am [deleted file]
tests/zfs-tests/tests/functional/grow_pool/cleanup.ksh [deleted file]
tests/zfs-tests/tests/functional/grow_pool/grow_pool.cfg [deleted file]
tests/zfs-tests/tests/functional/grow_pool/grow_pool_001_pos.ksh [deleted file]
tests/zfs-tests/tests/functional/grow_pool/setup.ksh [deleted file]
tests/zfs-tests/tests/functional/grow_replicas/Makefile.am [deleted file]
tests/zfs-tests/tests/functional/grow_replicas/grow_replicas.cfg [deleted file]
tests/zfs-tests/tests/functional/grow_replicas/grow_replicas_001_pos.ksh [deleted file]
tests/zfs-tests/tests/functional/history/history_004_pos.ksh
tests/zfs-tests/tests/functional/history/history_006_neg.ksh
tests/zfs-tests/tests/functional/history/history_010_pos.ksh
tests/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh
tests/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh
tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh
tests/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh
tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh
tests/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh
tests/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh
tests/zfs-tests/tests/functional/threadsappend/threadsappend_001_pos.ksh
tests/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh
tests/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh
tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh
tests/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh
tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh
tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh
tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh