| Summary: | bluray incur traceback: BluRayTest instance has no attribute 'mediaNames' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Guangze Bai <gbai> | ||||
| Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Guangze Bai <gbai> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.3 | CC: | czhang, rlandry, ykun, yshao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-08 15:43:08 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Created attachment 522881 [details]
replace mediaNames with mediaTypes
This bug doesn't need a TechNote because of: a) it was discovered in a v7 1.4 intermediate version, and b) it was discovered by a Red Hat associate only. 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-2011-1436.html 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-2011-1436.html |
Description of problem: # v7 run -t bluray Would you like to test bd media? (y|n) y response: y Your Blu-ray drive /dev/sr1 supports bd You need to prepare a good bd disc to run this test. Please notice that you need to prepare an unencrypted Blu-ray data disc to run this test. Press ENTER when you are ready ! Or press Ctrl-C to quit ! Please insert a good bd disc into /dev/sr1 and then press ENTER to continue ! Tray closed ... Start testing bd ... 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 612, in doRun return self._doRun(tests) File "/usr/share/v7/lib/v7/hardwaretest.py", line 715, in _doRun returnValue = self.runTest(tmpDirectory, test, run, outputFilePath) File "/usr/share/v7/lib/v7/hardwaretest.py", line 1130, in runTest rv = test.run() File "/usr/share/v7/tests/bluray/bluray.py", line 157, in run if not self.checkMediaType(self.getLogicalDeviceName(), self.mediaChoice): File "/usr/share/v7/tests/bluray/bluray.py", line 62, in checkMediaType elif mediaType == "bd" and (mediaInDrive == "bdrom" or mediaInDrive in self.mediaNames): AttributeError: BluRayTest instance has no attribute 'mediaNames' Version-Release number of selected component (if applicable): v7-1.4-20