Bug 707144 - Regression with BLURAY test in v7 version 1.3-43-el6
Summary: Regression with BLURAY test in v7 version 1.3-43-el6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.4
Hardware: All
OS: Linux
urgent
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Guangze Bai
URL:
Whiteboard:
Depends On:
Blocks: 767775 773757
TreeView+ depends on / blocked
 
Reported: 2011-05-24 08:11 UTC by Rainer Koenig
Modified: 2015-02-08 21:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2012-06-05 21:35:55 UTC


Attachments (Terms of Use)
bluray.patch (2.96 KB, patch)
2011-11-02 09:32 UTC, Caspar Zhang
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0711 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2012-06-06 01:26:37 UTC

Description Rainer Koenig 2011-05-24 08:11:00 UTC
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>

Comment 1 Guangze Bai 2011-09-15 02:36:27 UTC
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%

Comment 2 Rob Landry 2011-09-26 19:04:07 UTC
(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.

Comment 3 Guangze Bai 2011-09-27 02:07:02 UTC
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.

Comment 4 Guangze Bai 2011-10-24 08:37:47 UTC
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.

Comment 6 Caspar Zhang 2011-11-02 09:32:28 UTC
Created attachment 531294 [details]
bluray.patch

Comment 8 Caspar Zhang 2011-11-02 14:26:17 UTC
    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.

Comment 10 Caspar Zhang 2011-11-03 08:03:21 UTC
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.

Comment 26 Caspar Zhang 2012-06-04 07:35:17 UTC
    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.

Comment 28 errata-xmlrpc 2012-06-05 21:35:55 UTC
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


Note You need to log in before you can comment on or make changes to this bug.