细节
-
改进
-
状态: Done">完成
-
媒介
-
解决方法: 固定
-
3.5.0
-
没有一个
-
40
-
是的
-
是的
描述
如何重复
$ prove -vw——trap——timer t/pt-table-checksum/ [20:14:42] t/pt-table-checksum/basics。t ..................1 . .40not ok 1 - Default checksum # Failed test默认的校验和的# at t/pt-table-checksum/basicsT行第75行。ok 2 -介于25到60块之间不ok 3 -静态块大小(——chunk-time 0) #测试失败'静态块大小(——chunk-time 0)'# at t/pt-table-checksum/basicsT线101。ok 4 -在75和90块之间的主ok 5 -…在从检查上有相同数量的块如果所有的表都可以校验和…开始校验和…TS错误DIFFS ROWS DIFF_ROWS块跳过表12-20T20:15:39 0 1 600 0 602 0 22.358 sakila。城市安全6号,复制检查默认的,检测diff Checking如果所有的表都可以校验和…开始校验和…ok 7 -——no- replication -check, no diff detected .检查中如果所有的表都可以校验和…开始校验和…检查如果所有的表都可以校验和…开始校验和…好的8 -- - empty - replication -table on by默认的检查如果所有的表都可以校验和…开始校验和…好的9 -——no-recheck(只是——replicate-check)好10 -检测无限循环好11 -上边界和下边界一样好的12 -跳过超大块好13 -超大块不是错误好14 -跳过块2好15 -跳过1块(错误1011738)好16 -警告关于跳过大奴隶表好17 -不校验和大奴隶表的主人好18 -不校验和大奴隶表奴隶好19 -非零退出状态好20 - 0跳过好21 - 0错误好22 - 52行checksum ok 23 -——chunk-size-limit=0不会禁用对slave的\# of-rows检查ok 24 -当没有发现slave时发出警告(bug 1087804) ok 25 -当没有发现slave时退出状态8 (bug 1087804) ok 26 -——where in checksum chunk query ok 27 -——where in past lower chunk query ok 28 -——where in past upper chunk query ok 29 -——where in where in next chunk boundary query ok 30 -——where为第一块,31 -为最后一块32 -哪里为下oob块ok 33 -- -在哪里为upper oob chunk ok 34 - Bug 932442: 0 exit ok 35 - Bug 932442: 0 errors ok 36 - Bug 821675 (dot):查询ok 37 - Bug 821675 (dot): 0 exit ok 38 - Bug 821675 (dot): 0 errors Checking如果所有的表都可以校验和…开始校验和…40 -沙盒服务器#看起来你失败了40个测试。可疑,测试返回2 (wstat 512, 0x200) Failed 2/40 subtests [20:16:32] t/pt-table-checksum/bugs。t ....................ok 1 - Bug 995274 (undef数组):零退出状态ok 2 - Bug 995274 (undef数组):校验和行ok 3 - Bug 987393(空表):零退出状态ok 4 - Bug 987393(空表):无错误ok 5 - Bug 987393(空表):校验和ok 6 - Bug 987393 (Perl 5.8作用域):无错误不ok 7 - Bug 987393 (Perl 5.8作用域):校验和表#测试失败错误987393 (Perl 5.8作用域):checksum表# at t/pt-table-checksum/bugs。2281号T行。#有:' 0 '#预计:“109”ok 8 - Bug 1030031(错误的DIFFS): 2个DIFFS ok 9 - Bug 1030031(错误的DIFFS): 3个DIFFS ok 10 - Bug 1074179: ignore-tables-regex works with——replication -check-only ok 11 - Bug 1016131: ptc应该跳过所有列都被排除的表ok 12 -——skip-check-从-lag ok 13 - Bug 1075638和1050737:当nibble_time为零时不被零错误除ok 14 - Bug 1075638和1050737:…我们得到了正确的diffs# Creating数量默认的数据库……#在12348端口启动MySQL测试服务器返回0 # OK (3s) #创建默认的数据库……#启动MySQL测试服务器端口12349…返回Bug 938068:没有警告如果Binlog_format =row or mixed on slave ok 16…和警告为level 1和level 2 slave #停止MySQL测试服务器端口12349…#停止MySQL测试服务器的端口12348…OK (2s) OK 17 - Bug 1210537:没有崩溃——递归方法集群OK 18 - Bug 1210537:工具运行正常19 - Bug 1388870 -否假当system_tz在slave上存在差异时,报告为阳性。20 ok 6 - Bug 987393 (Perl 5.8作用域):没有错误不ok 7 - Bug 987393 (Perl 5.8作用域):checksum表#失败测试错误987393 (Perl 5.8作用域):checksum表# at t/pt-table-checksum/bugs。2281号T行。#有:' 0 '#预计:“109”DBD:: mysql:: db做failed:在查询MySQL服务器时失去连接[为声明“更新测试。t SET c= " WHERE id=5"[t/pt-table-checksum/bugs.]T 2295线。#已运行测试,但未声明计划,且未看到done_testing()。#看起来您的测试在7之后退出255。可疑的,测试返回255 (wstat 65280, 0xff00)失败的1/20个子测试[20:18:52]t/pt-table-checksum/char_chunking。t ...........1 . .6 ok 1 - Char chunk ascii, explain ok 2 - Char chunk ascii, chunk size 20 ok 3 -第一个边界ok 4 -下oob边界ok 5 -上oob边界ok 6 -沙盒服务器ok 7206 ms (0.01 usr 0.00 sys + 0.90 cusr 0.49 csys = 1.40 CPU) [20:18:59] t/pt-table-checksum/chunk_index。t .............1 . .14 ok 1 - Chooses chunk index by默认的ok 2 -选择块索引如果——chunk-index不存在ok 3 -使用——chunk-index ok 4 -chunk在最左边——chunk-index列ok 5 -显式——chunk-index覆盖MySQL的索引为——好6 - 0退出状态(错误925855)好7 - 0跳过(错误925855)好8 - 0错误(bug 925855)好9 - 14行校验和(错误925855)好10 -聪明的块索引选择(错误978432)好11 -——chunk-index-columns好12 - chunk-index-columns >的索引列好13 -初始key_len反映chunk-index-columns好14 -沙箱服务器好5965 ms (0.00 usr 0.00系统0.46 + 0.98 cusr坐标系= 1.44 CPU) [20:19:05] t / pt-table-checksum / chunk_size。t ..............1 . . 8检查如果所有的表都可以校验和…开始校验和…1 -第一块是默认的2 -第2块下界ok 3 -第2块更大正在检查如果所有的表都可以校验和…开始校验和…4 -显式——chunk-size禁用自动块大小确定5 #跳过太慢DBD::mysql::db做由于访问限制,LOAD DATA LOCAL INFILE文件请求被拒绝。[为声明加载数据本地文件“/ home / sveta /雷竞技下载官网 src / percona-toolkit / t / pt-table-checksum /样本/ 600 cities.dataINTO TABLE test.t"[t/pt-table-checksum/chunk_size.]T线114。#看起来您的测试在5之后退出了255。可疑的,测试返回255 (wstat 65280, 0xff00) Failed 3/8 subtests (less 1跳过subtest: 4 ok) [20:19:08] t/pt-table-checksum/create_replicate_table。t . .1 . . 5未知选项:no-create- replication -table用途:pt-table-checksum [OPTIONS] [DSN]命令行参数错误:*错误解析选项pt-table-checksum通过在主节点上执行校验和查询来执行在线复制一致性检查,这会在与主节点不一致的副本上产生不同的结果。可选DSN指定主主机。工具的L<“退出状态”>是非零的如果发现任何差异,或者如果出现任何警告或错误。有关更多详细信息,请使用——help选项,或试一试‘perldoc t / pt-table-checksum / create_replicate_table.t’为完整的文档。#看起来您的测试在输出任何东西之前退出了1。可疑的,测试返回1 (wstat 256, 0x100) Failed 5/5 subtests [20:19:09] t/pt-table-checksum/error_handling。t ..........1 . .0# SKIP TODO master master sandbox is failing with MySQL 8.0+. FIX ME !!!! skipped: TODO master master sandbox is failing with MySQL 8.0+. FIX ME !!!! [20:19:09] t/pt-table-checksum/filters.t ................. 1..9 ok 1 - --databases sakila ok 2 - --tables actor ok 3 - --tables sakila.actor ok 4 - --tables actor,film ok 5 - --tables sakila.actor,mysql.user ok 6 - -d sakila --engines MyISAM ok 7 - -d sakila --engines myisam ok 8 - --databases sakila --ignore-tables sakila.actor,sakila.address,category,city,payment ok 9 - Sandbox servers ok 1572 ms ( 0.01 usr 0.00 sys + 0.50 cusr 0.24 csys = 0.75 CPU) [20:19:10] t/pt-table-checksum/float_precision.t ......... 1..7 ok 1 - Got output ok 2 - No --浮动-precision,不四舍五入ok 3 -得到输出ok 4 -列a四舍五入ok 5 -列b四舍五入ok 6 -列b内部不四舍五入ISNULL ok 7 -沙盒服务器ok 3126 ms (0.00 usr 0.00 sys + 0.36 cusr 0.17 csys = 0.53 CPU) [20:19:14] t/pt-table-checksum/fnv_64。t ..................1 . .0# SKIP No FNV_64 UDF lib skipped: No FNV_64 UDF lib [20:19:14] t/pt-table-checksum/ignore_columns.t .......... 1..4 ok 1 - Diff when column not ignored ok 2 - No diff when column ignored ok 3 - Ignored column is not in checksum query ok 4 - Sandbox servers ok 3125 ms ( 0.00 usr 0.00 sys + 0.39 cusr 0.20 csys = 0.59 CPU) [20:19:17] t/pt-table-checksum/issue_1485195.t ........... 1..2 not ok 1 - Large BLOB/TEXT/BINARY Checksum # Failed test“大BLOB/TEXT/BINARY校验和”# at t/pt-table-checksum/issue_1485195。T行43。#有:“31”#预计:“29”ok 2 -沙盒服务器#看起来你失败了2个测试。可疑,测试返回1 (wstat 256, 0x100)失败1/2个子测试[20:19:20]t/pt-table-checksum/issue_1592608。t ...........1 . .2 ok 1 -大BLOB/TEXT/BINARY校验和ok 2 -沙盒服务器ok 4336 ms (0.00 usr 0.00 sys + 0.37 cusr 0.16 csys = 0.53 CPU) [20:19:25] t/pt-table-checksum/issue_1651002。t ...........1 . .2 ok 1 -大BLOB/TEXT/BINARY校验和#停止沙盒留下一个干净的沙盒为下一个测试文件ok 2 -沙盒服务器ok 3809 ms (0.00 usr 0.00 sys + 0.50 cusr 0.30 csys = 0.80 CPU) [20:19:28] t/pt-table-checksum/issue_388。t ...............1 . . 3ok 1 - No error (issue 388) ok 2 - Checksums the table (issue 388) ok 3 - Sandbox servers ok 2313 ms ( 0.00 usr 0.00 sys + 0.40 cusr 0.13 csys = 0.53 CPU) [20:19:31] t/pt-table-checksum/issue_47.t ................ 1..3 Checking如果所有的表都可以校验和…开始校验和…12-20T20:19:32跳过测试的第5块。issue_47,因为MySQL没有选择索引而不是idxindex。不可以1 -没有错误啃咬非常大int#测试失败“一口咬得很大,没有错int'# at t/pt-table-checksum/issue_47。T线50。#有:“32”#预计:' 0 '2 -使用非常大intas块边界#测试失败’使用非常大int作为块边界”# at t/pt-table-checksum/issue_47。T线57。#结构开始不同:# $got->[4] =不存在# $expected->[4] = ARRAY(0x55b2d2826948) ok 3 -沙盒服务器#看起来你失败了3个测试。可疑,测试返回2 (wstat 512, 0x200) Failed 2/3 subtests [20:19:33] t/pt-table-checksum/issue_602。t ...............1 . .2 ok 1 -检查和表尽管无效datetime ok 2 -沙箱服务器ok 3027 ms (0.00 usr 0.00 sys + 0.34 cusr 0.17 csys = 0.51 CPU) [20:19:36] t/pt-table-checksum/option_sanity. t/pt-table-checksum/option_sanity. t/pt-table-checksum/option_sanity. t/pt-table-checksum/option_sanity. t .0t ...........不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T行28。not ok 1 - Default——check-replication-filters=TRUE #测试失败“违约——check-replication-filters = TRUE”# at t/pt-table-checksum/option_sanity。T线30号。# " #不不匹配(?^m:^——check-replication-filters\s+TRUE$)' not ok 2 -默认——create- replication- table=TRUE #测试失败“违约——create-replicate-table = TRUE”# at t/pt-table-checksum/option_sanity。T行36。# " #不不匹配(?^m:^——create- replication -table\s+TRUE$)' not ok 3 -默认——empty- replication -table=TRUE #测试失败“违约——empty-replicate-table = TRUE”# at t/pt-table-checksum/option_sanity。T行42。# " #不不匹配(?^m:^——empty- replication -table\s+TRUE$)' not ok 4 -默认——explain=0 #测试失败“违约——解释= 0”# at t/pt-table-checksum/option_sanity。T行48。# " #不不匹配(?^m:^——explain\s+0$)' not ok 5 -默认——host=localhost #测试失败“违约——主机= localhost”# at t/pt-table-checksum/option_sanity。T行54。# " #不不匹配(?^m:^——host\s+localhost$)' not ok 6 -默认——max-lag=1 #测试失败“违约——max-lag = 1”# at t/pt-table-checksum/option_sanity。T线66号线。# " #不不匹配(?^m:^——max-lag\s+1$)' not ok 7 -默认——quiet=0 #测试失败“违约——安静= 0”# at t/pt-table-checksum/option_sanity。T行72号。# " #不不匹配(?^m:^——quiet\s+0$)' not ok 8 -默认——replication -check-only=FALSE #测试失败“违约——replicate-check-only = FALSE”# at t/pt-table-checksum/option_sanity。T线78号。# " #不不匹配(?^m:^——replication -check-only\s+FALSE$)' not ok 9 -默认——replication =pe雷竞技下载官网rcona。测试失败“违约——复制= percona.chec雷竞技下载官网ksums”# at t/pt-table-checksum/option_sanity。T行84。# " #不不匹配(?^m:^——replication \雷竞技下载官网s+percona\.checksum $)' not ok 10 -默认——replication -check=TRUE #测试失败“违约——replicate-check = TRUE”# at t/pt-table-checksum/option_sanity。T线90。# " #不不匹配(?^m:^——copy -check\s+TRUE$)' not ok 11 -——递归方法是一个数组#测试失败——递归方法是一个数组# at t/pt-table-checksum/option_sanity。T第96行。# " #不不匹配(?^m:^\s+——recursive -method=a)' not ok 12 -默认——recursive -method is processlist,hosts #测试失败默认——递归方法是processlist,hosts# at t/pt-table-checksum/option_sanity。T行102。# " #不不匹配(?^m:^\s+——递归方法\s+processlist,hosts)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T线111。——empty- replication -table #测试失败——解释禁用——空复制表# at t/pt-table-checksum/option_sanity。T行112。# " #不不匹配(?^m:^——empty- replication -table\s+FALSE$)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。118号T线。14 -——resume - disable——empty- replication -table #测试失败——resume禁用——empty- replication -table# at t/pt-table-checksum/option_sanity。T线119号线。# " #不不匹配(?^m:^——empty- replication -table\s+FALSE$)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T行125。not ok 15 -——quiet禁用——progress #测试失败“——安静禁用——进步”# at t/pt-table-checksum/option_sanity。T行126。# " #不不匹配(?^m:^——progress\s+\(No value\)$)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T线132。16 -——chunk-size sets——chunk-time=0 #测试失败——chunk-time=0'# at t/pt-table-checksum/option_sanity。T线133。# " #不不匹配(?^m:^——block -time\s+0$)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T行142。命令行中只允许一个DSN #测试失败命令行上只允许一个DSN# at t/pt-table-checksum/option_sanity。T行143。# " #不不匹配(?^:指定多于一个主机;“不能执行。“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T行152。——复制表必须是数据库合格的#测试失败——复制表必须是数据库限定的# at t/pt-table-checksum/option_sanity。T行153。# " #不不匹配(?^:——复制表必须是数据库限定的)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。T行162。——chunk-size-limit必须是>= 1或0 #测试失败——chunk-size-limit必须为>= 1或0# at t/pt-table-checksum/option_sanity。163号T行。# " #不不匹配(?^:chunk-size-limit必须为>= 1或0才能禁用)'不能执行“/ home / sveta /雷竞技下载官网 src / percona-toolkit / bin / pt-table-checksum”: t/pt-table-checksum/option_sanity权限被拒绝。第173行。验证——max-load #失败的测试“验证——max-load”# at t/pt-table-checksum/option_sanity。T行174。# " #不不匹配(?^:无效-max-load)' 1..看起来你没有通过20次测试。可疑的,测试返回20 (wstat 5120, 0x1400)失败的20/20个子测试[20:19:36]t/pt-table-checksum/plugin。t ..................ok 1 -调用所有插件基本运行ok 2 -调用所有插件复制检查运行ok 3 -沙盒服务器1..3 ok 2308 ms (0.00 usr 0.00 sys + 0.41 cusr 0.16 csys = 0.57 CPU) [20:19:39] t/pt-table-checksum/privs。t ...................ok 1 -错误如果雷竞技下载官网Percona db没有不存在,用户可以#运行了测试,但没有声明计划,并且没有看到done_testing()。看起来您的测试在1后面退出了1。可疑,测试返回1 (wstat 256, 0x100)所有1个子测试通过[20:19:39]t/pt-table-checksum/progress。t ................1 . . 5ok 1 - --progress为slave lag ok 2 -等待后继续校验和为从延迟ok 3 -等待后没有错误为Slave lag ok 4 -- -progress为——replication table (bug 1008778) ERROR: Tables are different on master: mysql.db ERROR: Tables are different on slave1: mysql.db ERROR: Tables are different on slave2: mysql.db not ok 5 -沙箱服务器#测试失败“沙箱服务器”# at t/pt-table-checksum/progress。T行146。救助。进一步的测试停止:t/pt-table-checksum/progress。don’别把沙箱弄坏了跳伞!t / pt-table-checksum /进展。T打破了沙箱FAILED--Further testing stopped: t/pt-table-checksum/progress.t broke the sandbox
建议修复
确定哪些测试失败是因为编写得不好,哪些测试显示了代码的真正问题,修复测试或代码。