[MDEV-11768] main.derived_opt, main.count_distinct2 failed with timeout in buildbot Created: 2017-01-11  Updated: 2021-01-25  Resolved: 2021-01-25

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.0
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-7069 Fix buildbot failures in main server ... Stalled
Sprint: 5.5.55

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-centos5-amd64/builds/4472/steps/test/logs/stdio

main.count_distinct2                     w3 [ fail ]  timeout after 900 seconds
        Test ended at 2017-01-08 18:08:51
 
Test case timeout after 900 seconds
 
== /usr/local/mariadb-10.0.29-linux-x86_64/mysql-test/var/3/log/count_distinct2.log == 
5
select count(distinct n1), count(distinct n2) from t1;
count(distinct n1)	count(distinct n2)
2	3
select count(distinct n2), n1 from t1 group by n1;
count(distinct n2)	n1
1	NULL
1	1
3	2
drop table t1;
create table t1 (n int default NULL);
flush status;
select count(distinct n) from t1;
count(distinct n)
5000
show status like 'Created_tmp_disk_tables';
Variable_name	Value
Created_tmp_disk_tables	0
drop table t1;
create table t1 (s text);

main.derived_opt                         w1 [ fail ]  timeout after 900 seconds
        Test ended at 2017-01-08 18:13:15
 
Test case timeout after 900 seconds
 
== /usr/local/mariadb-10.0.29-linux-x86_64/mysql-test/var/1/log/derived_opt.log == 
1	a	3	c
2	b	3	c
3	c	3	c
3	c	3	c
explain select * from t1 as x1, (select * from t1) as x2;
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	x1	ALL	NULL	NULL	NULL	NULL	4	
1	SIMPLE	t1	ALL	NULL	NULL	NULL	NULL	4	Using join buffer (flat, BNL join)
drop table if exists  t2,t3;
CREATE TABLE t2 (a int not null);
insert into t2 values(1);
select * from (select t1.*, t2.a as t2a from t1,t2 where t1.a=t2.a) t1;
a	b	t2a
1	a	1
explain select * from (select t1.*, t2.a as t2a from t1,t2 where t1.a=t2.a) t1;
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t2	system	NULL	NULL	NULL	NULL	1	
1	SIMPLE	t1	ALL	NULL	NULL	NULL	NULL	4	Using where
drop table t1, t2;
create table t1(a int not null, t char(8), index(a));



 Comments   
Comment by Elena Stepanova [ 2021-01-25 ]

There was a general problem with centos5 builder back when it was coming close to EOL. After we started running CentOS 5 bintar on CentOS 6 VM, the failures disappeared.

Generated at Thu Feb 08 07:52:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.