Os: android environment fails to access github.com

Starting about a week ago our os: android builds started failing with this error: fatal: unable to access 'https://github.com/mavlink/qgroundcontrol.git/': Could not resolve host: github.com. The github portion of our .travis.yml file is common to the entire matrix. Our other environment builds continue to work fine using the same .yml. The .travis.yml file itself has not changed during that timeframe.

Not sure how to fix this. At this point our android builds are at 100% failure rate.

An example error is here: https://travis-ci.org/mavlink/qgroundcontrol/jobs/574225809

Sorry for the troubles.

First, os: android isn’t something we support. We only support language: android.

Next, could you try to add travis_retry to your failing command to see if it helps? This will effectively retry a command up to 3 times if it fails.

Yeah I finally realized that. Not sure where that came from. It’s been there for years. It only started causing things to screw up recently. Removing it fixed the problem. Thanks so much.

1 Like

Thanks for confirming. It’s possible the some backend change triggered this new behaviour with os: android but I couldn’t track it down. Sorry for the inconvenience.