We're running two legacy Jenkins servers, one running the old 2.9, the other the slightly newer 2.10 version. Due to plugin version mismatches, the stage step plugin on one server would constantly nag that we don't use

      stage('Stage 1'){ }
      

      arguments with a block. To get rid of that, we've updated both the Stage Step and Stage View plugin to 2.2 on both Jenkins servers.

      But now an even worse problem occurred, our pipeline stage view is simply invisible (see attachment).

      Were there any other plugins we needed to update? Too many projects depend on the reliability of the Jenkins, so we would rather not have to do a complete update and potentially fix a million things.

          [JENKINS-40096] Stage View is missing after Plugin update

          Sam Van Oort added a comment -

          selbi Dependencies are listed on the wiki for the plugin – the core plugins I'd look at versions for are workflow-api, workflow-support, and pipeline-graph-analysis.

          What versions are you running of those, and does the issue go away when you update?

          Other than that, the usual questions:

          • Are there any errors on Jenkins startup, or broken/disabled plugins?
          • Do you see any errors in the browser when loading the jobs page?

          Sam Van Oort added a comment - selbi Dependencies are listed on the wiki for the plugin – the core plugins I'd look at versions for are workflow-api, workflow-support, and pipeline-graph-analysis. What versions are you running of those, and does the issue go away when you update? Other than that, the usual questions: Are there any errors on Jenkins startup, or broken/disabled plugins? Do you see any errors in the browser when loading the jobs page?

          Joachim Herb added a comment -

          Joachim Herb added a comment - Possible duplicate of https://issues.jenkins-ci.org/browse/JENKINS-40057

          Frédéric Meyrou added a comment - Please see my commment in  https://issues.jenkins-ci.org/browse/JENKINS-42895

          Sam Van Oort added a comment -

          selbi is this still occurring?  

          Sam Van Oort added a comment - selbi is this still occurring?  

          Joachim Herb added a comment -

          I still see this problem (using Jenkins 2.136, Pipeline: Stage View Plugin 2.10, Linux).

          In the Firefox Browser console, there is this error message (which does not show up on the Windows Jenkins server with working stage view):

          XHRGEThttps://xxx:8080/job/yyy%20Pipeline/wfapi/runs?fullStages=true&_=1533553566284[HTTP/1.1 *500 Server Error* 27ms]

          This stack trace is in the jenkins log file:

          Aug 06, 2018 1:03:32 PM hudson.model.RunMap retrieve WARNING: could not load /home/jenkins/.jenkins/jobs/yyy Pipeline/builds/12774 java.io.IOException: Unable to read /home/jenkins/.jenkins/jobs/yyy Pipeline/builds/12774/build.xml at hudson.XmlFile.unmarshal(XmlFile.java:181) at hudson.XmlFile.unmarshal(XmlFile.java:161) at org.jenkinsci.plugins.workflow.job.WorkflowRun.reload(WorkflowRun.java:723) at hudson.model.Run.<init>(Run.java:328) at org.jenkinsci.plugins.workflow.job.WorkflowRun.<init>(WorkflowRun.java:250) at sun.reflect.GeneratedConstructorAccessor73.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at jenkins.model.lazy.LazyBuildMixIn.loadBuild(LazyBuildMixIn.java:165) at jenkins.model.lazy.LazyBuildMixIn$1.create(LazyBuildMixIn.java:142) at hudson.model.RunMap.retrieve(RunMap.java:224) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:499) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:481) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:379) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:74) at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:63) at java.util.AbstractMap$2$1.next(AbstractMap.java:418) at hudson.plugins.projectstats.NumBuildsStats.compute(NumBuildsStats.java:50) at hudson.plugins.projectstats.column.NumBuildsColumn.getStats(NumBuildsColumn.java:53) at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          

           

          Joachim Herb added a comment - I still see this problem (using Jenkins 2.136, Pipeline: Stage View Plugin 2.10, Linux). In the Firefox Browser console, there is this error message (which does not show up on the Windows Jenkins server with working stage view): XHRGEThttps://xxx:8080/job/yyy%20Pipeline/wfapi/runs?fullStages=true&_=1533553566284 [HTTP/1.1 *500 Server Error* 27ms] This stack trace is in the jenkins log file: Aug 06, 2018 1:03:32 PM hudson.model.RunMap retrieve WARNING: could not load /home/jenkins/.jenkins/jobs/yyy Pipeline/builds/12774 java.io.IOException: Unable to read /home/jenkins/.jenkins/jobs/yyy Pipeline/builds/12774/build.xml at hudson.XmlFile.unmarshal(XmlFile.java:181) at hudson.XmlFile.unmarshal(XmlFile.java:161) at org.jenkinsci.plugins.workflow.job.WorkflowRun.reload(WorkflowRun.java:723) at hudson.model.Run.<init>(Run.java:328) at org.jenkinsci.plugins.workflow.job.WorkflowRun.<init>(WorkflowRun.java:250) at sun.reflect.GeneratedConstructorAccessor73.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at jenkins.model.lazy.LazyBuildMixIn.loadBuild(LazyBuildMixIn.java:165) at jenkins.model.lazy.LazyBuildMixIn$1.create(LazyBuildMixIn.java:142) at hudson.model.RunMap.retrieve(RunMap.java:224) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:499) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:481) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:379) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:74) at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:63) at java.util.AbstractMap$2$1.next(AbstractMap.java:418) at hudson.plugins.projectstats.NumBuildsStats.compute(NumBuildsStats.java:50) at hudson.plugins.projectstats.column.NumBuildsColumn.getStats(NumBuildsColumn.java:53) at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)  

            Unassigned Unassigned
            selbi Sebastian Peters
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: