-
Notifications
You must be signed in to change notification settings - Fork 35
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
NVMe Windows self-test seems a bit off #64
Comments
Hi Charles @csm10495, I'm going pick your raw data and check what is going wrong. In any case, to your comment
Note that there are methods |
Just to take into account:
|
Fixes issue NVMe Windows self-test seems a bit off #64
Hi again @csm10495 Please, check the develop branch and tell me if everything works fine now. |
Cool. Getting closer: though i noticed printing a test doesn't work:
I also tried doing a
When running a long test, i'm not quite sure it did anything, though it should have worked:
|
(issue NVMe Windows self-test seems a bit off #64)
Hi @csm10495 I made a couple of fixes. I think it should work now, or at least everything I've tested does. |
Getting closer. Now it seems like it ran a test, but only once. Now if I try to run another, it seems to immediately pass but not add to
|
Hi @csm10495 Locally, when I've tested it, it worked perfectly. Could you please check that's correct? I don't see any logic path on the code that may it work only once. You can also test "short" and "long" alternatively so it's easier to view if new tests are appearing. |
I think smartctl itself is messing something up here. It doesn't seem to want to actually kick the tests, but when i use Samsung Magician to kick the test, it can report the test status just fine. Similarly aborting the test doesn't do anything with smartctl but works fine with Magician. Looks like the tests appear in smartctl's listing after completion/abortion still. I'm guessing that the issues I'm seeing are directly because smartctl (and not necessarily py-SMART) is acting funky. Here's a video to show the full behavior and testing: Video.mp4 |
I think from py-SMART's perspective ya did what you could. I've filed: https://www.smartmontools.org/ticket/1708 with smartmontools. I think this is ready to be closed out. Thanks! |
Thank you Charles! Don't hesitate to open any new issue you found out there! |
Describe the bug
When trying to do a self-test with NVMe on Windows, it seems to act a bit weird. For example:
smartctl can see device self test runs:
pySMART can't see the same
Raw outputs
Please, provide the following raw command outputs to be added to our test-base. Notify explicitly if you don't want them to be incorporated. In any case, they are "mostly required" to check and verify your issue/bug.
Environmental setup:
Note i'm using a nightly build of smartctl since the latest released doesn't work properly with nvme self-tests.
Additional context
Optimally it would be nice to be able to run and query self tests from py-SMART
The text was updated successfully, but these errors were encountered: