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

main.failed_auth_unixsocket fails on arm

    XMLWordPrintable

Details

    Description

      While importing MariaDB 10.5 to Debian, I noticed that the test main.failed_auth_unixsocket fails on arch armhf and 386 (but arm64 or amd64) when the Debian autopkgtests run.

      The test failure:

      main.failed_auth_unixsocket              w4 [ fail ]
              Test ended at 2020-10-09 20:55:21
       
      CURRENT_TEST: main.failed_auth_unixsocket
      mysqltest: At line 18: query 'connect  fail,localhost,$USER' failed with wrong errno 1045: 'Access denied for user 'debci'@'localhost' (using password: NO)', instead of 1698...
       
      The result from queries just before the failure was:
      update mysql.global_priv set priv=json_insert(priv, '$.plugin', 'unix_socket')  where user='root';
      flush privileges;
      connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
      

      Full logs:

      This did not occur with previous MariaDB 10.3 in Debian.

      What are Debian autopkgtests?

      See https://wiki.debian.org/ContinuousIntegration/autopkgtest

      Debian has this massive CI system where each upload of a package triggers CI testing of other packages that depend on it: https://ci.debian.net/status/

      The tests mariadb-10.5 runs are in the path debian/tests.

      In MariaDB 10.5 we run mtr from the debian/tests/upstream test to re-use the existing test suite. Why this seems to end differently on debci from when run in post-build armhf and i386 builds is unknown.

      On Debian buildd post-build mtr passes on main.failed_auth_unixsocket fine, e.g.

      Debci regressions are also automatically listed on the package tracker page and prevents unstable->testing migration:

      https://tracker.debian.org/pkg/mariadb-10.5

      Potential solutions

      Maybe the error code 1045 is just fine and test can be extended to accept it?

      Or we can in Debian skip this one test in the autopkgtests to ignore it.

      Previous work

      The test ./mysql-test/main/failed_auth_unixsocket.* has been touched in the past by sanja and serg

      Attachments

        Activity

          People

            serg Sergei Golubchik
            otto Otto Kekäläinen
            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.