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

Tests main.mysql_client_test main.mysql_client_test_comp fail on Linux without DNS.

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11, 11.4, 11.8, 12.3
    • 10.11
    • Tests, MTR
    • None

    Description

      While importing latest MariaDB 11.8.9 I noticed that the tests main.mysql_client_test and main.mysql_client_test_comp are now failing when run in an environment with restricted network access (as in all secure build systems):

      ...
      main.mysql_client_test                   w4 [ fail ]
              Test ended at 2026-08-30 16:54:13
       
      CURRENT_TEST: main.mysql_client_test
      mysqltest: At line 29: exec of '/debcraft/source/builddir/tests/mariadb-client-test --defaults-file=/debcraft/source/builddir/mysql-test/var/4/my.cnf --testcase --vardir=/debcraft/source/builddir/mysql-test/var/4 --getopt-ll-test=25600M >> /debcraft/source/builddir/mysql-test/var/4/log/mysql_client_test.out.log 2>&1' failed, error: 256, status: 1, errno: 11
      Output from before failure:
      call mtr.add_suppression("Aborted connection .* host: 'santa.claus.ipv6.example.com'");
      ...
      ***Warnings generated in error logs during shutdown after running tests: main.mysql_client_test
       
      2026-08-30 16:54:13 56 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 57 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 60 [Warning] IP address '2001:db8:85a3::8a2e:370:7334' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 61 [Warning] IP address '2001:db8:85a3::8a2e:370:7334' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 64 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 65 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 72 [Warning] IP address '1.2.3.4' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 73 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 74 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 75 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:54:13 76 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      ...
      main.mysql_client_test_comp              w2 [ fail ]
              Test ended at 2026-08-30 16:56:26
       
      CURRENT_TEST: main.mysql_client_test_comp
      mysqltest: At line 16: exec of '/debcraft/source/builddir/tests/mariadb-client-test --defaults-file=/debcraft/source/builddir/mysql-test/var/2/my.cnf --testcase --vardir=/debcraft/source/builddir/mysql-test/var/2 --getopt-ll-test=25600M >> /debcraft/source/builddir/mysql-test/var/2/log/mysql_client_test_comp.out.log 2>&1' failed, error: 256, status: 1, errno: 11
      Output from before failure:
      call mtr.add_suppression(" IP address .* could not be resolved");
       
       
       
      The result from queries just before the failure was:
      SET @old_slow_query_log= @@global.slow_query_log;
      call mtr.add_suppression(" Error reading file './client_test_db/test_frm_bug.frm'");
      call mtr.add_suppression(" IP address .* could not be resolved");
       
       - skipping '/debcraft/source/builddir/mysql-test/var/2/log/main.mysql_client_test_comp/'
       
      Retrying test main.mysql_client_test_comp, attempt(2/3)...
       
      ***Warnings generated in error logs during shutdown after running tests: main.mysql_client_test_comp
       
      2026-08-30 16:55:51 0 [Warning] Plugin 'test_plugin_server' is of maturity level unknown while the server is stable
      2026-08-30 16:55:51 0 [Warning] Plugin 'cleartext_plugin_server' is of maturity level unknown while the server is stable
      2026-08-30 16:56:26 56 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 57 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 60 [Warning] IP address '2001:db8:85a3::8a2e:370:7334' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 61 [Warning] IP address '2001:db8:85a3::8a2e:370:7334' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 64 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 65 [Warning] IP address '192.0.2.1' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 72 [Warning] IP address '1.2.3.4' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 73 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 74 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 75 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      2026-08-30 16:56:26 76 [Warning] IP address '192.0.2.50' could not be resolved: Temporary failure in name resolution
      ...
       
      Completed: Failed 4/1178 tests, 99.66% were successful.
       
      Failing test(s): main.mysql_client_test main.mysql_client_test_comp
       
      The log files in var/log may give you some hint of what went wrong.
       
      If you want to report this error, MariaDB's bug tracker is found at
      https://jira.mariadb.org
       
      Errors/warnings were found in logfiles during server shutdown after running the
      following sequence(s) of tests:
          main.mysql_client_test
          main.mysql_client_test
          main.mysql_client_test_comp
          main.mysql_client_test_comp
      194 tests were skipped, 79 by the test itself.
       
      mysql-test-run: *** ERROR: there were failing test cases
      make[1]: *** [debian/rules:138: override_dh_auto_test] Error 1
      make[1]: Leaving directory '/debcraft/source'
      make: *** [debian/rules:253: binary] Error 2
      dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
      gbp:error: 'dpkg-buildpackage --post-clean --no-sign ' failed: it exited with 2
      

      This is likely a regression from the new commit in 11.8.9:

      commit fcd3f81e08daea471d371d3be051e6feabb06399
      Author: Vladislav Vaintroub <vvaintroub@gmail.com>
      Date:   Wed May 27 16:03:43 2026 +0200
       
          MDEV-37556 Memory leak in proxy protocol with name resolution enabled
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              otto Otto Kekäläinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 5h
                  5h

                  Git Integration

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