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

Pipeline visualization not rendered when there is more that 100 nodes

    Details

    • Sprint:
      Blue Ocean 1.0-rc3
    • Similar Issues:

      Description

      Using the Blue Ocean plugin, I see the following traceback:

      FIREFOX:

      error rendering PipelineRunGraph TypeError: child is undefined
      Stack trace:
      render/selectedStage</childMatches<@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:10705:25
      render/selectedStage<@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:10704:40
      render@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:10701:33
      [394]</ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:68260:27
      [394]</ReactCompositeComponentMixin._renderValidatedComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:68283:29
      [394]</ReactCompositeComponentMixin.performInitialMount@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67825:25
      [394]</ReactCompositeComponentMixin.mountComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67721:16
      [445]</ReactReconciler.mountComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:74734:18
      [394]</ReactCompositeComponentMixin.performInitialMount@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67834:18
      [394]</ReactCompositeComponentMixin.mountComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67721:16
      [445]</ReactReconciler.mountComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:74734:18
      [394]</ReactCompositeComponentMixin.performInitialMount@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67834:18
      [394]</ReactCompositeComponentMixin.mountComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67721:16
      [445]</ReactReconciler.mountComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:74734:18
      mountComponentIntoNode@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:72953:16
      [471]</Mixin.perform@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:77932:13
      batchedMountComponentIntoNode@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:72975:3
      [416]</ReactDefaultBatchingStrategy.batchedUpdates@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:71613:7
      batchedUpdates@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:75831:3
      [433]</ReactMount._renderNewRootComponent@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:73169:5
      [433]</ReactMount._renderSubtreeIntoContainer@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:73250:21
      [433]</ReactMount.render@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:73271:12
      _renderExtension@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:7547:17
      _renderAllExtensions@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:7529:25
      componentDidUpdate@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:7447:13
      [361]</<.notifyAll@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:62506:9
      [444]</ON_DOM_READY_QUEUEING.close@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:74600:5
      [471]</Mixin.closeAll@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:77998:11
      [471]</Mixin.perform@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:77945:11
      [471]</Mixin.perform@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:77932:13
      [453]</<.perform@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:75823:12
      [453]</flushBatchedUpdates@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:75906:7
      [471]</Mixin.closeAll@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:77998:11
      [471]</Mixin.perform@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:77945:11
      [416]</ReactDefaultBatchingStrategy.batchedUpdates@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:71615:7
      enqueueUpdate@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:75934:5
      enqueueUpdate@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:75542:3
      [452]</ReactUpdateQueue.enqueueSetState@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:75727:5
      [390]</ReactComponent.prototype.setState@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67033:3
      _onScrollHandler@http://dev018.ant.nmhn.lab:8080/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:12224:17
      

      CHROMIUM:

      error rendering PipelineRunGraph TypeError: Cannot read property 'id' of undefined
          at http://127.0.0.1:15000/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:10705:37
          at Array.filter (native)
          at http://127.0.0.1:15000/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:10704:54
          at Array.filter (native)
          at PipelineRunGraph.render (http://127.0.0.1:15000/adjuncts/5b1d2830/org/jenkins/ui/jsmodules/blueocean-dashboard/jenkins-js-extension.js:10701:44)
          at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (http://127.0.0.1:15000/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:68260:32)
          at ReactCompositeComponentWrapper._renderValidatedComponent (http://127.0.0.1:15000/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:68283:34)
          at ReactCompositeComponentWrapper.performInitialMount (http://127.0.0.1:15000/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67825:30)
          at ReactCompositeComponentWrapper.mountComponent (http://127.0.0.1:15000/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:67721:21)
          at Object.mountComponent (http://127.0.0.1:15000/adjuncts/5b1d2830/io/jenkins/blueocean/blueocean.js:74734:35)
      

      Using Jenkins 2.30 ; Blue Ocean beta 12.

        Attachments

        1. undef.png
          undef.png
          139 kB
        2. undef3.png
          undef3.png
          43 kB
        3. undef6.png
          undef6.png
          70 kB
        4. undef7.png
          undef7.png
          58 kB

          Issue Links

            Activity

            Hide
            arronmabrey Arron Mabrey added a comment -

            Ahh okay.

            Show
            arronmabrey Arron Mabrey added a comment - Ahh okay.
            Hide
            jamesdumay James Dumay added a comment -

            Arron Mabrey for context, when the visualization was written it we did not have pagination for our REST API enabled by default.

            Show
            jamesdumay James Dumay added a comment - Arron Mabrey for context, when the visualization was written it we did not have pagination for our REST API enabled by default.
            Hide
            evildeece Alastair D'Silva added a comment -

            Vivek's comments here suggest that the limit can be altered via a parameter on the REST request:
            https://github.com/jenkinsci/blueocean-plugin/pull/486/files#r77956164

            Would it be possible to do that, rather than using the default of 100?

            Show
            evildeece Alastair D'Silva added a comment - Vivek's comments here suggest that the limit can be altered via a parameter on the REST request: https://github.com/jenkinsci/blueocean-plugin/pull/486/files#r77956164 Would it be possible to do that, rather than using the default of 100?
            Hide
            jamesdumay James Dumay added a comment -

            A bit more complicated than that but effectively yes we are looking into it

            Show
            jamesdumay James Dumay added a comment - A bit more complicated than that but effectively yes we are looking into it
            Hide
            jamesdumay James Dumay added a comment -

            This will be released in rc2 this week.

            Show
            jamesdumay James Dumay added a comment - This will be released in rc2 this week.

              People

              • Assignee:
                tscherler Thorsten Scherler
                Reporter:
                roidelapluie Julien Pivotto
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: