Commit graph

673 commits

Author SHA1 Message Date
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
kostja@bodhi.(none)
572ab7a6b0 Silence a new warning printed by rpl_row_tabledefs_3innodb test execution. 2007-12-13 04:33:54 +03:00
msvensson@pilot.mysql.com
d918988baa WL#4189
- dynamic configuration support
 - safe process
 - cleanups
 - create new suite for fedarated
2007-12-12 18:19:24 +01:00