Bug #43259 Cleanup test main.mysqlbinlog (moved fom BUG#42711)
Submitted: 27 Feb 2009 12:22 Modified: 12 May 2009 12:27
Reporter: Bernt Marius Johnsen Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.1, 6.0 OS:Any
Assigned to: Bernt Marius Johnsen CPU Architecture:Any

[27 Feb 2009 12:22] Bernt Marius Johnsen
Description:
Moved from BUG#42711

How to repeat:
See BUG#42711
[28 Feb 2009 17:10] Sveta Smirnova
Thank you for the report.

Verified as described.
[8 May 2009 11:53] 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/73646

2889 Bernt M. Johnsen	2009-05-08
      Bug#43259 Remove SQL_LOAD_MB* files from var/tmp
[8 May 2009 13:17] Matthias Leich
Hi Bernt,
you patch goes into the right direction.
But it is from whatever reason unstable.

Please try:
./mysql-test-run.pl  --repeat=10  mysqlbinlog

I get quite good reproducible:
Logging: ./mysql-test-run.pl  --repeat=10 mysqlbinlog
...

==============================================================================

TEST                                      RESULT   TIME (ms)
------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 250, with reserved ports 12500..12509
main.mysqlbinlog                         [ pass ]    703
main.mysqlbinlog                         [ fail ]
        Test ended at 2009-05-08 15:14:36

CURRENT_TEST: main.mysqlbinlog
ERROR: Error in Log_event::read_log_event(): 'Found invalid event in binary log', data_len: 171, event_type: 2
ERROR: Could not read entry at offset 91204: Error in log format or read error.
ERROR 1227 (42000) at line 6: Access denied; you need the SUPER privilege for this operation
mysqltest: At line 374: command "remove_file" failed with error 1

Maybe a
   --error 0,1
before every
   --remove_file ...
helps.

Regards

Matthias
[12 May 2009 12:27] Bernt Marius Johnsen
Dependent of wildcard functionality in MTR remove_file which we apparently won't get: Bug#39774