Bug 657999

Summary: lid test fail on RHEL4.9
Product: [Retired] Red Hat Hardware Certification Program Reporter: chen yuwen <yuchen>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: rlandry, sdenham
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-05 20:24:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
v7 lid test fail none

Description chen yuwen 2010-11-29 03:13:59 UTC
Description of problem:
#v7 run -t lid
<output>
Running ./lid.py:
Traceback (most recent call last):
  File "./lid.py", line 109, in ?
    returnValue = test.do(sys.argv)
  File "/usr/share/v7/lib/v7/test.py", line 255, in do
    return self.run()
  File "./lid.py", line 61, in run
    if not self.checkLid(checkForOpen=True):
  File "./lid.py", line 50, in checkLid
    device = self.getDevice()
  File "./lid.py", line 43, in getDevice
    device = hal.getDevice(self.getUDI())
  File "/usr/share/v7/lib/v7/hal.py", line 38, in getDevice
    return HalDevice(self.getDeviceProperties(udi))
  File "/usr/share/v7/lib/v7/hal.py", line 48, in getDeviceProperties
    return self.__GetDevice(udi).GetAllProperties()
  File "/usr/share/v7/lib/v7/hal.py", line 41, in __GetDevice
    dev_obj=self.bus.get_object('org.freedesktop.Hal',udi)
AttributeError: SystemBus instance has no attribute 'get_object'
...finished running ./lid.py, exit code=1
</output>

Version-Release number of selected component (if applicable):
OS: RHEL4.9
V7: v7-1.2-3

How reproducible:
100%

Steps to Reproduce:
1.install RHEL4.9.
2.install v7.
3.run command: v7 run -t lid
  
Actual results:
FAIL

Expected results:
PASS

Additional info:

Comment 1 Greg Nichols 2010-11-29 14:06:37 UTC
Please attach /var/v7/results.xml

Comment 2 chen yuwen 2010-11-30 02:44:29 UTC
Created attachment 463627 [details]
v7 lid test fail

Comment 3 Rob Landry 2010-11-30 15:59:56 UTC
RHEL4 is not supported on v7-1.2 (it was not tested); does the same issue occur with v7-1.1?

Comment 4 chen yuwen 2010-12-02 03:03:25 UTC
The same error occur on v7-1.1-24.