[JIRA] (JENKINS-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Vivek Pandey updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Vivek Pandey Labels: configuration jenkins pipeline plugin triaged-2018-11 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Marcos Brigante commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts Same issue here, on Jenkins 2.45. Just migrated all my old chained jobs to pipeline scripts to discover they stop working after a restart. =[ Any tips here will be nice, thanks. 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Joachim Herb commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts possible duplicate of https://issues.jenkins-ci.org/browse/JENKINS-40096 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Joachim Herb updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Joachim Herb Component/s: pipeline-stage-view-plugin 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Joachim Herb updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Joachim Herb Environment: Windows 2012 R2Jenkins 2.7.1stage view plugin 2.2 - 2.4 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Joachim Herb edited a comment on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts I see exactly the same behavior. Jenkins: 2.44stage view plugin: 2.4Windows 7Perhaps interesting information: I changed {code}-Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=50{code}in jenkins.xml. After that the stage view was empty all the time.Then I changed it to{code}-Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=5{code}and restarted Jenkins.Until and including the completion of the 5th build of the pipeline job, the stage view did not show up. But after I started the sixth build, it worked again and also showed the first 5 builds. For whatever reasons, on Linux it seems to work (even with 50 builds to be shown in the stage view). 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Joachim Herb commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts I see exactly the same behavior. Jenkins: 2.44 stage view plugin: 2.4 Windows 7 Perhaps interesting information: I changed -Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=50 in jenkins.xml. After that the stage view was empty all the time. Then I changed it to -Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=5 and restarted Jenkins. Until and including the completion of the 5th build of the pipeline job, the stage view did not show up. But after I started the sixth build, it worked again and also showed the first 5 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz edited a comment on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts No Dice :-(I've run the script, it indeed identified a bunch of runs that were stuck/disruptive. I deleted all the pipelines in the server, made sure nothing remained, then Restarted the Jenkins service. A new pipeline shows the stage view, but still after the nightly restart the stage view is gone (for pipelines that existed before the restart) .Right now I'm dropping this issue as I truly can't find time to deal with it. The log is enough for the DevOps team, for management showoffs we can use the workaround. 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts No Dice I've run the script, it indeed identified a bunch of runs that were stuck/disruptive. I deleted all the pipelines in the server, made sure nothing remained, then Restarted the Jenkins service. A new pipeline shows the stage view, but still after the nightly restart the stage view is gone. Right now I'm dropping this issue as I truly can't find time to deal with it. The log is enough for the DevOps team, for management showoffs we can use the workaround. 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts By 'runs' do you mean jobs? Or builds of the jobs? I'm in an off-the-internet environment so it'll be a bit of a mess to bring this in. I could just remove all the jobs, and delete all the builds (I'm the only one currently using pipelines). Should that fix the issue? 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz edited a comment on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts I'm on workflow-support 2.10 (latest is 2.11 but haven't had the change chance to clear it with infosec and install it yet).Any particular version to downgrade to?In the meantime I noticed that new pipelines run fine. A stupid workaround for my problem is to copy the entire script from the job that displays an empty stage view to a new job, in which case I get the view (before running I see: Stage View - "No stages b/c no pipelines have run yet"). Multiple old jobs (jobs that have run a few times) don't display the stage view.This is a bit of a relief because I have a persentation presentation coming up, where things ought to look nice. Still banging my head over this though. 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Sam Van Oort commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts Nash Paz Okay, so it's relieving to hear that the issue is on 2.10 and not 2.11. I'm going to reverse my advice here after having a spark of insight – I think a plugin change isn't going to fix this one. This is linked to a deserialization issue we've seen in rare cases. The pattern fits perfectly. There's one (or a few) runs that are a problem. You can find them with this Groovy script script in the script console – warning: it will touch all the build data for every pipeline execution run, so do it during a quiet period and be patient for it to run. import org.jenkinsci.plugins.workflow.job.WorkflowJob; import org.jenkinsci.plugins.workflow.job.WorkflowRun; import org.jenkinsci.plugins.workflow.graph.FlowGraphWalker; import org.jenkinsci.plugins.workflow.graph.FlowNode; import org.jenkinsci.plugins.workflow.flow.FlowExecution; import org.jenkinsci.plugins.workflow.graph.FlowStartNode; List failures = new ArrayList(); for (WorkflowJob job : Jenkins.instance.getAllItems(WorkflowJob.class)) { for (WorkflowRun run : job.builds) { FlowExecution fe = run.execution; if (fe == null || fe.currentHeads.size() == 0) { continue;} FlowNode lastNode = fe.currentHeads.get(0); if (lastNode.getParents().size() == 0) { out.println("Parentless end flownode!!! [Job, Build, NodeId]: ["+job.fullName+", "+run.id+", "+fe.currentHeads.get(0).id+"]"); failures.add(f); continue; } for (FlowNode f : new FlowGraphWalker(run.execution)) { if (f.getActions().size() == 0 && !(f instanceof FlowStartNode)) { out.println("Actionless FlowNode!!! [Job, Build, NodeID, class, isLast]: [" +job.fullName+", " +run.id+", " +f.id+", " +f.class.name.replace('org.jenkinsci.plugins.','o.j.p.') +", "+(f.equals(lastNode)) +"]") failures.add(f); } } } } If you remove the offending run(s) pipeline will just work. I believe this will be one more datapoint for fixing the issue in question, as well. Add Comment
[JIRA] (JENKINS-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts I'm on workflow-support 2.10 (latest is 2.11 but haven't had the change to clear it with infosec and install it yet). Any particular version to downgrade to? In the meantime I noticed that new pipelines run fine. A stupid workaround for my problem is to copy the entire script from the job that displays an empty stage view to a new job, in which case I get the view (before running I see: Stage View - "No stages b/c no pipelines have run yet"). Multiple old jobs (jobs that have run a few times) don't display the stage view. This is a bit of a relief because I have a persentation coming up, where things ought to look nice. Still banging my head over this though. 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Sam Van Oort updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Sam Van Oort Component/s: workflow-support-plugin Component/s: pipeline-stage-view-plugin 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Sam Van Oort commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts For good measure: if you are on the latest workflow-support plugin, does the issue persist if you downgrade? 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Sam Van Oort commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts nash paz That appears to be an error in the workflow-support plugin preventing loading the workflow data for the start node: Caused by: java.lang.IllegalStateException: Could not load matching start node: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: failed to load flow node from D:\Jenkins\jobs\stability_post_nightly1\builds\212\workflow\4.xml: What workflow-support version are you using? Does the issue persist if you update to the latest workflow-support plugin (and workflow-api plugin too, for good measure)? 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz edited a comment on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts * Chrome, Internet explorer, will try firefox today for the heck of it.* Will try to check tonight, it's a messy jenkins so we have plenty of errors from way before I installed the pipeline plugins. Any particular errors I ought to be looking for?* - No browser errors I can think of - . FYI, stage view frontend is missing when viewing from other comps, as well.* Pipeline rest-api is installed, seems fine in the 'installed' tab under plugins. How do I go about checking that it's working?Thanks a million for your time (y) 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts java_err.txt Ok, there was an error when inspecting the blank Full stage view in Chrome: http://build01:8080/job/stability_post_nightly1/wfapi/runs?fullStages=true&_=1480420606537 Failed to load resource: the server responded with a status of 500 (Server Error) please see the attached for a full error log. 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Nash Paz Attachment: java_err.txt 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts Chrome, Internet explorer, will try firefox today for the heck of it. Will try to check tonight, it's a messy jenkins so we have plenty of errors from way before I installed the pipeline plugins. Any particular errors I ought to be looking for? No browser errors I can think of. FYI, stage view frontend is missing when viewing from other comps, as well. Pipeline rest-api is installed, seems fine in the 'installed' tab under plugins. How do I go about checking that it's working? Thanks a million for your 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Sam Van Oort commented on JENKINS-40057 Re: Stage view is completely missing for long durations after restarts From the description, the serverside components work but the stage view frontend is broken. A couple questions: What web browser are you using? Are there any errors in the jenkins log upon startup? Are there any browser errors or pages that fail to load when you visit the page for your job? Is the pipeline rest-api plugin installed and working? 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-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Nash Paz When running any pipeline job, I can see that the build progresses but stages blocks don't always show up on the main job screen (localhost:8080/job/pipeline1). Nor do I see stages when pressing 'Full stage view' ( getting a white screen). The console, pipeline syntax and Jenkins logs are OK ( and show no interesting remarks, and the jobs run to completion ) .This behavior occurs at the beginning of a day; usually this is resolved during the day at noon/afternoon when running some pipeline job with stages (meaning, I can see the stage blocks, suddenly, apparently without having done anything). It should be noted that the Jenkins windows server (the OS) is being restarted every night at 10:00 10PM (this is mandatory and beyond my control). I'm not sure if this is related, as all other server and plugin functionalities are fine in the mornings.I reinstalled the stage view plugin several times now, to no avail.After extensive searches all over the net, I can't find anything on this particular issue and would like to ask for directions. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz updated an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Change By: Nash Paz When running any pipeline job, I can see that the build progresses but stages blocks don't always show up on the main job screen (localhost:8080/job/pipeline1). Nor do I see stages when pressing 'Full stage view' (getting a white screen). The console, pipeline syntax and Jenkins logs are OK and show no interesting remarks, and the jobs run to completion.This behavior occurs at the beginning of a day; usually this is resolved during the day at noon/afternoon when running some pipeline job with stages (meaning, I can see the stage blocks, suddenly, apparently without having done anything). It should be noted that the Jenkins windows server (the OS) is being restarted every night at 10PM (this is mandatory and beyond my control). I'm not sure if this is related, as all other server and plugin functionalities are fine in the mornings.I reinstalled the stage view plugin several times now, to no avail.After extensive searches all over the net, I can't find anything on this particular issue and would like to ask for directions on how to proceed . Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-40057) Stage view is completely missing for long durations after restarts
Title: Message Title Nash Paz created an issue Jenkins / JENKINS-40057 Stage view is completely missing for long durations after restarts Issue Type: Bug Assignee: Sam Van Oort Components: pipeline-stage-view-plugin Created: 2016/Nov/27 3:33 PM Environment: Windows 2012 R2 Jenkins 2.7.1 stage view plugin 2.2 Labels: pipeline jenkins plugin configuration Priority: Minor Reporter: Nash Paz When running any pipeline job, I can see that the build progresses but stages blocks don't always show up on the main job screen (localhost:8080/job/pipeline1). Nor do I see stages when pressing 'Full stage view' (white screen). The console, pipeline syntax and Jenkins logs are OK (and the jobs run to completion). This behavior occurs at the beginning of a day; usually this is resolved during the day at noon/afternoon when running some pipeline job with stages (meaning, I can see the stage blocks, suddenly, apparently without having done anything). It should be noted that the Jenkins windows server (the OS) is being restarted every night at 10:00 (this is mandatory and beyond my control). I'm not sure if this is related, as all other server and plugin functionalities are fine in the mornings. I reinstalled the stage view plugin several times now, to no avail. After extensive searches all over the net, I can't find anything on this particular issue and ask for directions.