1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
READ_SMART_SCSI_RESULT = [
('disk', 'fake', 'SMART/vendor', 'SEAGATE'),
('disk', 'fake', 'SMART/product', 'ST9300605SS'),
('disk', 'fake', 'SMART/serial_number', '6XP2FK730000M233QACC'),
('disk', 'fake', 'SMART/health', 'OK'),
('disk', 'fake', 'SMART/current_drive_temperature', '36'),
('disk', 'fake', 'SMART/current_drive_temperature_unit', 'C'),
('disk', 'fake', 'SMART/drive_trip_temperature', '68'),
('disk', 'fake', 'SMART/drive_trip_temperature_unit', 'C'),
('disk', 'fake', 'SMART/manufacture_date', 'week 10 of year 2012'),
('disk', 'fake',
'SMART/specified_start_stop_cycle_count_over_lifetime', '10000'),
('disk', 'fake', 'SMART/start_stop_cycle_count', '8'),
('disk', 'fake', 'SMART/specified_load_count_over_lifetime',
'300000'),
('disk', 'fake', 'SMART/load_count', '8'),
('disk', 'fake', 'SMART/blocks_sent', '3424156415'),
('disk', 'fake', 'SMART/blocks_received', '2906714357'),
('disk', 'fake', 'SMART/blocks_read_from_cache', '120574148'),
('disk', 'fake', 'SMART/power_on_hours', '14491.72'),
('disk', 'fake', 'SMART/read_total_corrected_errors',
'1521076288'),
('disk', 'fake', 'SMART/read_gigabytes_processed', '25920.949'),
('disk', 'fake', 'SMART/read_total_uncorrected_errors', '0'),
('disk', 'fake', 'SMART/write_total_corrected_errors', '0'),
('disk', 'fake', 'SMART/write_gigabytes_processed', '1543.290'),
('disk', 'fake', 'SMART/write_total_uncorrected_errors', '0'),
('disk', 'fake', 'SMART/non_medium_errors_count', '6')
]
READ_SMART_ATA_RESULT = [
('disk', 'fake', 'SMART/device_model', 'ST3000DM001-9YN166'),
('disk', 'fake', 'SMART/serial_number', 'W1F09S26'),
('disk', 'fake', 'SMART/firmware_version', 'CC4C'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/value', '111'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/worst', '099'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/thresh', '006'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/raw', ' 34053632'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/value', '093'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/worst', '092'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/thresh', '000'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/raw', ' 0'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/value', '100'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/worst', '100'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/thresh', '020'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/raw', ' 32'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/value', '100'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/worst', '100'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/thresh', '036'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/raw', ' 0'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/value', '060'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/worst', '055'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/thresh', '030'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/raw', ' 21480133713'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/value', '097'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/worst', '097'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/thresh', '000'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/raw', ' 2696'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/value', '100'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/worst', '100'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/thresh', '097'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/raw', ' 0'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/value', '100'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/worst', '100'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/thresh', '020'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/raw', ' 32'),
('disk', 'fake', 'SMART/Runtime_Bad_Block(183)/value', '100'),
('disk', 'fake', 'SMART/Runtime_Bad_Block(183)/worst', '100'),
('disk', 'fake', 'SMART/Runtime_Bad_Block(183)/thresh', '000'),
('disk', 'fake', 'SMART/Runtime_Bad_Block(183)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Runtime_Bad_Block(183)/raw', ' 0'),
('disk', 'fake', 'SMART/End-to-End_Error(184)/value', '100'),
('disk', 'fake', 'SMART/End-to-End_Error(184)/worst', '100'),
('disk', 'fake', 'SMART/End-to-End_Error(184)/thresh', '099'),
('disk', 'fake', 'SMART/End-to-End_Error(184)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/End-to-End_Error(184)/raw', ' 0'),
('disk', 'fake', 'SMART/Reported_Uncorrect(187)/value', '100'),
('disk', 'fake', 'SMART/Reported_Uncorrect(187)/worst', '100'),
('disk', 'fake', 'SMART/Reported_Uncorrect(187)/thresh', '000'),
('disk', 'fake', 'SMART/Reported_Uncorrect(187)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Reported_Uncorrect(187)/raw', ' 0'),
('disk', 'fake', 'SMART/Command_Timeout(188)/value', '100'),
('disk', 'fake', 'SMART/Command_Timeout(188)/worst', '100'),
('disk', 'fake', 'SMART/Command_Timeout(188)/thresh', '000'),
('disk', 'fake', 'SMART/Command_Timeout(188)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Command_Timeout(188)/raw', ' 0'),
('disk', 'fake', 'SMART/High_Fly_Writes(189)/value', '100'),
('disk', 'fake', 'SMART/High_Fly_Writes(189)/worst', '100'),
('disk', 'fake', 'SMART/High_Fly_Writes(189)/thresh', '000'),
('disk', 'fake', 'SMART/High_Fly_Writes(189)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/High_Fly_Writes(189)/raw', ' 0'),
('disk', 'fake', 'SMART/Airflow_Temperature_Cel(190)/value', '064'),
('disk', 'fake', 'SMART/Airflow_Temperature_Cel(190)/worst', '061'),
('disk', 'fake', 'SMART/Airflow_Temperature_Cel(190)/thresh', '045'),
('disk', 'fake', 'SMART/Airflow_Temperature_Cel(190)/when_failed',
'NEVER'),
('disk', 'fake', 'SMART/Airflow_Temperature_Cel(190)/raw',
' 36 (Min/Max 34/38)'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/value', '100'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/worst', '100'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/thresh', '000'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/raw', ' 0'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/value', '100'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/worst', '100'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/thresh', '000'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/when_failed',
'NEVER'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/raw', ' 28'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/value', '100'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/worst', '100'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/thresh', '000'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/raw', ' 63'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/value', '036'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/worst', '040'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/thresh', '000'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/raw', ' 36 (0 19 0 0)'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/value', '100'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/worst', '100'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/thresh', '000'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/raw', ' 0'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/value', '100'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/worst', '100'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/thresh', '000'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/raw', ' 0'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/value', '200'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/worst', '200'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/thresh', '000'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/raw', ' 0'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/value', '100'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/worst', '253'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/thresh', '000'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/raw', ' 43748536879750'),
('disk', 'fake', 'SMART/Total_LBAs_Written(241)/value', '100'),
('disk', 'fake', 'SMART/Total_LBAs_Written(241)/worst', '253'),
('disk', 'fake', 'SMART/Total_LBAs_Written(241)/thresh', '000'),
('disk', 'fake', 'SMART/Total_LBAs_Written(241)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Total_LBAs_Written(241)/raw', ' 2867098636991'),
('disk', 'fake', 'SMART/Total_LBAs_Read(242)/value', '100'),
('disk', 'fake', 'SMART/Total_LBAs_Read(242)/worst', '253'),
('disk', 'fake', 'SMART/Total_LBAs_Read(242)/thresh', '000'),
('disk', 'fake', 'SMART/Total_LBAs_Read(242)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Total_LBAs_Read(242)/raw', ' 17478042509157')
]
READ_SMART_ATA_HDD_RESULT = [
('disk', 'fake', 'SMART/device_model', 'TOSHIBA MQ01ABD100'),
('disk', 'fake', 'SMART/serial_number', 'X3TUCTMJT'),
('disk', 'fake', 'SMART/firmware_version', 'AX001U'),
('disk', 'fake', 'SMART/rotation_rate', '5400 rpm'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/value', '100'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/worst', '100'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/thresh', '050'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/raw', ' 0'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/value', '100'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/worst', '100'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/thresh', '050'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/raw', ' 0'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/value', '100'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/worst', '100'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/thresh', '001'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/raw', ' 2575'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/value', '100'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/worst', '100'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/thresh', '000'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/raw', ' 986'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/value', '100'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/worst', '100'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/thresh', '050'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/raw', ' 0'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/value', '100'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/worst', '100'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/thresh', '050'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/raw', ' 0'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/value', '100'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/worst', '100'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/thresh', '050'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/raw', ' 0'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/value', '098'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/worst', '098'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/thresh', '000'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/raw', ' 802'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/value', '119'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/worst', '100'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/thresh', '030'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/raw', ' 0'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/value', '100'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/worst', '100'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/thresh', '000'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/raw', ' 482'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/value', '100'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/worst', '100'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/thresh', '000'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/raw', ' 14'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/value', '100'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/worst', '100'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/thresh', '000'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/when_failed',
'NEVER'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/raw', ' 72'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/value', '100'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/worst', '100'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/thresh', '000'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Load_Cycle_Count(193)/raw', ' 8597'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/value', '100'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/worst', '100'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/thresh', '000'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/raw',
' 25 (Min/Max 16/53)'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/value', '100'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/worst', '100'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/thresh', '000'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/when_failed',
'NEVER'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/raw', ' 0'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/value', '100'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/worst', '100'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/thresh', '000'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/raw', ' 0'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/value', '100'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/worst', '100'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/thresh', '000'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/raw', ' 0'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/value', '200'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/worst', '253'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/thresh', '000'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/raw', ' 0'),
('disk', 'fake', 'SMART/Disk_Shift(220)/value', '100'),
('disk', 'fake', 'SMART/Disk_Shift(220)/worst', '100'),
('disk', 'fake', 'SMART/Disk_Shift(220)/thresh', '000'),
('disk', 'fake', 'SMART/Disk_Shift(220)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Disk_Shift(220)/raw', ' 0'),
('disk', 'fake', 'SMART/Loaded_Hours(222)/value', '099'),
('disk', 'fake', 'SMART/Loaded_Hours(222)/worst', '099'),
('disk', 'fake', 'SMART/Loaded_Hours(222)/thresh', '000'),
('disk', 'fake', 'SMART/Loaded_Hours(222)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Loaded_Hours(222)/raw', ' 405'),
('disk', 'fake', 'SMART/Load_Retry_Count(223)/value', '100'),
('disk', 'fake', 'SMART/Load_Retry_Count(223)/worst', '100'),
('disk', 'fake', 'SMART/Load_Retry_Count(223)/thresh', '000'),
('disk', 'fake', 'SMART/Load_Retry_Count(223)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Load_Retry_Count(223)/raw', ' 0'),
('disk', 'fake', 'SMART/Load_Friction(224)/value', '100'),
('disk', 'fake', 'SMART/Load_Friction(224)/worst', '100'),
('disk', 'fake', 'SMART/Load_Friction(224)/thresh', '000'),
('disk', 'fake', 'SMART/Load_Friction(224)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Load_Friction(224)/raw', ' 0'),
('disk', 'fake', 'SMART/Load-in_Time(226)/value', '100'),
('disk', 'fake', 'SMART/Load-in_Time(226)/worst', '100'),
('disk', 'fake', 'SMART/Load-in_Time(226)/thresh', '000'),
('disk', 'fake', 'SMART/Load-in_Time(226)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Load-in_Time(226)/raw', ' 180'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/value', '100'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/worst', '100'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/thresh', '001'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/raw', ' 0')
]
READ_SMART__ATA_DECODE_IGNORE_RESULT = [
('disk', 'fake', 'SMART/device_model', 'FUJITSU MHZ2250BK G2'),
('disk', 'fake', 'SMART/serial_number', 'K85ET9625FV4'),
('disk', 'fake', 'SMART/firmware_version', '8A22'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/value', '100'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/worst', '100'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/thresh', '046'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Raw_Read_Error_Rate(1)/raw', ' 119531'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/value', '100'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/worst', '100'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/thresh', '000'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Throughput_Performance(2)/raw', ' 33882636'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/value', '100'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/worst', '100'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/thresh', '025'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Spin_Up_Time(3)/raw', ' 2'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/value', '100'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/worst', '100'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/thresh', '000'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Start_Stop_Count(4)/raw', ' 36'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/value', '100'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/worst', '100'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/thresh', '024'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Reallocated_Sector_Ct(5)/raw', ' 0 (2000 0)'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/value', '100'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/worst', '100'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/thresh', '000'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Seek_Error_Rate(7)/raw', ' 1190'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/value', '100'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/worst', '100'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/thresh', '000'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Seek_Time_Performance(8)/raw', ' 0'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/value', '001'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/worst', '001'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/thresh', '000'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Power_On_Hours(9)/raw', ' 81676'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/value', '100'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/worst', '100'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/thresh', '000'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Spin_Retry_Count(10)/raw', ' 0'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/value', '100'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/worst', '100'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/thresh', '000'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Power_Cycle_Count(12)/raw', ' 36'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/value', '100'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/worst', '100'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/thresh', '000'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/G-Sense_Error_Rate(191)/raw', ' 21'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/value', '100'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/worst', '100'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/thresh', '000'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/when_failed',
'NEVER'),
('disk', 'fake', 'SMART/Power-Off_Retract_Count(192)/raw', ' 20'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/value', '100'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/worst', '100'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/thresh', '000'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Temperature_Celsius(194)/raw',
' 20 (Min/Max 17/50)'),
('disk', 'fake', 'SMART/Hardware_ECC_Recovered(195)/value', '100'),
('disk', 'fake', 'SMART/Hardware_ECC_Recovered(195)/worst', '100'),
('disk', 'fake', 'SMART/Hardware_ECC_Recovered(195)/thresh', '000'),
('disk', 'fake', 'SMART/Hardware_ECC_Recovered(195)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Hardware_ECC_Recovered(195)/raw', ' 316'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/value', '100'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/worst', '100'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/thresh', '000'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/when_failed',
'NEVER'),
('disk', 'fake', 'SMART/Reallocated_Event_Count(196)/raw', ' 0 (0 7014)'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/value', '100'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/worst', '100'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/thresh', '000'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Current_Pending_Sector(197)/raw', ' 0'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/value', '100'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/worst', '100'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/thresh', '000'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Offline_Uncorrectable(198)/raw', ' 0'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/value', '200'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/worst', '253'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/thresh', '000'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/UDMA_CRC_Error_Count(199)/raw', ' 8'),
('disk', 'fake', 'SMART/Multi_Zone_Error_Rate(200)/value', '100'),
('disk', 'fake', 'SMART/Multi_Zone_Error_Rate(200)/worst', '100'),
('disk', 'fake', 'SMART/Multi_Zone_Error_Rate(200)/thresh', '000'),
('disk', 'fake', 'SMART/Multi_Zone_Error_Rate(200)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Multi_Zone_Error_Rate(200)/raw', ' 9964'),
('disk', 'fake', 'SMART/Soft_Read_Error_Rate(201)/value', '100'),
('disk', 'fake', 'SMART/Soft_Read_Error_Rate(201)/worst', '100'),
('disk', 'fake', 'SMART/Soft_Read_Error_Rate(201)/thresh', '000'),
('disk', 'fake', 'SMART/Soft_Read_Error_Rate(201)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Soft_Read_Error_Rate(201)/raw', ' 0'),
('disk', 'fake', 'SMART/Run_Out_Cancel(203)/value', '100'),
('disk', 'fake', 'SMART/Run_Out_Cancel(203)/worst', '100'),
('disk', 'fake', 'SMART/Run_Out_Cancel(203)/thresh', '000'),
('disk', 'fake', 'SMART/Run_Out_Cancel(203)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Run_Out_Cancel(203)/raw', ' 429541685302'),
('disk', 'fake', 'SMART/Load_Cycle_Count(225)/value', '100'),
('disk', 'fake', 'SMART/Load_Cycle_Count(225)/worst', '100'),
('disk', 'fake', 'SMART/Load_Cycle_Count(225)/thresh', '000'),
('disk', 'fake', 'SMART/Load_Cycle_Count(225)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Load_Cycle_Count(225)/raw', ' 19653'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/value', '200'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/worst', '200'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/thresh', '000'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/when_failed', 'NEVER'),
('disk', 'fake', 'SMART/Head_Flying_Hours(240)/raw', ' 0')
]
READ_SMART_NVME_RESULT = [
('disk', 'fake_nvme', 'SMART/model_number', 'Samsung SSD 950 PRO 256GB'),
('disk', 'fake_nvme', 'SMART/serial_number', 'CYBERDYNE_T1000'),
('disk', 'fake_nvme', 'SMART/firmware_version', '1B0QBXX7'),
('disk', 'fake_nvme', 'SMART/critical_warning', '0x00'),
('disk', 'fake_nvme', 'SMART/temperature', '40'),
('disk', 'fake_nvme', 'SMART/temperature_unit', 'Celsius'),
('disk', 'fake_nvme', 'SMART/power_cycles', '32'),
('disk', 'fake_nvme', 'SMART/power_on_hours', '129'),
('disk', 'fake_nvme', 'SMART/unsafe_shutdowns', '6'),
('disk', 'fake_nvme', 'SMART/media_data_integrity_errors', '0'),
('disk', 'fake_nvme', 'SMART/error_information_log_entries', '44')
]
|