Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-80620

[RHEL10 udisks2] Smart.test_sda test failed

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0
    • libblockdev
    • None
    • No
    • Low
    • rhel-storage-management
    • ssg_platform_storage
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

       

      [root@hpe-xl220agen8v2-01 udisks2]# smartctl -a /dev/sda
      smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.0-55.el10.x86_64] (local build)
      Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===
      Device Model:     MM0500GBKAK
      Serial Number:    9XF3MPCL
      LU WWN Device Id: 5 000c50 07b391c63
      Firmware Version: HPGE
      User Capacity:    500,107,862,016 bytes [500 GB]
      Sector Size:      512 bytes logical/physical
      Rotation Rate:    7200 rpm
      Form Factor:      2.5 inches
      Device is:        Not in smartctl database 7.3/5610
      ATA Version is:   ATA8-ACS T13/1699-D revision 6
      SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
      Local Time is:    Tue Feb 25 01:27:52 2025 EST
      SMART support is: Available - device has SMART capability.
      SMART support is: Enabled=== START OF READ SMART DATA SECTION ===
      SMART overall-health self-assessment test result: PASSEDGeneral SMART Values:
      Offline data collection status:  (0x82)    Offline data collection activity
                          was completed without error.
                          Auto Offline Data Collection: Enabled.
      Self-test execution status:      (   0)    The previous self-test routine completed
                          without error or no self-test has ever 
                          been run.
      Total time to complete Offline 
      data collection:         (  642) seconds.
      Offline data collection
      capabilities:              (0x7b) SMART execute Offline immediate.
                          Auto Offline data collection on/off support.
                          Suspend Offline collection upon new
                          command.
                          Offline surface scan supported.
                          Self-test supported.
                          Conveyance Self-test supported.
                          Selective Self-test supported.
      SMART capabilities:            (0x0003)    Saves SMART data before entering
                          power-saving mode.
                          Supports SMART auto save timer.
      Error logging capability:        (0x01)    Error logging supported.
                          General Purpose Logging supported.
      Short self-test routine 
      recommended polling time:      (   2) minutes.
      Extended self-test routine
      recommended polling time:      ( 100) minutes.
      Conveyance self-test routine
      recommended polling time:      (   3) minutes.
      SCT capabilities:            (0x103d)    SCT Status supported.
                          SCT Error Recovery Control supported.
                          SCT Feature Control supported.
                          SCT Data Table supported.SMART Attributes Data Structure revision number: 10
      Vendor Specific SMART Attributes with Thresholds:
      ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
        1 Raw_Read_Error_Rate     0x000f   078   063   044    Pre-fail  Always       -       72679179
        3 Spin_Up_Time            0x0003   096   096   070    Pre-fail  Always       -       0
        4 Start_Stop_Count        0x0032   090   090   020    Old_age   Always       -       10812
        5 Reallocated_Sector_Ct   0x0033   085   085   036    Pre-fail  Always       -       635
        7 Seek_Error_Rate         0x000f   078   060   030    Pre-fail  Always       -       140093027232
        9 Power_On_Hours          0x0032   023   023   000    Old_age   Always       -       67987
       10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
       12 Power_Cycle_Count       0x0032   090   090   020    Old_age   Always       -       10810
      180 Unknown_HDD_Attribute   0x003b   100   100   030    Pre-fail  Always       -       136454620
      184 End-to-End_Error        0x0032   100   100   003    Old_age   Always       -       0
      187 Reported_Uncorrect      0x0032   086   086   000    Old_age   Always       -       14
      188 Command_Timeout         0x0032   100   097   000    Old_age   Always       -       12885098509
      189 High_Fly_Writes         0x003a   091   091   000    Old_age   Always       -       9
      190 Airflow_Temperature_Cel 0x0022   075   058   045    Old_age   Always       -       25 (Min/Max 22/25)
      191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
      192 Power-Off_Retract_Count 0x0032   095   095   000    Old_age   Always       -       10809
      193 Load_Cycle_Count        0x0032   094   094   000    Old_age   Always       -       12057
      194 Temperature_Celsius     0x0022   025   042   000    Old_age   Always       -       25 (0 14 0 0 0)
      195 Hardware_ECC_Recovered  0x001a   114   099   000    Old_age   Always       -       72679179
      196 Reallocated_Event_Count 0x0033   085   085   036    Pre-fail  Always       -       635
      197 Current_Pending_Sector  0x0012   100   091   000    Old_age   Always       -       0
      198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
      199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0SMART Error Log Version: 1
      ATA Error Count: 30 (device log contains only the most recent five errors)
          CR = Command Register [HEX]
          FR = Features Register [HEX]
          SC = Sector Count Register [HEX]
          SN = Sector Number Register [HEX]
          CL = Cylinder Low Register [HEX]
          CH = Cylinder High Register [HEX]
          DH = Device/Head Register [HEX]
          DC = Device Command Register [HEX]
          ER = Error register [HEX]
          ST = Status register [HEX]
      Powered_Up_Time is measured from power on, and printed as
      DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
      SS=sec, and sss=millisec. It "wraps" after 49.710 days.Error 30 occurred at disk power-on lifetime: 1548 hours (64 days + 12 hours)
        When the command that caused the error occurred, the device was active or idle.  After command completion occurred, registers were:
        ER ST SC SN CL CH DH
        -- -- -- -- -- -- --
        40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455  Commands leading to the command that caused the error were:
        CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
        -- -- -- -- -- -- -- --  ----------------  --------------------
        60 00 20 ff ff ff 4f 00      02:02:42.088  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      02:02:42.081  READ FPDMA QUEUED
        60 00 08 ff ff ff 4f 00      02:02:42.080  READ FPDMA QUEUED
        60 00 01 ff ff ff 4f 00      02:02:42.044  READ FPDMA QUEUED
        2f 00 01 10 00 00 00 00      02:02:41.922  READ LOG EXTError 29 occurred at disk power-on lifetime: 1548 hours (64 days + 12 hours)
        When the command that caused the error occurred, the device was active or idle.  After command completion occurred, registers were:
        ER ST SC SN CL CH DH
        -- -- -- -- -- -- --
        40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455  Commands leading to the command that caused the error were:
        CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
        -- -- -- -- -- -- -- --  ----------------  --------------------
        60 00 20 ff ff ff 4f 00      02:02:39.479  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      02:02:39.479  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      02:02:39.478  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      02:02:39.478  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      02:02:39.478  READ FPDMA QUEUEDError 28 occurred at disk power-on lifetime: 744 hours (31 days + 0 hours)
        When the command that caused the error occurred, the device was active or idle.  After command completion occurred, registers were:
        ER ST SC SN CL CH DH
        -- -- -- -- -- -- --
        40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455  Commands leading to the command that caused the error were:
        CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
        -- -- -- -- -- -- -- --  ----------------  --------------------
        60 00 08 ff ff ff 4f 00      00:05:04.605  READ FPDMA QUEUED
        2f 00 01 10 00 00 00 00      00:05:04.602  READ LOG EXT
        60 00 20 ff ff ff 4f 00      00:05:02.179  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      00:05:02.178  READ FPDMA QUEUED
        60 00 08 ff ff ff 4f 00      00:05:02.178  READ FPDMA QUEUEDError 27 occurred at disk power-on lifetime: 744 hours (31 days + 0 hours)
        When the command that caused the error occurred, the device was active or idle.  After command completion occurred, registers were:
        ER ST SC SN CL CH DH
        -- -- -- -- -- -- --
        40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455  Commands leading to the command that caused the error were:
        CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
        -- -- -- -- -- -- -- --  ----------------  --------------------
        60 00 20 ff ff ff 4f 00      00:05:02.179  READ FPDMA QUEUED
        60 00 20 ff ff ff 4f 00      00:05:02.178  READ FPDMA QUEUED
        60 00 08 ff ff ff 4f 00      00:05:02.178  READ FPDMA QUEUED
        60 00 08 ff ff ff 4f 00      00:05:02.178  READ FPDMA QUEUED
        60 00 01 ff ff ff 4f 00      00:05:02.178  READ FPDMA QUEUEDError 26 occurred at disk power-on lifetime: 64549 hours (2689 days + 13 hours)
        When the command that caused the error occurred, the device was active or idle.  After command completion occurred, registers were:
        ER ST SC SN CL CH DH
        -- -- -- -- -- -- --
        40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455  Commands leading to the command that caused the error were:
        CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
        -- -- -- -- -- -- -- --  ----------------  --------------------
        60 00 01 ff ff ff 4f 00      00:06:17.282  READ FPDMA QUEUED
        60 00 01 ff ff ff 4f 00      00:06:17.282  READ FPDMA QUEUED
        60 00 01 ff ff ff 4f 00      00:06:17.282  READ FPDMA QUEUED
        60 00 01 ff ff ff 4f 00      00:06:17.282  READ FPDMA QUEUED
        60 00 01 ff ff ff 4f 00      00:06:17.266  READ FPDMA QUEUEDSMART Self-test log structure revision number 1
      Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
      # 1  Short offline       Completed without error       00%      2450         -
      # 2  Extended offline    Aborted by host               90%      2447         -
      # 3  Conveyance offline  Aborted by host               30%      2447         -
      # 4  Short offline       Completed without error       00%      2447         -
      # 5  Short offline       Completed without error       00%         6         -
      # 6  Short offline       Completed without error       00%         3         -
      # 7  Short offline       Completed without error       00%         2         -SMART Selective self-test log data structure revision number 1
       SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
          1        0        0  Not_testing
          2        0        0  Not_testing
          3        0        0  Not_testing
          4        0        0  Not_testing
          5        0        0  Not_testing
      Selective self-test flags (0x0):
        After scanning selected spans, do NOT read-scan remainder of disk.
      If Selective self-test is pending on power-up, resume after 0 minute delay.The above only provides legacy SMART information - try 'smartctl -x' for more[root@hpe-xl220agen8v2-01 udisks2]# 
      
      
      
      

       

       

      [root@hpe-xl220agen8v2-01 udisks2]# uname -a
      Linux hpe-xl220agen8v2-01.khw.eng.rdu2.dc.redhat.com 6.12.0-55.el10.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Feb 17 05:00:34 EST 2025 x86_64 GNU/Linux
      [root@hpe-xl220agen8v2-01 udisks2]# rpm -qa |grep udisks
      libudisks2-2.10.90-5.el10.x86_64
      udisks2-2.10.90-5.el10.x86_64
      udisks2-iscsi-2.10.90-5.el10.x86_64
      udisks2-lsm-2.10.90-5.el10.x86_64
      udisks2-lvm2-2.10.90-5.el10.x86_64
      udisks2-debugsource-2.10.90-5.el10.x86_64
      udisks2-debuginfo-2.10.90-5.el10.x86_64
      libudisks2-debuginfo-2.10.90-5.el10.x86_64
      udisks2-iscsi-debuginfo-2.10.90-5.el10.x86_64
      udisks2-lsm-debuginfo-2.10.90-5.el10.x86_64
      udisks2-lvm2-debuginfo-2.10.90-5.el10.x86_64
      libudisks2-devel-2.10.90-5.el10.x86_64
      [root@hpe-xl220agen8v2-01 udisks2]# 
      
      
      
      ======================================================================
      FAIL: test_sda (__main__.Smart.test_sda)
      SMART status of first internal hard disk
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/var/roothome/rpmbuild/BUILD/udisks-2.10.90/src/tests/integration-test", line 1328, in test_sda
          self.assertEqual(ata.get_property('smart-failing'), False)
      AssertionError: True != False
      
      ----------------------------------------------------------------------
      Ran 31 tests in 256.571s
      
      FAILED (failures=1)
      
      

       

       

      https://beaker.engineering.redhat.com/recipes/18170438#task191494047

       

              vtrefny@redhat.com Vojtěch Trefný
              guazhang@redhat.com Guangwu Zhang
              Vojtěch Trefný Vojtěch Trefný
              Guangwu Zhang Guangwu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: