Skip to content

ZTS: replacement/resilver_restart_001 fails on FreeBSD 14+ #16822

Closed
@snajpa

Description

@snajpa

System information

Type Version/Name
Distribution Name FreeBSD
Distribution Version 14+
Kernel Version
Architecture
OpenZFS Version

Describe the problem you're observing

   11:22:35.19 NOTE: Testing with_early_restart deferred resilvers
  11:22:35.20 vfs.zfs.resilver_defer_percent: 0 -> 100
  11:22:35.20 SUCCESS: set_tunable32 RESILVER_DEFER_PERCENT 100
  11:22:35.21 cleared 64 events
  11:22:35.21 SUCCESS: zpool events -c
  11:22:35.21 vfs.zfs.resilver_min_time_ms: 3000 -> 50
  11:22:35.21 SUCCESS: set_tunable32 RESILVER_MIN_TIME_MS 50
  11:22:35.85 SUCCESS: zpool replace testpool1 /var/tmp/file-2 /var/tmp/spare-1
  11:22:35.86 vfs.zfs.scan_suspend_progress: 0 -> 1
  11:22:35.87 SUCCESS: set_tunable32 SCAN_SUSPEND_PROGRESS 1
  11:22:35.89 NOTE: expected 1 resilver start(s), found 1
  11:22:36.08 SUCCESS: zpool offline testpool1 /var/tmp/file-3
  11:22:37.17 SUCCESS: zpool sync testpool1
  11:22:38.25 SUCCESS: zpool online testpool1 /var/tmp/file-3
  11:22:39.30 SUCCESS: zpool sync testpool1
  11:22:39.31 NOTE: expected 2 resilver start(s) after offline/online, found 1
  11:22:39.31 expected 2 resilver start(s) after offline/online, found 1
  11:22:39.31 NOTE: Performing test-fail callback (/usr/local/share/zfs/zfs-tests/callbacks/zfs_dmesg.ksh)

Filing this with the expectation that I'll fix this, but need a few days to get to it. If anyone can get me zfs_dbgmsg at the time when this happens, that could save me some time as I hope I could see what's wrong from that without the need to play around with this on FreeBSD.

Describe how to reproduce the problem

Run ZTS replacement/resilver_restart_001 on FreeBSD 14 or 14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Test SuiteIndicates an issue with the test framework or a test caseType: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions