[rocm-libraries] ROCm/rocm-libraries#6961 (commit 47e8768)

[CK] print hostname and $NODE_NAME to find inconsistencies
 (#6961)

## Motivation

We suspect that the check for amdgpu: `cat /sys/module/amdgpu/version`
sometimes gets ran on the Jenkins controller instead of the node. This
adds the `hostname` command to compare to the $NODE_NAME variable.

## Technical Details

Updated Jenkinsfile to include the `hostname` command.

## Test Plan

## Test Result

## Submission Checklist

- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
This commit is contained in:
Jobbins
2026-05-15 21:50:09 +00:00
committed by assistant-librarian[bot]
parent 3e110e1718
commit 61b019f2a2

1
Jenkinsfile vendored
View File

@@ -49,6 +49,7 @@ def rocmnode(name) {
def show_node_info() {
sh """
echo "NODE_NAME = \$NODE_NAME"
hostname
lsb_release -sd
uname -r
cat /sys/module/amdgpu/version