Skip to content

[CI] Enabling hipblas tests for windows #1702

@geomin12

Description

@geomin12

Currently, we are noticing issues for hipblas tests with:

python C:\runner\_work\TheRock\TheRock\build\bin\/hipblas_gentest.py --template C:\runner\_work\TheRock\TheRock\build\bin\/hipblas_template.yaml -o C:\WINDOWS\SystemTemp\hipblas-fu7qHn ./build/bin/hipblas_smoke.yaml
Note: Google Test filter = -*known_bug*:_/getrs*:_/getri_batched.solver*:_/gels_batched.solver*
[==========] Running 1652 tests from 160 test suites.
[----------] Global test environment set-up.
[----------] 1 test from hipblas_auxiliary
[----------] 1 test from hipblas_auxiliary (0 ms total)
...
[----------] Global test environment tear-down
[==========] 1652 tests from 160 test suites ran. (11213 ms total)
[  PASSED  ] 1652 tests.
hipBLAS version 3.1.0.d8c4175f24
command line: ./build/bin/hipblas-test --gtest_filter=-*known_bug*:_/getrs*:_/getri_batched.solver*:_/gels_batched.solver* --yaml ./build/bin/hipblas_smoke.yaml 
Traceback (most recent call last):
  File "C:\runner\_work\TheRock\TheRock\build_tools\github_actions\test_executable_scripts\test_hipblas.py", line 43, in <module>
    subprocess.run(cmd, cwd=THEROCK_DIR, check=True, env=environ_vars)
  File "C:\runner\_work\_tool\Python\3.12.10\x64\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./build/bin/hipblas-test', '--gtest_filter=-*known_bug*:_/getrs*:_/getri_batched.solver*:_/gels_batched.solver*', '--yaml', './build/bin/hipblas_smoke.yaml']' returned non-zero exit status 3.

It seems to pass, but the code exits with 3.

Repro steps:

$ git clone https://github.com/ROCm/TheRock.git
$ cd TheRock
$ python3 build_tools/install_rocm_from_artifacts.py --run-id 18288135775 --amdgpu-family gfx1151 --tests --blas
$ cd therock-build/bin
$ hipblas-test '--gtest_filter=-*known_bug*:_/getrs*:_/getri_batched.solver*:_/gels_batched.solver*' --yaml hipblas_smoke.yaml

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

TODO

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions