[MDEV-23013] encryption.create_or_replace fails with timeout Created: 2020-06-25  Updated: 2020-08-04  Resolved: 2020-08-04

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

Type: Bug Priority: Major
Reporter: Chris Ross Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Linux docker



 Description   

I have built MariaDB 10.4.13 with a few cmake options, mostly turning off features I don't need. I built with -DCMAKE_BUILD_TYPE=Debug so that I would be able to run tests.

When I run ./mtr --big-test, it eventually fails encryption.create_or_replace showing:

encryption.create_or_replace 'cbc,innodb' [ fail ]  timeout after 900 seconds   
        Test ended at 2020-06-24 22:07:33                                       
                                                                                
Test case timeout after 900 seconds                                             
                                                                                

And the end of the var/log/create_or_replace.log shows merely:

INSERT IGNORE INTO `table10_int_autoinc` ( `col_int` ) VALUES ( 6 ), ( 2 ), ( 3 ), ( 6 );
connect  con1,localhost,root,,test;
connect  con2,localhost,root,,test;

and near the end of var/log/mysqld.1.err I see:

2020-06-24 22:06:41 10 [Warning] Aborted connection 10 to db: 'test' user: 'root' host: 'localhost' (Got an error reading communication packets)
200624 22:06:41 [ERROR] mysqld got signal 6 ;

The initial crash output included

 == /data/mariadb-10.4.13/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 '/tmp/rEnzhVEafA/mysqld.1.sock' (111)
                                                                                
                                                                                
 - found 'core.mysqltest.12155.847221b2ecd8.1593036401', moving it to '/data/mariadb-10.4.13/mysql-test/var/log/encryption.create_or_replace-cbc,innodb'                                        
 - found 'core.mysqltest.12155.847221b2ecd8.1593036401' (0/5)                   

but I cannot find the var/tmp/analyze-timeout-mysqld.1.err file anymore to ensure that was from this same test run.

This issue has been repeatable, but I'm not sure where to look next. I could certainly believe that something in my environment isn't configured right for these tests. Just let me know what to check/change. Thank you.



 Comments   
Comment by Chris Ross [ 2020-06-26 ]

Upon transferring the built objects and test system to the intended platform, rather than running tests in the docker build environment, this test doesn't fail any longer.

This issue can be closed. Thank you.

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