Bug 462349
| Summary: | FEAT: cdrom test should be split into multiple tests by media-type | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | Greg Nichols <gnichols> |
| Component: | Test Suite (tests) | Assignee: | Greg Nichols <gnichols> |
| Status: | CLOSED ERRATA | QA Contact: | Lawrence Lim <llim> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.2 | CC: | gnichols, rlandry, tools-bugs, tyan, ykun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-01-27 22:57:54 UTC | Type: | --- |
| 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: | 445164 | ||
| Attachments: | |||
|
Description
Greg Nichols
2008-09-15 15:56:35 UTC
Also, error-reporting needs improvement. should I close bug#445164(FEAT: CDROM test should test Blu-ray Discs in rhel5) as duplicate of this one ? Seems the blu-ray testing will be covered in this bug ? probably not, instead this bug should block #445164, where this bug will provide the basic research steps etc. such that when the cdrom test is split it's not a from nothing start for what is requried to properly test bluray but instead just the effort to split the test out. Created attachment 318031 [details]
opticalDiskTest.py common functions for cd and dvd testing
This file defines a python class OpticalDiskTest that is a base class for the CDROMTest test class and the new DVDTest test class.
Created attachment 318032 [details]
cdrom.py re-write to use new OpticalDiskTest class
The CDROMTest class is for testing CD media support in optical disk drives. This test is scheduled for any storage.cdrom device that supports CD-RW, CD-R or CDROM media.
Created attachment 318033 [details]
dvd.py - the new DVD test based on the OpticalDiskTest class
The DVD test is planned for any storage.cdrom that supports DVD-+RW, DVD-+R or DVDROM media. It uses the optical disk test class (OpticalDiskTest).
In summary, the proposed change is to separate the old cdrom test into two tests, cdrom and dvd. Much of the old test code has been moved to a common base class OpticalDiskTest. Either or both of these tests will be scheduled for an optical drive, depending on it's media type. The test code has also been changed to improve error handling and reporting. Verified hts-5.3-12 included 2 tests: cdrom and dvd. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0047.html |