Hide Forgot
Description of problem: The v7 BLURAY test always fails on version 1.3-43-el6 when using an already used BD-RE disc. When using a new virgin BD-RE the test passes. Using the exact same hardware and BD-RE disc, just replacing the new version of v7 with the version 1.2-25-el6 and the test passes without problems. Problem seems to be the formatting of a BD-RE when it has content. Version-Release number of selected component (if applicable): v7-1.3-43-el6 How reproducible: always Steps to Reproduce: 1. Setup a system for hwcert with v7 1.3-43-el6 2. Run BLURAY test with a BD-RE disc that was used before. 3. Test fails Actual results: Test fails Expected results: Test passes Additional info: Output log shows this when test fails: <output> Test Parameters: OUTPUTFILE=/var/log/v7/runs/1/bluray/output.log DEVICE=sr0 TESTSERVER=unknown RUNMODE=normal DEBUG=off UDI=/org/freedesktop/Hal/devices/storage_model_BD_RE__BH20N Your Blu-ray drive /dev/sr0 supports BD-RE You need to prepare a good BD-RE disc to run this test. Press ENTER when you are ready ! Or press Ctrl-C to quit ! Please insert a good BD-RE disc into /dev/sr0 and then press ENTER to continue ! Tray closed ... Start testing BD-RE ... Media Matched: Media in drive now is BD-RE +++ Start testing ... Formatting ... This may take a long time, please be patient ... "dvd+rw-format -format=full /dev/sr0 2>/dev/null" returned 1 </output>
I also reproduced this bug on v7-1.4-20 with a BD-RE disk which has already used several times. <snip> Would you like to test bd media? (y|n) n response: n Please choose the media to be tested: (bd|bd-r|bd-re) bd-re response: bd-re Your Blu-ray drive /dev/sr1 supports bd-re You need to prepare a good bd-re disc to run this test. Press ENTER when you are ready ! Or press Ctrl-C to quit ! Please insert a good bd-re disc into /dev/sr1 and then press ENTER to continue ! Tray closed ... Start testing bd-re ... Media Matched: Media in drive now is bd-re Please insert a good bd-re disk into sr1 and then press ENTER to continue ! +++ Start testing ... Formatting ... This may take a long time, please be patient ... "dvd+rw-format -format=full /dev/sr1 2>/dev/null" returned 1 copying attachments... checking directory /var/log/v7/runs/1/bluray Skipping output.log saveOutput: /var/log/v7/runs/1/bluray/output.log Return value was 1 </snip> running dvd+rw-format alone seems normal # dvd+rw-format -format=full /dev/sr1 * BD/DVD±RW/-RAM format utility by <appro.se>, version 7.1. * 24.2GB BD media detected. * formatting 7.7%
(In reply to comment #1) > I also reproduced this bug on v7-1.4-20 with a BD-RE disk which has already > used several times. > > running dvd+rw-format alone seems normal > # dvd+rw-format -format=full /dev/sr1 > * BD/DVD±RW/-RAM format utility by <appro.se>, version 7.1. > * 24.2GB BD media detected. > * formatting 7.7% Does this format complete? The error in the output indicates it exited with an error.
That format command ran manually complete 7.7% and I terminated it by ctrl-c because the format process cost too much time. But it seems that bluray format exited with error at the starting of format phase.
I made some investigation for bluray test and seemingly found a reason of this bug. On v7-1.3-37, bluray test only supports BD-RE disk and once the disk inserted, it will print info "Media Matched" and start formating. But on v7-1.4-34, after it detect BD-RE disk and print info "Media Matched", tray will be ejected (Like comment 1). At this time, close the tray manually and *immediately* press ENTER, the bug can be produced, that is, "dvd+rw-format -format=full /dev/sr1 2>/dev/null" returned 1. So for this I have tested that closing tray and waiting seconds then pressing ENTER, formating can work.
Created attachment 531294 [details] 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: A regression defect was discovered that v7 bluray testing was always failed when using an already-used BD-RE disk, this bug has been fixed in v7 1.4, now bluray test can pass bluray testing with both new BD-RE disk and used BD-RE disk.
Deleted Technical Notes Contents. Old Contents: A regression defect was discovered that v7 bluray testing was always failed when using an already-used BD-RE disk, this bug has been fixed in v7 1.4, now bluray test can pass bluray testing with both new BD-RE disk and used BD-RE disk.
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: An enhancement has been made in v7 1.5 that bluray test now is more robust to finish the test correctly under different legal user operations.
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