Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31439

Not connecting to Gerrit events-log plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gerrit-trigger-plugin
    • None
    • Jenkins 1.636
      gerrit-trigger-plugin 2.17.2
      Gerrit 2.11.4

      Hi.
      I have configured gerrit-trigger-plugin, Gerrit and events-log plugin. Rest_API is working, events-log plugin is also accessible (INFO: Gerrit Plugin events-log is installed) but there is no connection to events-log archive (checked also with Wireshark). In the LOG there is no "connectionEstablished" from GerritMissedEventsPlaybackManager. When I remove the events-log plugin there IS "connectionEstablished" from GerritMissedEventsPlaybackManager in the LOG reporting WARNING: Playback of missed events not supported for server dev.local - gerrit!

      On server configuration page there is only warning about not supported "Project created events" which will be available in next release 2.12.
      "Gerrit version is a bit old, so not all Gerrit features are enabled. The following features have been disabled: Project created events requires 2.12"

      -------------------------------------
      LOG with events-log enabled
      -------------------------------------
      Nov 06, 2015 8:26:12 PM com.sonymobile.tools.gerrit.gerritevents.GerritConnection run
      INFO: Starting Up dev.local - gerrit
      Nov 06, 2015 8:26:13 PM com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker decodeStatus
      INFO: Gerrit Plugin events-log is installed
      Nov 06, 2015 8:26:13 PM com.sonymobile.tools.gerrit.gerritevents.GerritConnection run
      INFO: Ready to receive data from Gerrit: dev.local - gerrit

      -------------------------------------
      LOG with events-log disabled
      -------------------------------------
      Nov 06, 2015 8:57:58 PM com.sonymobile.tools.gerrit.gerritevents.GerritConnection run
      INFO: Starting Up dev.local - gerrit
      Nov 06, 2015 8:57:59 PM com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker decodeStatus
      INFO: Gerrit Plugin events-log is NOT installed
      Nov 06, 2015 8:57:59 PM com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager connectionEstablished
      WARNING: Playback of missed events not supported for server dev.local - gerrit!

      Nov 06, 2015 8:57:59 PM com.sonymobile.tools.gerrit.gerritevents.GerritConnection run
      INFO: Ready to receive data from Gerrit: dev.local - gerrit

            scoheb Scott Hebert
            engy Jiří Engelthaler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: