Hardware certification test command 'v7 plan' produces python traceback with UnicodeDecodeError message

Solution Verified - Updated -

Issue

  • Running Hardware Certification test throws python traceback as below:

    Traceback (most recent call last): 
      File "/usr/bin/v7", line 49, in ? 
        success = v7.do(args) 
      File "/usr/share/v7/lib/v7/hardwaretest.py", line 165, in do 
        result = self.doPlan() 
      File "/usr/share/v7/lib/v7/hardwaretest.py", line 277, in doPlan 
        tests = self.planner.plan()  
      File "/usr/share/v7/lib/v7/planner.py", line 113, in plan 
        self.tests = self.__plan(self.devices) 
      File "/usr/share/v7/lib/v7/planner.py", line 96, in __plan 
        someTests = test.plan(self.devices) 
      File "/usr/share/v7/tests/storage/storage.py", line 56, in plan 
        if blockDeviceParent in deviceItem.getProperty("info.udi"): 
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xd2 in position 2: ordinal not in range(128) 
    
  • The traceback is observed while running 'v7 plan' command on 64-bit host system

  • No problem observed while running same command on Fully virtualized guest system

Environment

  • Red Hat Enterprise Linux 5.5
  • v7-1.1-24.el5.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content