[JIRA] (JENKINS-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Is there any chance of getting this fix into the 1.x version? We are no longer maintaining any releases of the 1.x line. Regular weekly releases are at 2.25, LTS releases are at 2.19.x. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Kevin Mandeville commented on JENKINS-31487 Re: Job status not updated in web UI during build Is there any chance of getting this fix into the 1.x version? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Oliver Gondža updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Oliver Gondža Labels: lts 2.19.2 - candidate fixed progress regression status Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Daniel Beck Labels: lts-candidate progress regression status Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title SCM/JIRA link daemon commented on JENKINS-31487 Re: Job status not updated in web UI during build Code changed in jenkins User: Matthew Reiter Path: core/src/main/java/hudson/widgets/BuildHistoryWidget.java core/src/main/java/hudson/widgets/HistoryWidget.java core/src/main/resources/hudson/widgets/HistoryWidget/index.jelly http://jenkins-ci.org/commit/jenkins/0268b988d5c88cd29be12ed25e95d5bc448c2840 Log: [FIXED JENKINS-31487] (#2542) There were two issues preventing the build history from updating properly: 1) The next build number being fetched wasn't taking into account running builds, so any builds already running when the page is refreshed would be ignored. The fix was to use nextBuildNumberToFetch if it is available (which is the case if there are running builds) and to fall back to the next build otherwise. 2) The first transient build key (used to clear out builds from the history that are being updated) wasn't being set when the page first loads. This was fixed by making getHistoryPageFilter calculate the value so that it happens in all cases rather than just during the ajax call. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: SCM/JIRA link daemon Status: In Progress Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter commented on JENKINS-31487 Re: Job status not updated in web UI during build I've created the pull request: https://github.com/jenkinsci/jenkins/pull/2542 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Matthew Reiter Could you submit this as a PR on GitHub? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter commented on JENKINS-31487 Re: Job status not updated in web UI during build I've updated the patch to include a fix for the list not updating if no builds were running (nextBuildNumberToFetch was null, resulting in a syntax error in the _javascript_ code) and to make it work with concurrent builds if they finish out of order. jobStatus2.patch Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Matthew Reiter Attachment: jobStatus2.patch Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Matthew Reiter Attachment: jobStatus.patch Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Matthew Reiter Attachment: jobStatus.patch Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter edited a comment on JENKINS-31487 Re: Job status not updated in web UI during build [~danielbeck] Yes, I am seeing the same behavior. I opened two browser windows pointing at the job page, kicked off the build on one window and saw that the other window didn't see the build until I refreshed the page. I tried it a second time and this time the second window did update, so I think it's an intermittent problem. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter edited a comment on JENKINS-31487 Re: Job status not updated in web UI during build [~danielbeck] Yes, I am seeing the same behavior. I opened two browser windows pointing at the job page, kicked off the build on one window and saw that the other window didn't see the build until I refreshed the page. I tried it a second time and this time the second window did update, so I think it's an intermittent problem. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter commented on JENKINS-31487 Re: Job status not updated in web UI during build Yes, I am seeing the same behavior. I opened two browser windows pointing at the job page, kicked off the build on one window and saw that the other window didn't see the build until I refreshed the page. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Matthew Reiter Looks a lot like what I did locally. Same issue as mine though AFAICT, if there was no build running when the page loaded, the list is never updated. Can you confirm the same behavior? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter edited a comment on JENKINS-31487 Re: Job status not updated in web UI during build I've attached a patch that works for me... I'm not sure if it's the best approach but might be a good place to start. The patch is relative to version 2.20. [^jobStatus.patch] Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter commented on JENKINS-31487 Re: Job status not updated in web UI during build I've attached a patch that works for me... I'm not sure if it's the best approach but might be a good place to start. jobStatus.patch Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Matthew Reiter updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Matthew Reiter Attachment: jobStatus.patch Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Appears to be caused by the wrong offset sent for nextBuildNumberToFetch – the client says he's just not interested in build that already exist when the initial page was loaded. Noticed another problem in the process though, if no build is running when the page loads, there's never going to be AJAX updates. Not sure whether caused by my WIP or in general, but this'll take some more time. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Still occurs in 2.17 (after fix for JENKINS-31791). Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build In regular releases, https://github.com/jenkinsci/jenkins/commit/078d3c7c4b5ffc5eae2f8c300a681bc340dfec60 is the first broken commit via git bisect, ignoring the aforementioned issue with AJAX requests not getting sent at all. So in weeklies, 1.633 should be the first broken one. Not sure what's going on with 1.625.3, but 078d3c7c seems to be the real culprit. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build First culprit in old releases was https://github.com/jenkinsci/jenkins/pull/1856 – but as comments indicate, it's no longer a problem in current releases. The difference is, that change completely disabled AJAXing, while the problem here is that requests are sent, but responses are empty. Back to bisecting from the start… Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck assigned an issue to Daniel Beck Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Daniel Beck Assignee: Daniel Beck Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck started work on JENKINS-31487 Change By: Daniel Beck Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build I confirm it's as described by Gerard CK, this issue was introduced between 1.625.2 and 1.625.3. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Gerard CK Weird. 1.625.3 is only a security update – while we've had some issues recently with security fixes that broke things, I don't see a related change there. (For reference: https://github.com/jenkinsci/jenkins/compare/jenkins-1.625.2...jenkins-1.625.3 and https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-12-09) Did you make sure that a timing/page load issue with loading the builds widget as I mention in my previous comment cannot be responsible? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Gerard CK commented on JENKINS-31487 Re: Job status not updated in web UI during build Yes this is correct. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Gerard CK You're saying it's broken in 1.625.3 as well? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Gerard CK commented on JENKINS-31487 Re: Job status not updated in web UI during build Hi Daniel, The last version that has a working build progress bar is 1.625.2 The progress bar is broken in every versions after that. Cheers Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Anyone want to test 1.632 and 1.633 to determine whether this issue was introduced in the latter release, with build history pagination? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Daniel Beck commented on JENKINS-31487 Re: Job status not updated in web UI during build Allan BURDAJEWICZ Actually, I was able to observe this in 2.14 for those progress bars that have been present when the page was loaded. Those that appeared later were correctly progressed. That also means that clicking (e.g.) "Status" to load the job index page will effectively halt progress of the build just triggered clicking "Build Now". I suspect that the page redirect due to the parameters form resulted in your observation, but it has nothing to do with parameterized builds. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Allan BURDAJEWICZ commented on JENKINS-31487 Re: Job status not updated in web UI during build I did troubleshoot this. I can easily reproduce with Jenkins 1.651 and Jenkins 2.7.1 too. Here is the simplest scenario: Create a Freestyle Job Add a Shell task "sleep 10" so that you can notice the behavior of the progress bar Build the job You should see the build job progress bar refreshing and switching to complete Configure the Freestyle Job Check the "This build is parameterized" and add a String Parameter Build the job The build start and the progress bar hangs like previous screenshots shows. So seems to be related to parameterized builds. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Calla Feucht commented on JENKINS-31487 Re: Job status not updated in web UI during build Another behavior I've noticed: when on a job's overview page while a build is in progress, if that build finishes and another starts, both builds will appear to have active progress bars even though only the latter is running. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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-31487) Job status not updated in web UI during build
Title: Message Title Calla Feucht updated an issue Jenkins / JENKINS-31487 Job status not updated in web UI during build Change By: Calla Feucht Attachment: multiple-active-builds.png Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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.