Bug 895714
| Summary: | traceback on v7 submit if results are packaged to rpm | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Greg Nichols <gnichols> | ||||||
| Component: | Test Suite (harness) | Assignee: | Greg Nichols <gnichols> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.6.4 | CC: | czhang, rlandry | ||||||
| Target Milestone: | --- | Keywords: | Regression | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-02-01 18:22:09 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 679050 [details]
documentbase patch to fix traceback by adding support for LogDevice
Committed to R21 Created attachment 679744 [details]
Example rpm built with R21
Issue was replicated with R20, then upgraded to R21, where the issue is verified to longer exist. This attachment is the resulting sample rpm created on R21.
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-2013-0222.html |
Description of problem: If the v7 submit command is used to package a results rpm, a traceback occurs: Error: unknown device source log 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 193, in do result = self.commands[self.command]() File "/usr/share/v7/lib/v7/hardwaretest.py", line 971, in doSubmit return self.__submit() File "/usr/share/v7/lib/v7/hardwaretest.py", line 995, in __submit if report.WriteResultsRPM(self.environment.getLogDirectory()): File "/usr/share/v7/lib/v7/report.py", line 220, in WriteResultsRPM self.writeTestRun(runNumber, runNumber, testsByName, submissionDirectory, varLogV7Directory) File "/usr/share/v7/lib/v7/report.py", line 272, in writeTestRun self.WriteLogForRPM(testsByName[testName], runNumber, byTestDirectory) File "/usr/share/v7/lib/v7/report.py", line 319, in WriteLogForRPM self.generateHardwareLog(run, dir) File "/usr/share/v7/lib/v7/report.py", line 333, in generateHardwareLog devices = run.getDevices() File "/usr/share/v7/lib/v7/documentbase.py", line 182, in getDevices device = self.createDevice(deviceElement.getAttribute(Attributes.source), properties) File "/usr/share/v7/lib/v7/documentbase.py", line 200, in createDevice raise Exception("Error: unknown device source %s"% source) Exception: Error: unknown device source log Version-Release number of selected component (if applicable): v7 1.6.4 R20