Project

General

Profile

Actions

Feature #14993

open

zfs-tests: Move platform independent tests to a shared runfile

Added by Toomas Soome 7 days ago. Updated 4 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Note, this update is based on OpenZFS patch 5e74ac51c70ee978e338e828f05377092d0637d4, but not fully - we do not implement (yet?) the OS identifier support in patch names.

    Tests that aren't limited to running on Linux can be moved to a common
    runfile to be shared with other platforms.

    The test runner and wrapper script are enhanced to allow specifying
    multiple runfiles as a comma-separated list. The default runfiles are
    now "common.run,PLATFORM.run" where PLATFORM is determined at run time.

Testing done: run updated zfs-tests.

One example:

tsoome@test:~$ /opt/zfs-tests/bin/zfstest -T bootfs
Test: /opt/zfs-tests/tests/functional/bootfs/setup (run as root)  [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_001_pos (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_002_neg (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_003_pos (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_004_neg (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_005_neg (run as root) [00:08] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_006_pos (run as root) [00:04] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_007_pos (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_008_pos (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/bootfs/cleanup (run as root) [00:00] [PASS]

Results Summary
PASS      10

Running Time:   00:00:17
Percent passed: 100.0%
Log directory:  /var/tmp/test_results/20220923T145412
tsoome@test:~$ 


Related issues

Related to illumos gate - Feature #15005: Tests for btree implementation used by range treesIn ProgressToomas Soome

Actions
Actions #1

Updated by Electric Monk 7 days ago

  • Gerrit CR set to 2374
Actions #2

Updated by Toomas Soome 4 days ago

  • Description updated (diff)
Actions #3

Updated by Toomas Soome 4 days ago

  • Related to Feature #15005: Tests for btree implementation used by range trees added
Actions

Also available in: Atom PDF