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

Stage view renders incorrectly with stages appearing multiple times.

      Attached is a screenshot of the stage view rendering weird. Sometimes refreshing the page helps (but not always!).

      Our jenkinsfile essentially looks like this:

      #!groovy
      
      node('linux') {
          stage("Checkout") {
              commitTag = checkout...
          }
      
          stage("Build") {
              parallel (
                  // ....
              )
          }
      }
      
      stage("Docker") {
          node('docker') {
              // ....
          }
      }
      
      stage("Tests") {
          parallel (
              // ....
          )
      }
      
      

      Javascript console shows this log:

      stageview.js:4557 No "data-stageId" on stage.
      stageview.js:4557 No "data-stageId" on stage.
      

      but this doesn't seem to be related to the issue.

          [JENKINS-38765] Stage view renders incorrectly with stages appearing multiple times.

          Sam Van Oort added a comment -

          sonneveldsmartward If by "time doesn't update" do you mean that the runtime of a stage which includes a parallel does not update? But others do?

          If so, that's JENKINS-38536 - I've got a code fix in place that's just pending the final merge/release to be incorporated.

          > No data-stageId on stage

          That's a known issue: JENKINS-37910 - shouldn't be particularly impactful AFAIK.

          Sam Van Oort added a comment - sonneveldsmartward If by "time doesn't update" do you mean that the runtime of a stage which includes a parallel does not update? But others do? If so, that's JENKINS-38536 - I've got a code fix in place that's just pending the final merge/release to be incorporated. > No data-stageId on stage That's a known issue: JENKINS-37910 - shouldn't be particularly impactful AFAIK.

          svanoort Yes I think that's what I mean. Most of our stages involve a parallel step so I didn't think to blame that for the lack of updates. I'll update ticket to only include rendering issues.

          Nick Sonneveld added a comment - svanoort Yes I think that's what I mean. Most of our stages involve a parallel step so I didn't think to blame that for the lack of updates. I'll update ticket to only include rendering issues.

          I am seeing the same thing. It only happends while the build is running as soon as it finishes it looks fine.

          It looks like its duplicating the stages on the server side as it appears there are duplicates in the json ajax.json

          David van Laatum added a comment - I am seeing the same thing. It only happends while the build is running as soon as it finishes it looks fine. It looks like its duplicating the stages on the server side as it appears there are duplicates in the json ajax.json

          Sam Van Oort added a comment -

          sonneveldsmartward Can you verify if this is fixed or not with an installation of workflow-api 2.8? I think my patch there resolves it.

          Sam Van Oort added a comment - sonneveldsmartward Can you verify if this is fixed or not with an installation of workflow-api 2.8? I think my patch there resolves it.

          Still seems broken for me.

          David van Laatum added a comment - Still seems broken for me.

          svanoort Unfortunately I still see this behaviour. This is with the new workflow-api 2.8 (all other plugins are up to date as well)

          Nick Sonneveld added a comment - svanoort Unfortunately I still see this behaviour. This is with the new workflow-api 2.8 (all other plugins are up to date as well)

            Unassigned Unassigned
            sonneveldsmartward Nick Sonneveld
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: