[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title SCM/JIRA link daemon commented on JENKINS-31473 Re: Project list is not updating in desired interval Code changed in jenkins User: Scott Hebert Path: src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/GerritProjectListUpdater.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/GerritServer.java src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/version/GerritVersionChecker.java src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/GerritProjectListUpdaterFunctionalTest.java src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/mock/MockConfigForProjectListTest.java src/test/java/com/sonymobile/tools/gerrit/gerritevents/mock/SshdServerMock.java http://jenkins-ci.org/commit/gerrit-trigger-plugin/f3b31e3ab921938d9aed51f538c9463ab1e7bcbd Log: Project list is not updating in desired interval Fix bug whereby project list updating was not active upon connection startup. Only applies for Gerrit servers < 2.12. [FIXED JENKINS-31473] Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-31473 Project list is not updating in desired interval Change By: SCM/JIRA link daemon Status: In Progress Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Scott Hebert commented on JENKINS-31473 Re: Project list is not updating in desired interval PR created https://github.com/jenkinsci/gerrit-trigger-plugin/pull/260 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Scott Hebert started work on JENKINS-31473 Change By: Scott Hebert Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Scott Hebert assigned an issue to Scott Hebert Jenkins / JENKINS-31473 Project list is not updating in desired interval Change By: Scott Hebert Assignee: rsandell Scott Hebert Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Jiří Engelthaler updated an issue Jenkins / JENKINS-31473 Project list is not updating in desired interval Change By: Jiří Engelthaler Project list is not updating in desired interval. Problem is in GerritServer.java in start() method, where projectListUpdater is created but isProjectCreatedEventsSupported() returns "true". It is because gerritConnection is not yet established, getGerritVersion() returns null and feature.versionNumber.isNewerThan returns false for NaN parameter.Initializing of projectListUpdater should be delayed after gerritConnection is initialized. Same problem with missedEventsPlaybackManager.isSupported() in GerritServer.java - start() when Gerrit server is up later than Jenkins. Also server connection Stop/Start should trigger project list update.I have Jenkins on different machine than Gerrit so connection could take a second.---See attached log fileNov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker getGerritVersionSEVERE: Could not find the Gerrit version for vyvoj.zat.lanNov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker createVersionNumber{color:red}*SEVERE: Gerrit version number is null or the empty string.*{color}Nov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.GerritServer startINFO: vyvoj.zat.lan startedNov 10, 2015 11:41:58 AM {color:red}*com.sonyericsson.hudson.plugins.gerrit.trigger.GerritProjectListUpdater tryLoadProjectList*{color}INFO: Not connected to vyvoj.zat.lan, waiting for 1 second(s) Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Jiří Engelthaler created an issue Jenkins / JENKINS-31473 Project list is not updating in desired interval Issue Type: Bug Assignee: rsandell Attachments: gerrit-trigger.xml, jenkins.log Components: gerrit-trigger-plugin Created: 10/Nov/15 11:01 AM Environment: Gerrit 2.11.4 Gerrit Trigger 2.17.2 Jenkins 1.637 Priority: Major Reporter: Jiří Engelthaler Project list is not updating in desired interval. Problem is in GerritServer.java in start() method, where projectListUpdater is created but isProjectCreatedEventsSupported() returns "true". It is because gerritConnection is not yet established, getGerritVersion() returns null and feature.versionNumber.isNewerThan returns false for NaN parameter. Initializing of projectListUpdater should be delayed after gerritConnection is initialized. Also missedEventsPlaybackManager.isSupported() in GerritServer.java - start() should be delayed after gerritConnection is initialized (maybe this should resolve JENKINS-31439)
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Jiří Engelthaler updated an issue Jenkins / JENKINS-31473 Project list is not updating in desired interval Change By: Jiří Engelthaler Project list is not updating in desired interval. Problem is in GerritServer.java in start() method, where projectListUpdater is created but isProjectCreatedEventsSupported() returns "true". It is because gerritConnection is not yet established, getGerritVersion() returns null and feature.versionNumber.isNewerThan returns false for NaN parameter.Initializing of projectListUpdater should be delayed after gerritConnection is initialized. Also server connection Stop/Start should trigger project list update. I have Jenkins on different machine than Gerrit so connection could take a second.---See attached log fileNov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker getGerritVersionSEVERE: Could not find the Gerrit version for vyvoj.zat.lanNov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker createVersionNumber{color:red}*SEVERE: Gerrit version number is null or the empty string.*{color}Nov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.GerritServer startINFO: vyvoj.zat.lan startedNov 10, 2015 11:41:58 AM {color:red}*com.sonyericsson.hudson.plugins.gerrit.trigger.GerritProjectListUpdater tryLoadProjectList*{color}INFO: Not connected to vyvoj.zat.lan, waiting for 1 second(s) Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are
[JIRA] [gerrit-trigger-plugin] (JENKINS-31473) Project list is not updating in desired interval
Title: Message Title Jiří Engelthaler updated an issue Jenkins / JENKINS-31473 Project list is not updating in desired interval Change By: Jiří Engelthaler Project list is not updating in desired interval. Problem is in GerritServer.java in start() method, where projectListUpdater is created but isProjectCreatedEventsSupported() returns "true". It is because gerritConnection is not yet established, getGerritVersion() returns null and feature.versionNumber.isNewerThan returns false for NaN parameter.Initializing of projectListUpdater should be delayed after gerritConnection is initialized. Also missedEventsPlaybackManager.isSupported() in GerritServer.java - start() should be delayed after gerritConnection is initialized (maybe this should resolve JENKINS-31439) I have Jenkins on different machine than Gerrit so connection could take a second.---See attached log fileNov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker getGerritVersionSEVERE: Could not find the Gerrit version for vyvoj.zat.lanNov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker createVersionNumber{color:red}*SEVERE: Gerrit version number is null or the empty string.*{color}Nov 10, 2015 11:41:58 AM com.sonyericsson.hudson.plugins.gerrit.trigger.GerritServer startINFO: vyvoj.zat.lan startedNov 10, 2015 11:41:58 AM {color:red}*com.sonyericsson.hudson.plugins.gerrit.trigger.GerritProjectListUpdater tryLoadProjectList*{color}INFO: Not connected to vyvoj.zat.lan, waiting for 1 second(s) Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)