Details
Description
http://buildbot.askmonty.org/buildbot/builders/bld-dan-debug/builds/3241/steps/test_1/logs/stdio
(test run with ps-protocol)
main.show_explain 'xtradb' w1 [ fail ]
|
Test ended at 2016-05-08 15:26:44
|
|
CURRENT_TEST: main.show_explain
|
mysqltest: At line 880: query 'reap' succeeded - should have failed with errno 1317...
|
|
The result from queries just before the failure was:
|
< snip >
|
11 data1
|
12 data1
|
13 data1
|
14 data1
|
15 data1
|
16 data1
|
17 data1
|
18 data1
|
19 data1
|
20 data1
|
set autocommit=0;
|
select * from t1 where pk between 10 and 20 for update;
|
# do: send_eval show explain for thr2;
|
Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=33
|
Id User Host db Command Time State Info Progress
|
33 root localhost test Sleep 30 NULL 0.000
|
34 root localhost test Query 30 Sending data select * from t1 where pk between 10 and 20 for update 0.000
|
38 root localhost test Sleep 30 NULL 0.000
|
39 root localhost test Query 0 init show full processlist 0.000
|
kill query $thr_default;
|
Attachments
Issue Links
- is caused by
-
MDEV-3798 Add EXPLAIN for UPDATE/DELETE (mwl #51)
-
- Closed
-
- relates to
-
MDEV-7069 Fix buildbot failures in main server trees
-
- Stalled
-
-
MDEV-32819 main.show_explain failed in buildbot
-
- Closed
-
I was able to reproduce once
CURRENT_TEST: main.show_explain15
mysqltest: At line 880: query 'reap' succeeded - should have failed with errno 1317...
--- good-execution.log
+++ bad-execution.log
@@ -966,82 +966,16 @@
connection default;
# do: send_eval show explain for thr2;
connection con3;
+Timeout in wait_condition.inc for select State='show explain' from information_schema.processlist where id=139
+Id User Host db Command Time State Info Progress
+1 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+2 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+3 system user NULL Daemon NULL InnoDB purge coordinator NULL 0.000
+4 system user NULL Daemon NULL InnoDB purge worker NULL 0.000
+5 system user NULL Daemon NULL InnoDB shutdown handler NULL 0.000
+139 root localhost test Sleep 30 NULL 0.000
+140 root localhost test Query 30 Sending data select * from t1 where pk between 10 and 20 for update 0.000
+144 root localhost test Sleep 30 NULL 0.000
+145 root localhost test Query 0 Init show full processlist 0.000
kill query $thr_default;
connection default;
-ERROR 70100: Query execution was interrupted
The test was expecting to find the SHOW EXPLAIN query to be stuck waiting to get explain on a thread that's stuck in innodb lock wait.
The query that's stuck in innodb lock wait is there (id=140). The SHOW EXPLAIN has managed to succeed somehow.