Bug #49554 Not possible to analyse failing restore_stress test.

Submitted: 9 Dec 2009 10:48 Modified: 23 Feb 2010 2:18
Reporter: Rafal Somla Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Backup Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Rafal Somla CPU Architecture:Any

[9 Dec 2009 10:48] Rafal Somla
Description:
Test restore_stress uses mysql-stress-test.pl utility. If it fails then the output from MTR gives no clues as to what has went wrong. To see this, one needs to analyse mysql-stress-test logs. But currently these logs are placed in mysql-test/suite/backup_extra/ directory. This means that if test fails in PB then the logs are not saved and can not be examined.

How to repeat:
See $STRESS_DIR setting in restore_stress.test.

Suggested fix:
Change $STRESS_DIR to point at a directory in $MYSQLTEST_VAR directory which is saved by MTR upon test failure.
[9 Dec 2009 11:16] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/93300

2904 Rafal Somla	2009-12-09
      Bug #49554 Not possible to analyse failing restore_stress test.
      
      Changed location of mysql-stress-test working directory to be inside 
      $MYSQL_TMP_DIR. The latter location is saved by MTR upon test failure.
      This will allow investigating mysql-stress-test logs in case of a 
      failure.
[9 Dec 2009 12:33] Ritheesh Vedire
APPROVED.
[10 Dec 2009 12:46] Rafal Somla
Pushed to mysql-6.0-backup tree.
revid:rafal.somla@sun.com-20091209111525-uyparlvje7nuwnv8
[15 Dec 2009 16:43] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/94207

2905 Chuck Bell	2009-12-15
      BUG#49554 Not possible to analyse failing restore_stress test.
      
      Changed location of mysql-stress-test working directory to be inside 
      $MYSQL_TMP_DIR. The latter location is saved by MTR upon test failure.
      This will allow investigating mysql-stress-test logs in case of a 
      failure.
[20 Feb 2010 9:16] Bugs System
Pushed into 6.0.14-alpha (revid:ingo.struewing@sun.com-20100218152520-s4v1ld76bif06eqn) (version source revid:ingo.struewing@sun.com-20100119103538-wtp5alpz4p2jayl5) (merge vers: 6.0.14-alpha) (pib:16)
[23 Feb 2010 2:18] Paul DuBois
Changes to test suite. No changelog entry needed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.