Commit graph

875 commits

Author SHA1 Message Date
Bjorn Munch
0fcfab24d7 Bug #43570 MTR2 hangs when test fails and named pipe created
Hangs when trying to copy the pipe
Amend copytree() to only copy regular files
2009-04-01 16:23:10 +02:00
Bjorn Munch
86b0f7aae6 Bug #43917 MTR2 does not report accurate test statistics when using the 'repeat=n'
option
In practice, only the last run of the test was counted
Add a separate counter rep_failures for failures before last run
2009-04-01 13:58:30 +02:00
Bjorn Munch
dce1b7ef09 Bug #42807 MTR: './mtr somesuite.sometest' fails if somesuite is not in DEFAULT_SUITES
If suite specified as part of test name, collect from that suite too.
2009-03-27 11:25:24 +01:00
Vladislav Vaintroub
b446a256e4 change order of cdb parameters to workaround a bug , where command (-c) is not evaluated if -i ,-y or -z contains an invalid path.
cdb would hang then waiting for user input, which is bad for use in scripts
2009-03-24 14:44:21 +01:00
Bjorn Munch
ca3db65c9f Bug #43074 MTR2 is not accessing core dumps when a path is too long
Executable path is truncated in core
If we see truncated path, try to guess using strings and grep
If that doesn't work either, use known mysqld path
2009-03-20 16:39:06 +01:00
Bjorn Munch
1b922ca6e8 merge from main 2009-03-18 13:44:05 +01:00
Bjorn Munch
6f7f233b6c Bug #43597 Fix for Bug 43410 breaks build on Power Mac due to incomplete sys/resource.h
Added include of sys/time.h
2009-03-12 16:07:13 +01:00
Georgi Kodinov
68fcdd97da merged 5.1-main -> 5.1-bugteam 2009-03-11 15:03:25 +02:00
Bjorn Munch
8179ed2649 Bug #43410 --skip-core-file has no effect if core file size is set
Would not prevent mysqld from core dumping
Passes --nocore arg to safe_process, which then sets rlimit core to 0 for child
2009-03-09 14:31:39 +01:00
Bjorn Munch
739d5775b1 Bug #43148 MTR2 + PB2 should display correct number of failures
Retried tests are reported the same as ordinary ones
Prepend "retry-" to fail or pass for retried tests
2009-03-09 12:59:34 +01:00
Daniel Fischer
6c0308f6b7 merge 42888 to 5.1-mtr 2009-03-09 11:11:27 +01:00
Bjorn Munch
23b7f4e4b2 Bug #43132 Pusbbuild 2 host sol10 sparc64 max is not running tests due to port unavailble
MTR gives up if wanted port not available
Try next range if set to 'auto'
Also, use next number for additional threads if explicitly set
2009-03-04 11:34:47 +01:00
Bjorn Munch
0314eb7e40 Bug #40978 Error log gets truncated during testsuite, prevents debugging
Error log gets truncated when mysqld is restarted by MTR
2009-03-02 13:48:35 +01:00
Ingo Struewing
29ca5d019c Bug#40446 - mysql-test-run --gcov is broken
Some variable values were missing and perl constructs failed.

Initialized the variables and refactored the gcov functions.
2009-02-27 12:20:53 +01:00
Daniel Fischer
0d097d80e2 address review comments 2009-02-25 15:00:17 +01:00
Bjorn Munch
0f33682fa4 Bug #43172 MTR leaves test files in /tmp after check_socket_path_length finds path too long
Faulty logic in cleanup
Put test file into tmpdir, cleanup by removing tmpdir
2009-02-25 10:32:13 +01:00
Daniel Fischer
4943ffde54 Bug#42888 for MySQL 5.1. Add collections of test runs to make it both configurable and transparent what kinds of tests we run during integration testing. Implement filter list in mysql-test-run.pl to filter out failures of experimental test cases, using a new status code "exp-fail", so we can tell regressions ("fail") from failures of test cases that are still in development ("exp-fail"). 2009-02-24 12:53:34 +01:00
Vladislav Vaintroub
b7393ba5ce Bug#42788 lib\My\CoreDump.pm needs to be ported for Windows.
- output callstacks from crash using cdb debugger which is part 
of "Debugging Tools for Windows". Output  other interesting 
information - function parameters, possibly source code fragment
and other goodies of  "!analyze" cdb extension.
2009-02-12 17:13:56 +01:00
Vladislav Vaintroub
2980cd60db Bug#42709: safe_process_win.cc does not print correct system error messages.
Fix: use FormatMessage() to output system errors , not strerror()
2009-02-09 19:24:48 +01:00
Vladislav Vaintroub
7a6c62c4ff Bug#42427 : MTR v2 fails with "can't write to /tmp/mysql-test-ports.sem" on Windows
- /tmp directory is not guaranteed to exist on Windows. 
Use the value of environment variable TEMP here
2009-02-09 13:10:34 +01:00
Magnus Svensson
e1510d5aa8 Bug#42641 mtr.pl fails to run within JobObject
- Allow the new process to break away from any job that this
   process is part of so that it can be assigned to the new JobObject
   we just created. This is safe since the new JobObject is created with
   the JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE flag, making sure it will be
   terminated when the last handle to it is closed(which is owned by
   this process).
