MacOS Build - An error occurred while generating the build script

I’m trying to get a macos instance running but I get the following error:

“An error occurred while generating the build script.”

https://travis-ci.org/github/Cavewhere/cavewhere/jobs/665248127

There’s no other error messages.

I’m new to setting up mac builds. I got it to build a couple times, but I’m not sure if it’s my configuration script or a problem with travis.

6 Likes

I have the same problem for a day or two on my project, too, see

https://travis-ci.org/github/JuliaManifolds/Manifolds.jl/jobs/665247596

and these ran fine for quite a long time (and thank to travis for that!).
So it might be a general problem.

2 Likes

It seems like fails when it’s trying to queue the job.

This error has appeared at least since 6 hours ago but https://www.traviscistatus.com/ indicates no problem. That status is lying.

Some other similar job failures on OSX had sometimes appeared in the last few days but they were recoverable. But the current error is not.

Confirming that the error happens intermittently – even for jobs of the same build that differ only in a single envvar from passing ones – and some config envvars are missing from the erroring jobs’ configurations.
So the problem is definitely in the processing infrastructure.

I’m seeing this as well:

https://travis-ci.org/github/GEOSwift/GEOSwift/builds/665071749

I’m experiencing the same problem:
https://travis-ci.com/github/martianplatypus/ansible-role-virtual-mac/builds/154419324

I’m also having the same problem.
Funny thing is that slightly shortening a certain if-condition of my .travis.yml file makes the macos build work successfully…

The only difference between the successful build and the failed build was as below.

  • My successful build:
if: branch = windows_ci_test OR type = pull_request OR type = cron
  • My failed build:
if: branch = windows_ci_test OR type = pull_request OR type = cron OR branch = auto OR branch = try

Same here.

https://travis-ci.org/github/kopia/kopia/jobs/665370415

Seeing this for both PRs and post-submits.

Same here https://travis-ci.org/github/ksnip/ksnip/jobs/665262196

Same here :confused: https://travis-ci.org/github/reposense/RepoSense/jobs/665421814

Same problem on our side: https://travis-ci.org/github/appleseedhq/appleseed/jobs/665314452

This happens consistently for us too: https://travis-ci.org/github/gfx-rs/gfx/jobs/665481144

Happening here too: https://travis-ci.com/github/fraction/oasis/jobs/300758198

Anyone have a workaround?

Yep “An error occurred while generating the build script.”
Occurs intermittently (but more often than not) on any builds generated by this chunk of .travis.yml https://github.com/ankidroid/Anki-Android/blob/master/.travis.yml#L57 / Anki-Android

Is there anyone we can tag in for escalation? @banzaiman perhaps - I just don’t know who to tag in order to know it has some attention for investigation

Sorry for the delay, everyone. We have identified the problem and working on mitigating an impact, as well as a fix.

We will be updating
https://www.traviscistatus.com/incidents/7mbxh26jk3sl

Thanks.

7 Likes

My tests seem to run again, Thanks for your awesome support!

1 Like

Works for me too, many thanks :slight_smile:

1 Like

Awesome! Works on my end. Thanks

1 Like

Our macOS builds work again, thank you!

1 Like