Windows Instances Hanging Before Install


#21

@BanzaiMan Is there a tracking topic or issue related to your previous comment: Windows Instances Hanging Before Install ?

This is also affecting many of our Windows’ auto-deployment builds. We have some access tokens that are required for deployments, and the Windows builds are failing whenever we add secrets to the builds.


#22

Can confirm my builds fail as well when adding secret environment variables. It’s not an option for me to remove these as my secrets are needed to deploy out to npm and github.

https://travis-ci.com/jongear/minidrone/jobs/171467413


#23

I’m also curious about this, since all jobs fail on Windows when the build contains an encrypted setting with https://codecov.io token.


#24

Any encrypted settings for the project in the Travis CI UI or env: global: - secure: cause Windows jobs to hang. For example, this job got in about 19 lines and then on the first command in before_install it just hangs. No error message, nothing. When I removed the env: global: - secure: and project Environment Variables, it would proceed.


#25

Looks like the same issue as Choco install hangs forever.

It has been suggested in that thread that adding filter_secrets: false can fix the issue. However, doing that seems quite dangerous when bad actors only need to submit a PR containing an env call to see all your secrets.

This issue is probably related to differences in Bash (4.3.48(1)) vs. Windows Bash (4.4.19(2)-release) and the secrets filtering not being compatible with Windows. Maybe somewhere in here: https://github.com/travis-ci/travis-build/tree/master/public/filter ??


#26

When it try to install nvs will pick a wrong version
https://travis-ci.org/Paxa/postbird/jobs/485958838

$ nvs add 11
Downloading bootstrap node from https://nodejs.org/dist/v10.12.0/node-v10.12.0-win-x64.7z

Last succesful build I had on January 18th: (still different version but build worked well)

$ nvs add 11
Downloading bootstrap node from https://nodejs.org/dist/v10.12.0/node-v10.12.0-win-x64.7z

#27

I don’t think so. That’s nvs bootstrapping to install Node.js 11. Your build hangs for the same reason as the others have seen.


#28

right, sorry. I removed global -> secure and it works now