2009-02-06 08:38:24 +01:00
Bjorn Munch
29fa37a1c5 Bug #42535 MTR2 output format for skipped tests should be identical to MTR 1
Changed [ skip ] to [ skipped ] and removed optional .
2009-02-02 11:26:19 +01:00
Luis Soares
bb61c498ba BUG#42485: Pushbuild2 and some build tools do not work together with MTR2
It seems that the length of the thick line printed by mtr when printing the 
suite name differs from mtr1 and mtr2, affecting the mtr filtering by PB2.
      
This patch addresses it by restoring the thick line length to 78 (original
length) instead of 60 (the one in mtr2).
2009-02-01 14:14:39 +01:00
Magnus Svensson
44d0645cda WL#4198 mtr.pl v2
- Improve error message for "found warnings in server log file"
2009-01-28 10:28:48 +01:00
Magnus Svensson
d4c402db64 Merge 2009-01-27 15:10:15 +01:00
Magnus Svensson
d850730333 WL#4189 mtr.pl v2
- Add a "skip-ssl=1" to [mysqltest] section so that 
   mysqltest will not run with ssl turned on by default 
   but stil be able to turn it on when requested
 - This avoids that check_warnings and check_testcase
   connects to the server woth SSL turned on
2009-01-27 14:21:18 +01:00
Luis Soares
5a7314099d merge: 5.1-rpl (with merge from main) -> 5.1-rpl 2009-01-26 17:06:39 +01:00
Magnus Svensson
db72d0dbf5 mtr.pl v2
- extend debug prints for "permission denied"
2009-01-24 15:07:57 +01:00
Magnus Svensson
90509b22b5 WL#4189 mtr.pl v2
- Clear test variables "comment" and "logfile" to make sure thay aren't
  already set from previous run of same test
 - Print warning if test result already set and set it anyway
2009-01-24 13:02:27 +01:00
Magnus Svensson
1f724b9ddd WL#4189 mtr.pl v2
- fix typo
2009-01-24 13:00:50 +01:00
Magnus Svensson
2f5ffdfa76 mtr.pl v2
- Add debug prints for analyzing mkdir "Permission denied" failure
2009-01-24 11:05:38 +01:00
Luis Soares
14d4576bfe merge: 5.1 -> 5.1-rpl
conflicts:
  Text conflict in client/mysqltest.cc
  Text conflict in mysql-test/include/wait_until_connected_again.inc
  Text conflict in mysql-test/lib/mtr_report.pm
  Text conflict in mysql-test/mysql-test-run.pl
  Text conflict in mysql-test/r/events_bugs.result
  Text conflict in mysql-test/r/log_state.result
  Text conflict in mysql-test/r/myisam_data_pointer_size_func.result
  Text conflict in mysql-test/r/mysqlcheck.result
  Text conflict in mysql-test/r/query_cache.result
  Text conflict in mysql-test/r/status.result
  Text conflict in mysql-test/suite/binlog/r/binlog_index.result
  Text conflict in mysql-test/suite/binlog/r/binlog_innodb.result
  Text conflict in mysql-test/suite/rpl/r/rpl_packet.result
  Text conflict in mysql-test/suite/rpl/t/rpl_packet.test
  Text conflict in mysql-test/t/disabled.def
  Text conflict in mysql-test/t/events_bugs.test
  Text conflict in mysql-test/t/log_state.test
  Text conflict in mysql-test/t/myisam_data_pointer_size_func.test
  Text conflict in mysql-test/t/mysqlcheck.test
  Text conflict in mysql-test/t/query_cache.test
  Text conflict in mysql-test/t/rpl_init_slave_func.test
  Text conflict in mysql-test/t/status.test
2009-01-23 13:22:05 +01:00
Magnus Svensson
e1e296bbf8 Bug#35735 mysql-test-run.pl creates tmpdir for socket path longer than 70
- Additional patch with improved protection by putting it all inside an "eval"
 - Calling 'hostpath' on a truncated socket may also croak.
 - Remove the need to create any directory parts of "path" inside the function.
2009-01-21 18:18:03 +01:00
Magnus Svensson
bc22c992ef Merge 2009-01-21 14:41:50 +01:00
Magnus Svensson
56e6a0ab82 Bug#39972 mysql-test-run.pl: Confusing error message under special conditions
- Fix problem with for example ./mtr --timer, caused by new version of "Getopt::Long"
 - Evaluating the "$opt" variable as a string, returns the name of the parameter
   to be modified instead of "Getopt::Long::Callback" which is the class name
