Bug 799921 - v7 1.5 R7 may trace-back on older /etc/v7.xml environment file.
Summary: v7 1.5 R7 may trace-back on older /etc/v7.xml environment file.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Petr Beňas
URL:
Whiteboard:
Depends On:
Blocks: 767775
TreeView+ depends on / blocked
 
Reported: 2012-03-05 12:27 UTC by Greg Nichols
Modified: 2015-01-04 23:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
no tech note needed.
Clone Of:
Environment:
Last Closed: 2012-06-05 21:37:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0711 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2012-06-06 01:26:37 UTC

Description Greg Nichols 2012-03-05 12:27:19 UTC
Description of problem:

If v7 1.5 R7 is run on an older environment file, it produces a traceback:

removing V7 results...
[root@hp-xw6400-02 ~]# v7 plan
found interface for udisks
found device file /dev/sdb
Traceback (most recent call last):
  File "/usr/bin/v7", line 45, in <module>
    success = v7.do(args)
  File "/usr/share/v7/lib/v7/hardwaretest.py", line 192, in do
    result = self.commands[self.command]()
  File "/usr/share/v7/lib/v7/hardwaretest.py", line 321, in doPlan
    self.doDiscover()
  File "/usr/share/v7/lib/v7/hardwaretest.py", line 237, in doDiscover
    certificationDocument.load(self.environment.getCertificationPath())
  File "/usr/share/v7/lib/v7/documentbase.py", line 251, in load
    file = open(filename, "r")
IOError: [Errno 21] Is a directory: u'/var/v7/'

  
Workaround: delete the environment file: /etc/v7.xml before running v7 plan after installing R7.

Comment 4 Petr Beňas 2012-03-29 08:55:46 UTC
Reproduced in v7-1.5-7.el6.noarch and verified in v7-1.5-8.el6.noarch.

Comment 5 Caspar Zhang 2012-06-04 07:55:10 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
no tech note needed.

Comment 7 errata-xmlrpc 2012-06-05 21:37:14 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.

http://rhn.redhat.com/errata/RHBA-2012-0711.html


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