~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/lib/mtr_report.pl

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
  # the "var/log/*.err" files. We save this info in "var/log/warnings"
221
221
  # ----------------------------------------------------------------------
222
222
 
223
 
  if ( ! $::glob_use_running_server )
 
223
  if ( ! $::glob_use_running_server && !$::opt_extern)
224
224
  {
225
225
    # Save and report if there was any fatal warnings/errors in err logs
226
226
 
333
333
                (
334
334
                  /Backup:/ or /Restore:/ or /Can't open the online backup progress tables/
335
335
                ) or
336
 
                
 
336
                
 
337
                # The tablespace test triggers error below on purpose
 
338
                ($testname eq 'main.backup_tablespace') and
 
339
                (
 
340
                  /Restore: Tablespace .* needed by tables being restored has changed on the server/
 
341
                ) or
 
342
                
 
343
                # ignore warning generated when backup engine selection algorithm is tested
 
344
                ($testname eq 'main.backup_no_be') and /Backup: Cannot create backup engine/ or
 
345
                # ignore warnings generated when backup privilege is tested
 
346
                ($testname eq 'main.backup_security') and /(Backup|Restore): Access denied; you need the SUPER/ or
 
347
                
 
348
                ($testname eq 'main.backup_myisam1') and
 
349
                (/Backup: Can't initialize MyISAM backup driver/) or
337
350
                /Sort aborted/ or
338
351
                /Time-out in NDB/ or
339
 
                /Warning:\s+One can only use the --user.*root/ or
340
 
                /Warning:\s+Setting lower_case_table_names=2/ or
341
 
                /Warning:\s+Table:.* on (delete|rename)/ or
 
352
                /One can only use the --user.*root/ or
 
353
                /Setting lower_case_table_names=2/ or
 
354
                /Table:.* on (delete|rename)/ or
342
355
                /You have an error in your SQL syntax/ or
343
356
                /deprecated/ or
344
357
                /description of time zone/ or
393
406
                # BUG#32080 - Excessive warnings on Solaris: setrlimit could not
394
407
                #             change the size of core files
395
408
                /setrlimit could not change the size of core files to 'infinity'/ or
396
 
                # rpl_idempotency.test produces warnings for the slave.
397
 
                ($testname eq 'rpl.rpl_idempotency' and
398
 
                 (/Slave: Can\'t find record in \'t1\' Error_code: 1032/ or
399
 
                  /Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452/
400
 
                 )) or
401
 
 
402
 
                # These tests does "kill" on queries, causing sporadic errors when writing to logs
403
 
                (($testname eq 'rpl.rpl_skip_error' or
404
 
                  $testname eq 'rpl.rpl_err_ignoredtable' or
405
 
                  $testname eq 'binlog.binlog_killed_simulate' or
406
 
                  $testname eq 'binlog.binlog_killed') and
407
 
                 (/Failed to write to mysql\.\w+_log/
408
 
                 )) or
 
409
                # rpl_idempotency.test produces warnings for the slave.
 
410
                ($testname eq 'rpl.rpl_idempotency' and
 
411
                 (/Slave: Can\'t find record in \'t1\' Error_code: 1032/ or
 
412
                   /Slave: Cannot add or update a child row: a foreign key constraint fails .* Error_code: 1452/
 
413
                 )) or
 
414
 
 
415
                # These tests does "kill" on queries, causing sporadic errors when writing to logs
 
416
                (($testname eq 'rpl.rpl_skip_error' or
 
417
                  $testname eq 'rpl.rpl_err_ignoredtable' or
 
418
                  $testname eq 'binlog.binlog_killed_simulate' or
 
419
                  $testname eq 'binlog.binlog_killed') and
 
420
                 (/Failed to write to mysql\.\w+_log/
 
421
                 )) or
409
422
 
410
423
                # rpl_bug33931 has deliberate failures
411
424
                ($testname eq 'rpl.rpl_bug33931' and
412
425
                 (/Failed during slave.*thread initialization/
413
426
                  )) or
414
427
 
415
 
                # rpl_temporary has an error on slave that can be ignored
416
 
                ($testname eq 'rpl.rpl_temporary' and
417
 
                 (/Slave: Can\'t find record in \'user\' Error_code: 1032/
418
 
                 )) or
419
 
 
 
428
                # rpl_temporary has an error on slave that can be ignored
 
429
                ($testname eq 'rpl.rpl_temporary' and
 
430
                 (/Slave: Can\'t find record in \'user\' Error_code: 1032/
 
431
                 )) or
420
432
                # Test case for Bug#31590 produces the following error:
421
 
                /Out of sort memory; increase server sort buffer size/
422
 
                )
 
433
                /Out of sort memory; increase server sort buffer size/ or
 
434
                # maria-recovery.test has warning about missing log file
 
435
                /File '.*maria_log.000.*' not found \(Errcode: 2\)/ or
 
436
                # and about marked-corrupted table
 
437
                /Table '.\/mysqltest\/t_corrupted1' is crashed, skipping it. Please repair it with maria_chk -r/ or
 
438
                # maria-recover.test corrupts tables on purpose
 
439
                /Checking table:   '.\/mysqltest\/t_corrupted2'/ or
 
440
                /Recovering table: '.\/mysqltest\/t_corrupted2'/ or
 
441
                /Table '.\/mysqltest\/t_corrupted2' is marked as crashed and should be repaired/ or
 
442
                /Incorrect key file for table '.\/mysqltest\/t_corrupted2.MAI'; try to repair it/
 
443
               )
423
444
            {
424
445
              next;                       # Skip these lines
425
446
            }