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

Test spider/bugfix.wait_timeout occasionally fails with result difference

    XMLWordPrintable

Details

    Description

      Note: I do not normally compile or test Spider. This time I did, on 10.4. The test failed in a 32-bit RelWithDebInfo build. It turns out that the test is nondeterministic, because I also got it to fail on a 64-bit Debug build, with enough retries:

      ./mtr --parallel=auto --repeat=100 spider/bugfix.wait_timeout{,,,,,,,,,,,}
      

      Here are two sample failures:

      CURRENT_TEST: spider/bugfix.wait_timeout
      --- /mariadb/10.4/storage/spider/mysql-test/spider/bugfix/r/wait_timeout.result	2020-02-05 20:09:57.718285062 +0200
      +++ /mariadb/10.4/storage/spider/mysql-test/spider/bugfix/r/wait_timeout.reject	2020-03-30 15:02:30.323127167 +0300
      @@ -87,6 +87,21 @@
       25
       27
       29
      +31
      +33
      +35
      +37
      +39
      +41
      +43
      +45
      +47
      +49
      +51
      +53
      +55
      +57
      +59
       connection child2_2;
       SELECT pkey FROM tbl_a ORDER BY pkey;
       pkey
      @@ -105,6 +120,21 @@
       24
       26
       28
      +30
      +32
      +34
      +36
      +38
      +40
      +42
      +44
      +46
      +48
      +50
      +52
      +54
      +56
      +58
       connection master_1;
       
       deinit
      

      and from the 64-bit Debug build:

      spider/bugfix.wait_timeout               w3 [ 3 fail ]
              Test ended at 2020-03-30 15:04:30
       
      CURRENT_TEST: spider/bugfix.wait_timeout
      --- /mariadb/10.4/storage/spider/mysql-test/spider/bugfix/r/wait_timeout.result2020-02-05 20:09:57.718285062 +0200
      +++ /mariadb/10.4/storage/spider/mysql-test/spider/bugfix/r/wait_timeout.reject2020-03-30 15:04:29.948555836 +0300
      @@ -105,6 +105,21 @@
       24
       26
       28
      +30
      +32
      +34
      +36
      +38
      +40
      +42
      +44
      +46
      +48
      +50
      +52
      +54
      +56
      +58
       connection master_1;
       
       deinit
       
      mysqltest: Result length mismatch
      

      Please try to fix this in the earliest applicable version. I did not check any other source code revisions than 10.4e2f1f88fa60680cb87833a7cceb172f5d436a804 .

      Attachments

        Issue Links

          Activity

            People

              nayuta-yanagisawa Nayuta Yanagisawa (Inactive)
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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