-
Notifications
You must be signed in to change notification settings - Fork 85
fix(tests/nvme/056): Update ynl path #160
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: master
Are you sure you want to change the base?
Conversation
The ynl Python code has been moved to a dedicated directory in Linux kernel commit ab88c2b3739a. Update the test to reflect this new location. Signed-off-by: Denys Fedoryshchenko <[email protected]>
|
@nuclearcat Thank you for catching this! The kernel commit which moved the python scripts is in v6.14-rc1 kernel. Can we make the test case work with the kernels older than v6.14-rc1 also? This will help to users who want to run the test case with v6.13.X kernels. A helper function to get the cli script would be useful. FYI, here I share what is in my mind (totally untested). |
|
Thank you for your suggestion about supporting older kernels for this test case. |
|
Ah, thanks for the clarification. I understand that there is no need to support the older kernel versions. I'll wait for the key kernel commit will be merged. I'm ok both to reuse this PR, or to create a separate PR. Let me leave a comment about the kernel version check. When a blktests test case requires a specific kernel feature, it is not ideal to refer to the kernel version to check if the requirement is fulfilled, since such check is fragile. It is the better to check something visible from userland for such check: sysfs attribute file existence/value or module parameter existence check. Some test cases refer to kernel version with _have_kver() function, but it is the last resort. Thanks! |
|
@kawasaki, if the kernel commit is merged, can we pick this PR? The reason I'm asking is we are using a patched version of blktests in kernelci. |
@nuclearcat Yes, I think so. The code change of this PR looks good to me. The commit subject prefix is rather different from other blktests commits. I think "nvme/056: Update ynl path" is simpler and enough. I can fold-in this change when I pick up the commit (Or you can update this PR). As the the kernel side commit, could you share current status? Is there outlook to be included in any rcX tag? |
|
I will update commit, but still it is unclear when patches will be accepted. I will ask authors. |
The ynl Python code has been moved to a dedicated directory in Linux kernel commit ab88c2b3739a. Update the test to reflect this new location.