Skip to content

Dasharo Stability: NVMe detection

Test cases common documentation

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.

SNV0001.001 NVMe detection after cold boot (Ubuntu)

Test description

This test aims to verify that the NVMe disk is correctly detected after performing a cold boot. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and run the following command:

    lspci | grep -i nvme
    
  5. Disconnect the power source, and remove the battery if present.

  6. Connect power and battery again.
  7. Power on the DUT.
  8. Boot into the system.
  9. Log into the system by using the proper login and password.
  10. Open a terminal window and run the following command:

    lspci | grep -i nvme
    

Expected result

The output of each lspci command should contain information about the mounted on the DUT NVMe disk. Example output:

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980

SNV0001.001 NVMe detection after warm boot (Ubuntu)

Test description

This test aims to verify that the NVMe disk is correctly detected after performing a warm boot. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and run the following command:

    lspci | grep -i nvme
    
  5. Power off the DUT using the power button.

  6. Power on the DUT.
  7. Boot into the system.
  8. Log into the system by using the proper login and password.
  9. Open a terminal window and run the following command:

    lspci | grep -i nvme
    

Expected result

The output of each lspci command should contain information about the mounted on the DUT NVMe disk. Example output:

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980

SNV0003.001 NVMe detection after reboot (Ubuntu)

Test description

This test aims to verify that the NVMe disk is correctly detected after performing a reboot. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Generic test setup: firmware

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and run the following command:

    lspci | grep -i nvme
    
  5. Disconnect the power source, and remove the battery if present.

  6. Connect power and battery again.
  7. Power on the DUT.
  8. Boot into the system.
  9. Log into the system by using the proper login and password.
  10. Open a terminal window and run the following command:

    lspci | grep -i nvme
    

Expected result

The output of each lspci command should contain information about the mounted on the DUT NVMe disk. Example output:

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980

SNV0004.001 NVMe detection after suspension (Ubuntu)

Test description

This test aims to verify that the NVMe disk is correctly detected after performing suspension. The test should be performed in multiple iterations.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the Firmware test suite package.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and run the following command:

    lspci | grep -i nvme
    
  5. Execute the following command to suspend the system and automatically wake it up after 10 seconds:

    sudo fwts s3 --s3-sleep-delay=10
    
  6. Open a terminal window and run the following command:

    lspci | grep -i nvme
    

Expected result

The output of each lspci command should contain information about the mounted on the DUT NVMe disk. Example output:

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980