Skip to content

tests: skip write-uncor test when not supported#3329

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-test-uncor
Apr 28, 2026
Merged

tests: skip write-uncor test when not supported#3329
igaw merged 1 commit intolinux-nvme:masterfrom
igaw:fix-test-uncor

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Apr 28, 2026

Make the write uncorrected test aware that this feature is not always supported.

Fixes: #3321

And with this fix the test all run on a Qemu controller without faililng:

61/80 nvme-cli - nvme_attach_detach_ns_test                              SKIP             0.50s   0 subtests passed
62/80 nvme-cli - nvme_compare_test                                       OK               0.70s   1 subtests passed
63/80 nvme-cli - nvme_create_max_ns_test                                 SKIP             0.51s   0 subtests passed
64/80 nvme-cli - nvme_error_log_test                                     OK               0.51s   1 subtests passed
65/80 nvme-cli - nvme_flush_test                                         OK               0.55s   1 subtests passed
66/80 nvme-cli - nvme_format_test                                        SKIP             0.52s   0 subtests passed
67/80 nvme-cli - nvme_fw_log_test                                        OK               0.51s   1 subtests passed
68/80 nvme-cli - nvme_get_features_test                                  OK               1.09s   1 subtests passed
69/80 nvme-cli - nvme_id_ctrl_test                                       OK               0.54s   1 subtests passed
70/80 nvme-cli - nvme_id_ns_test                                         OK               0.59s   1 subtests passed
71/80 nvme-cli - nvme_read_write_test                                    OK               0.59s   1 subtests passed
72/80 nvme-cli - nvme_smart_log_test                                     OK               0.61s   1 subtests passed
73/80 nvme-cli - nvme_writeuncor_test                                    SKIP             0.57s   0 subtests passed
74/80 nvme-cli - nvme_writezeros_test                                    OK               0.67s   1 subtests passed
75/80 nvme-cli - nvme_copy_test                                          OK               3.67s   3 subtests passed
76/80 nvme-cli - nvme_dsm_test                                           OK               0.54s   1 subtests passed
77/80 nvme-cli - nvme_verify_test                                        SKIP             0.55s   0 subtests passed
78/80 nvme-cli - nvme_lba_status_log_test                                SKIP             0.53s   0 subtests passed
79/80 nvme-cli - nvme_get_lba_status_test                                SKIP             0.56s   0 subtests passed
80/80 nvme-cli - nvme_ctrl_reset_test                                    OK               0.80s   1 subtests passed

Make the write uncorrected test aware that this feature is not always
supported.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
@igaw igaw merged commit 9a9f4d3 into linux-nvme:master Apr 28, 2026
29 checks passed
@igaw igaw deleted the fix-test-uncor branch April 28, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests: make nvme-cli - nvme_writeuncor_test optional

1 participant