Bug 2387793 - rust-below-dump: non-deterministic test failures causing build failures
Summary: rust-below-dump: non-deterministic test failures causing build failures
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-below-dump
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rust SIG
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F44FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-08-12 10:44 UTC by Fabio Valentini
Modified: 2025-12-27 17:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabio Valentini 2025-08-12 10:44:44 UTC
Description of problem:

Builds of the "below-dump" crate regularly fail with strange test failures like this one:

test test::test_dump_iface_content ... FAILED

---- test::test_dump_iface_content stdout ----
thread 'test::test_dump_iface_content' panicked at src/test.rs:581:10:
Fail to get model: Os { code: 2, kind: NotFound, message: "No such file or directory" }: "/proc"

Caused by:
    No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test::test_dump_iface_content

I'm pretty sure `/proc` actually exists. :) So I don't know why tests in below-dump would randomly fail claiming that it doesn't.

Version-Release number of selected component (if applicable):
0.9.0-1.fc42

Steps to Reproduce:
koji build --scratch f42 rust-below-dump-0.9.0-1.fc42.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/rust-below-dump


Reproducible: Always


Note You need to log in before you can comment on or make changes to this bug.