Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 380986 - Hudson Gerrit Trigger not reporting back to Gerrit
Summary: Hudson Gerrit Trigger not reporting back to Gerrit
Status: RESOLVED WORKSFORME
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Gerrit (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 382569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-30 01:58 EDT by Marcel Bruch CLA
Modified: 2012-11-08 17:36 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bruch CLA 2012-05-30 01:58:48 EDT
Our hudson build job recommenders.gerrit on sandbox gets called on each commit but does not report back the results to gerrit anymore. I'm not aware of any changes we may have made. Any idea what may go wrong?
Comment 1 Eclipse Webmaster CLA 2012-05-31 10:27:00 EDT
The Gerrit plugin fell over and the sandbox had to be restarted.  Are you still seeing this?

-M.
Comment 2 Marcel Bruch CLA 2012-05-31 13:24:54 EDT
it's still not reporting to gerrit.

change: https://git.eclipse.org/r/#/c/6201/
build: https://hudson.eclipse.org/sandbox/job/recommenders.gerrit/38/console
Comment 3 Steffen Pingel CLA 2012-06-04 08:43:24 EDT
I'm also seeing this for Mylyn build jobs.
Comment 4 Matthias Sohn CLA 2012-06-04 08:47:45 EDT
also Hudson doesn't vote anymore for jgit and egit
Comment 5 Eclipse Webmaster CLA 2012-06-04 14:04:09 EDT
Well from the Gerrit plugin admin panel the 'test connection' button returns 'Success'. 

However I noticed this on the main manage hudson page:

The Gerrit-trigger send commands queue contains 257 items!
Something might be stuck, or your system can't process the commands fast enough. Try to increase the number of sending worker threads on the Gerrit configuration page.

I've turned up the number of threads, and restarted the plugin to see if it clears out the queue. After 20 minutes it's reporting only 25 items in the queue.

I don't see anything in Hudsons log or the Gerrit error log that indicates a specific error.

I can use the Hudson users Gerrit credentials to login to Gerrit via the command line.

The only other recent change I can think of, was granting the 'manual' trigger permission to Matthias.

-M.
Comment 6 Steffen Pingel CLA 2012-06-04 16:23:32 EDT
I started getting comments about completed builds on a number of Mylyn reviews but not for new builds that were triggered.
Comment 7 Eclipse Webmaster CLA 2012-06-05 10:02:36 EDT
The queue had filled to 83 items and the plugin was failing to restart, so I restarted the entire sandbox instance.

-M.
Comment 8 Marcel Bruch CLA 2012-06-16 02:31:20 EDT
The issue is back. Gerrit trigger gets executed but does not report back.
Comment 9 Eclipse Webmaster CLA 2012-06-18 14:54:20 EDT
*** Bug 382569 has been marked as a duplicate of this bug. ***
Comment 10 Eclipse Webmaster CLA 2012-06-18 15:00:42 EDT
The manage Hudson page was reporting 226 items in the queue.  I checked the
connection(it reported success) but the queue didn't seem to be moving.

Just before I restarted the sandbox I noted that there seemed to be a 'stuck'
Hudson job from the 29th of May. 

The queue is presently 'empty'.

-M
Comment 11 Marcel Bruch CLA 2012-06-25 02:47:56 EDT
One hour ago, Hudson reported to start the build for a second change-set but didn't report back the build's result. I guess Gerrit Trigger is taking holidays again?
Comment 12 Eclipse Webmaster CLA 2012-06-25 15:58:59 EDT
I don't see any errors in the logs, but I restarted the sandbox just in case.

-M.
Comment 13 Matthias Sohn CLA 2012-11-08 17:36:59 EST
this works for jgit and egit, I think we can close this