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

Stage view is completely missing for long durations after restarts

      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.

          [JENKINS-40057] Stage view is completely missing for long durations after restarts

          Nash Paz created issue -
          Nash Paz made changes -
          Description Original: 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.
          New: 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.
          Nash Paz made changes -
          Description Original: 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.
          New: 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.

          Sam Van Oort added a comment -

          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?

          Sam Van Oort added a comment - 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?

          Nash Paz added a comment - - edited
          • 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

          Nash Paz added a comment - - edited 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
          Nash Paz made changes -
          Attachment New: java_err.txt [ 35024 ]

          Nash Paz added a comment -

          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.

          Nash Paz added a comment - 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.

          Sam Van Oort added a comment -

          nashpaz 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: <?xml version='1.0' encoding='UTF-8'?>

          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)?

          Sam Van Oort added a comment - nashpaz 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: <?xml version='1.0' encoding='UTF-8'?> 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)?

          Sam Van Oort added a comment -

          For good measure: if you are on the latest workflow-support plugin, does the issue persist if you downgrade?

          Sam Van Oort added a comment - For good measure: if you are on the latest workflow-support plugin, does the issue persist if you downgrade?
          Sam Van Oort made changes -
          Component/s New: workflow-support-plugin [ 21719 ]
          Component/s Original: pipeline-stage-view-plugin [ 21139 ]

            Unassigned Unassigned
            nashpaz23 Nash Paz
            Votes:
            13 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: