Skip to content

Skip amdgpu firmware test when debugfs is unavailable - #38

Open
moezdil wants to merge 1 commit into
mainfrom
feat/amdgpu-test-skip
Open

moezdil wants to merge 1 commit into
mainfrom
feat/amdgpu-test-skip

Conversation

@moezdil

@moezdil moezdil commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

/kind bug

TestFirmwareVersionConsistent fails on real RDNA4 hardware and in CI because the debugfs amdgpu_firmware_info file is empty or unreadable. Skip the ioctl/debugfs consistency check when debugfs firmware info is unavailable.

Fixes #36

TestFirmwareVersionConsistent compares firmware versions from the ioctl path
against the debugfs amdgpu_firmware_info file. On RDNA4 (and other cards or
kernels) that debugfs file is empty or cannot be opened, so the debugfs side
reads zero and the test fails on real hardware. Skip the consistency check
when the debugfs firmware info is unavailable, leaving the ioctl path covered
elsewhere.

Fixes #36

Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
@hami-robot

hami-robot Bot commented Sep 29, 2026

Copy link
Copy Markdown

@moezdil: The label(s) kind/bug cannot be applied, because the repository doesn't have them.

Details

In response to this:

/kind bug

TestFirmwareVersionConsistent fails on real RDNA4 hardware and in CI because the debugfs amdgpu_firmware_info file is empty or unreadable. Skip the ioctl/debugfs consistency check when debugfs firmware info is unavailable.

Fixes #36

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@hami-robot

hami-robot Bot commented Sep 29, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: moezdil

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 0e9b90f8-865d-4d9c-adce-ce0250940a56


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@moezdil moezdil self-assigned this Sep 29, 2026
@moezdil moezdil added the kind/bug Categorizes issue or PR as related to a bug. label Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

amdgpu tests should skip when no GPU driver or debugfs is available

1 participant