Skip to content

Conversation

@manoj-freyr
Copy link

@manoj-freyr manoj-freyr commented Nov 12, 2025

Motivation

Adds support to be OS agnostic and work for all linux distros

Technical Details

After the changes tried running install rvs commands:
pytest -vvv --log-file=../logs/rvs_cvs_test_mi325__install_rvs.log -s tests/health/install/install_rvs.py --cluster_file ./input/cluster_file/manojsk_cluster.json --config_file ./input/config_file/health/mi300_health_config.json

{FD45B03F-FEDD-45EA-94E2-5C00CED99736}

Used the same in RHEL, it works:

{3F9ABA1F-C713-4F26-9491-E22B2563EF46}

Copy link
Contributor

@solaiys solaiys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@cijohnson cijohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see

sys.path.insert( 0, './lib' ) use in mulitple files, are they required with new cvs pkg?

lfrischm and others added 7 commits December 29, 2025 15:09
- Added detect_distro() function to identify Linux distribution
- Added package name translation for RHEL/SUSE equivalents
- Added multi-distro package management functions (install_package, update_package_cache, map_packages)
- Added Docker installation support for RHEL/CentOS and SUSE
- Updated test files with proper cvs.lib imports for multi-distro functions

Supports: Debian/Ubuntu (apt-get), RHEL/CentOS/Rocky/Alma (dnf), SUSE (zypper)
… commands

- Replace hardcoded 'apt update' and 'apt-get install' with detect_distro() and install_package()
- Add proper package name translation using map_packages()
- Update all affected test files:
  - tests/health/install/install_babelstream.py
  - tests/health/install/install_rocblas.py
  - tests/health/install/install_rvs.py
  - tests/health/rocblas_cvs.py
  - tests/ibperf/install_ibperf_tools.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants