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

main.failed_auth_unixsocket fails on arm




      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;

      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:


      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




            serg Sergei Golubchik
            otto Otto Kekäläinen
            0 Vote for this issue
            6 Start watching this issue



              Git Integration

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