run tokudb --big-tests in buildbot (MDEV-10707)

[MDEV-10708] tokudb test tokudb_parts.partition_alter4_tokudb times out Created: 2016-08-31  Updated: 2016-09-06  Resolved: 2016-09-06

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - TokuDB
Affects Version/s: 10.2.2
Fix Version/s: 10.2.2

Type: Technical task Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: contribution, patch
Environment:

gcc --version
gcc (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)

Fedora 24 x86_64



 Description   

$ (cd mysql-test; ./mtr --record tokudb_parts.partition_alter4_tokudb )
Logging: /home/dan/repos/mariadb-server/mysql-test/mysql-test-run.pl  --record tokudb_parts.partition_alter4_tokudb
vardir: /home/dan/repos/build-mariadb-server-10.2/mysql-test/var
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/dan/repos/build-mariadb-server-10.2/mysql-test/var'...
Checking supported features...
MariaDB Version 10.2.2-MariaDB
 - SSL connections supported
Collecting tests...
Installing system database...
 
==============================================================================
 
TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------
 
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
worker[1] Trying to dump core for [mysqltest - pid: 11970, winpid: 11970]
worker[1] Trying to dump core for [mysqld.1 - pid: 11942, winpid: 11942]
tokudb_parts.partition_alter4_tokudb     [ fail ]  timeout after 900 seconds
        Test ended at 2016-08-31 15:31:25
 
Test case timeout after 900 seconds
 
== /home/dan/repos/build-mariadb-server-10.2/mysql-test/var/log/partition_alter4_tokudb.log ==
# check layout success:    1
TRUNCATE t1;
 
# check TRUNCATE success:       1
# check layout success:    1
# End usability test (inc/partition_check.inc)
DROP TABLE t1;
CREATE TABLE t1 (
f_int1 INTEGER DEFAULT 0,
f_int2 INTEGER DEFAULT 0,
f_char1 CHAR(20),
f_char2 CHAR(20),
f_charbig VARCHAR(1000)
 
)
PARTITION BY RANGE(f_int1 DIV 2) SUBPARTITION BY HASH(f_int1) SUBPARTITIONS 2
(PARTITION part_1 VALUES LESS THAN (0),
PARTITION part_2 VALUES LESS THAN (5),
PARTITION part_3 VALUES LESS THAN (10),
PARTITION part_4 VALUES LESS THAN (2147483646));
 
 == /home/dan/repos/build-mariadb-server-10.2/mysql-test/var/tmp/analyze-timeout-mysqld.1.err ==
mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/home/dan/repos/build-mariadb-server-10.2/mysql-test/var/tmp/mysqld.1.sock' (111 "Connection refused")
 
 
 - saving '/home/dan/repos/build-mariadb-server-10.2/mysql-test/var/log/tokudb_parts.partition_alter4_tokudb/' to '/home/dan/repos/build-mariadb-server-10.2/mysql-test/var/log/tokudb_parts.partition_alter4_tokudb/'
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 0.000 of 956 seconds executing testcases
 
Failure: Failed 1/1 tests, 0.00% were successful.
 
Failing test(s): tokudb_parts.partition_alter4_tokudb



 Comments   
Comment by Elena Stepanova [ 2016-08-31 ]

The test was marked "big" for a reason, it takes ~2 hours on my machine, hence of course it times out after 900 seconds.

The result file indeed requires updating though.

Comment by Daniel Black [ 2016-09-01 ]

Ah, see what you mean:

$ export MTR_TESTCASE_TIMEOUT=150
$ (cd mysql-test; ./mtr --record tokudb_parts.partition_alter4_tokudb )
Logging: /home/dan/repos/mariadb-server/mysql-test/mysql-test-run.pl  --record tokudb_parts.partition_alter4_tokudb
vardir: /home/dan/repos/build-mariadb-server-10.2/mysql-test/var
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/dan/repos/build-mariadb-server-10.2/mysql-test/var'...
Checking supported features...
MariaDB Version 10.2.2-MariaDB
 - SSL connections supported
Collecting tests...
Installing system database...
 
==============================================================================
 
TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------
 
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
tokudb_parts.partition_alter4_tokudb     [ pass ]  1080459
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 1080.459 of 1086 seconds executing testcases
 
Completed: All 1 tests were successful.

quick disable if the test suite timeout is <20mins https://github.com/MariaDB/server/pull/228

Comment by Elena Stepanova [ 2016-09-06 ]

PR 228 is closed.

PR 229 merged into 10.2: https://github.com/MariaDB/server/commit/5e20c61fcc85ac8b7347c74e5d2b8c7685c0fa0a

But since the commit comment references MDEV-10707, I'm converting this issue into a subtask of MDEV-10707.

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