Machine: Build=7601.1130 Platform=x86 OS=Windows 7 Ultimate ServicePack="" Version=6.1 BuildLab="win7sp1_rtm" BuildDate=101119-1850 Language=English (US) (REDMOND) Config=n/a Starting SCSICompliance test 2.0.20100428 Running Scenario... Returned data size is 0x24 bytes. Start: ASSERTION: TEST UNIT READY Basic Verification Test, TUID= Description: The TEST UNIT READY command provides a means to check if thelogical unit is ready. This is not a request for a self-test. If the logicalunit is able to accept an appropriate medium-access command without returningCHECK CONDITION status, this command shall return a GOOD status. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.33 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x0. End: Pass, ASSERTION: TEST UNIT READY Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REQUEST SENSE (6) Support Test, TUID= Description: Checking to see if Request Sense Command is supported and returns GOOD status. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.27 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Sending REQUEST SENSE (0x03) command to disk device. Expect: Scsi Status is 0x0. Scsi Status is 0x0. End: Pass, ASSERTION: REQUEST SENSE (6) Support Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REQUEST SENSE (6) RESPONSE CODE Test, TUID= Description: Verify that RESPONSE CODE is either 0x70 or 0x71 or 0x72 or 0x73 Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.27 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: RESPONSE CODE == 0x70 or RESPONSE CODE == 0x71 or RESPONSE CODE == 0x72 or RESPONSE CODE == 0x73 Checking RESPONSE CODE in sense buffer. No request sense data available. End: Pass, ASSERTION: REQUEST SENSE (6) RESPONSE CODE Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REQUEST SENSE (6) Sense Data Length Test, TUID= Description: Verify that length of SENSE data is correct (data transferred matches data length reported by the command response). Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.27 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Additional Sense Length <= Sense data size - 8. Test skipped because error code was not non-zero. End: Pass, ASSERTION: REQUEST SENSE (6) Sense Data Length Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: FORMAT UNIT If Implemented test, TUID= SCSI status is 0x2. Sense Code is 0x5. Additional Sense Code is 0x20. Additional Sense Code Qualifier is 0x0. End: Pass, ASSERTION: FORMAT UNIT If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: FORMAT UNIT test with Type 0 Protection, TUID= Description: Sending Format Unit with longlist=0, fmtdata=0, cmplist=0, defect list format=0 and type 0 protection Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.2 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device must return GOOD (0x0) SCSI status Sending Format Unit with longlist=0, fmtdata=0, cmplist=0, defect list format=0 and type 0 protection SCSI status is 0x2. End: Pass, ASSERTION: FORMAT UNIT test with Type 0 Protection, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (6) Basic Verification Test, TUID= Description: The device must return GOOD (0x0) SCSI status and the first two blocks of data correctly. This test sends two READ commands reading two different but overlapped blocks of data. Then, it compares the overlapped data. It returns true if the overlapped data is the same between the read operations (implying that the two commands read the same data correctly). Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.4. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: ScsiStatus == 0x0. End: Pass, ASSERTION: READ (6) Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (6) Sequential Read Test, TUID= Description: The device must read 1000 sequential blocks of data correctly. This test sends the command 1000 times, reading 1024 bytes of data sequentially starting at a random block address. Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.4. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: All READ (6) commands succeed. End: Pass, ASSERTION: READ (6) Sequential Read Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (6) Random Read Test, TUID= Description: The device must read 1000 random blocks of data correctly. This test sends the command 1000 times, reading data at random logical block address. Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.4. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: All READ (6) commands succeed. End: Pass, ASSERTION: READ (6) Random Read Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (6) Read-With-Disk-Cache-Cleared Test, TUID= Description: The device must return data correctly after clearing 12MB disk cache. This test first reads 12 MB sequential data for later verification. Then, it clears the disk cache by reading 12 MB random data. Finally, it reads the same 12 MB sequential data to see if the data is same as the one in first read. Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.4. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: The 12 MB data read after cache cleared is correct. Reading 32 blocks of sequential data for later verification... Clear the disk cache by reading 32 blocks of random data... Read the same 32 blocks of sequential data End: Pass, ASSERTION: READ (6) Read-With-Disk-Cache-Cleared Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (6) If Implemented test, TUID= SCSI status is 0x0. Sense Code is 0x0. Additional Sense Code is 0x0. Additional Sense Code Qualifier is 0x0. End: Pass, ASSERTION: WRITE (6) If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (6) Basic Functionality Test, TUID= Description: The command writes one block of data to device correctly.This test compares the data we want to write and the one returned by the READ after the write operation. If the data is the same, this implies that the WRITE command writes the data to disk correctly. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.30. Expectation: ScsiStatus == 0x0. End: Pass, ASSERTION: WRITE (6) Basic Functionality Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (6) Sequential Write Test, TUID= Description: The command writes 1000 sequential blocks of data correctly.This test sends the command 1000 times, writing data sequentially starting at a random logical block address. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.30. Expectation: All WRITE (6) commands succeed. End: Pass, ASSERTION: WRITE (6) Sequential Write Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (6) Random Write Test, TUID= Description: The command writes 1000 random blocks of data correctly.This test sends the WRITE command 1000 times, writing data at random logical block address. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.30. Expectation: All WRITE (6) commands succeed. End: Pass, ASSERTION: WRITE (6) Random Write Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (6) Write-With-Disk-Cache-Enabled Test, TUID= Description: The command writes 12 MB of data correctly with cache enabled.This test writes 12 MB of data to disk. Then, it sends a SYNCHRONIZE CACHE (10) command to synchronize the logical block address in cache with the ones in disk. Finally, it will read the same 12 MB data that has just been written to verify that the data we just write are correct. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.30. Expectation: The 12 MB data are written correctly. Sense data indicates Write Cache setting is not changeable. Attempting anyways. WRITE: WriteCacheSetting currently: 0x1. WRITE: Write Cache setting was succesfully changed. Writing 0 MB data sequentially to disk... WRITE (10): IssueSPT 1876134 fails Assertion: Checksum is not correct Fatal error, skipping all remaining WRITE test cases. End: Pass, ASSERTION: WRITE (6) Write-With-Disk-Cache-Enabled Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Basic Verification Test, TUID= Description: The device must return GOOD (0x0) SCSI status and data of size smaller than or equal to 255 bytes in response to the INQUIRY command with ALLOCATION LENGTH field set to 255 (0xFF) bytes. The ALLOCATION LENGTH field specifies the maximum number of bytes that an application client has allocated for returned data. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status and data of size smaller than or equal to 255 bytes. Returned data size is 0x24 bytes. End: Pass, ASSERTION: INQUIRY Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Test for error when PAGE CODE field is nonzero and EVPD=0., TUID= Description: Checking that an error is returned when PAGE CODE field isnonzero and EVPD=0. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ScsiStatus == 0x2, CHECK CONDITION. End: Pass, ASSERTION: INQUIRY Test for error when PAGE CODE field is nonzero and EVPD=0., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Retrieving standard inquiry data., TUID= Description: Checking if we can retrieve standard inquiry data. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ScsiStatus == 0x0, GOOD. End: Pass, ASSERTION: INQUIRY Retrieving standard inquiry data., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking size of standard inquiry data., TUID= Description: Standard INQUIRY data shall contain at least 36 bytes. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Data Transfer Length >= 36 bytes. End: Pass, ASSERTION: INQUIRY Checking size of standard inquiry data., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Testing device type field., TUID= Description: Checking device type field to ensure it is a direct access device. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Device Type == 0x0, Direct-access device. Device is a 0 device. Device is a Direct access block device device. End: Pass, ASSERTION: INQUIRY Testing device type field., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Testing peripheral qualifier field., TUID= Description: Checking Peripheral Qualifier field. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Peripheral qualifier field == 0. End: Pass, ASSERTION: INQUIRY Testing peripheral qualifier field., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY VERSION Field Test, TUID= Description: The device must return a valid VERSION field of 0x4, 0x5 or 0x6 Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: VERSION is 0x4 (SPC-2) or later for non-SCSI bus type and VERSION is 0x3 (SPC)or later for SCSI bus type. The device complies with SPC-4. End: Pass, ASSERTION: INQUIRY VERSION Field Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking RESPONSE DATA FORMAT., TUID= Description: Checking that RESPONSE DATA FORMAT == 2. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: RESPONSE DATA FORMAT == 2. End: Pass, ASSERTION: INQUIRY Checking RESPONSE DATA FORMAT., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking additional length., TUID= Description: Checking additional length field is correct. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Additional Length field == Total Data size - 5 End: Pass, ASSERTION: INQUIRY Checking additional length., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking VENDOR IDENTIFICATION field., TUID= Description: Checking that VENDOR IDENTIFICATION field contains valid ASCII. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: VENDOR IDENTIFICATION field contains valid ASCII. VENDOR IDENTIFICATION field contains valid ASCII. INQUIRY: Checking NVMe to ensure validity. End: Pass, ASSERTION: INQUIRY Checking VENDOR IDENTIFICATION field., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking PRODUCT IDENTIFICATION field., TUID= Description: Checking that PRODUCT IDENTIFICATION field contains valid ASCII. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: PRODUCT IDENTIFICATION field contains valid ASCII. VENDOR IDENTIFICATION field contains valid ASCII. End: Pass, ASSERTION: INQUIRY Checking PRODUCT IDENTIFICATION field., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking PRODUCT REVISION LEVEL field., TUID= Description: Checking that PRODUCT REVISION LEVEL field contains valid ASCII. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: PRODUCT REVISION LEVEL field contains valid ASCII. VENDOR REVISION LEVEL field contains valid ASCII. End: Pass, ASSERTION: INQUIRY Checking PRODUCT REVISION LEVEL field., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Command Support Data Test., TUID= Description: The device must set the HiSup bit in the Standard Inquiry Data. Reference: SCSI Architecture Model - 3 (SAM-3) Revision 14 (or later) specification Section 4.9.2 http://www.t10.org/ftp/t10/drafts/sam3/sam3r14.pdf Expectation: HiSup bit is set in Standard Inquiry Data. HiSup is not set in Standard Inquiry Data. Some port drivers will not enumerate all LUNs. End: Pass, ASSERTION: INQUIRY Command Support Data Test., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking for Supported Vital Product Pages., TUID= Description: Checking to see if Vital Product Pages are supported. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.4. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: List of Supported Vital Product Data Pages is returned. Supported Vital Product Data Pages is returned. End: Pass, ASSERTION: INQUIRY Checking for Supported Vital Product Pages., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Testing access to each supported Vital Product Data Page., TUID= Description: Attempting to access each supported Vital Product Data Page. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.4. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Each supported page is accessible (up to 255 bytes). Supported Vital Product Data Pages is returned. page length is 3. End: Pass, ASSERTION: INQUIRY Testing access to each supported Vital Product Data Page., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Attempting Unit Serial Number Page 0x80., TUID= Description: Checking if Unit Serial Number Page 0x80 is supported, and is valid ASCII. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 7.6.10. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ScsiStatus == 0x0, and result is valid ASCII. Supported Vital Product Data Pages is returned. INQUIRY: Unit serial number page is supported. Unit serial number is valid ASCII (FFFFFFFFFFFF רץ5). End: Pass, ASSERTION: INQUIRY Attempting Unit Serial Number Page 0x80., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Attempting Device identification Page 0x83., TUID= Description: Checking if Device identification Page 0x83 is supported. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 7.6.3. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ScsiStatus == 0x0. End: Pass, ASSERTION: INQUIRY Attempting Device identification Page 0x83., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking Identification Descriptors in VPD page 0x83., TUID= Description: Checking that Identification Descriptors contain meaningful data. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 7.6.3. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: All descriptors are compliant, and contain meaningful data. Identification descriptor 0. Code Set: 0x1 (Binary). Association: 0x0 (Logical Unit). Identifier Type: 0x2 (EUI-64). Identifier Length: 0x10 (16) bytes. Identifier: 0x0000000000000000001517FFFF0AEB84 EUI-64 Device Identifier, checking validity All descriptors are compliant. End: Pass, ASSERTION: INQUIRY Checking Identification Descriptors in VPD page 0x83., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: INQUIRY Checking Version Descriptors., TUID= Description: Checking to see if Version Descriptors are compliant. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Version descriptors exist. Version Descriptors do not exist. End: Pass, ASSERTION: INQUIRY Checking Version Descriptors., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SELECT (6) Basic Test, TUID= Description: Checking to see if a simple MODE SELECT command, with PF and SP == 0, passes Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status End: Pass, ASSERTION: MODE SELECT (6) Basic Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Attempting to get Caching mode page., TUID= Description: Checking to see if a simple MODE SENSE command on Page 0x08 will return GOOD status. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status ScsiStatus == 0x0. MODE: Size of MODE CACHING PAGE returned by target: 20 bytes. MODE: Caching mode page information. MODE: Caching.PageCode: 0x8. MODE: Caching.PageSavable: 0x0. MODE: Caching.PageLength: 0x12. MODE: Caching.ReadDisableCache: 0x0. MODE: Caching.MultiplicationFactor: 0x0. MODE: Caching.WriteCacheEnable: 0x1. MODE: Caching.WriteRetensionPriority: 0x0. MODE: Caching.ReadRetensionPriority: 0x0. MODE: Caching.DisablePrefetchTransfer: 0x00. MODE: Caching.MinimumPrefetch: 0x00. MODE: Caching.MaximumPrefetch: 0x00. MODE: Caching.MaximumPrefetchCeiling: 0x00. MODE: Caching.NumberCacheSegments: 0x0. MODE: Caching.CacheSegmentSize: 0x00. End: Pass, MODE SELECT 6: MODE SENSE (6) Attempting to get Caching mode page., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Checking Parameters Savable (PS bit)., TUID= Description: Checking to see if Parameters Savable bit for the Caching Mode Page is 1. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: PS == 1. PS = 0. Support for PS=1 is not mandatory End: Pass, MODE SELECT 6: MODE SENSE (6) Checking Parameters Savable (PS bit)., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Checking Mode Parameter Header, TUID= Description: Verify that MediumType == 0 and BlockDescriptorLength == 0. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: MediumType == 0x0 and BlockDescriptorLength == 0x0 MODE: ModeDataLength: 0x17. MODE: MediumType: 0x0. MODE: DeviceSpecificParameter: 0x0. MODE: BlockDescriptorLength: 0x0. MediumType == 0x0 and BlockDescriptorLength == 0x0. End: Pass, MODE SELECT 6: MODE SENSE (6) Checking Mode Parameter Header, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Checking Caching Mode Page Length., TUID= Description: Checking the Caching Mode Page is 20 bytes. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: cachePageLength == 20 bytes. MODE: Cache page length is 0x14. End: Pass, MODE SELECT 6: MODE SENSE (6) Checking Caching Mode Page Length., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Getting Changeable values., TUID= Description: Saving away Changeable Values for Caching Mode Page Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE: Getting Changeable values. ScsiStatus == 0x0. MODE: Changeable values. MODE: Caching mode page information. MODE: Caching.PageCode: 0x8. MODE: Caching.PageSavable: 0x0. MODE: Caching.PageLength: 0x12. MODE: Caching.ReadDisableCache: 0x0. MODE: Caching.MultiplicationFactor: 0x0. MODE: Caching.WriteCacheEnable: 0x1. MODE: Caching.WriteRetensionPriority: 0x0. MODE: Caching.ReadRetensionPriority: 0x0. MODE: Caching.DisablePrefetchTransfer: 0x00. MODE: Caching.MinimumPrefetch: 0x00. MODE: Caching.MaximumPrefetch: 0x00. MODE: Caching.MaximumPrefetchCeiling: 0x00. MODE: Caching.NumberCacheSegments: 0x0. MODE: Caching.CacheSegmentSize: 0x00. End: Pass, MODE SELECT 6: MODE SENSE (6) Getting Changeable values., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Getting default values., TUID= Description: Saving away Default Values for Caching Mode Page. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE SENSE on Caching Mode Page with PC == 10b. MODE: Getting Default values. ScsiStatus == 0x0. End: Pass, MODE SELECT 6: MODE SENSE (6) Getting default values., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT (6) Changing WCE., TUID= Description: Applying MODE SELECT to WCE=0 for the device. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE SELECT: Clearing WCE size = 24 ScsiStatus == 0x0. End: Pass, MODE SELECT (6) Changing WCE., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Checking that WCE has been cleared., TUID= Description: Checking that the previous MODE SELECT command actually changed the current mode parameters. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: WCE is clear. MODE SENSE on Caching Mode Page. MODE: Checking if WCE was cleared. WriteCacheEnable was cleared. End: Pass, MODE SELECT 6: MODE SENSE (6) Checking that WCE has been cleared., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Checking that Saved Values have changed., TUID= Description: Checking that the previous MODE SELECT command actually changed the saved mode parameters. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Saved values have changed. Test skipped because write cache cant be disabled and page savable is false. End: Pass, MODE SELECT 6: MODE SENSE (6) Checking that Saved Values have changed., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT (6) setting WCE, TUID= Description: Applying MODE SELECT to set WCE. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE SELECT command with changeable Caching Mode Page values set to 0. MODE: Testing MODE SELECT by clearing WCE. ScsiStatus == 0x0. End: Pass, MODE SELECT (6) setting WCE, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Checking that WCE has been set., TUID= Description: Checking that the previous MODE SELECT command actually set WCE. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Current values have been set. MODE SENSE on Caching Mode Page. MODE: Checking if WCE was set. WriteCacheEnable was set. End: Pass, MODE SELECT 6: MODE SENSE (6) Checking that WCE has been set., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT (6) Attempting to restore original values., TUID= Description: Testing MODE SELECT can return the Caching Mode Page values to their original values. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE SELECT command with values set to their original starting values. MODE: Returning page values to original values. ScsiStatus == 0x0. End: Pass, MODE SELECT (6) Attempting to restore original values., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 6: MODE SENSE (6) Verifying values were restored., TUID= Description: Checking that the values were restored in the Caching Mode Page. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.7 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Current values equal default values. MODE SENSE on Caching Mode Page. MODE: Checking if current values have changed. Values have been restored. End: Pass, MODE SELECT 6: MODE SENSE (6) Verifying values were restored., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (6) Basic Test, TUID= Description: Checking to see if a simple MODE SENSE command on Page 0x3f will return GOOD status Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status End: Pass, ASSERTION: MODE SENSE (6) Basic Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (6) Checking size of returned data., TUID= Description: Checking that we receive a minimum amount of data (i.e. at least the MODE PARAMETER HEADER). Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Data Transfer Length >= 4 bytes Data Transfer Length = 96 bytes. End: Pass, ASSERTION: MODE SENSE (6) Checking size of returned data., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (6) Checking MODE PARAMETER HEADER, TUID= Description: Checking that the MODE PARAMETER HEADER length information is valid. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ModeDataLength = Data Transfer Length - 1 = 95 bytes. ModeDataLength: 0x5f. MediumType: 0x0. DeviceSpecificParameter: 0x0. BlockDescriptorLength: 0x8. ModeDataLength == 95 bytes. End: Pass, ASSERTION: MODE SENSE (6) Checking MODE PARAMETER HEADER, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Test DBD (disable block descriptors) bit., TUID= Description: Testing to make sure that, when DBD bit is set, no block descriptors are returned. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Block Descriptor Length = 0 Response: Block Descriptor Length == 0. End: Pass, MODE SENSE (6) Test DBD (disable block descriptors) bit., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Testing new data length when DBD bit is set., TUID= Description: Testing that new data length should equal old data length minus block descriptor length. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: New Data Length = Old Data Length New Data Length == 87. Old Data Length - Block Descriptor Length == 87. New: 87, Old: 87. End: Pass, MODE SENSE (6) Testing new data length when DBD bit is set., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Comparing MODE PAGE data before and after DBD bit is set, TUID= Description: Testing that page data is the same before and after DBD bit is set. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Page data will match Byte 2 mismatched comparing 0x0 with 0x4. Data DOESN'T match. End: Fail, MODE SENSE (6) Comparing MODE PAGE data before and after DBD bit is set, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Testing Page Control Field, TUID= Description: Testing different values of the Page control field, and enforcing the size of the data returned. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Data length for each value of PC is correct. MODE SENSE returned SCSI status of 0x2 for PC = 0x3. Saved Parameters are not supported. All data length tests passed. End: Pass, MODE SENSE (6) Testing Page Control Field, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Scanning All Mode Pages., TUID= Description: Checking Mode Page 0x3f data to examine supported mode pages. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: To find supported mode pages: Information exception control mode page and Caching mode page. Found Mode Page 0x8, PS = 0, Length = 18. Caching mode page is supported. Found Mode Page 0xa, PS = 0, Length = 10. Control mode page is supported. Found Mode Page 0x1a, PS = 0, Length = 38. Power Condition mode page is supported. Found Mode Page 0x1c, PS = 0, Length = 10. Informational Exception mode page is supported. Enumerated several pages.. End: Pass, MODE SENSE (6) Scanning All Mode Pages., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Ensuring mandatory mode pages are supported, TUID= Description: Checking that required mode pages are present in MODE PAGE 0x3f Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Caching and Informational Exception pages are supported, at a minimum. Caching and Informational Exception pages are supported. End: Pass, MODE SENSE (6) Ensuring mandatory mode pages are supported, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Checking Individual Mode Pages, TUID= Description: Testing to ensure we can access each individual mode page, and that the paremeters are correct Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Pages should be returned and the headers should be compliant Checking additional parameters of Mode Page 0x8. MODE SENSE returned SCSI status of 0x2 for page 0x8. Checking additional parameters of Mode Page 0xa. MODE SENSE returned SCSI status of 0x2 for page 0xa. Checking additional parameters of Mode Page 0x1a. MODE SENSE returned SCSI status of 0x2 for page 0x1a. Checking additional parameters of Mode Page 0x1c. MODE SENSE returned SCSI status of 0x2 for page 0x1c. All mode pages are retrievable and compliant. End: Pass, MODE SENSE (6) Checking Individual Mode Pages, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Checking Informational Exception Mode Page, TUID= Description: Ensuring Informational Exception Mode Page is compliant Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Power Condition Mode Page is supported MODE: Informational Exception page information. Informational Exception Mode Page is supported. End: Pass, MODE SENSE (6) Checking Informational Exception Mode Page, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Checking Power Condition Mode Page., TUID= Description: Ensuring Power Condition Mode Page is compliant Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Informational Exception Mode Page is supported Power Condition Mode Page is supported. End: Pass, MODE SENSE (6) Checking Power Condition Mode Page., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Checking Caching Mode Page., TUID= Description: Ensuring Caching Mode Page is compliant. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Caching Mode Page is supported. Caching.PageCode: 0x8. Caching.PageSavable: 0x0. Caching.PageLength: 0x12. Caching.ReadDisableCache: 0x0. Caching.MultiplicationFactor: 0x0. Caching.WriteCacheEnable: 0x1. Caching.WriteRetensionPriority: 0x0. Caching.ReadRetensionPriority: 0x0. Caching Mode Page is supported. End: Pass, MODE SENSE (6) Checking Caching Mode Page., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (6) Checking Device Specific Parameters, TUID= Description: This tests to see if the Device specific parameters are supported. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.9 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Nothing. Displaying Device specific parameters. WP is 0x0. DPOFUA is 0x1. End: Pass, MODE SENSE (6) Checking Device Specific Parameters, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: START STOP UNIT If Implemented test, TUID= Error sending SCSI command. GLE: 0x0000045d SCSI status is 0x35. Sense Code is 0x0. Additional Sense Code is 0x24. Additional Sense Code Qualifier is 0x0. Could not send command. Assuming command not supported. End: Pass, ASSERTION: START STOP UNIT If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: START STOP UNIT Basic Test 1, TUID= Description: Sending StartStopUnit with IMMED=0, LOEJ=0, START=0, expect no action Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.17 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device must return GOOD (0x0) SCSI status Test runs only on USB devices. End: Pass, ASSERTION: START STOP UNIT Basic Test 1, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: RECEIVE DIAGNOSTIC RESULTS Page Code If Implemented test, TUID= End: Pass, ASSERTION: RECEIVE DIAGNOSTIC RESULTS Page Code If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: RECEIVE DIAGNOSTIC RESULTS Page Code Valid Test, TUID= Description: On receiving this command without a prior Send Diagnostic results command, device should not go into bad state Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.18 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: RECEIVE DIAGNOSTIC RESULTS Page Code Valid Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: RECEIVE DIAGNOSTIC RESULTS Page Code Test, TUID= Description: Device should return the diagnostic page specified in the PAGE CODE field which are the control mode page and informational exception control mode page Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.18 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return diagnostic page for the page asked Retreiving info on control mode page. Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: RECEIVE DIAGNOSTIC RESULTS Page Code Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Page If Implemented test, TUID= End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Page If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Page Basic Verification Test, TUID= Description: Logical units that support this command shall implement, at a minimum, the default self-test feature Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.28 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Page Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Background Short self-test, TUID= Description: The device shall start its short self-test in the background mode followed by a response to receive diagnostic results command. Device shall ignore DEVOFFL bit and UNITOFFL bit Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.28 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Background Short self-test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Background Extended self-test, TUID= Description: The device shall start its Extended self-test in the background mode followed by a response to receive diagnostic results command. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.28 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Background Extended self-test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Abort Background self-test, TUID= Description: The device shall abort the current self-test running in background mode Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.28 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Abort Background self-test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Foreground Short self-test, TUID= Description: The device shall start its short self-test in the foreground mode followed by a response to receive diagnostic results command. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.28 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Foreground Short self-test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SEND DIAGNOSTIC RESULTS Foreground Extended self-test, TUID= Description: The device shall start its Extended self-test in the foreground mode followed by a response to receive diagnostic results command. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.28 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Expect: Scsi Status is 0x0. Scsi Status is 0x2. End: Pass, ASSERTION: SEND DIAGNOSTIC RESULTS Foreground Extended self-test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: PREVENT ALLOW MEDIUM REMOVAL If Implemented test, TUID= SCSI status is 0x2. Sense Code is 0x5. Additional Sense Code is 0x20. Additional Sense Code Qualifier is 0x0. End: Pass, ASSERTION: PREVENT ALLOW MEDIUM REMOVAL If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: PREVENT ALLOW MEDIUM REMOVAL prevent bit set test, TUID= Description: Sending Prevent Allow Medium Removal with prevent bit set to 01 Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.13 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status if it supports CDB, else return CHECH CONDITION,set sense key/ASC/ASCQ to 5/20/0 accordingly Sending Prevent Allow Medium Removal with prevent bit set to 01 SCSI status is 0x2. End: Pass, ASSERTION: PREVENT ALLOW MEDIUM REMOVAL prevent bit set test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: PREVENT ALLOW MEDIUM REMOVAL prevent bit clear test, TUID= Description: Sending Prevent Allow Medium Removal with prevent bit set to 00 Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.13 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Sending Prevent Allow Medium Removal with prevent bit set to 00 SCSI status is 0x2. End: Pass, ASSERTION: PREVENT ALLOW MEDIUM REMOVAL prevent bit clear test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (10) Basic Verification Test, TUID= Description: The device must return GOOD (0x0) SCSI status and 8 bytes of parameter data describing the capacity and medium format of the block device to the data-in buffer. Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.10 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device must return GOOD (0x0) SCSI status Sending READ CAPACITY (10) command with PMT and LOGICAL BLOCK ADDRESS field set to zero (25 00 00 00 00 00 00 00 00 00) to device... SCSI status is 0x0. LOGICAL BLOCK ADDRESS: 767721471 BLOCK LENGTH IN BYTES: 512 End: Pass, ASSERTION: READ CAPACITY (10) Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (10) PMI Test, TUID= Description: Send a READ CAPACITY command with the PMI (Partial Medium Indicator) set to 1. It indicates that the RETURNED LOGICAL BLOCK ADDRESS and BLOCK LENGTH IN BYTES are those of the last logical block address before a substantial delay in data transer mayb be encountered. Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.10 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The returned LOGICAL BLOCK ADDRESS shall be greater than or equal to the logical block address specified by the RELADR and LOGICAL BLOCK ADDRESS fields in the command descriptor block. Setting PMI bit of READ CAPCACITY (10) comamnd to 1... Sending READ CAPACITY (10) command (0x25) to device... Expect: RETURNED LOGICAL BLOCK ADDRESS is less than or equal to that when PMI is set to 0. RETURNED LOGICAL BLOCK ADDRESS (PMI = 0): 767721471 RETURNED LOGICAL BLOCK ADDRESS (PMI = 1): 767721471 End: Pass, ASSERTION: READ CAPACITY (10) PMI Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (10) Negative Test, TUID= Description: Send a READ CAPACITY command with the PMI (Partial Medium Indicator) bit zero but the LOGICAL BLOCK ADDRESS non-zero Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.10 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device should return a CHECK CONDITION (2h) status and the sense key be set to ILLEGAL REQUEST with the additional sense code set to ILLEGAL FIELD IN CDB (24h) Expect: Scsi Status is 0x2 (CHECK CONDITION). Scsi Status is 0x0 End: Fail, ASSERTION: READ CAPACITY (10) Negative Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (10) Basic Functionality Test, TUID= Description: The command reads the first two blocks of data correctly.This test sends two READ commands reading two different but overlapped blocks of data. Then, it compares the overlapped data. It returns true if the overlapped data is the same between the read operations (implying that the two commands read the same data correctly). Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.5. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: Scsi Status == 0x0. End: Pass, ASSERTION: READ (10) Basic Functionality Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (10) Sequential Read Test, TUID= Description: The command reads 1000 sequential blocks of data correctly.This test sends the command 1000 times, reading data sequentially starting at a random logical block address. Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.5. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: All READ (10) commands succeed. End: Pass, ASSERTION: READ (10) Sequential Read Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (10) Random Read Test, TUID= Description: The command reads 1000 random blocks of data correctly.This test sends the command 1000 times, reading data at random logical block address. Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.5. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: All READ (10) commands succeed. ulMaxLBA is 2dc27fff End: Pass, ASSERTION: READ (10) Random Read Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (10) Read-With-Disk-Cache-Cleared Test, TUID= Description: The command reads 12 MB of data correctly with disk cache cleared.This test first reads 12 MB sequential data for later verification. Then, it clears the disk cache by reading 12 MB random data. Finally, it reads the same 12 MB sequential data to see if the data is same as the one in first read. Reference: SCSI-3 Block Commands (SBC) specification Revision 8c Section 6.1.5. http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf Expectation: The 12 MB data read after cache cleared is correct. End: Pass, ASSERTION: READ (10) Read-With-Disk-Cache-Cleared Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (10) Basic Functionality Test, TUID= Description: The command writes one block of data to device correctly.This test compares the data we want to write and the one returned by the READ after the write operation. If the data is the same, this implies that the WRITE command writes the data to disk correctly. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.31. Expectation: ScsiStatus == 0x0. WRITE (10) command not supported Fatal error, skipping all remaining WRITE10 test cases. End: Fail, ASSERTION: WRITE (10) Basic Functionality Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SELECT (10) If Implemented test, TUID= SCSI status is 0x0. Sense Code is 0x0. Additional Sense Code is 0xa3. Additional Sense Code Qualifier is 0xf8. End: Pass, ASSERTION: MODE SELECT (10) If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SELECT (10) Basic Test, TUID= Description: Checking to see if a simple MODE SELECT command, with PF and SP == 0, passes Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status End: Pass, ASSERTION: MODE SELECT (10) Basic Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Attempting to get Caching mode page., TUID= Description: Checking to see if a simple MODE SENSE command on Page 0x08 will return GOOD status. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status ScsiStatus == 0x0. MODE: Size of MODE CACHING PAGE returned by target: 24 bytes. MODE: Caching mode page information. MODE: Caching.PageCode: 0x0. MODE: Caching.PageSavable: 0x0. MODE: Caching.PageLength: 0x0. MODE: Caching.ReadDisableCache: 0x0. MODE: Caching.MultiplicationFactor: 0x0. MODE: Caching.WriteCacheEnable: 0x0. MODE: Caching.WriteRetensionPriority: 0x0. MODE: Caching.ReadRetensionPriority: 0x0. MODE: Caching.DisablePrefetchTransfer: 0x812. MODE: Caching.MinimumPrefetch: 0x40. MODE: Caching.MaximumPrefetch: 0x00. MODE: Caching.MaximumPrefetchCeiling: 0x00. MODE: Caching.NumberCacheSegments: 0x0. MODE: Caching.CacheSegmentSize: 0x00. End: Pass, MODE SELECT 10: MODE SENSE (10) Attempting to get Caching mode page., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Checking Parameters Savable (PS bit)., TUID= Description: Checking to see if Parameters Savable bit for the Caching Mode Page is 1. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: PS == 1. PS = 0. Support for PS=1 is not mandatory End: Pass, MODE SELECT 10: MODE SENSE (10) Checking Parameters Savable (PS bit)., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Checking Mode Parameter Header, TUID= Description: Verify that MediumType == 0 and BlockDescriptorLength == 0. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: MediumType == 0x0 and BlockDescriptorLength == 0x0 MODE: ModeDataLength: 0x1a. MODE: MediumType: 0x0. MODE: DeviceSpecificParameter: 0x0. MODE: BlockDescriptorLength: 0x0. MediumType == 0x0 and BlockDescriptorLength == 0x0. End: Pass, MODE SELECT 10: MODE SENSE (10) Checking Mode Parameter Header, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Checking Caching Mode Page Length., TUID= Description: Checking the Caching Mode Page is 20 bytes. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: cachePageLength == 20 bytes. MODE: Cache page length is 0x18. End: Pass, MODE SELECT 10: MODE SENSE (10) Checking Caching Mode Page Length., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Getting Changeable values., TUID= Description: Saving away Changeable Values for Caching Mode Page Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE: Getting Changeable values. ScsiStatus == 0x0. MODE: Changeable values. MODE: Caching mode page information. MODE: Caching.PageCode: 0x0. MODE: Caching.PageSavable: 0x0. MODE: Caching.PageLength: 0x0. MODE: Caching.ReadDisableCache: 0x0. MODE: Caching.MultiplicationFactor: 0x0. MODE: Caching.WriteCacheEnable: 0x0. MODE: Caching.WriteRetensionPriority: 0x0. MODE: Caching.ReadRetensionPriority: 0x0. MODE: Caching.DisablePrefetchTransfer: 0x812. MODE: Caching.MinimumPrefetch: 0x40. MODE: Caching.MaximumPrefetch: 0x00. MODE: Caching.MaximumPrefetchCeiling: 0x00. MODE: Caching.NumberCacheSegments: 0x0. MODE: Caching.CacheSegmentSize: 0x00. End: Pass, MODE SELECT 10: MODE SENSE (10) Getting Changeable values., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Getting default values., TUID= Description: Saving away Default Values for Caching Mode Page. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status MODE SENSE on Caching Mode Page with PC == 10b. MODE: Getting Default values. ScsiStatus == 0x0. End: Pass, MODE SELECT 10: MODE SENSE (10) Getting default values., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT (10) Changing WCE., TUID= Description: Applying MODE SELECT to WCE=0 for the device. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Test skipped because write cache cant be disabled. End: Pass, MODE SELECT (10) Changing WCE., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Checking that WCE has been cleared., TUID= Description: Checking that the previous MODE SELECT command actually changed the current mode parameters. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: WCE is clear. Test skipped because write cache cant be disabled. End: Pass, MODE SELECT 10: MODE SENSE (10) Checking that WCE has been cleared., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Checking that Saved Values have changed., TUID= Description: Checking that the previous MODE SELECT command actually changed the saved mode parameters. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Saved values have changed. Test skipped because write cache cant be disabled and page savable is false. End: Pass, MODE SELECT 10: MODE SENSE (10) Checking that Saved Values have changed., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT (10) setting WCE, TUID= Description: Applying MODE SELECT to set WCE. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Test skipped because write cache cant be disabled. End: Pass, MODE SELECT (10) setting WCE, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Checking that WCE has been set., TUID= Description: Checking that the previous MODE SELECT command actually set WCE. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Current values have been set. Test skipped because write cache cant be disabled. End: Pass, MODE SELECT 10: MODE SENSE (10) Checking that WCE has been set., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT (10) Attempting to restore original values., TUID= Description: Testing MODE SELECT can return the Caching Mode Page values to their original values. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status Test skipped because write cache cant be disabled. End: Pass, MODE SELECT (10) Attempting to restore original values., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SELECT 10: MODE SENSE (10) Verifying values were restored., TUID= Description: Checking that the values were restored in the Caching Mode Page. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.8 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Current values equal default values. Test skipped because write cache cant be disabled. End: Pass, MODE SELECT 10: MODE SENSE (10) Verifying values were restored., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (10) If Implemented test, TUID= SCSI status is 0x0. Sense Code is 0x0. Additional Sense Code is 0x99. Additional Sense Code Qualifier is 0x7d. End: Pass, ASSERTION: MODE SENSE (10) If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (10) Basic Test, TUID= Description: Checking to see if a simple MODE SENSE10 command on Page 0x3f will return GOOD status Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.10 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status End: Pass, ASSERTION: MODE SENSE (10) Basic Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (10) Checking size of returned data., TUID= Description: Checking that we receive a minimum amount of data (i.e. at least the MODE PARAMETER HEADER). Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.10 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Data Transfer Length >= 8 bytes Data Transfer Length = 100 bytes. End: Pass, ASSERTION: MODE SENSE (10) Checking size of returned data., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: MODE SENSE (10) Checking MODE PARAMETER HEADER, TUID= Description: Checking that the MODE PARAMETER HEADER length information is valid. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.10 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ModeDataLength = Data Transfer Length - 2 = 98 bytes. Examining current MPH. ModeDataLength: 0x62. MediumType: 0x0. DeviceSpecificParameter: 0x0. BlockDescriptorLength: 0x8. ModeDataLength == 98 bytes. End: Pass, ASSERTION: MODE SENSE (10) Checking MODE PARAMETER HEADER, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (10) Test DBD (disable block descriptors) bit., TUID= Description: Testing to make sure that, when DBD bit is set, no block descriptors are returned. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.10 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Block Descriptor Length = 0 Response: Block Descriptor Length == 0. End: Pass, MODE SENSE (10) Test DBD (disable block descriptors) bit., TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (10) Comparing MODE PAGE data before and after DBD bit is set, TUID= Description: Testing that page data is the same before and after DBD bit is set. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.10 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Page data will match Mismatch at byte 2, 0x0 != 0x4 Data DOESN'T match. End: Pass, MODE SENSE (10) Comparing MODE PAGE data before and after DBD bit is set, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: MODE SENSE (10) Testing Page Control Field, TUID= Description: Testing different values of the Page control field, and enforcing the size of the data returned. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.10 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Data length for each value of PC is correct and PC=0 and PC=2 return good status.. MODE SENSE returned SCSI status of 0x2 for PC = 0x3. Saved Parameters are not supported. All data length tests passed. End: Pass, MODE SENSE (10) Testing Page Control Field, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: PERSISTENT RESERVE OUT If Implemented test, TUID= SCSI status is 0x2. Sense Code is 0x5. Additional Sense Code is 0x20. Additional Sense Code Qualifier is 0x0. End: Pass, ASSERTION: PERSISTENT RESERVE OUT If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: PERSISTENT RESERVE OUT : REGISTER AND IGNORE EXISTING KEY Support Test, TUID= Description: Checking to see if the PERSISTENT RESERVE OUT with service action REGISTER AND IGNORE EXISTING KEY is supported and returns GOOD status. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.12 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: ScsiStatus == 0x0. Skipping PERSISTENT RESERVE IN/OUT testing due to BusType. End: Pass, ASSERTION: PERSISTENT RESERVE OUT : REGISTER AND IGNORE EXISTING KEY Support Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (16) Support Test, TUID= Description: Verify that the device supports the READ (16) command.This test issues a simple READ (16) command and checks whether the return code is 0x2 (meaning not supported). Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.10. Expectation: Scsi Status is 0x0. End: Pass, ASSERTION: READ (16) Support Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (16) Basic Functionality Test, TUID= Description: The command reads the first two blocks of data correctly.This test sends two READ commands reading two different but overlapped blocks of data. Then, it compares the overlapped data. It returns true if the overlapped data is the same between the read operations (implying that the two commands read the same data correctly). Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.10. Expectation: Scsi Status is 0x0. End: Pass, ASSERTION: READ (16) Basic Functionality Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (16) Sequential Read Test, TUID= Description: The device must read 1000 sequential blocks of data correctly. This test sends the command 1000 times, reading data sequentially starting at a random logical block address. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.10. Expectation: All READ (16) commands succeed. End: Pass, ASSERTION: READ (16) Sequential Read Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (16) Random Read Test, TUID= Description: The command reads 1000 random blocks of data correctly.This test sends READ (16) command 1000 times, reading data at random logical block address. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.10. Expectation: All READ (16) commands succeed. End: Pass, ASSERTION: READ (16) Random Read Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ (16) Read-With-Disk-Cache-Cleared Test, TUID= Description: The command reads 12 MB of data correctly with disk cache cleared.This test first reads 12 MB sequential data for later verification. Then, it clears the disk cache by reading 12 MB random data. Finally, it reads the same 12 MB sequential data to see if the data is same as the one in first read. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.10. Expectation: The 12 MB data read after cache cleared is correct. End: Pass, ASSERTION: READ (16) Read-With-Disk-Cache-Cleared Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (16) If Implemented test, TUID= SCSI status is 0x0. Sense Code is 0x0. Additional Sense Code is 0x49. Additional Sense Code Qualifier is 0x24. End: Pass, ASSERTION: WRITE (16) If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (16) Support Test, TUID= Description: Verify that the device supports the command.This test issues a simple WRITE (16) command and checks whether the return code is 0x2 (Check Condition). Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.33. Expectation: ScsiStatus == 0x0. End: Pass, ASSERTION: WRITE (16) Support Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (16) Basic Functionality Test, TUID= Description: The command writes one block of data to device correctly.This test compares the data we want to write and the one returned by the READ after the write operation. If the data is the same, this implies that the WRITE command writes the data to disk correctly. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.33. Expectation: ScsiStatus == 0x0. End: Pass, ASSERTION: WRITE (16) Basic Functionality Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (16) Sequential Write Test, TUID= Description: The command writes 1000 sequential blocks of data correctly.This test sends the command 1000 times, writing data sequentially starting at a random logical block address. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.33. Expectation: All WRITE (16) commands succeed. End: Pass, ASSERTION: WRITE (16) Sequential Write Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (16) Random Write Test, TUID= Description: The command writes 1000 random blocks of data correctly.This test sends the WRITE command 1000 times, writing data at random logical block address. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.33. Expectation: All WRITE (16) commands succeed. End: Pass, ASSERTION: WRITE (16) Random Write Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: WRITE (16) Write-With-Disk-Cache-Enabled Test, TUID= Description: The command writes 12 MB of data correctly with cache enabled.This test writes 12 MB of data to disk. Then, it sends a SYNCHRONIZE CACHE (10) command to synchronize the logical block address in cache with the ones in disk. Finally, it will read the same 12 MB data that has just been written to verify that the data we just write are correct. Reference: Refer to SBC-2 (SCSI Block Commands) specification revision 8 Section 5.2.33. Expectation: The 12 MB data returned by the WRITEs is correct. WRITE: Write Cache setting is changeable. WRITE: WriteCacheSetting currently: 0x1. WRITE: Write Cache setting was succesfully changed. Writing 0 MB data sequentially to disk... WRITE (10): IssueSPT 9986191 fails Assertion: Checksum is not correct Fatal error, skipping all remaining WRITE test cases. End: Pass, ASSERTION: WRITE (16) Write-With-Disk-Cache-Enabled Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (16) If Implemented test, TUID= SCSI status is 0x0. Sense Code is 0x0. Additional Sense Code is 0x47. Additional Sense Code Qualifier is 0x64. End: Pass, ASSERTION: READ CAPACITY (16) If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (16) Allocation length test, TUID= Description: The device must return GOOD (0x0) SCSI status and even though allocation lengthis set to 0 value Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.11 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device must return GOOD (0x0) SCSI status SCSI status is 0x0. LOGICAL BLOCK ADDRESS: 8 BLOCK LENGTH IN BYTES: 16777215 Unsupported BLOCK LENGTH - Must be 512 Bytes for this OS. End: Pass, ASSERTION: READ CAPACITY (16) Allocation length test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (16) Basic Verification Test, TUID= Description: The device must return GOOD (0x0) SCSI status and 8 bytes of parameter data describing the capacity and medium format of the block device to the data-in buffer. Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.11 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device must return GOOD (0x0) SCSI status Sending READ CAPACITY (16) command with PMT and LOGICAL BLOCK ADDRESS field set to zero (9E 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 ) to device... SCSI status is 0x0. LOGICAL BLOCK ADDRESS: 767721471 BLOCK LENGTH IN BYTES: 512 End: Pass, ASSERTION: READ CAPACITY (16) Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (16) PMI Test, TUID= Description: Send a READ CAPACITY command with the PMI (Partial Medium Indicator) set to 1. It indicates that the RETURNED LOGICAL BLOCK ADDRESS and BLOCK LENGTH IN BYTES are those of the last logical block address before a substantial delay in data transer mayb be encountered. Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.11 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The returned LOGICAL BLOCK ADDRESS shall be greater than or equal to the logical block address specified by the RELADR and LOGICAL BLOCK ADDRESS fields in the command descriptor block. Setting PMI bit of READ CAPCACITY (16) comamnd to 1... Sending READ CAPACITY (16) command (0x25) to device... Expect: RETURNED LOGICAL BLOCK ADDRESS is less than or equal to that when PMI is set to 0. RETURNED LOGICAL BLOCK ADDRESS (PMI = 0): 767721471 RETURNED LOGICAL BLOCK ADDRESS (PMI = 1): 767721471 End: Pass, ASSERTION: READ CAPACITY (16) PMI Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: READ CAPACITY (16) Negative Test, TUID= Description: Send a READ CAPACITY command with the PMI (Partial Medium Indicator) bit zero but the LOGICAL BLOCK ADDRESS non-zero Reference: SCSI Block Commands - 2 (SBC-2) Revision 16 (or published) specification Section 5.11 http://www.t10.org/ftp/t10/drafts/sbc2/sbc2r16.pdf Expectation: The device should return a CHECK CONDITION (2h) status and the sense key be set to ILLEGAL REQUEST with the additional sense code set to ILLEGAL FIELD IN CDB (24h) Expect: Scsi Status is 0x2 (CHECK CONDITION). Scsi Status is 0x0 End: Pass, ASSERTION: READ CAPACITY (16) Negative Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REPORT LUNS If Implemented test, TUID= SCSI status is 0x0. Sense Code is 0x0. Additional Sense Code is 0x76. Additional Sense Code Qualifier is 0x6d. End: Pass, ASSERTION: REPORT LUNS If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REPORT LUNS Basic Verification Test, TUID= Description: Attempts to find the LUN 0 corresponding to D.U.T. and execute the REPORT LUNS command. This test will only send REPORT LUNS to LUN 0 at the current target address per SAM-3. This test will only issue a request with SELECT REPORT set to zero per SPC-3. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.21 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status and data of size smaller than or equal to 255 bytes. SCSI status is 0x0. Available data size is 0x8 bytes. End: Pass, ASSERTION: REPORT LUNS Basic Verification Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REPORT LUNS LUN0 Test, TUID= Description: This test will only send REPORT LUNS to LUN 0 at the current target address per SAM-3.This test will only issue a request with SELECT REPORT set to zero per SPC-3. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.21 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status and data of size smaller than or equal to 255 bytes. sendcdb function SCSI status is 0x0. End: Pass, ASSERTION: REPORT LUNS LUN0 Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: REPORT LUNS Data valid Test, TUID= Description: This test will only send REPORT LUNS to LUN 0 at the current target address per SAM-3.This test will only issue a request with SELECT REPORT set to zero per SPC-3. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.21 http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: Each reported LUN uses single level numbers restricted to <= 255. REPORT LUNS Data Number of LUNs: 1 LUN 00 00 00 00 00 00 00 00 End: Pass, ASSERTION: REPORT LUNS Data valid Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SECURITY PROTOCOL OUT If Implemented test, TUID= SCSI status is 0x2. Sense Code is 0x5. Additional Sense Code is 0x20. Additional Sense Code Qualifier is 0x0. End: Pass, ASSERTION: SECURITY PROTOCOL OUT If Implemented test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest Start: ASSERTION: SECURITY PROTOCOL OUT Basic Test, TUID= Description: This test sends SPOUT command to device unit before sending SPIN next Reference: SCSI Primary Commands - 4 (SPC-4) Revision 17 (or published) specification Section 6.31 http://www.t10.org/ftp/t10/drafts/spc4/spc4r17.pdf Expectation: Devices which understand IEEE 1667 silo commands must return GOOD (0x0) SCSI statusand devices which dont can return check condition Test runs only on USB devices. End: Pass, ASSERTION: SECURITY PROTOCOL OUT Basic Test, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest PROGRAMMING ERROR Start: ASSERTION: REPORT SUPPORTED OP CODES with RTCD clear, TUID= Description: This test requests information on commands the addressed logical unit supports, command timeouts descriptor shall not be included in any parameter data returned.This test is run only on USB devices. Reference: SCSI Primary Commands - 3 (SPC-3) Revision 23 (or published) specification Section 6.4.2. http://www.t10.org/ftp/t10/drafts/spc3/spc3r23.pdf Expectation: The device must return GOOD (0x0) SCSI status along with all supported op codes in requested format Test runs only on USB devices. End: Pass, ASSERTION: REPORT SUPPORTED OP CODES with RTCD clear, TUID=, Repro=scsicompliance.exe /device \\.\PhysicalDrive1 /verbosity 1 /logoprogram StorCont /scenario unittest =============================================================================== Command Total Pass Warn Fail TEST UNIT READY 1 1 0 0 REQUEST SENSE 3 2 1 0 FORMAT UNIT 1 0 1 0 READ (6) 4 4 0 0 WRITE (6) 4 3 1 0 INQUIRY 19 19 0 0 MODE SELECT 14 12 2 0 MODE SENSE 14 13 0 1 START STOP UNIT 1 0 1 0 RECEIVE DIAGNOSTIC 2 0 2 0 SEND_DIAGNOSTIC 6 1 5 0 PREVENT ALLOW MEDIUM REMOVAL 2 0 2 0 READ CAPACTIY 3 2 0 1 READ (10) 4 4 0 0 WRITE (10) 1 0 0 1 MODE SELECT (10) 14 5 9 0 MODE SENSE (10) 6 5 1 0 PERSISTENT RESERVE IN/OUT 1 0 1 0 READ (16) 5 5 0 0 WRITE (16) 5 4 1 0 READ CAPACTIY (16) 4 2 2 0 REPORT LUNS 3 3 0 0 SECURITY PROTOCOL IN/OUT 1 0 1 0 REPORT SUPPORTED OPCODE CLEAR 1 0 1 0 SUMMARY 119 85 31 3 =============================================================================== Summary: Total=132, Passed=129, Failed=3, Blocked=0, Warned=0, Skipped=0