geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build hangs intermittently when calling bash scripts

jason-hunt opened this issue · comments

I'm using node 8.1.4. The yarn build step times out when executing bash scripts. There is no other output, the line in the log is:

bash ./buildScripts/prebuild.sh

It runs for 60 minutes and times out. Occasionally, it will get through this one only to fail on a different bash script. Occasionally, it will build everything just fine in around 4 minutes. One of the bash scripts only has a call to echo some text. Even that one will hang.

I am able to use npm tasks instead of the yarn task to build my project, but I was hoping to use yarn instead. Any suggestions?

Using a Windows server build agent...

It's most likely the same problem as #17.
Can you try on a linux agent ?

I opened an issue on Yarn as it's a problem on their side when yarn is a child process : yarnpkg/yarn#4694

But no answers yet.

Also would you mind upgrading your node to the last LTS version ? 8.9.3