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

Regression: Initial stage run does not show graph

    Details

    • Sprint:
      indian, arctic, tasman
    • Similar Issues:

      Description

      I saw something strange while testing blue ocean on b10

      Here's the pipeline:

      node {
        checkout scm
        stage ('Build1') {
            sh 'ping -c 10 www.apple.com'
        }
        stage ('Build2') {
            sh 'ping -c 10 www.apple.com'
        }
        stage ('Build3') {
            sh 'ping -c 10 www.apple.com'
        }
        stage ('Build4') {
            sh 'ping -c 10 www.apple.com'
        }
        stage ('Build5') {
            sh 'ping -c 10 www.apple.com'
        }
      }
      

      This is what the initial build looks like:

      Ideally we should have a regression test for this problem.

        Attachments

          Activity

          Hide
          michaelneale Michael Neale added a comment -

          Thanks Thorsten Scherler, I think perhaps Tom FENNELLY might be able to tackle this later this week?

          Vivek is out for thanksgiving - Tom FENNELLY able to take a look?

          Show
          michaelneale Michael Neale added a comment - Thanks Thorsten Scherler , I think perhaps Tom FENNELLY might be able to tackle this later this week? Vivek is out for thanksgiving - Tom FENNELLY able to take a look?
          Hide
          michaelneale Michael Neale added a comment - - edited

          I can't consistently reproduce this - can anyone else?

          EDIT: got it, needs to have something happen before a stage opens :

          node {
            sh 'ping -c 10 www.apple.com'
            stage ('Build1') {
                sh 'ping -c 10 www.apple.com'
            }
            stage ('Build2') {
                sh 'ping -c 10 www.apple.com'
            }
            stage ('Build3') {
                sh 'ping -c 10 www.apple.com'
            }
            stage ('Build4') {
                sh 'ping -c 10 www.apple.com'
            }
            stage ('Build5') {
                sh 'ping -c 10 www.apple.com'
            }
          }
          

          checkout scm will also do that - is timing sensitive.

          Show
          michaelneale Michael Neale added a comment - - edited I can't consistently reproduce this - can anyone else? EDIT: got it, needs to have something happen before a stage opens : node { sh 'ping -c 10 www.apple.com' stage ('Build1') { sh 'ping -c 10 www.apple.com' } stage ('Build2') { sh 'ping -c 10 www.apple.com' } stage ('Build3') { sh 'ping -c 10 www.apple.com' } stage ('Build4') { sh 'ping -c 10 www.apple.com' } stage ('Build5') { sh 'ping -c 10 www.apple.com' } } checkout scm will also do that - is timing sensitive.
          Hide
          jamesdumay James Dumay added a comment -

          Nice one Michael Neale. Not sure why my example didn't work... scratches head

          Show
          jamesdumay James Dumay added a comment - Nice one Michael Neale . Not sure why my example didn't work... scratches head
          Hide
          michaelneale Michael Neale added a comment -

          I tried and this seems too timing sensitive to be able to pick up with the ATH

          Show
          michaelneale Michael Neale added a comment - I tried and this seems too timing sensitive to be able to pick up with the ATH
          Hide
          tscherler Thorsten Scherler added a comment -

          Michael Neale yeah you are right I was able to reproduce it only once before. I will try your scripts now.

          Show
          tscherler Thorsten Scherler added a comment - Michael Neale yeah you are right I was able to reproduce it only once before. I will try your scripts now.

            People

            • Assignee:
              tscherler Thorsten Scherler
              Reporter:
              jamesdumay James Dumay
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: