Bug 2387793

Summary: rust-below-dump: non-deterministic test failures causing build failures
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: rust-below-dumpAssignee: Rust SIG <rust-sig>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: davide, michel, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/rust-below-dump
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2384424    

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