Seeing this on a few of my PRs, all created from forks...? I haven't seen any failures on the default branch or other PRs yet so I'm not sure if this is unique to the specific runners or some files that are missing due to fork PRs having different access 🤔
Example: https://github.com/ROCm/TheRock/actions/runs/28051028398/job/83064423105?pr=6071
Run rocm-sdk test
testCLI (rocm_sdk.tests.base_test.ROCmBaseTest.testCLI) ... ++ Exec [/__w/TheRock/TheRock]$ /__w/TheRock/TheRock/.venv/bin/python -m rocm_sdk --help
ok
testTargets (rocm_sdk.tests.base_test.ROCmBaseTest.testTargets) ... ++ Exec [/__w/TheRock/TheRock]$ /__w/TheRock/TheRock/.venv/bin/python -m rocm_sdk targets
ok
testVersion (rocm_sdk.tests.base_test.ROCmBaseTest.testVersion) ... ++ Exec [/__w/TheRock/TheRock]$ /__w/TheRock/TheRock/.venv/bin/python -m rocm_sdk version
ok
test_initialize_process_check_version (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_check_version) ... ok
test_initialize_process_check_version_asterisk (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_check_version_asterisk) ... ok
test_initialize_process_check_version_mismatch (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_check_version_mismatch) ... ok
test_initialize_process_check_version_mismatch_warning (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_check_version_mismatch_warning) ... ok
test_initialize_process_check_version_pattern (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_check_version_pattern) ... ok
test_initialize_process_env_preload_1 (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_env_preload_1) ... ok
test_initialize_process_env_preload_2_comma (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_env_preload_2_comma) ... ok
test_initialize_process_env_preload_2_semi (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_env_preload_2_semi) ... ok
test_initialize_process_preload_libraries (rocm_sdk.tests.base_test.ROCmBaseTest.test_initialize_process_preload_libraries) ... ok
testConsoleScripts (rocm_sdk.tests.core_test.ROCmCoreTest.testConsoleScripts) ... ok
testInstallationLayout (rocm_sdk.tests.core_test.ROCmCoreTest.testInstallationLayout)
The `rocm_sdk` and core module must be siblings on disk. ... ok
testPreloadLibraries (rocm_sdk.tests.core_test.ROCmCoreTest.testPreloadLibraries) ...
testPreloadLibraries (rocm_sdk.tests.core_test.ROCmCoreTest.testPreloadLibraries) [Check rocm_sdk.preload_libraries] (shortname='rocdxg') ... ERROR
testSharedLibrariesLoad (rocm_sdk.tests.core_test.ROCmCoreTest.testSharedLibrariesLoad) ... ok
testConsoleScripts (rocm_sdk.tests.libraries_test.ROCmLibrariesTest.testConsoleScripts) ... ok
testInstallationLayout (rocm_sdk.tests.libraries_test.ROCmLibrariesTest.testInstallationLayout)
The `rocm_sdk` and libraries module must be siblings on disk. ... ok
testSharedLibrariesLoad (rocm_sdk.tests.libraries_test.ROCmLibrariesTest.testSharedLibrariesLoad) ... ok
======================================================================
ERROR: testPreloadLibraries (rocm_sdk.tests.core_test.ROCmCoreTest.testPreloadLibraries) [Check rocm_sdk.preload_libraries] (shortname='rocdxg')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/TheRock/TheRock/.venv/lib64/python3.12/site-packages/rocm_sdk/tests/core_test.py", line 161, in testPreloadLibraries
rocm_sdk.preload_libraries(lib_entry.shortname)
File "/__w/TheRock/TheRock/.venv/lib64/python3.12/site-packages/rocm_sdk/__init__.py", line 100, in preload_libraries
paths = find_libraries(*shortnames)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/__w/TheRock/TheRock/.venv/lib64/python3.12/site-packages/rocm_sdk/__init__.py", line 64, in find_libraries
raise FileNotFoundError(
FileNotFoundError: Could not find rocm library 'rocdxg' at path '/__w/TheRock/TheRock/.venv/lib64/python3.12/site-packages/_rocm_sdk_core/lib,' no match for pattern 'librocdxg*.so*'
----------------------------------------------------------------------
Ran 19 tests in 5.985s
FAILED (errors=1)
Error: Process completed with exit code 1.
Other instances:
I tried to reproduce with direct workflow_dispatch of the test wheels workflow but the jobs succeeded:
Seeing this on a few of my PRs, all created from forks...? I haven't seen any failures on the default branch or other PRs yet so I'm not sure if this is unique to the specific runners or some files that are missing due to fork PRs having different access 🤔
Example: https://github.com/ROCm/TheRock/actions/runs/28051028398/job/83064423105?pr=6071
Other instances:
I tried to reproduce with direct workflow_dispatch of the test wheels workflow but the jobs succeeded: