Skip to content

test case src/autoval_ssd/tests/nvme_cli/nvme_cli.py _validate_capacity(function) check support_dev_self_test_management have issue #3

@kwzhu123

Description

@kwzhu123

1.test case src/autoval_ssd/tests/nvme_cli/nvme_cli.py
2.function[_validate_capacity] check namespace_management capacity used bit 4, should use bit 3
oacs = NVMeUtils.get_id_ctrl(self.host, drive.block_name)["oacs"]
support_namespace_management = oacs & 0x8
AutovalUtils.validate_condition(
support_namespace_management and 0x8,

3.NVMe SPEc ExpressTM Revision 1.4
Bit 4 if set to ‘1’, then the controller supports the Device Self-test command. If cleared
to ‘0’, then the controller does not support the Device Self-test command.

Bit 3 if set to ‘1’, then the controller supports the Namespace Management capability
(refer to section 8.12). If cleared to ‘0’, then the controller does not support the
Namespace Management capability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions