Worker information
hostname: fc0d617b-ff8d-4b9b-a926-e9a048937681@1.worker-com-77564c74fb-j7trz.gce-production-2
version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
instance: travis-job-fd9f8db0-9e66-470e-b01c-9bd1328266b1 travis-ci-sardonyx-xenial-1593004276-4d46c6b3 (via amqp)
startup: 6.423674619s
/home/travis/.travis/job_stages: line 13: unexpected EOF while looking for matching `)'
/home/travis/.travis/job_stages: line 1075: syntax error: unexpected end of file
travis_run_setup_filter: command not found
...
travis_run_finish: command not found
Done. Your build exited with 86.
I’m getting the same error with an almost empty .travis.yml:
Yeah our builds also started failing on Saturday. The earliest I see is a cron build on Saturday night Pacific Time but it could be that the builds have been broken earlier than that.
/home/travis/.travis/job_stages: line 531: syntax error near unexpected token `}'
/home/travis/.travis/job_stages: line 531: `}'
travis_run_setup_filter: command not found
travis_run_configure: command not found
travis_run_prepare: command not found
travis_run_disable_sudo: command not found
travis_run_checkout: command not found
travis_run_export: command not found
travis_run_setup: command not found
travis_run_setup_casher: command not found
travis_run_setup_cache: command not found
travis_run_use_workspaces: command not found
travis_run_announce: command not found
travis_run_debug: command not found
travis_run_before_install: command not found
travis_run_install: command not found
travis_run_before_script: command not found
travis_run_script: command not found
travis_run_before_cache: command not found
travis_run_create_workspaces: command not found
travis_run_cache: command not found
travis_run_after_success: command not found
travis_run_after_failure: command not found
travis_run_after_script: command not found
travis_run_finish: command not found
I’ve reported this to “Travis-CI Support” (support@travis-ci.com) but other than the automated email confirmation there’s been no response yet. Also no reaction to tweets to @traviscistatus and @travisci.
We came across the same problem and found a workaround.
We have encrypted environment variables configured in .travis.yml and some of them contain punctuations like {}:"/ in their values. (I’m not sure which one is precisely problematic)
Removing the environment variables fixed the problem.
I’m not sure if it applies to all cases but I hope it’s useful.
Deleting the environment variable which contains '{"envs":[{"name":"ve... does avoid this error. A work-around of base64 encoding the environment variable and decoding it in the deploy script seems to work:
Using the Travis CLI to set environment variables with the travis env set myVar myValue command is just an alternative to using the GUI to do the same.