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
Magnus Svensson
db72d0dbf5
mtr.pl v2
...
- extend debug prints for "permission denied"
2009-01-24 15:07:57 +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
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
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
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
Magnus Svensson
fdd665443c
Bug#41480 Tests that do LOAD DATA INFILE fail when run locally
2008-12-18 13:58:55 +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
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
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
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
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
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
05386f9033
Remove debug printout
2008-07-24 22:22:47 +02:00
Magnus Svensson
ce4b99857b
Instruct mysql_upgrade what tmpdir to use
2008-06-19 10:07:55 +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.(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
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
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
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
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