scala / scala-jenkins-infra

A Chef cookbook that manages Scala's CI infrastructure.
https://scala-ci.typesafe.com
Apache License 2.0
14 stars 17 forks source link

Windows jobs intermittently freeze at `git clean` stage #143

Closed SethTisue closed 7 years ago

SethTisue commented 8 years ago

and have to be manually aborted

see e.g. https://scala-ci.typesafe.com/job/scala-2.11.x-release-package-windows/286/console

or https://scala-ci.typesafe.com/job/scala-2.12.x-release-package-windows/146/console

adriaanm commented 8 years ago

In principle, this was fixed by #132, but somehow the git config command did not result in a core.longpaths=true in gitconfig. For now, I manually ssh'ed and set the config option for both --global and --local (as user jenkins)

adriaanm commented 8 years ago

TODO: why does the chef solution not work?

bash 'git config' do
  interpreter cygbash
  # without longpaths enabled we have:
  # - known problems with `git clean -fdx` failing
  # - suspected problems with intermittent build failures due to
  #   very long paths to some classfiles
  code "git config --global core.longpaths true"
end
SethTisue commented 7 years ago

I haven't seen this in months, optimistically closing