Bug 1205644
Summary: | RHEL6 cloud certification traceback on saving results file after openscap test | |||
---|---|---|---|---|
Product: | Red Hat Certification Program | Reporter: | Greg Nichols <gnichols> | |
Component: | redhat-certification | Assignee: | Greg Nichols <gnichols> | |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 1.0 | CC: | brose, gnichols, sgupta | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | redhat-certification-1.0-20150325 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1217203 (view as bug list) | Environment: | ||
Last Closed: | 2015-05-12 08:19:12 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1217203 |
Description
Greg Nichols
2015-03-25 11:39:08 UTC
I assume this does not happen on RHEL7 hosts? Could you attach the xml attachments the test produces? The should still be in /var/log/rhcert/run.../<test name> etc. after the test runs. (In reply to Greg Nichols from comment #1) > I assume this does not happen on RHEL7 hosts? > No it doesn't. > Could you attach the xml attachments the test produces? The should still > be in /var/log/rhcert/run.../<test name> etc. after the test runs. I have isolated the issue to be a python bug [1], fixed in 2.7 but not backported to the python2.6 build that Red Hat ships. [1] https://bugs.python.org/issue5762 tested with 20150420 openscap doesn't traceback, but it dies very early and I can't yet tell whether it's reached the point when the traceback would occur. # cat /var/log/rhcert/runs/1//cloud/openscap/output.log <output> Running openscap checks ... Error </output> # cat /var/log/rhcert/runs/1//cloud/openscap/ssg-errors.log OpenSCAP Error: Unable to open file: '/usr/share/xml/scap/ssg/content/ssg-rhel6-xccdf.xml' [oscapxml.c:575] closest match for filename that I see: # ls -l /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml -rw-r--r--. 1 root root 3029625 Oct 21 10:56 /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml previous test was marked as a fail in the wui. (In reply to Brian Brock from comment #5) > tested with 20150420 > > openscap doesn't traceback, but it dies very early and I can't yet tell > whether it's reached the point when the traceback would occur. > > # cat /var/log/rhcert/runs/1//cloud/openscap/output.log > <output> > Running openscap checks ... Error > </output> > > # cat /var/log/rhcert/runs/1//cloud/openscap/ssg-errors.log > OpenSCAP Error: Unable to open file: > '/usr/share/xml/scap/ssg/content/ssg-rhel6-xccdf.xml' [oscapxml.c:575] > > closest match for filename that I see: > > # ls -l /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml > -rw-r--r--. 1 root root 3029625 Oct 21 10:56 > /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml You need to yum install scap-security-guide and openscap-utils on the SUT. This is mentioned as part of Docs. shouldn't this be rpm %require'd, if it's mandatory? (In reply to Brian Brock from comment #8) > shouldn't this be rpm %require'd, if it's mandatory? Cloned to 1217203 bug 1208724 describes what I'm seeing, completely. Verifying this bug as fixed; there's no exception thrown & traceback in 20150420 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-0959.html |