Bug 296236 - sys/fs/fusefs/pre-init test failing in CI on riscv64
Summary: sys/fs/fusefs/pre-init test failing in CI on riscv64
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: 16.0-CURRENT
Hardware: riscv Any
: --- Affects Only Me
Assignee: Alan Somers
URL: https://ci.freebsd.org/job/FreeBSD-ma...
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-06-23 15:51 UTC by Siva Mahadevan
Modified: 2026-08-05 15:14 UTC (History)
2 users (show)

See Also:
asomers: mfc-stable15+
asomers: mfc-stable14+


Attachments
kyua test report (4.21 KB, text/plain)
2026-06-23 15:51 UTC, Siva Mahadevan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Siva Mahadevan freebsd_committer freebsd_triage 2026-06-23 15:51:35 UTC
Created attachment 272078 [details]
kyua test report

The 'sys/fs/fusefs/pre-init' test is currently failing in CI on riscv64 (URL and report attached in this bug).

This is locally reproducible with Bricoler with this command:

bricoler freebsd-regression-test-suite --freebsd-src-git-checkout/url=/usr/src --freebsd-src-git-checkout/branch= --freebsd-regression-test-suite/memory=3072 --freebsd-regression-test-suite/ncpus=2 --freebsd-regression-test-suite/parallelism=1 --freebsd-regression-test-suite/count=200 --freebsd-src-build/machine=riscv/riscv64 --freebsd-regression-test-suite/hypervisor=qemu --freebsd-vm-image/packages= --freebsd-regression-test-suite/tests='sys/fs/fusefs/pre-init'

asomers@, since you introduced the tests in https://cgit.freebsd.org/src/commit/?id=cc9c213086795fd821e6c17ee99a1db81a2141b2 (fusefs: Fix a panic when unmounting before init), please triage as necessary.
Comment 1 Alan Somers freebsd_committer freebsd_triage 2026-06-23 17:15:38 UTC
https://reviews.freebsd.org/D57781
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-06-23 18:02:22 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=2c1482e305368af182a7bde0e53d0d180b319326

commit 2c1482e305368af182a7bde0e53d0d180b319326
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-06-23 17:12:04 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-06-23 18:01:48 +0000

    fusefs: fix a race in the pre-init tests

    These tests allow the user to customize the INIT response.  But it's
    necessary to block the daemon's service loop from running until those
    expectations have been set.  This race has never caused failures before
    simply due to luck.  But now it's failing on slower platforms.

    PR:             296236
    Reported by:    siva
    MFC after:      2 weeks
    Sponsored by:   ConnectWise
    Reviewed by:    siva
    Differential Revision: https://reviews.freebsd.org/D57781

 tests/sys/fs/fusefs/mockfs.cc   | 11 ++++++++---
 tests/sys/fs/fusefs/mockfs.hh   |  3 +++
 tests/sys/fs/fusefs/pre-init.cc |  6 ++++++
 3 files changed, 17 insertions(+), 3 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-07-08 17:57:55 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=c57b054c9e7d11fcc2fcb3036a73995a758c095e

commit c57b054c9e7d11fcc2fcb3036a73995a758c095e
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-06-23 17:12:04 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-07-08 17:56:50 +0000

    fusefs: fix a race in the pre-init tests

    These tests allow the user to customize the INIT response.  But it's
    necessary to block the daemon's service loop from running until those
    expectations have been set.  This race has never caused failures before
    simply due to luck.  But now it's failing on slower platforms.

    PR:             296236
    Reported by:    siva
    Sponsored by:   ConnectWise
    Reviewed by:    siva
    Differential Revision: https://reviews.freebsd.org/D57781

    (cherry picked from commit 2c1482e305368af182a7bde0e53d0d180b319326)

 tests/sys/fs/fusefs/mockfs.cc   | 11 ++++++++---
 tests/sys/fs/fusefs/mockfs.hh   |  3 +++
 tests/sys/fs/fusefs/pre-init.cc |  6 ++++++
 3 files changed, 17 insertions(+), 3 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-08-05 15:10:58 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=1fcd8291b9efc99e1d80e8e130f45c66e54d777e

commit 1fcd8291b9efc99e1d80e8e130f45c66e54d777e
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-06-23 17:12:04 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-08-05 15:08:50 +0000

    fusefs: fix a race in the pre-init tests

    These tests allow the user to customize the INIT response.  But it's
    necessary to block the daemon's service loop from running until those
    expectations have been set.  This race has never caused failures before
    simply due to luck.  But now it's failing on slower platforms.

    PR:             296236
    Reported by:    siva
    Sponsored by:   ConnectWise
    Reviewed by:    siva
    Differential Revision: https://reviews.freebsd.org/D57781

    (cherry picked from commit 2c1482e305368af182a7bde0e53d0d180b319326)

 tests/sys/fs/fusefs/mockfs.cc   | 11 ++++++++---
 tests/sys/fs/fusefs/mockfs.hh   |  3 +++
 tests/sys/fs/fusefs/pre-init.cc |  6 ++++++
 3 files changed, 17 insertions(+), 3 deletions(-)