Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-763

Travis CI builds are suddenly failing with a weird error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None

    Description

      While having a closer look at the build failures of https://github.com/apache/fineract/pull/582, I noticed that the first time, in Build #162, it seems to have failed in the license test build step just due to `Could not GET 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar'. Received status code 504 from server: Gateway Time-out` - but had clearly managed to do the initial build steps which set the password of the root user for the test database.

      The second time (after I added the amended README to this PR), in Build #167 it fails early when it tries to set the mysql password like this:

      $ echo "USE mysql;\nUPDATE user SET password=PASSWORD('mysql') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
      PAGER set to stdout
      ERROR 1054 (42S22) at line 1: Unknown column 'password' in 'field list'
      The command "echo "USE mysql;
      UPDATE user SET password=PASSWORD('mysql') WHERE user='root';
      FLUSH PRIVILEGES;
      " | mysql -u root" failed and exited with 1 during .
      Your build has been stopped.
      

      What's noteworthy is that Build #162 ran with Build dist: trusty whereas Build #167 ran under Build dist: xenial ...

      ... this must be related to https://changelog.travis-ci.com/xenial-as-the-default-build-environment-99476

      Attachments

        Issue Links

          Activity

            People

              vorburger Michael Vorburger
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m