-
Notifications
You must be signed in to change notification settings - Fork 4
ci: move fio steps into separate job #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -49,12 +49,6 @@ jobs: | |||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 | ||||||||||||||||
| with: | ||||||||||||||||
| path: hipFile | ||||||||||||||||
| - name: Fetching fio repository... | ||||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 | ||||||||||||||||
| with: | ||||||||||||||||
| repository: ROCm/fio | ||||||||||||||||
| ref: hipFile | ||||||||||||||||
| path: fio | ||||||||||||||||
| - name: Download hipFile runtime package | ||||||||||||||||
| uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 #v7.0.0 | ||||||||||||||||
| with: | ||||||||||||||||
|
|
@@ -101,7 +95,6 @@ jobs: | |||||||||||||||
| /bin/bash -c ' | ||||||||||||||||
| cp -R /mnt/ais /ais | ||||||||||||||||
| mkdir /ais/hipFile/build | ||||||||||||||||
| mkdir /ais/fio/build | ||||||||||||||||
| ' | ||||||||||||||||
| - name: Copy the hipFile packages into the container | ||||||||||||||||
| run: | | ||||||||||||||||
|
|
@@ -182,6 +175,101 @@ jobs: | |||||||||||||||
| /ais/hipFile/util/ci-aiscp-test.sh \ | ||||||||||||||||
| /ais/hipFile/build/examples/aiscp/aiscp | ||||||||||||||||
| ' | ||||||||||||||||
| - name: Destroy hipfile IO test directory | ||||||||||||||||
| if: ${{ always() }} | ||||||||||||||||
| run: | | ||||||||||||||||
| docker exec -t "${AIS_CONTAINER_NAME}" /bin/bash -c "rm -fr /mnt/ais-fs/${AIS_CONTAINER_NAME}" | ||||||||||||||||
| - name: Cleanup & Stop the Docker container | ||||||||||||||||
| if: ${{ always() }} | ||||||||||||||||
| run: | | ||||||||||||||||
| docker stop "${AIS_CONTAINER_NAME}" | ||||||||||||||||
| - name: Cleanup self-hosted runner workspace | ||||||||||||||||
| if: ${{ always() }} | ||||||||||||||||
| run: rm -rf ${GITHUB_WORKSPACE}/* ${GITHUB_WORKSPACE}/.* | ||||||||||||||||
| run_FIO_tests: | ||||||||||||||||
| runs-on: [linux, AIS] | ||||||||||||||||
| steps: | ||||||||||||||||
| - name: Set early AIS CI environment variables | ||||||||||||||||
| run: echo "AIS_PR_NUMBER=$(echo ${{ github.ref }} | sed 's|[^0-9]||g')" >> "${GITHUB_ENV}" | ||||||||||||||||
| - name: Set AIS CI container name | ||||||||||||||||
| run: | | ||||||||||||||||
| echo "AIS_CONTAINER_NAME=${AIS_PR_NUMBER}_${{ github.job }}_${AIS_INPUT_PLATFORM}_${AIS_INPUT_ROCM_VERSION}" >> "${GITHUB_ENV}" | ||||||||||||||||
| # hipFile repo needed for //util directory | ||||||||||||||||
| - name: Fetching hipFile repository... | ||||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 | ||||||||||||||||
| with: | ||||||||||||||||
| path: hipFile | ||||||||||||||||
| - name: Fetching fio repository... | ||||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 | ||||||||||||||||
| with: | ||||||||||||||||
| repository: ROCm/fio | ||||||||||||||||
| ref: hipFile | ||||||||||||||||
| path: fio | ||||||||||||||||
|
||||||||||||||||
| path: fio | |
| path: fio | |
| - name: Fetching hipFile repository... | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 | |
| with: | |
| repository: ROCm/hipFile | |
| path: hipFile |
Copilot
AI
Feb 12, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new run_FIO_tests job is missing the download of the hipFile build directory artifact. The FIO configure step at line 281 references HIPFILELIB=${HIPFILE}/build/src/amd_detail/ which expects the hipFile build artifacts to be present. Without downloading the hipfile-build-dir artifact (as done in line 60-64 of run_system_tests), the FIO configuration and build will fail. Add a step to download the hipfile-build-dir artifact and copy it into the container similar to lines 60-64 and 133-137 in the run_system_tests job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new run_FIO_tests job is missing a dependency on the run_system_tests job. Without specifying 'needs: run_system_tests', both jobs could run concurrently on the same AIS self-hosted runner, potentially causing resource contention (competing for GPU devices, disk I/O, etc.). Consider adding 'needs: run_system_tests' to ensure sequential execution and avoid resource conflicts, unless parallel execution is intentionally desired.