Brian Fraser
a3527f748c
Fixed the Smooth Flushing report on 5.1, which was broken by the previous commit, and made it work on 5.5
2012-11-30 18:17:30 -03:00
Brian Fraser
227dfa6ea7
Fix for 1015590: pt-mysql-summary not Percona Server 5.5-ready
2012-11-02 00:21:48 -03:00
Daniel Nichter
33f75e069d
Fix some test plans.
2012-10-24 13:36:32 -06:00
Daniel Nichter
9b920bc5a5
Conditionalize the number of files expected: 14 or 15 depending on if the box has a default my.cnf somewhere.
2012-10-24 13:03:45 -06:00
Daniel Nichter
b6072ab011
Only cat cnf file > mysql-config-file if it exists.
2012-10-24 12:43:26 -06:00
Daniel Nichter
a94605c825
Use sys default cnf file since test machines have different ones.
2012-10-24 12:08:30 -06:00
Daniel Nichter
aacdd9db17
Rewrite find_my_cnf_file() so if a port is given only that port's cnf is returned, else nothing.
2012-10-24 11:17:34 -06:00
Brian Fraser fraserb@gmail.com
df2278b95c
Merged fix-903229-pt-mysql-summary-case-insensitivity-for-engines
2012-10-12 17:38:12 -03:00
Brian Fraser
289035a303
Merged fix-1038995-bash-options-starting-with-no
2012-08-28 22:05:33 -03:00
Brian Fraser fraserb@gmail.com
548e01fddd
Fix for 903229: pt-mysql-summary incorrectly categorizes databases
2012-08-24 20:18:36 -03:00
Brian Fraser
ed7b497590
Report Rated PBW for fio cards
2012-08-24 19:39:58 -03:00
Brian Fraser
878528b859
Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs
2012-08-24 18:23:30 -03:00
Brian Fraser
24ae24a64e
Fix for 952722: pt-summary to show information about Fusion-io cards
2012-08-24 17:01:47 -03:00
Daniel Nichter
9674c6ad88
Add diag() for Bash tests. Diag 'ollect_mysql_info.t find_my_cnf_file gets the correct file' when it fails.
2012-08-22 14:50:11 -06:00
Daniel Nichter
f8a0eaaa7d
Wait for debug log if it was gotten.
2012-08-22 14:22:26 -06:00
Daniel Nichter
dbeaec77b6
Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t.
2012-08-22 14:04:42 -06:00
Brian Fraser fraserb@gmail.com
c2b006eeaf
Fix for 1038995: pt-stalk notify-by-email fails
2012-08-20 19:22:31 -03:00
Brian Fraser fraserb@gmail.com
2f0812fb33
Merged ubuntu-12-64-issues
2012-07-30 11:30:05 -03:00
Brian Fraser
68b8eddc5a
t/lib/bash/collect.sh: Wait for the df file before starting
2012-07-23 02:43:15 -03:00
Daniel Nichter
487d14228b
Handle --nofoo like --no-foo in parse_options.sh and update the Bash tools.
2012-07-21 11:57:53 -06:00
Daniel Nichter
e1b39b3d5f
Use TRUE/FALSE for typeless option values in --help. Update parse_options.sh lib in Bash tools.
2012-07-21 11:40:39 -06:00
Daniel Nichter
6269b196a3
Tweak t/lib/bash/collect.sh and t/lib/bash/report_mysql_info.sh and add wait_for_files() to util/test-bash-functions so hopefully they'll be more stable.
2012-07-10 16:33:00 -06:00
Brian Fraser fraserb@gmail.com
bc8f5a610c
Change TMPDIR to PT_TMPDIR
2012-06-11 17:51:43 -03:00
Daniel Nichter
bf2a769536
Export TMPDIR to make tmpdir.t pass.
2012-06-11 13:28:14 -07:00
Brian Fraser fraserb@gmail.com
07081d5761
tmpdir.sh: Use the -t flag for mktemp
2012-06-11 17:07:38 -03:00
Baron Schwartz
aec4ad69d3
fix test for MySQL 5.5's differences
2012-06-04 08:08:45 -04:00
Brian Fraser fraserb@gmail.com
865b3e4e9d
collect_system_info shouldn't assume that sysctl is available.
...
It isn't on CentOS 5.5. It didn't really assume that it
was always there, but rather than the produced samples file
would be.
2012-06-04 11:57:44 -03:00
Baron Schwartz
48f642551e
fix some problems that happen when there are many mysqld instances
2012-06-03 20:53:57 -04:00
Daniel Nichter
696a3b5e68
Fix mem/file size shortening in pt-summary and pt-mysql-summary.
2012-06-03 14:49:35 -07:00
Daniel Nichter
cc80f278d5
Code comment why MiB, GiB, etc. are used in shorten() and update that func in pt-summary and pt-mysql-summary.
2012-05-07 16:38:30 -06:00
Daniel Nichter
fdfd305dc5
Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions.
2012-05-07 12:16:24 -06:00
Daniel Nichter
11bfeba0ea
Remove unused developer test file.
2012-04-03 12:16:58 -06:00
Daniel Nichter
0286631514
Merge summary-tools-2.1.
2012-04-03 10:14:55 -06:00
Brian Fraser fraserb@gmail.com
c0dedd19bf
- section() revamp
...
- Redirect STDERR for the collection part in both tools
- rm_tempdir in sigtrap
- A part of pt-mysql-summary still depended on the system being run,
rather than the samples being read. Now it works properly.
2012-04-02 19:25:17 -03:00
Brian Fraser fraserb@gmail.com
6dbbd6de3b
The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it.
2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com
761f8a5aac
Merge more of Baron's changes, also re-implement the MySQL Executables section
...
Plus other bugfixes.
2012-03-30 23:00:57 -03:00
Brian Fraser fraserb@gmail.com
562a550a39
Fixes
2012-03-30 17:23:55 -03:00
Daniel Nichter
94d9483d03
Make vmstat, iostat, and mpstat run for --run-time not --interval.
2012-03-30 11:35:32 -06:00
Brian Fraser fraserb@gmail.com
33a4096663
Fix CPU_ARCH collection for Linux
2012-03-30 13:44:21 -03:00
Brian Fraser fraserb@gmail.com
f8113b4676
A parse_ethtools() that actually works
2012-03-29 19:44:51 -03:00
Brian Fraser fraserb@gmail.com
996a76a68e
pt-summary shouldn't leave empty files; both summary tools should
...
die if passed a --save-samples directory that has files in it.
2012-03-29 19:21:32 -03:00
Brian Fraser fraserb@gmail.com
9fbb796022
More tests for get_var
2012-03-28 15:59:16 -03:00
Brian Fraser fraserb@gmail.com
3ee8f9ba71
Fixed the Table Cache bugs.
...
Also makes t/lib/bash/collect_system_info.sh actually call setup_commands.
2012-03-28 15:29:57 -03:00
Brian Fraser fraserb@gmail.com
4bb5968c23
More fixes as per the reviews.
...
- Took out ${prefix}-
- get_var sanity
- pt-mysql-summary now follows pt-summary's suit and doesn't take
in files to write to
- pt-summary defers setting the CMD_FOO vars to a function, as
otherwise it would skip our PATH mungling.
2012-03-28 13:04:14 -03:00
Brian Fraser fraserb@gmail.com
ae6c1e3789
More fixes:
...
- pt-mysql-summary's --read-samples shouldn't need an active connection
- Bunch of pt-summary bugs, particularly several relating to disks.
2012-03-27 12:53:31 -03:00
Brian Fraser fraserb@gmail.com
0e4fa22d18
*-summary tools: Changes from the reviews. Tests for pt-mysql-summary not finished yet
2012-03-27 06:19:37 -03:00
Brian Fraser fraserb@gmail.com
63064173a9
Correct test plans & add missing files
2012-03-24 16:27:47 -03:00
Brian Fraser fraserb@gmail.com
3ffda5677b
pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review
2012-03-24 14:20:09 -03:00
Brian Fraser fraserb@gmail.com
88a9a66946
pt-mysql-summary for 2.1
2012-03-20 18:29:35 -03:00
Brian Fraser fraserb@gmail.com
55c7248c54
(more syncing)
2012-03-20 17:16:06 -03:00