Bug 2413365 - Review Request: rocrtst - ROCm Runtime test suite
Summary: Review Request: rocrtst - ROCm Runtime test suite
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom.Rix
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/ROCm/ROCR-Runtime
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-07 15:29 UTC by Jeremy Newton
Modified: 2025-11-22 03:00 UTC (History)
3 users (show)

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


Attachments (Terms of Use)
The .spec file difference from Copr build 9776856 to 9826890 (2.04 KB, patch)
2025-11-22 03:00 UTC, Fedora Review Service
no flags Details | Diff

Description Jeremy Newton 2025-11-07 15:29:37 UTC
Spec URL: https://mystro256.fedorapeople.org/rocrtst.spec
SRPM URL: https://mystro256.fedorapeople.org/rocrtst-7.1.0-1.fc44.src.rpm
Description: This is the test suite for the ROCm Runtime Library.
Fedora Account System Username: mystro256

Notes:
- This uses the same source as rocm-runtime, but I couldn't for the life of me get it to build as a subpackage
- licensecheck seems to think a lot of files are MIT for some reason. It's just NCSA and some BSD, noted in the spec file comment
- I made a build on copr:
https://copr.fedorainfracloud.org/coprs/mystro256/playground/build/9776731/

Comment 1 Fedora Review Service 2025-11-07 15:29:49 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are:

- You didn't specify `SRPM URL: ...` in the ticket description
  or any of your comments
- The URL schema isn't HTTP or HTTPS
- The SRPM package linked in your URL doesn't match the package name specified
  in the ticket summary


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Jeremy Newton 2025-11-07 15:58:41 UTC
Let me try this again:

Spec URL: https://mystro256.fedorapeople.org/rocrtst.spec
SRPM URL: https://mystro256.fedorapeople.org/rocrtst-7.1.0-1.fc44.src.rpm

Comment 3 Fedora Review Service 2025-11-07 16:05:01 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9776856
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2413365-rocrtst/fedora-rawhide-x86_64/09776856-rocrtst/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 4 Tom.Rix 2025-11-08 00:38:47 UTC
There may be an issue with running rocrtst64.
I tried on bare metal and with this container on gfx1201 and gfx1100
https://github.com/trixirt/rocm-distro-containers/blob/main/fedora/rawhide/rocrtst/check/Dockerfile

It seems to be stalled at

HSA_STATUS_ERROR_NOT_INITIALIZED: An API other than hsa_init has been invoked while the reference count of the HSA runtime is zero.
hsa api call failure at line 155, file: /root/rpmbuild/BUILD/rocrtst-7.1.0-build/ROCR-Runtime-rocm-7.1.0/rocrtst/suites/functional/reference_count.cc. Call returned 4107
HSA_STATUS_ERROR_NOT_INITIALIZED: An API other than hsa_init has been invoked while the reference count of the HSA runtime is zero.
hsa api call failure at line 159, file: /root/rpmbuild/BUILD/rocrtst-7.1.0-build/ROCR-Runtime-rocm-7.1.0/rocrtst/suites/functional/reference_count.cc. Call returned 4107
HSA_STATUS_ERROR_NOT_INITIALIZED: An API other than hsa_init has been invoked while the reference count of the HSA runtime is zero.
[       OK ] rocrtstFunc.Reference_Count (490 ms)
[ RUN      ] rocrtstFunc.Max_Reference_Count
###############################################################################

	#### TEST NAME ####
RocR Max Reference Count Test

	#### TEST DESCRIPTION ####
This test initializes HSA runtime to maximum allowed reference count

	#### TEST EXECUTION ####

Comment 5 Jeremy Newton 2025-11-21 21:48:37 UTC
Ok I figured out how to fix the clang portion of the build. It should resolve some of the test failures.

Spec URL: https://mystro256.fedorapeople.org/rocrtst.spec
SRPM URL: https://mystro256.fedorapeople.org/rocrtst-7.1.0-2.fc44.src.rpm
COPR build: https://copr.fedorainfracloud.org/coprs/mystro256/playground/build/9826231/

Comment 6 Fedora Review Service 2025-11-22 03:00:24 UTC
Created attachment 2115625 [details]
The .spec file difference from Copr build 9776856 to 9826890

Comment 7 Fedora Review Service 2025-11-22 03:00:26 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9826890
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2413365-rocrtst/fedora-rawhide-x86_64/09826890-rocrtst/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.


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