Bug 2244364 - rust-vhost-device-scmi fails to build on s390x
Summary: rust-vhost-device-scmi fails to build on s390x
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-vhost-device-scmi
Version: 42
Hardware: s390x
OS: Linux
low
medium
Target Milestone: ---
Assignee: Milan Zamazal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-s390x
TreeView+ depends on / blocked
 
Reported: 2023-10-16 07:40 UTC by Milan Zamazal
Modified: 2025-02-26 12:54 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

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.


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