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

MTR tests fail with PS protocol on ASAN builds

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3, 11.4
    • 10.4, 10.5, 10.6, 10.11, 11.1, 11.2
    • Prepared Statements, Tests

    Description

      A number of tests from the default set fail with ps-protocol on ASAN builds.
      The failure started happening after this commit in 10.4:

      commit 9e701518e7d0a541ba580b6a6afc9e9bcd522f23
      Author: Lena Startseva
      Date:   Fri Sep 15 17:48:03 2023 +0700
       
          MDEV-32177: Add to the ps-protocol a comparison of the result
      

      On 10.4 it fails "no output" error:

      10.4 613d0194979849fb5b3dd752f13b14672a2409e3

      main.connect                             [ fail ]
              Test ended at 2024-01-07 20:53:25
       
      CURRENT_TEST: main.connect
       
       
      mysqltest failed but provided no output
      The result from queries just before the failure was:
      < snip >
      NOT FOUND /This connection closed normally without authentication/ in mysqld.1.err
      # let tcp to detect disconnect
      select sleep(1);
      sleep(1)
      0
      SHOW GLOBAL STATUS LIKE 'Aborted_connects%';
      Variable_name	Value
      Aborted_connects	1
      Aborted_connects_preauth	1
      FOUND 1 /This connection closed normally without authentication/ in mysqld.1.err
      SET @save_connect_timeout= @@connect_timeout;
      SET GLOBAL connect_timeout=2;
      SHOW GLOBAL STATUS LIKE 'Aborted_connects%';
      Variable_name	Value
      Aborted_connects	2
      Aborted_connects_preauth	2
      FOUND 2 /This connection closed normally without authentication/ in mysqld.1.err
      SET GLOBAL log_warnings=default;
      SET GLOBAL connect_timeout= @save_connect_timeout;
      # End of 10.4 tests
      

      On 10.5+ they hang instead and eventually fail with a timeout.

      Attachments

        Activity

          People

            lstartseva Lena Startseva
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.