2009-01-21 11:17:16 +01:00
Bjorn Munch
8a0c984f01 Bug #40399 Please make mtr print stack trace after every failure
SIGABRT is sent to relevant processes after a timeout
2009-01-21 10:34:01 +01:00
Luis Soares
9d8c117598 merge: 5.1 -> 5.1-rpl
conflicts:
  Text conflict in mysql-test/lib/mtr_report.pm
  Text conflict in mysql-test/mysql-test-run.pl
2009-01-08 19:03:56 +00:00
Sven Sandberg
28a68906d1 BUG#41959: mtr: error message when mkpath() fails and the file exists but is not directory
Problem: when mtr tries to create a directory, and the target
exists but is a file instead of directory, it tries several times
to create the directory again before it fails.
Fix: make it check if the target exists and is a non-directory.
2009-01-08 14:28:40 +01:00
Georgi Kodinov
8c25823f94 merged 5.1-main -> 5.1-bugteam 2009-01-05 18:10:20 +02:00
Magnus Svensson
fdd665443c Bug#41480 Tests that do LOAD DATA INFILE fail when run locally 2008-12-18 13:58:55 +01:00
Timothy Smith
b3d77069e9 Apply InnoDB snapshot innodb-5.1-ss2858, part 4. Fixes
Bug #39438: Testcase for Bug#39436 crashes on 5.1 in fil_space_get_latch


Detailed revision comments:

r2719 | vasil | 2008-10-03 18:17:28 +0300 (Fri, 03 Oct 2008) | 49 lines
branches/5.1:

Fix Bug#39438 Testcase for Bug#39436 crashes on 5.1 in fil_space_get_latch

In ha_innobase::info() - do not try to get the free space for a tablespace
which has been discarded with ALTER TABLE ... DISCARD TABLESPACE or if the
.ibd file is missing for some other reason.

ibd_file_missing and tablespace_discarded are manipulated only in
row_discard_tablespace_for_mysql() and in row_import_tablespace_for_mysql()
and the manipulation is protected/surrounded by
row_mysql_lock_data_dictionary()/row_mysql_unlock_data_dictionary() thus we
do the same in ha_innobase::info() when checking the values of those members
to avoid race conditions. I have tested the code-path with UNIV_DEBUG and
UNIV_SYNC_DEBUG.

rb://20

Reviewed by:	Inaam, Calvin
Approved by:	Heikki
2008-12-14 13:31:13 -07:00
Andrei Elkin
047eced39f merge 5.1-rpl repository -> 5.1-rpl local 2008-12-13 00:00:45 +02:00
Andrei Elkin
cf99c5ba7c Bug #40129 no-threads fails on pushbuild in 6.0-rpl, ps_stm_threadpool
The test reacted on the way how mtr orders arguments for the server
that are gathered from different source. It appeared that the opt-file
options were parsed before those that supplied to mtr via its command
line. In effect, the opt-file preferences got overriden by the command
line and some tests, like no-threads, were caught by surprise: a test
expects an option value that had been "hardcoded" into its opt-file
but gets another one.
This server options ordering problem exists on in the new rpl trees
mtr.  In option of the author of this patch, the opt-file shall be
considered as having the highest preference weight. The opt-file is
merely a part of the header of a test, namely a part that can not be
technically deployed along the test file.
It's unnatural for the test writer to provide both the opt file value
and a guard that guarantees the value will be set on in the run time.
It's logical to provide either one: the option and its value or the
guard.

Fixed with relocating parse of the opt file to be the last among
sources of the sever's options.

A side effect: fixing a small problem of resetting the suite options
at time the opt file starts parsing.

