Gerrit 3.6.1 - strange stuck process via internal hook

53 views
Skip to first unread message

Guy Levkowitz

unread,
Jul 19, 2022, 9:55:04 AM7/19/22
to Repo and Gerrit Discussion
Hi 
we have internal hook that check some DB connection and lock on branch 
before the upgrade form gerrit 3.2.3 all works fine, now after upgrade we see that it get stuck almost every push (as our hook is on push)

I have added the :
ssh -p 29418 git@perkins-stg gerrit logging set-level DEBUG com.googlesource.gerrit.plugins.hooks


And when looking at the log i can see
also the process is stuck , if i will not kill the process - the WEBUIget stuck when try to add reviewer 

also from this point that it get stuck running this command which is also in the hook it get stuck (just with the user we run the gerrit process, with anther user the command works fine) :
ssh -p 29418 localhost gerrit query --format=JSON owner:guylevk project:alexeyp_test limit:2

So you have any suggestion what can it be 



BR

Guy

Stuck_proccess_on_the_hook.jpg
gerrit_push_stuck_alexeyp_git_testing.txt
Reply all
Reply to author
Forward
0 new messages