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

Relentless log spam with GerritMissedEventsPlaybackEnabledChecker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: gerrit-trigger-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.89.2, gerrit-trigger-plugin 2.27.1
    • Similar Issues:

      Description

      We were not using the missed-events playback feature. Upon updating to 2.27.1 (from 2.26.2), I saw the log start filling up with this debugging stuff:
       

      Dec 18, 2017 8:07:06 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Started GerritMissedEventsPlaybackEnabledChecker
      Dec 18, 2017 8:07:06 PM com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker buildURL
      WARNING: REST API is not enabled.
      Dec 18, 2017 8:07:06 PM com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker isPluginEnabled
      WARNING: Not able to verify if Gerrit plugin events-log is installed. REST URL cannot be null. Is the REST API Enabled?
      Dec 18, 2017 8:07:06 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Finished GerritMissedEventsPlaybackEnabledChecker. 0 ms
      

      The above was repeated every 2 seconds. Thinking I could just enable the missed events feature to get rid of it, I did that, but I still got the following entries every 2 seconds:

      Dec 18, 2017 8:19:32 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Started GerritMissedEventsPlaybackEnabledChecker
      Dec 18, 2017 8:19:32 PM hudson.model.AsyncPeriodicWork$1 run
      INFO: Finished GerritMissedEventsPlaybackEnabledChecker. 4 ms
      

      We've rolled back to 2.26.2 for the time being.

        Attachments

          Issue Links

            Activity

            Show
            scoheb Scott Hebert added a comment - PR created https://github.com/jenkinsci/gerrit-trigger-plugin/pull/349
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Scott Hebert
            Path:
            src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/playback/GerritMissedEventsPlaybackEnabledChecker.java
            src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/utils/GerritPluginChecker.java
            http://jenkins-ci.org/commit/gerrit-trigger-plugin/5ce7de9169e83e0eba91423d206039daaa49054f
            Log:
            JENKINS-48622 reduce logging spam from GerritMissedEventsPlaybackEnabledChecker

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Scott Hebert Path: src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/playback/GerritMissedEventsPlaybackEnabledChecker.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/utils/GerritPluginChecker.java http://jenkins-ci.org/commit/gerrit-trigger-plugin/5ce7de9169e83e0eba91423d206039daaa49054f Log: JENKINS-48622 reduce logging spam from GerritMissedEventsPlaybackEnabledChecker
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Robert Sandell
            Path:
            src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/playback/GerritMissedEventsPlaybackEnabledChecker.java
            src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/utils/GerritPluginChecker.java
            http://jenkins-ci.org/commit/gerrit-trigger-plugin/f6cdb2fcb3e6e14c1765d136955c7dd815ca6b91
            Log:
            Merge pull request #349 from scoheb/fix-logging

            JENKINS-48622 reduce logging spam from GerritMissedEventsPlaybackEnabledChecker

            Compare: https://github.com/jenkinsci/gerrit-trigger-plugin/compare/752dcc8bb637...f6cdb2fcb3e6

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/playback/GerritMissedEventsPlaybackEnabledChecker.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/utils/GerritPluginChecker.java http://jenkins-ci.org/commit/gerrit-trigger-plugin/f6cdb2fcb3e6e14c1765d136955c7dd815ca6b91 Log: Merge pull request #349 from scoheb/fix-logging JENKINS-48622 reduce logging spam from GerritMissedEventsPlaybackEnabledChecker Compare: https://github.com/jenkinsci/gerrit-trigger-plugin/compare/752dcc8bb637...f6cdb2fcb3e6
            Hide
            psiroky Petr Široký added a comment -

            Should this be marked as fixed/resolved? It seems that the last two releases, 2.27.4 and 2.27.5, contain the fix.

            Show
            psiroky Petr Široký added a comment - Should this be marked as fixed/resolved? It seems that the last two releases, 2.27.4 and 2.27.5, contain the fix.
            Hide
            wsaxon Will Saxon added a comment -

            We upgraded to 2.27.4 and I'm not seeing the logging like before. From my perspective this can be closed.

            Show
            wsaxon Will Saxon added a comment - We upgraded to 2.27.4 and I'm not seeing the logging like before. From my perspective this can be closed.

              People

              • Assignee:
                scoheb Scott Hebert
                Reporter:
                wsaxon Will Saxon
              • Votes:
                11 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: