Bug 2244364

Summary: rust-vhost-device-scmi fails to build on s390x
Product: [Fedora] Fedora Reporter: Milan Zamazal <mzamazal>
Component: rust-vhost-device-scmiAssignee: Milan Zamazal <mzamazal>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 42CC: mzamazal
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
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: 485231    

Description Milan Zamazal 2023-10-16 07:40:34 UTC
The package fails to build on s390x due to failing unit tests:

  failures:
  ---- vhu_scmi::tests::test_event_requests_failure stdout ----
  thread 'vhu_scmi::tests::test_event_requests_failure' panicked at src/vhu_scmi.rs:555:14:
  called `Result::unwrap()` on an `Err` value: InvalidAvailRingIndex
  ---- vhu_scmi::tests::test_event_requests stdout ----
  thread 'vhu_scmi::tests::test_event_requests' panicked at src/vhu_scmi.rs:515:14:
  called `Result::unwrap()` on an `Err` value: InvalidAvailRingIndex
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  ---- vhu_scmi::tests::test_process_requests stdout ----
  thread 'vhu_scmi::tests::test_process_requests' panicked at src/vhu_scmi.rs:491:14:
  called `Result::unwrap()` on an `Err` value: InvalidAvailRingIndex
  ---- vhu_scmi::tests::test_process_requests_failure stdout ----
  thread 'vhu_scmi::tests::test_process_requests_failure' panicked at src/vhu_scmi.rs:555:14:
  called `Result::unwrap()` on an `Err` value: InvalidAvailRingIndex
  failures:
      vhu_scmi::tests::test_event_requests
      vhu_scmi::tests::test_event_requests_failure
      vhu_scmi::tests::test_process_requests
      vhu_scmi::tests::test_process_requests_failure

This is apparently due to a problem in the underlying libraries.

SCMI support is primarily needed on aarch64. It's also useful in x86_64 host environments, for the purposes of development and testing. It's unlikely that anybody would be bothered by its unavailability on s390x.

Reproducible: Always

Steps to Reproduce:
1. Build vhost-device-scmi on s390x.

Comment 1 Aoife Moloney 2024-02-15 22:59:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Aoife Moloney 2025-02-26 12:54:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.