Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-19962

Galera test failure on MW-329

    XMLWordPrintable

    Details

      Description

      Note test case is badly written. We have a procedure running in a loop and "hopefully" concurrent updates in a loop.

      galera.MW-329 'innodb'                   w1 [ fail ]  timeout after 900 seconds
              Test ended at 2019-07-05 02:29:53
       
      Test case timeout after 900 seconds
       
      == /dev/shm/var/1/log/MW-329.log == 
      CALL mtr.add_suppression("WSREP: .*conflict state . after post commit .*");
      CREATE TABLE t1 (f1 INTEGER, f2 CHAR(20) DEFAULT 'abc') ENGINE=InnoDB;
      INSERT INTO t1 (f1) VALUES (1),(65535);
      FLUSH STATUS;
      SELECT VARIABLE_VALUE = 0 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_replays';
      VARIABLE_VALUE = 0
      1
      CREATE PROCEDURE proc_insert ()
      BEGIN
      DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
      SET SESSION wsrep_sync_wait = 0;
      WHILE 1 DO
      INSERT INTO t1 (f1) VALUES (FLOOR( 1 + RAND( ) * 65535 ));
      SELECT SLEEP(0.1);
      END WHILE;
      END|
      connect node_1b, 127.0.0.1, root, , test, $NODE_MYPORT_1;
      connection node_1b;
       
       == /dev/shm/var/1/tmp/analyze-timeout-mysqld.2.err ==
      mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/dev/shm/var/tmp/1/mysqld.2.sock' (111)
       
       == /dev/shm/var/1/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 '/dev/shm/var/tmp/1/mysqld.1.sock' (111)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              jplindst Jan Lindström
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: