-
Bug
-
Resolution: Won't Fix
-
Blocker
-
jenkins 2.25 / ubuntu 12.04/ pyenv plugin 0.0.7
My jobs run on slave node with ubuntu 12.04.
pyenv.git is set to : https://github.com/yyuu/pyenv-plugin.git
PYENV_ROOT is set to: $HOME/.pyenv
lock timeout sometimes raise when more than one jobs run at the same time.
...
$ bash -c "mkdir \$HOME/.pyenv.lock"
$ bash -c "mkdir \$HOME/.pyenv.lock"
$ bash -c "mkdir \$HOME/.pyenv.lock"
$ bash -c "mkdir \$HOME/.pyenv.lock"
$ bash -c "mkdir \$HOME/.pyenv.lock"
$ bash -c "mkdir \$HOME/.pyenv.lock"
$ bash -c "rm -rf \$HOME/.pyenv.lock"
FATAL: (LockError) could not acquire lock in 1000 seconds.
org.jruby.exceptions.RaiseException: (LockError) could not acquire lock in 1000 seconds.
at RUBY.acquire_lock(/var/lib/jenkins/plugins/pyenv/WEB-INF/classes/lib/pyenv/semaphore.rb:31)
at RUBY.synchronize(/var/lib/jenkins/plugins/pyenv/WEB-INF/classes/lib/pyenv/semaphore.rb:14)
at RUBY.setup!(/var/lib/jenkins/plugins/pyenv/WEB-INF/classes/lib/pyenv.rb:24)
at RUBY.setup(/var/lib/jenkins/plugins/pyenv/WEB-INF/classes/models/pyenv_wrapper.rb:57)
at RUBY.setUp(/var/lib/jenkins/plugins/pyenv/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/model/environment_proxy.rb:8)