Bug 584501

Summary: v7 video test produces a backtrace if system is not running X
Product: [Retired] Red Hat Hardware Certification Program Reporter: D. Marlin <dmarlin>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 1.1CC: rlandry, ykun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-09 16:52:38 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:

Description D. Marlin 2010-04-21 18:02:35 UTC
Description of problem:

  The v7 video test produces a backtrace if the test system is not running X.

Version-Release number of selected component (if applicable):

  v7-1.1-23.el5
  kernel-rt-2.6.24.7-149.el5rt

How reproducible:

  Always 

Steps to Reproduce:
1. ssh into a test system as root
2. verify that system is not running X
   (runlevel == 3)
3. v7 certify --mode auto

  
Actual results:

Fatal server error:

no screens found

Traceback (most recent call last):
  File "./video.py", line 250, in ?
    returnValue = videoTest.do(sys.argv)
  File "/usr/share/v7/lib/v7/test.py", line 255, in do
    return self.run()
  File "./video.py", line 238, in run
    if (self.checkConnections() == PASSED and self.settool() == PASSED and self.getfile() == PASSED and
  File "./video.py", line 144, in xstatus
    resultFile = open(self.tmpFile)
IOError: [Errno 2] No such file or directory: '/tmp/v7.x11perf'
...finished running ./video.py, exit code=1


Expected results:

  No Python traceback.


Additional info:
  This is similar to Bug 568492.

Comment 1 Greg Nichols 2010-08-09 16:52:38 UTC

*** This bug has been marked as a duplicate of bug 586941 ***