Bug 1244762 - VIDEO test fails to obtain resolution and depth
Summary: VIDEO test fails to obtain resolution and depth
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Certification Program
Classification: Red Hat
Component: redhat-certification-hardware
Version: 1.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: brose
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 1245347
TreeView+ depends on / blocked
 
Reported: 2015-07-20 12:49 UTC by Rainer Koenig
Modified: 2015-08-20 12:08 UTC (History)
1 user (show)

Fixed In Version: 1.6.6-20150811.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1245347 (view as bug list)
Environment:
Last Closed: 2015-08-20 12:08:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to solve the problem (487 bytes, text/plain)
2015-07-20 12:49 UTC, Rainer Koenig
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1648 0 normal SHIPPED_LIVE redhat-certification-hardware bug fix and enhancement update 2015-08-20 16:08:30 UTC

Description Rainer Koenig 2015-07-20 12:49:08 UTC
Created attachment 1053888 [details]
Patch to solve the problem

Description of problem:
VIDEO test results in FAIL because of 

Error: failed to obtain current screen resolution and color depth !

Version-Release number of selected component (if applicable):
redhat-certification-hardware-1.7.1-20150618.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Kickstart installation of system under test
2. Register system in the web ui and run video test
3.

Actual results:
Test fails. Log message shows:

Error: failed to obtain current screen resolution and color depth !


Expected results:
Test should pass and get the correct resolution and color depth.

Additional info:
Problem seems to be  in the call of xdpyinfo in video.py. Adding a few statements for debugging around that call shows that the xdpyinfo.run() throws an exception because of errrors. The error messages say "Unable to open display". This looks like there is no DISPLAY variable set in the context of video.py and so we need to submit a display parameter to xdpyinfo to work. 

I tried with adding "-display :0" and it worked. Patch is attached

Comment 4 Brian Brock 2015-08-17 17:48:27 UTC
verified in redhat-certification-hardware-1.6.6-20150813.el6

Comment 6 errata-xmlrpc 2015-08-20 12:08:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1648.html


Note You need to log in before you can comment on or make changes to this bug.