Project

General

Profile

Actions

Bug #14164

closed

zfs-tests: some removal tests default to use /tmp

Added by Toomas Soome about 2 months ago. Updated about 1 month ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

We should use $TEST_BASE_DIR instead.

Testing done: zfstests result:

tsoome@test:~$ env  DISKS="c3t1d0 c3t2d0 c3t3d0" /opt/zfs-tests/bin/zfstest -c /opt/zfs-tests/runfiles/removal.run
Test: /opt/zfs-tests/tests/functional/removal/removal_sanity (run as root) [00:02] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_all_vdev (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_check_space (run as root) [00:07] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_condense_export (run as root) [00:40] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_multiple_indirection (run as root) [03:07] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_remap (run as root) [00:57] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_remap_deadlists (run as root) [00:14] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_add (run as root) [00:17] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_create_fs (run as root) [00:13] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_dedup (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_export (run as root) [00:13] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_ganging (run as root) [00:04] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_remap (run as root) [00:13] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_remove (run as root) [00:14] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_scrub (run as root) [00:14] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_send (run as root) [00:16] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_send_recv (run as root) [00:37] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_snapshot (run as root) [00:12] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_write (run as root) [00:13] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_with_zdb (run as root) [00:16] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/removal_resume_export (run as root) [00:10] [FAIL]
Test: /opt/zfs-tests/tests/functional/removal/remove_mirror (run as root) [00:02] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/remove_mirror_sanity (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/remove_raidz (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/removal/cleanup (run as root) [00:00] [PASS]

Results Summary
FAIL       1
PASS      24

Running Time:   00:08:35
Percent passed: 96.0%
Log directory:  /var/tmp/test_results/20211029T154356

This one broken test seems to be related to something broken in my test system:

mdb: unexpected kind for type ip_stat_t * (member spa_name of type spa_t)
mdb: unexpected kind for type ip_stat_t * (member spa_name of type spa_t)
cannot find device 'c3t1d0' in pool 'testpool'

Actions #1

Updated by Electric Monk about 2 months ago

  • Gerrit CR set to 1755
Actions #2

Updated by Toomas Soome about 1 month ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk about 1 month ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 8ac4d28385cb13ed8498163a743c4bb8bb2c92ab

commit  8ac4d28385cb13ed8498163a743c4bb8bb2c92ab
Author: Toomas Soome <tsoome@me.com>
Date:   2021-10-30T16:11:31.000Z

    14164 zfs-tests: some removal tests default to use /tmp
    Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF