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

Integrate with Travis-CI for easier and more automatic QA

Details

    • 10.2.1-2, 10.1.17-1

    Description

      I simplified and refactored the original suggestion from Daniel Black regarding a .travis.yml file that enables the usage of the continous integration service by Travis, which is free for open source projects and easily available to anybody who wants to developd and work with the MariaDB server sources.

      This Travis-CI file is not intended to replace the buildbots currently used by MariaDB core developers, but rather to provide an extra facility for occasional contributors who don't have their own buildbot trees.

      Currently Travis-CI has a 50 minute limit on the build duration, so the tests are limited to the 'main' suite. Parallel Travis-CI jobs would be a way around that restriction, but it wastes resources, so I am working with Travis-CI dev to figure out another more effective solution.

      The Travis build also includes building the Debian packages, which will help spot packaging breakages early on.

      The code in this PR branch passes the test. Log visible at https://travis-ci.org/MariaDB/server/builds/92879843

      Attachments

        Activity

          Yes, please look into the build log if you can fix the failure?

          The point of Travis-CI is to spot regerssions and point out the exact commit (in any branch, anywhere) where the regression occured. That function is not fulfilled if the test is already broken. The page https://travis-ci.org/MariaDB/server should be all green when contributors start branching off the 10.2 branch to do their new feature/fix.

          Checkout https://travis-ci.org/MariaDB/mariadb-connector-j how it is all green. (Good work diego dupin!)

          otto Otto Kekäläinen added a comment - Yes, please look into the build log if you can fix the failure? The point of Travis-CI is to spot regerssions and point out the exact commit (in any branch, anywhere) where the regression occured. That function is not fulfilled if the test is already broken. The page https://travis-ci.org/MariaDB/server should be all green when contributors start branching off the 10.2 branch to do their new feature/fix. Checkout https://travis-ci.org/MariaDB/mariadb-connector-j how it is all green. (Good work diego dupin !)
          diego dupin Diego Dupin added a comment -

          Since dec. 15, there is no IPv6 support on Travis (one of the remaining error is because of that)

          diego dupin Diego Dupin added a comment - Since dec. 15, there is no IPv6 support on Travis (one of the remaining error is because of that)
          danblack Daniel Black added a comment -

          my bad. was expecting to see it in 10.0 / 10.1 however it was only merged in 10.2. no problem.

          danblack Daniel Black added a comment - my bad. was expecting to see it in 10.0 / 10.1 however it was only merged in 10.2. no problem.
          danblack Daniel Black added a comment -

          https://github.com/MariaDB/server/pull/223 contains the IPv6 fix.

          https://github.com/MariaDB/server/commit/3889b19f5414f689c8db98b81a19425629c98faa#diff-17368d0ec7d33cf4abea84c04d5be7b8 caused the IPv6 to return true if the sockaddr_in6 function existed.

          The reworked implementation does a full bind to the port as it is used in the tests.

          Test results of pull request, https://travis-ci.org/MariaDB/server/builds/157746279, shows IPv6 as being disabled on Travis.

          danblack Daniel Black added a comment - https://github.com/MariaDB/server/pull/223 contains the IPv6 fix. https://github.com/MariaDB/server/commit/3889b19f5414f689c8db98b81a19425629c98faa#diff-17368d0ec7d33cf4abea84c04d5be7b8 caused the IPv6 to return true if the sockaddr_in6 function existed. The reworked implementation does a full bind to the port as it is used in the tests. Test results of pull request, https://travis-ci.org/MariaDB/server/builds/157746279 , shows IPv6 as being disabled on Travis.

          IPV6 issue to be fixed by MDEV-10751

          svoj Sergey Vojtovich added a comment - IPV6 issue to be fixed by MDEV-10751

          People

            svoj Sergey Vojtovich
            svoj Sergey Vojtovich
            Votes:
            1 Vote for this issue
            Watchers:
            5 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.