[JIRA] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-10-15 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen updated  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Status: 
 In Review Closed  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197457.1549569383000.7861.1571143740845%40Atlassian.JIRA.


[JIRA] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-10-10 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen updated  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197457.1549569383000.4898.1570714501735%40Atlassian.JIRA.


[JIRA] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-10-10 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Karl Wirth - I think this issue is now fixed in release 1.10.5  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197457.1549569383000.4890.1570714442659%40Atlassian.JIRA.


[JIRA] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-06-04 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Labels: 
 P4_A P4_SUPPORT  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197457.1549569383000.20954.1559654581117%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-04-04 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen started work on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-04-04 Thread pal...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Paul Allen assigned an issue to Paul Allen  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Paul Allen  
 
 
Assignee: 
 Paul Allen  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth edited a comment on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Changed my mind and decided to make this the master job.Reproduction steps:{code:java}(1) Create a pipeline job.(2) Set it to poll every minute (or use the Poll Now Plugin)(3) Disable all executors.(4) Add a changelist that would trigger the job.(5) Wait 1 minute or click 'Poll Now'.(6) Wait 1 minute or click 'Poll Now'.(7) Wait 1 minute or click 'Poll Now'.(8) Wait 1 minute or click 'Poll Now'.(9) Enable the executor.(10) The job will build the same changelist at least 2 times (note there is something else going on that I don't understand where the number of times it builds can be more than 2 times).{code}At the top of the console log you see 'Started by an SCM change' for each missed poll. For example:{code:java} Started by an SCM changeStarted by an SCM change...Started by an SCM changeStarted by an SCM change(25 times){code}And the 'build.xml' shows:{code:java}25{code} Passing this occurrence of unexpected retries to development. Note there are other causes I am still investigating.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Labels: 
 P4_SUPPORT P4_A  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Assignee: 
 Karl Wirth  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Changed my mind and decided to make this the master job. Reproduction steps: 

 

(1) Create a pipeline job.
(2) Set it to poll every minute (or use the Poll Now Plugin)
(3) Disable all executors.
(4) Add a changelist that would trigger the job.
(5) Wait 1 minute or click 'Poll Now'.
(6) Wait 1 minute or click 'Poll Now'.
(7) Wait 1 minute or click 'Poll Now'.
(8) Wait 1 minute or click 'Poll Now'.
(9) Enable the executor.
(10) The job will build the same changelist at least 2 times (note there is something else going on that I don't understand where the number of times it builds can be more than 2 times).
 

 At the top of the console log you see 'Started by an SCM change' for each missed poll. For example: 

 
 
Started by an SCM change
Started by an SCM change
...
Started by an SCM change
Started by an SCM change
(25 times)
 

 And the 'build.xml' shows: 

 

  
  25int>
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because 

[JIRA] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Also linking to this one - JENKINS-56295. Again if that does not solve it either we will come back to this one.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-21 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Linking this to 'JENKINS-56286' for now. If the fix for that case does not solve it we will look at this one again.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-05 Thread lys...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mykola Ulianytskyi commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 > Is there any kind of work-around to this issue?   https://issues.jenkins-ci.org/browse/JENKINS-56286  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-05 Thread dpn...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dave Nichols edited a comment on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Same issue here as well.Jenkins 2.150.2 (Official Docker Image)P4 Plugin: 1.9.6 Seeing SCM polling trigger jobs with no changes in perforce. Is there any kind of work-around to this issue?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-03-05 Thread dpn...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dave Nichols commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Same issue here as well. Jenkins 2.150.2 (Official Docker Image) P4 Plugin: 1.9.6   Seeing SCM polling trigger jobs with no changes in perforce.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-02-22 Thread lys...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mykola Ulianytskyi commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 We have the same issue. Jenkins triggers jobs with enabled polling while they are running even without new commits in perforce. 
 
Jenkins: 2.150.3 (official docker image) 
P4 plugin: 1.9.6 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-02-08 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Labels: 
 P4_SUPPORT  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-02-08 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth assigned an issue to Karl Wirth  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Change By: 
 Karl Wirth  
 
 
Assignee: 
 Karl Wirth  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-02-08 Thread kwi...@perforce.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Wirth commented on  JENKINS-56037  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
 Hi Jeffrey Exterkate. I have sent you a direct email to discuss the topics above. Please let me know here if you don't receive it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56037) SCM Polling with p4-plugin triggers builds several times

2019-02-07 Thread jeff...@thatgamecompany.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jeffrey Exterkate created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56037  
 
 
  SCM Polling with p4-plugin triggers builds several times   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 p4-plugin  
 
 
Created: 
 2019-02-07 19:56  
 
 
Environment: 
 Latest Jenkins version, latest p4-plugin version, scripted pipeline jobs  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Jeffrey Exterkate  
 

  
 
 
 
 

 
 We have 2 jobs with different workspaces that do SCM polling every 2 minutes (with different filters) that could potentially be triggered at roughly the same time (as polling has a random fudge factor). If the longer job (5 minutes) runs first and then the other one will be polling as well, then it could happen that it polls one or two more times before it can actually run, the end result being that once the longer job finishes, the short job runs 3 times in a row, once with the change it should have been building, then two more times with no changes, but the logs will still say it was triggered because it did detect changes. Then as a bonus sometimes even the long job will run again with no changes, but a polling log saying that there were changes detected even though not saying which ones. It gets worse still, as in this scenario sometimes it even builds a job when it should not have detected changes due to the filter we supplied and then to make it worse still also build that multiple times with no changes (same changelist number). Then last of all, when a job does get triggered due to one out of many changes being filtered as positive, still all changes are reported to the job and not just the change that triggered it. Which is inconvenient for our slack notification code showing changes that were unrelated. It is also unclear how to achieve the desired results if we were to switch to perforce triggers instead of