A side effect: main.log_bin_trust_function_creators_func is disabled to
be re-enabled with the fixes for bug#41003 will be merged from the main trees.
2008-12-12 23:51:44 +02:00
Bjorn Munch
97b0eb92e4 Bug #40924 please print timestamp when mtr fails
Added text "Test ended at <time>" after failure reports
2008-12-03 14:11:03 +01:00
Serge Kozlov
f51cfbbc26 Bug#39861:
1. mysqltest.cc - added flush to log file after each executed command in a testcase.
2. mtr shows 20 last lines from test case log file if timeout reached.
3. Optimizing the code by Magnus review.
4. It is partially fix bug#40150
2008-11-14 23:35:32 +03:00
Magnus Svensson
839ba2961d Bug#40742 MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit rpl_alter does not work 2008-11-14 15:39:12 +01:00
Magnus Svensson
4e98cbab0d Bug#40715 mtr fails when running the same test case in parallel threads 2008-11-14 11:49:12 +01:00
Magnus Svensson
d2773d34f5 WL#4189 Add full backward compatibility to mysql-test-run.pl
- Add copy of mtr v1 and make it possible to run it using MTR_VERSION=1
2008-11-14 09:45:32 +01:00
Build Team
366adeab08 Added "Sun Microsystems, Inc." to copyright headers on files modified
since Oct 1st
2008-11-10 21:21:49 +01:00
Sven Sandberg
746734d974 BUG#38817: please make mtr analyze crashes better
Post-push fixes making it work on pushbuild's valgrind host, and clarifying the output.
2008-10-13 18:14:30 +02:00
Magnus Svensson
b7967587e6 WL#4189 Set parallel to 1 if running under vmware on windows 2008-10-11 17:30:26 +02:00
Magnus Svensson
f0ed343ba4 WL#4189 Add retry logic to mkpath to avoid temporary permission denied problems 2008-10-11 17:06:34 +02:00
Magnus Svensson
260c3491a9 WL#41890 After review fixes, remove unecessary if's 2008-10-10 09:19:19 +02:00
Magnus Svensson
cc08b5cd85 Merge 2008-10-08 22:43:37 +02:00
Magnus Svensson
2359d44c61 Merge 2008-10-08 22:30:56 +02:00
Magnus Svensson
956c109c0f BUG#38559 Annoying cygwin problem fixed by resolving pid->winpid before kill instead of just after fork 2008-10-08 22:06:10 +02:00
Magnus Svensson
c2858e8b5b WL#4189 NO need to retry OpenEvent if the process does not exist anymore 2008-10-08 22:02:32 +02:00
Magnus Svensson
5b8771ea3a WL4189 Active state perl fixes 2008-10-08 20:25:28 +02:00
Magnus Svensson
870699c9f7 WL#4189 Only kill process that hasn't yet finished at end of mtr.pl. Improve debug printout 2008-10-06 19:52:26 +02:00
Magnus Svensson
ab5c044e4d WL4189 Add Handles.pm and use it from My::File::Path to show open handles. Rewrite rmtree to use File::Find so we can get better debug printouts when something fails 2008-10-06 19:51:33 +02:00
Magnus Svensson
c84dfbbd6a Improve gdb coredump 2008-10-06 10:49:12 +02:00
Andrei Elkin
4310d57305 Bug #36968 rpl_temporary_errors.test produces warning in pushbuild
backporting a part of the bug patch to 5.1.29 tree which uses an older version of mtr.
2008-10-02 10:46:14 +03:00
Magnus Svensson
13e6758df0 Memoize functions that converts between different paths, a given input string will always return the same output. This save a lot of calls to cygpath for example 2008-09-22 19:15:55 +03:00
Magnus Svensson
c955eb6b68 Print 'cygpath -m' command if it fails 2008-09-22 18:44:35 +03:00
Magnus Svensson
773fbd9543 Bug #37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust 2008-09-22 12:03:00 +03:00
Magnus Svensson
9e06353040 Use --batch when invoking gdb, to make sure it will exit in case of an error in the command files. 2008-09-20 17:10:22 +03:00
Magnus Svensson
02eee93f3a Versional testing support 2008-09-20 16:51:31 +03:00
Magnus Svensson
67580cd220 Make sure the direcory where the test socket is to be created exists 2008-09-20 15:21:29 +03:00
Magnus Svensson
4174c68595 WL#4189 Wrap the check for socket path length in eval 2008-09-15 16:27:12 +02:00
Magnus Svensson
b928473b71 WL#4350 Fix --record and no .result file 2008-09-11 22:05:44 +02:00
Magnus Svensson
1d8583f5a2 Bug#38817 please make mtr analyze crashes better 2008-09-06 08:57:05 +02:00
Magnus Svensson
189ac2c7d4 Bug#35482 mysql-test-run have_innodb does not detect external server has Innodb support 2008-09-05 18:28:20 +02:00
Magnus Svensson
9dbcf1b26f WL#4350 Options in my.cnf style config file should not start with -- 2008-09-05 15:31:09 +02:00
Magnus Svensson
7f954bd287 Fix misspelled variable in mtr.pl 2008-09-05 14:06:22 +02:00
Magnus Svensson
c3e7b68995 Fix gcov in mtr.pl 2008-09-05 11:32:33 +02:00
Mattias Jonsson
f84bf0077d manual merge of bug#37402 2008-08-12 12:26:23 +02:00
Mattias Jonsson
854e230707 merge into an updated 5.1-bugteam tree 2008-08-11 16:15:39 +02:00
Magnus Svensson
788362de81 Debug printouts 2008-08-11 10:41:23 +02:00
Magnus Svensson
c431b23bae Fixup mtr_unique. Remove usage of ps and grep. Make it a module. Move _process_alive to Platform.pm. Rename opt_baseport to baseport, it's not an option 2008-08-10 19:46:43 +02:00
Magnus Svensson
66b42a13f2 Make events_restart more stable by waiting for the server to be stopped before starting it again 2008-08-09 11:16:12 +02:00
Magnus Svensson
ed8bc526ae Merge 2008-08-04 22:25:45 +02:00
Magnus Svensson
afbbe64aae Patch for combinations file using different --default-storage-engine= directives 2008-08-04 21:56:20 +02:00
Magnus Svensson
39ad2dc05a Bug #38181 Please print more debug info when tests fail 2008-08-04 21:54:44 +02:00
Magnus Svensson
53e17da331 Bug #33810 mysql-test-run can't find testcase if it is in a non-default testsuite 2008-08-01 16:08:51 +02:00
Magnus Svensson
05386f9033 Remove debug printout 2008-07-24 22:22:47 +02:00
Magnus Svensson
ee3b5acc62 Check that the default-storage-engine used by test is a supported engine 2008-07-24 22:20:35 +02:00
Mattias Jonsson
295fc5834a Bug#37402: Mysql cant read partitioned table with capital letter in the name
Problem was that ha_partition had HA_FILE_BASED flag set
(since it uses a .par file), but after open it uses the first partitions
flags, which results in different case handling for create and for
open.

