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

blueocean breaks when too many branches are used in parallel

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • Setup includes multiple (>10) workers.
      Tested with
      * Firefox 50.1.0
      * BlueOcean beta 1.0.0-b13

      #!/usr/bin/env groovy
      
      stage("Setup") {
      }
      
      stage("Tests") {
          def tests = [:]
          for (int i=0; i < 80; i++) {
              def counter = i 
              tests[i] = {
                  node {
                      echo "This is ${i}"
                  }   
              }
          }
      
          parallel (tests)
      }
      
      stage("End") {
      }
      

      The above code is correctly displayed in blueocean in the form of:

      Setup -- Tests -- End
                 -- 1
                 -- ...
                 -- 80
      

      However, if I increase the max count of the loop iterations from 80 to 100, then blueocean is not able to show the graph. Instead, I get the message:

      Error rendering PipelineRunGraph: TypeError: child is undefined
      

          [JENKINS-40510] blueocean breaks when too many branches are used in parallel

          Cenk Gündoğan created issue -
          Cenk Gündoğan made changes -
          Environment Original: Tested with
          * Firefox 50.1.0
          * BlueOcean beta 1.0.0-b13
          New: Setup includes multiple (>10) workers.Tested with* Firefox 50.1.0* BlueOcean beta 1.0.0-b13
          Cenk Gündoğan made changes -
          Environment Original: Setup includes multiple (>10) workers.Tested with* Firefox 50.1.0* BlueOcean beta 1.0.0-b13 New: Setup includes multiple (>10) workers.
          Tested with* Firefox 50.1.0* BlueOcean beta 1.0.0-b13
          Cenk Gündoğan made changes -
          Environment Original: Setup includes multiple (>10) workers.
          Tested with* Firefox 50.1.0* BlueOcean beta 1.0.0-b13
          New: Setup includes multiple (>10) workers.
          Tested with* Firefox 50.1.0* BlueOcean beta 1.0.0-b13
          Cenk Gündoğan made changes -
          Environment Original: Setup includes multiple (>10) workers.
          Tested with* Firefox 50.1.0* BlueOcean beta 1.0.0-b13
          New: Setup includes multiple (>10) workers.
          Tested with
          * Firefox 50.1.0
          * BlueOcean beta 1.0.0-b13
          James Dumay made changes -
          Link New: This issue duplicates JENKINS-39770 [ JENKINS-39770 ]
          James Dumay made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jenn Briden made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Unassigned Unassigned
            cgundogan Cenk Gündoğan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: