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

mysql-test still being referenced, while not present after change to mariadb-test

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11, 11.1(EOL), 11.2(EOL), 11.4, 11.5(EOL), 11.6(EOL)
    • 10.11, 11.4
    • Tests

    Description

      At some point mysql-test was renamed to mariadb-test. There is no longer a mysql-test directory, except in the source.

      However, when MTR is executed using strace:

      sudo apt install strace
      cd /${your_basedir}/mariadb-test
      mariadb-test$ touch main/test.test
      mariadb-test$ strace ./mtr test 2>&1 | grep '/mysql-test' | more
      

      We can see it making numerous attempts (450+) to access resources in the non-existing mysql-test directory:

      11.1.6 88711ee50906b8e2d793ad9b10cd1139f122ec11 (Optimized)

      mariadb-test$ strace ./mtr test 2>&1 | grep '/mysql-test' | more
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/archive", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT
       (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Release/archive", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLOW) = -
      1 ENOENT (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Relwithdebinfo/archive", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLL
      OW) = -1 ENOENT (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Debug/archive", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLOW) = -1 
      ENOENT (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/archive", 0x5576d36924b8, 0) = -1 ENOENT (No such file or 
      directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Release/archive", 0x5576d36924b8, 0) = -1 ENOENT (No such 
      file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Relwithdebinfo/archive", 0x5576d36924b8, 0) = -1 ENOENT (N
      o such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Debug/archive", 0x5576d36924b8, 0) = -1 ENOENT (No such fi
      le or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/atomic", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT 
      (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Release/atomic", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLOW) = -1
       ENOENT (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Relwithdebinfo/atomic", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLO
      W) = -1 ENOENT (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Debug/atomic", 0x7fff6d2bd4e0, AT_SYMLINK_NOFOLLOW) = -1 E
      NOENT (No such file or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/atomic", 0x5576d36924b8, 0) = -1 ENOENT (No such file or d
      irectory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Release/atomic", 0x5576d36924b8, 0) = -1 ENOENT (No such f
      ile or directory)
      newfstatat(AT_FDCWD, "/test/MD200724-mariadb-11.1.6-linux-x86_64-opt/mysql-test/suite/Relwithdebinfo/atomic", 0x5576d36924b8, 0) = -1 ENOENT (No
       such file or directory)
      ... continued output ...
      

      Attachments

        Activity

          People

            rucha174 Rucha Deodhar
            Roel Roel Van de Paar
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.