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

main.udf fails on Ubuntu Bionic on Travis-CI

Details

    Description

      From https://travis-ci.org/github/ottok/mariadb/jobs/663987331

      main.udf                                 w1 [ fail ]
              Test ended at 2020-03-18 15:56:11
      CURRENT_TEST: main.udf
      --- /home/travis/build/ottok/mariadb/mysql-test/main/udf.result	2020-03-18 15:30:33.031262216 +0000
      +++ /home/travis/build/ottok/mariadb/mysql-test/main/udf.reject	2020-03-18 15:56:11.234936942 +0000
      @@ -32,7 +32,7 @@
       ERROR HY000: Can't initialize function 'lookup'; Wrong arguments to lookup;  Use the source
       select lookup("localhost");
       lookup("localhost")
      -127.0.0.1
      +127.0.1.1
       select reverse_lookup();
       ERROR HY000: Can't initialize function 'reverse_lookup'; Wrong number of arguments to reverse_lookup;  Use the source
       select reverse_lookup("127.0.0.1");
      mysqltest: Result content mismatch
      

      Seems the Travis-CI builders occasionally have 127.0.1.1 as localhost, which is a valid value. Do we want the test to allow that value as well?

      Attachments

        Activity

          I did some more testing and can confirm, that the test suite 'main' fails on Ubuntu Bionic with this error no matter if using gcc-5, 6, 7, 8 or 9. So it is not a GCC specific issue

          Also clang builds on Bionic fail with this same error, e.g. https://travis-ci.org/github/ottok/mariadb/jobs/664165657

          Maybe it is related to some build dependency that interacts with main.udf?

          otto Otto Kekäläinen added a comment - I did some more testing and can confirm, that the test suite 'main' fails on Ubuntu Bionic with this error no matter if using gcc-5, 6, 7, 8 or 9. So it is not a GCC specific issue Also clang builds on Bionic fail with this same error, e.g. https://travis-ci.org/github/ottok/mariadb/jobs/664165657 Maybe it is related to some build dependency that interacts with main.udf?
          elenst Elena Stepanova added a comment - - edited

          Looks like specifics of network configuration, is it not?
          Probably the possibility needs to be taken into account in the test.

          elenst Elena Stepanova added a comment - - edited Looks like specifics of network configuration, is it not? Probably the possibility needs to be taken into account in the test.
          otto Otto Kekäläinen added a comment - - edited

          I disabled this temporarily in https://github.com/MariaDB/server/commit/a135f0ab88d63b9a8976d6b3010f27766c38873d, otherwise all other QA work would be stalled. Please re-enable it once this issue has been solved.

          otto Otto Kekäläinen added a comment - - edited I disabled this temporarily in https://github.com/MariaDB/server/commit/a135f0ab88d63b9a8976d6b3010f27766c38873d , otherwise all other QA work would be stalled. Please re-enable it once this issue has been solved.
          otto Otto Kekäläinen added a comment - - edited

          Current 10.5 head on Travis-CI is failing occasionally on this issue. Seems disabling the test in a135f0ab88d63b9a8976d6b3010f27766c38873d did affect only Debian builds, not MTR in general?

          This also shows up as failing CI results in pull requests:

          sanja Do you have any estimate when you could look into this?

          otto Otto Kekäläinen added a comment - - edited Current 10.5 head on Travis-CI is failing occasionally on this issue. Seems disabling the test in a135f0ab88d63b9a8976d6b3010f27766c38873d did affect only Debian builds, not MTR in general? This also shows up as failing CI results in pull requests: sanja Do you have any estimate when you could look into this?
          danblack Daniel Black added a comment - trivial fixes: https://github.com/MariaDB/server/pull/1543 (10.1) https://github.com/MariaDB/server/pull/1542 (10.5)

          I merged danblack’s fix to 10.1 and will merge it up.

          marko Marko Mäkelä added a comment - I merged danblack ’s fix to 10.1 and will merge it up.

          People

            marko Marko Mäkelä
            otto Otto Kekäläinen
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.