Skip to content

[Bug] ppc64le,aarch64,loongarch64,riscv64: Test failure DeviceDiscoveryTest.HasCpuDevice #26187

@leso-kn

Description

@leso-kn

Describe the issue

Hi, when building onnxruntime v1.23.0 for Alpine Linux I appear to be running into a test failure on ppc64le for DeviceDiscoveryTest.HasCpuDevice. Opening this ticket to track the issue.

Build Log (gitlab.alpinelinux.org) (ppc64le)

EDIT 2025-09-29: This seems to also affect aarch64.
Pipeline log at gitlab.alpinelinux.org (aarch64)

EDIT 2025-10-07: It also appears to affect riscv64 and loongarch64.
Pipeline log at gitlab.alpinelinux.org (riscv64)
Pipeline log at gitlab.alpinelinux.org (loongarch64)

Urgency

No response

Target platform

Alpine Linux edge (ppc64le, musl)

Build script

https://gitlab.alpinelinux.org/alpine/aports/-/blob/7ddfe3f29ea80275dba55cd36ba7b7e08331d671/testing/onnxruntime/APKBUILD

Error / output

[  FAILED  ] 1 test, listed below:
[  FAILED  ] DeviceDiscoveryTest.HasCpuDevice
 1 FAILED TEST
  YOU HAVE 8 DISABLED TESTS
88% tests passed, 1 tests failed out of 8
Total Test time (real) = 136.44 sec
The following tests FAILED:
	  1 - onnxruntime_test_all (Failed)
Errors while running CTest
>>> ERROR: onnxruntime: check failed

Full Log: job log on gitlab.alpinelinux.org

Visual Studio Version

No response

GCC / Compiler Version

15.2.0

Metadata

Metadata

Assignees

Labels

buildbuild issues; typically submitted using template

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions