Hide Forgot
Description of problem: Current CD/DVD/Blu-ray test processes are different: CD: InitializeDeviceInfo()-> (old codes of confirmation) -> testDisk() DVD: InitializeDeviceInfo()-> getMediaChoice()-> testDisk() Bluray: InitializeDeviceInfo()-> getMediaChoice()-> echoTest()-> checkMediaType()-> testDisk() Here we get some problems, e.g. in bluray test, the tray will be opened and closed twice, which is not necessary. Version-Release number of selected component (if applicable): 1.4 R38 Additional info:
Now I've composed a initial version of patch to update cdrom/dvd/bluray tests and opticalDiskTest.py In my patch, I did the following changes: 1. move echoTest() and checkMediaType() to opticalDiskTest echoTest() is enabled in cdrom/dvd/bluray tests. echoTest() takes over the request of putting a disk into device; so I removed the similar codes to ask user to insert a disk in testDisk() function. This change avoids opening the tray to ask user to put disk twice. checkMediaType() is enabled in bluray test and dvd+ part in dvd test. So I removed the check media part codes in rewriter() and writer() functions in dvd test. 2. I make test sleep for 25 seconds after everytime tray closed. This solves bug 707144 3. I re-adjusted bluray test sequence to bd-re, bd-r, bd. This solves bug 754919 Patch is still under modification and testing. Will post it soon.
Created attachment 534951 [details] 01-opticalDiskTest.patch
Created attachment 534952 [details] 02-cdrom.patch
Created attachment 534953 [details] 03-dvd.patch
Created attachment 534954 [details] 04-bluray.patch
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.
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