From ad94278ba01a944624135604d7d3cdce142ad364 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Wed, 28 Jan 2009 10:28:48 +0100 Subject: [PATCH 1/6] WL#4198 mtr.pl v2 - Improve error message for "found warnings in server log file" --- mysql-test/lib/mtr_report.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm index ce29f9a42ad..00a9aba11cb 100644 --- a/mysql-test/lib/mtr_report.pm +++ b/mysql-test/lib/mtr_report.pm @@ -118,7 +118,7 @@ sub mtr_report_test ($) { if ( $warnings ) { - mtr_report("[ fail ] Found warnings in server log file!"); + mtr_report("[ fail ] Found warnings/errors in server log file!"); mtr_report(" Test ended at $timest"); mtr_report($warnings); return; From f81d05c5d3c252619a8e6fcabe2fb7d0794210f8 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Wed, 28 Jan 2009 11:24:55 +0100 Subject: [PATCH 2/6] Bug#42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log - Disable the two patterns that previously have been faulty - for now. --- mysql-test/mysql-test-run.pl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 42c243cad8c..5cc1d1f08e3 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -3425,8 +3425,15 @@ sub extract_warning_lines ($) { my @patterns = ( - qr/^Warning:|mysqld: Warning|\[Warning\]/, - qr/^Error:|\[ERROR\]/, + # The patterns for detection of [Warning] and [ERROR] + # in the server log files have been faulty for a longer period + # and correcting them shows a few additional harmless warnings. + # Thus those patterns are temporarily removed from the list + # of patterns. For more info see BUG#42408 + # qr/^Warning:|mysqld: Warning|\[Warning\]/, + # qr/^Error:|\[ERROR\]/, + qr/^Warning:|mysqld: Warning/, + qr/^Error:/, qr/^==.* at 0x/, qr/InnoDB: Warning|InnoDB: Error/, qr/^safe_mutex:|allocated at line/, From a95e5e012425b8bb97a47bdadca70251221616c5 Mon Sep 17 00:00:00 2001 From: Luis Soares Date: Wed, 28 Jan 2009 16:28:09 +0100 Subject: [PATCH 3/6] Disabled test main.innodb_bug39438: BUG#42383 2009-01-28 lsoares "This fails in embedded and on windows. Note that this test is not run on windows and on embedded in PB for main trees currently" --- mysql-test/t/disabled.def | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def index 1c461ab47bb..a6ca07ba1d2 100644 --- a/mysql-test/t/disabled.def +++ b/mysql-test/t/disabled.def @@ -24,3 +24,4 @@ federated_transactions : Bug#29523 Transactions do not work wait_timeout_func : Bug #41225 joro wait_timeout_func fails kill : Bug#37780 2008-12-03 HHunger need some changes to be robust enough for pushbuild. query_cache_28249 : Bug#41098 Query Cache returns wrong result with concurrent insert +innodb_bug39438 : BUG#42383 2009-01-28 lsoares "This fails in embedded and on windows. Note that this test is not run on windows and on embedded in PB for main trees currently" From 818557b2dd76ebc4317ea9b2996d62553f71e17c Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Wed, 28 Jan 2009 17:46:00 +0100 Subject: [PATCH 4/6] WL#4189 mtr.pl v2 - Fix faulty regex used for filtering out suspicious warnings, causing warnings/errors from previous tests to be reported --- mysql-test/mysql-test-run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 5cc1d1f08e3..5d8b1371151 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -3388,7 +3388,7 @@ sub extract_warning_lines ($) { my @lines; while ( my $line = <$Ferr> ) { - if ( $line =~ /"^CURRENT_TEST:"/ ) + if ( $line =~ /^CURRENT_TEST:/ ) { # Throw away lines from previous tests @lines = (); From 0c7143b8cc95b0a575aa4795d9ba22cf7a96e31e Mon Sep 17 00:00:00 2001 From: Alfranio Correia Date: Thu, 29 Jan 2009 13:29:19 +0000 Subject: [PATCH 5/6] Re-enabled log_bin_trust_function_creators_func as the patch in BUG#41003 reached our trees. --- mysql-test/t/disabled.def | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def index a6ca07ba1d2..118efb6f7ed 100644 --- a/mysql-test/t/disabled.def +++ b/mysql-test/t/disabled.def @@ -10,7 +10,7 @@ # ############################################################################## delayed_insert_limit_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions -event_scheduler_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions +event_scheduler_func : BUG#37962, BUG#40816 2008-07-08 sven *_func tests containing sleeps/race conditions interactive_timeout_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions query_cache_wlock_invalidate_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions rpl_init_slave_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions @@ -18,7 +18,6 @@ rpl_max_binlog_size_func : BUG#37962 2008-07-08 sven *_func tests c slow_query_log_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions sql_low_priority_updates_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions timestamp_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions -log_bin_trust_function_creators_func : Bug#41003 Dec-12-2008 andrei todo:re-enable after merging the bug fixes from the main trees. innodb_max_dirty_pages_pct_func : BUG#41018 BUG#39382 2008-12-02 sven test fails often. some failures fill up the disk, causing subsequent failures in many other tests federated_transactions : Bug#29523 Transactions do not work wait_timeout_func : Bug #41225 joro wait_timeout_func fails From d9cde170793d1614e03f30f403a044043ab2a0f0 Mon Sep 17 00:00:00 2001 From: Magnus Svensson Date: Thu, 29 Jan 2009 15:22:02 +0100 Subject: [PATCH 6/6] Bug#39849 ndb tests fail sporadically on pushbuild: "out of connection objects" - Increase number of transaction objects available in ndbd - Most likely this is a timing related issue. --- mysql-test/include/default_ndbd.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/include/default_ndbd.cnf b/mysql-test/include/default_ndbd.cnf index 784d81beabc..9a88a5936aa 100644 --- a/mysql-test/include/default_ndbd.cnf +++ b/mysql-test/include/default_ndbd.cnf @@ -1,7 +1,7 @@ [cluster_config] MaxNoOfSavedMessages= 1000 -MaxNoOfConcurrentTransactions= 64 +MaxNoOfConcurrentTransactions= 128 MaxNoOfConcurrentOperations= 10000 DataMemory= 20M IndexMemory= 1M