-
Bug
-
Resolution: Unresolved
-
Major
-
None
Gerrit 2.7 introduced stream-events capability. If it is not set for Non-Interactive Users (or whatever group the jenkins user belongs to), gerrit-trigger fails on readLine() and enters an infinite loop (connect, fails to read, disconnect).
Instead, it should stop trying and inform the user.
Thanks, giving the stream-events permission on All-Projects to the jenkins user group solved the issue for me.
As a side note, the infinite loop with gerrit-trigger trying to connect to gerrit, in my case would eventually end in a PermGen space OutOfMemoryException after about 10 minutes.