Solution was to change the underlying partition name so it was consistent.
(Only happens when lower_case_table_names = 2, i.e. Mac OS X and storage
engines without HA_FILE_BASED, like InnoDB and Memory.)

(Recommit after adding rename of check_lowercase_names to
get_canonical_filename, and moved it from handler.h to mysql_priv.h)

NOTE: if a mixed case name for a partitioned table was created when
lower_case_table_name = 2 it should be renamed or dropped before using
the updated version (See bug#37402 for more info)
2008-07-11 01:14:13 +02:00
Mattias Jonsson
da29c528d3 Bug#35161: --myisam-recover does not work for partitioned MyISAM tables
Problem was that auto_repair, is_crashed and check_and_repair was not
implemented in ha_partition.

Solution, implemented them as loop over all partitions for is_crashed and
check_and_repair, and using the first partition for auto_repair.

(Recommit after fixing review comments)
2008-07-07 17:54:42 +02:00
Magnus Svensson
079fa90b8d Turn off timestamping 2008-06-19 11:20:45 +02:00
Magnus Svensson
101b4f2e7b Merge parallel mtr 2008-06-19 10:10:37 +02:00
Magnus Svensson
ce4b99857b Instruct mysql_upgrade what tmpdir to use 2008-06-19 10:07:55 +02:00
Magnus Svensson
cafa042a29 Merge 2008-06-18 16:09:53 +02:00
Georgi Kodinov
bd4c6d9b8c Bug#37069: Make federated disabled by default
The federated storage engine is now disabled by default.
mysql-test-run.pl is updated to enable it whenever it's required and available.
2008-05-30 13:21:45 +03:00
msvensson@pilot.(none)
10348f0f38 (temporarily)Turn on timestamp by default 2008-05-20 11:48:52 +02:00
msvensson@pilot.(none)
f36d0dae30 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  pilot.(none):/data/msvensson/mysql/mysql-5.1-maint2
2008-05-09 12:36:32 +02:00
msvensson@pilot.(none)
447916b9e6 Make printout of $name nicer
Remove debug printouts
2008-05-09 11:50:36 +02:00
msvensson@shellback.(none)
c45e9ff746 Generate a unique tmpdir for each server to avoid that they delete each others
temporary files at start up - see 'mysql_rm_tmp_tables'
2008-05-06 17:11:09 +02:00
msvensson@pilot.mysql.com
39e11a1ddb Add printouts 2008-05-05 22:55:47 +02:00
msvensson@pilot.mysql.com
9d6d039cf1 Tune reporting 2008-05-04 23:22:41 +02:00
msvensson@pilot.mysql.com
fb88bd04a6 Set "timediff" to off by default 2008-05-04 21:43:49 +02:00
msvensson@pilot.mysql.com
ec03ad0591 Move opt_timer to mtr_report.pm 2008-05-04 21:40:40 +02:00
msvensson@pilot.mysql.com
b9a810dd25 Correctly calculate failed tests 2008-05-04 21:21:11 +02:00
msvensson@pilot.(none)
6cef6279c2 Always set bogomips unless already set
Return undef only in case kstat works
Cpus reported once, but with 'cpu_count' set to the actual number
2008-05-04 16:35:16 +02:00
msvensson@pilot.(none)
e088f111e9 Use SysInfo.pm to find a suitable value for number of workers when
--parallel hasn't been specified
Add lib/My/SysInfo.pm
2008-05-04 13:31:40 +02:00
msvensson@pilot.mysql.com
8c97dc80ca Print tests that has been run but shouldn't and vice versa
Use opt_start_timeout also for ndb
Remove the .result files generated by 'check_testcase'
2008-05-02 12:11:04 +02:00
msvensson@pilot.mysql.com
4f9409c835 Move code that saves datadirs to test server
Remove mtr_report_test_failed
2008-04-27 23:35:38 +02:00
msvensson@pilot.mysql.com
b18a64979a Run all check-warning and check-testcase in parallel, this also give the
oportunity to check if any other process fails during this.
Add possiblitiy to store "user_data" in a Safeprocess
Add function to get pid from a SafeProcess
2008-04-27 21:31:32 +02:00
msvensson@pilot.mysql.com
692291b42b Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-27 15:43:22 +02:00
msvensson@pilot.mysql.com
1e5c733186 Merge bk-internal:/home/bk/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-04-26 10:07:21 +02:00
skozlov/ksm@mysql.com/virtop.(none)
59c15c6730 WL#3754 Fix for mtr, added support personal configuration for test cases 2008-04-25 22:54:20 +04:00
msvensson@pilot.mysql.com
d8b5c50e6b Add "match end of string" marker so that only "cluster_config.xxx" are found 2008-04-25 16:09:25 +02:00
msvensson@pilot.mysql.com
6f25eadbf4 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-25 14:39:24 +02:00
msvensson@pilot.mysql.com
63389b150c Allow aplhanumericals in cluster_confgi.xxx sectio 2008-04-25 14:34:15 +02:00
msvensson@pilot.mysql.com
4a490373a2 Make it possible to specify test specifi config file as <testname>.cnf 2008-04-25 14:07:17 +02:00
msvensson@pilot.mysql.com
1e0f353b47 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-25 11:27:07 +02:00
msvensson@pilot.mysql.com
99a5c22d11 Be more prcise in which cluster_config sections should be expanded.
Ie don't treat cluster_config.mysqld.1.1 as a section specifying a cluster
2008-04-25 11:22:15 +02:00
msvensson@pilot.mysql.com
d6395961e3 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-25 10:52:15 +02:00
msvensson@pilot.mysql.com
bd21ce6942 Only allow "suitename" to be used as a aptch if it has at least one
directory part
2008-04-25 10:51:11 +02:00
msvensson@pilot.mysql.com
fcc697d29c Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-25 08:23:57 +02:00
msvensson@pilot.mysql.com
5681c99645 Print name(of thread) also in mtr_report, testserver does not set name
so it will still look the same, but makes debugging much easier
2008-04-24 20:24:24 +02:00
msvensson@pilot.mysql.com
7e8898aaca Replace all - with - in $opt name 2008-04-24 14:15:15 +02:00
msvensson@pilot.mysql.com
ba900fe302 Add support for running in parallel 2008-04-24 13:02:53 +02:00
msvensson@pilot.mysql.com
113dd00d42 Always return 0 inidcating that socket path would not be truncated when
running on windows. Apparently Cygwin tries to emulate UNIX Socket and thus
fails to create one.
2008-04-22 21:55:09 +02:00
msvensson@pilot.mysql.com
23f462137e Since IO::Socket::UNIX is part of core perl, it's not enough to
"eval use" it. Instead trap the error that occurs when creating the socket
on platforms that does not support it.
2008-04-22 12:43:38 +02:00
msvensson@pilot.mysql.com
ceb5e439a6 Improve 'collect_one_suite' so it looks in storage/*/mysql-test-suites by default
Also make it possible to specify a path to the suite, for example:
./mtr --suite=/some/path/to/suitedir
2008-04-22 12:40:48 +02:00
msvensson@pilot.mysql.com
761b355d0e Add check for unix socket path truncation
Don't allow unix socket path to be truncated
2008-04-21 18:32:32 +02:00
msvensson@pilot.mysql.com
433c1c3d7b Check warnings in servers error log as part of test case 2008-04-08 16:51:26 +02:00
msvensson@pilot.mysql.com
a011d27cf9 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-04-03 11:50:43 +02:00
msvensson@pilot.mysql.com
16d4936e3b Set verbose to off by default 2008-04-02 10:08:44 +02:00
jani@a88-113-38-195.elisa-laajakaista.fi
090d1396cf Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main
into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
2008-03-28 12:14:27 +02:00
jani@a88-113-38-195.elisa-laajakaista.fi
0c59da1ca2 Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main
into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
2008-03-26 12:32:27 +02:00
istruewing@stella.local
44fbe74e1e Merge stella.local:/home2/mydev/mysql-5.1-amain
into  stella.local:/home2/mydev/mysql-5.1-axmrg
2008-03-26 10:27:00 +01:00
msvensson@pilot.mysql.com
201ce48d5d After merge fixes 2008-03-26 07:22:42 +01:00
istruewing@stella.local
97531cadc9 Bug#35559 - plugin_load.test creates warnings
plugin_load.test created lines in the warnings files and made
pushbuild cells yellow. Some pushbuild systems are configured
so that they don't build the ha_example plugin. Trying to load
them creates error messages in the error log. These were copied
to the warnings file.

Fixed by ignoring expected error messages for non-existent
ha_example.
2008-03-25 21:30:45 +01:00
msvensson@pilot.mysql.com
bc4874b79c Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-25 18:40:49 +01:00
msvensson@pilot.mysql.com
d8a6ff5d60 Only use safe_kill if SAFE_WINPID is defined 2008-03-14 19:15:01 +01:00
mkindahl@dl145h.mysql.com
9baeb72ee6 Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
2008-03-14 18:32:01 +01:00
msvensson@pilot.mysql.com
1e39c3cc70 kickstart the fake cygwin process in case safe_kill fails
Loop twice over process to shutdown, first handle thise that has been
shutdown and then continue with the ones that have been killed
2008-03-14 14:01:12 +01:00
msvensson@pilot.mysql.com
60dcedb7c2 Add additional printouts
Fix formatting
2008-03-14 13:34:39 +01:00
jani@a88-113-38-195.elisa-laajakaista.fi
74cbd71e94 Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main
into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
2008-03-13 23:35:52 +02:00
msvensson@pilot.mysql.com
0d1d46c7e2 Find ndb binaries
Verbose SafeProcess.pm
2008-03-13 17:16:42 +01:00
msvensson@pilot.mysql.com
c74678e227 New Makefile.am for mysql-test makes it pass also "make distcheck" and "make install" 2008-03-13 17:07:11 +01:00
msvensson@pilot.mysql.com
af585cf4d8 Also copy [mysqld] section to [embedded] 2008-03-12 12:35:30 +01:00
msvensson@pilot.mysql.com
0dba42cf7c Improve process kill on windows 2008-03-12 11:32:18 +01:00
kaa@kaamos.(none)
0a7052e4d3 Merge kaamos.(none):/data/src/mysql-5.1
into  kaamos.(none):/data/src/opt/mysql-5.1-opt
2008-03-12 11:19:46 +03:00
msvensson@pilot.mysql.com
a4b15aa3fa Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-10 16:42:04 +01:00
msvensson@pilot.mysql.com
de8654e0f4 Mark test that includes "ndb_master-slave.inc" as ndb_test 2008-03-10 16:40:19 +01:00
msvensson@pilot.mysql.com
20b3c15590 Improve error message dir -> croak 2008-03-10 16:37:37 +01:00
msvensson@pilot.mysql.com
5dbb4c96eb Ignore all common signals
Just retry OpenEvent a couple of times with a "yield" in between
2008-03-10 16:00:39 +01:00
msvensson@pilot.mysql.com
afefb65cea Print args in case requirement fails 2008-03-10 14:09:59 +01:00
msvensson@pilot.mysql.com
115cb41beb Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-10 12:55:25 +01:00
msvensson@pilot.mysql.com
34605cc110 Add retry logic for OpenEvent to avoid problems when the
process to kill hasn't yet created the event
2008-03-10 12:54:46 +01:00
msvensson@pilot.mysql.com
743b8d0f0e Look for sourced file relative to test first 2008-03-10 12:53:35 +01:00
msvensson@pilot.mysql.com
c7af2433b9 Improve error messages 2008-03-06 10:19:41 +01:00
mkindahl@dl145h.mysql.com
59137c42dd Adding code to ignore warning from error log. 2008-03-04 13:21:15 +01:00
msvensson@pilot.mysql.com
0ad57d7a0c Don't ignore SIGCHLD since that affects waitpid on some platforms
Fix spelling error
Move exit_code into local scope
2008-03-04 12:32:51 +01:00
msvensson@pilot.mysql.com
06cf8665c5 Fix after merge 2008-02-28 18:55:46 +01:00
msvensson@pilot.mysql.com
56a354794c Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-02-28 12:21:44 +01:00
jani@hynda.mysql.fi
b806eea262 Merge hynda.mysql.fi:/home/my/mysql-5.1-main
into  hynda.mysql.fi:/home/my/mysql-5.1-marvel
2008-02-27 16:46:32 +02:00
msvensson@pilot.mysql.com
8d6d318c6b Only uise one file for current test
Don't retry by default
Fixes for --embedded
2008-02-25 16:41:59 +01:00
msvensson@pilot.mysql.com
0b547b26db Fix embedded server 2008-02-22 15:38:10 +01:00
msvensson@pilot.mysql.com
3dc9779480 Convert to mixed_path under cywin, not native_path 2008-02-22 12:23:46 +01:00
mkindahl@dl145h.mysql.com
a71f298f2a Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
2008-02-20 19:27:06 +01:00
msvensson@pilot.mysql.com
bf65a61567 Use My::Platform
Put all path conversions in one file
Convert the --tmpdir  passed to "mysqld --verbose --help"
2008-02-20 14:55:30 +01:00
mkindahl@dl145h.mysql.com
482997ea65 Removing deliberately generated errors for rpl_bug33931 test
and moving test to replication suite.
2008-02-19 19:59:48 +01:00
kaa@kaamos.(none)
5647dee192 Merge kaamos.(none):/data/src/mysql-5.1
into  kaamos.(none):/data/src/opt/mysql-5.1-opt
2008-02-17 14:57:01 +03:00
kaa@kaamos.(none)
6736c1b9e7 Post-merge fix after merging the patch for bug#31590 to 5.1:
suppress the "Out of sort memory" error in the error log.
2008-02-14 16:33:11 +03:00
jani@a88-113-38-195.elisa-laajakaista.fi
4f98f3e683 Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-main
into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-marvel
2008-02-08 12:13:33 +01:00
tomas@whalegate.ndb.mysql.com
7376f136e8 Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2008-02-06 16:16:49 +01:00
mkindahl@dl145h.mysql.com
ccd53222d6 Adding some more filtering for tests that kills queries and
cause sporadic, but benign, errors.
2008-02-05 13:31:57 +01:00
mkindahl@dl145h.mysql.com
6c6c278e0c Disabling test case binlog_old_version for embedded server. 2008-02-05 08:22:27 +01:00
msvensson@pilot.mysql.com
86d065f525 Make mtr_report.pl into it's own package
Remove mtr_log_*
2008-02-04 11:16:25 +01:00
msvensson@pilot.mysql.com
c10fb20dd2 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-02-04 09:16:37 +01:00
msvensson@pilot.mysql.com
abb0bdde9e Add --verbose-restart 2008-02-04 09:15:44 +01:00
mkindahl@dl145h.mysql.com
ff40ccb8d7 Masking out some more errors and warnings that are benign. 2008-02-04 07:15:14 +01:00
mkindahl@dl145h.mysql.com
dc96cb21bf Removing expected errors from slave from the warnings file. 2008-02-03 18:43:05 +01:00
msvensson@shellback.(none)
df9d0ad133 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr
2008-01-18 00:06:30 +01:00
msvensson@shellback.(none)
cf9053f199 Add C version of safe_process 2008-01-18 00:03:38 +01:00
msvensson@pilot.mysql.com
08cbaffbff Allow start-from to also filter on suitename 2008-01-11 10:44:16 +01:00
msvensson@pilot.mysql.com
a0fd2e0ddc Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-parts
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-10 17:17:04 +01:00
msvensson@pilot.mysql.com
af96a3f8ba - Add autodetection of which my.cnfs to use for each testcase if suite does
not have a my.cnf of it's own
- Fix paths: master-data => mysqld.1/data, ../std_data_ln => MYSQLTEST_VARDIR/std_data
2008-01-10 16:50:37 +01:00
msvensson@pilot.mysql.com
a8117ca4f1 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-10 12:15:51 +01:00
msvensson@pilot.mysql.com
b23110f2de Auto kill any children before exiting from process 2008-01-10 12:00:56 +01:00
msvensson@pilot.mysql.com
727afed657 Add --repeat and --retry 2008-01-10 10:44:18 +01:00
msvensson@pilot.mysql.com
36c69b9d6c Fix bug where local variable masked outer variable 2008-01-09 16:10:25 +01:00
msvensson@pilot.mysql.com
af4bede6df Fix reorder 2008-01-09 11:15:59 +01:00
msvensson@pilot.mysql.com
f3a9534412 Skipp adding combinations for test tat already are skipped 2008-01-08 21:26:55 +01:00
msvensson@pilot.mysql.com
284f28d78f Remember dynamically set options as started 2008-01-08 15:47:04 +01:00
msvensson@pilot.mysql.com
9087ee9170 Try to dynamically change option, restart if it fails 2008-01-07 19:44:48 +01:00
msvensson@shellback.(none)
481e8fecd6 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr
2008-01-07 15:40:54 +01:00
msvensson@shellback.(none)
c2bba780de Improve error message 2008-01-07 15:38:25 +01:00
tomas@whalegate.ndb.mysql.com
24be420c23 Bug#32648 Test failure between NDB Cluster and other engines 2008-01-04 15:33:01 +01:00
msvensson@pilot.mysql.com
8b3d267eea Don't use Getopt::Long in safe_process.pl 2007-12-20 18:39:33 +01:00
mkindahl@dl145h.mysql.com
bdea24f483 Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
2007-12-19 18:51:46 +01:00
msvensson@pilot.mysql.com
b93f8b6820 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2007-12-19 13:06:03 +01:00
msvensson@pilot.mysql.com
aeb88d4b76 Properly detect cygwin 2007-12-19 13:04:54 +01:00
msvensson@pilot.mysql.com
926f7dec68 Windows fixeds for mtr 2007-12-19 12:58:06 +01:00
anozdrin/alik@station.
151444c626 Merge station.:/mnt/raid/alik/MySQL/devel/5.1
into  station.:/mnt/raid/alik/MySQL/devel/5.1-rt
2007-12-14 16:30:22 +03:00
msvensson@shellback.(none)
c9d61297f0 Generate ssl arguments only if ssl is supported 2007-12-13 15:02:50 +01:00
gluh@eagle.(none)
4f5868114a Merge mysql.com:/home/gluh/MySQL/Merge/5.1
into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
2007-12-13 15:56:04 +04:00