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

REGRESSION: Steps showing up as incomplete when they are in fact complete

    XMLWordPrintable

Details

    • 1.0-beta-1, pacific, 1.0-b05/b-06

    Description

      See attached screen shot, that step should be in completed (green) state.

      to reproduce:

      • Setup github multibranch project for kzantow/failure-project.
      • Let it discover branches
      • Go to branches tab for pipeline
      • Run "passing" branch and open it (karaoke mode), let it complete
      • Click on the penultimate stage, note that the step is "blue"

      Sometimes when dismissing the modal, a blank summary screen can be seen as well.

      Let me know if you can't reproduce

      Attachments

        Issue Links

          Activity

            michaelneale Michael Neale added a comment -

            As discussed with tscherler we think the problem is that when the job completes it does not reload the stage graph... (it was designed to) with a fetch?

            michaelneale Michael Neale added a comment - As discussed with tscherler we think the problem is that when the job completes it does not reload the stage graph... (it was designed to) with a fetch?
            michaelneale Michael Neale added a comment - - edited

            Related, the logs are truncated when you click back to a previously executed stage after you have followed along the pipeline:

            (these logs should have more lines in them, it is only showing the last bit).

            The pipeline to see this:

            node {
                stage("hey") {
                    sh 'ping -c 5 www.apple.com'
            
                }
                
            
                stage("par") {
                    parallel (
                        "b1" : {
                            sh 'ping -c 2 www.apple.com'
                        },
            
                        "b2" : {
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                            sh 'sleep 1 && ping -c 1 www.apple.com'
                        } 
                        
                        
                    )
                        
                }
                
                
                stage("ho") {
                    sh 'ping -c 10 www.apple.com'    
                }
                
            }
            
            

            create that as a basic pipeline and follow it along to see it.

            michaelneale Michael Neale added a comment - - edited Related, the logs are truncated when you click back to a previously executed stage after you have followed along the pipeline: (these logs should have more lines in them, it is only showing the last bit). The pipeline to see this: node { stage("hey") { sh 'ping -c 5 www.apple.com' } stage("par") { parallel ( "b1" : { sh 'ping -c 2 www.apple.com' }, "b2" : { sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' sh 'sleep 1 && ping -c 1 www.apple.com' } ) } stage("ho") { sh 'ping -c 10 www.apple.com' } } create that as a basic pipeline and follow it along to see it.
            tscherler Thorsten Scherler added a comment - https://github.com/jenkinsci/blueocean-plugin/pull/520

            Code changed in jenkins
            User: Thorsten Scherler
            Path:
            src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
            src/test/js/log-karaoke/parallelStages.js
            src/test/resources/test_scripts/parallel-stages.groovy
            http://jenkins-ci.org/commit/blueocean-acceptance-test/41d3a4b530b66f7573d8ffcc91292c66c4743b27
            Log:
            JENKINS-37753 Fix test and add test for the log entry

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/main/js/page_objects/blueocean/bluePipelineRunDetail.js src/test/js/log-karaoke/parallelStages.js src/test/resources/test_scripts/parallel-stages.groovy http://jenkins-ci.org/commit/blueocean-acceptance-test/41d3a4b530b66f7573d8ffcc91292c66c4743b27 Log: JENKINS-37753 Fix test and add test for the log entry

            Code changed in jenkins
            User: Thorsten Scherler
            Path:
            src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
            src/test/js/log-karaoke/parallelStages.js
            http://jenkins-ci.org/commit/blueocean-acceptance-test/6d1d543530a650962aa4aa615df12aff1acd17d3
            Log:
            JENKINS-37753 Implement AT test. WARNING not test due to problems with the update center mirror

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/main/js/page_objects/blueocean/bluePipelineRunDetail.js src/test/js/log-karaoke/parallelStages.js http://jenkins-ci.org/commit/blueocean-acceptance-test/6d1d543530a650962aa4aa615df12aff1acd17d3 Log: JENKINS-37753 Implement AT test. WARNING not test due to problems with the update center mirror

            Code changed in jenkins
            User: Thorsten Scherler
            Path:
            src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
            src/test/js/log-karaoke/parallelStages.js
            src/test/resources/test_scripts/parallel-stages.groovy
            http://jenkins-ci.org/commit/blueocean-acceptance-test/a5c04bbb166baf10ddc68cb58980fc82ded58441
            Log:
            JENKINS-37753 REGRESSION: Steps showing up as incomplete when they are in fact complete (#43)

            • JENKINS-37753 Implement AT test. WARNING not test due to problems with the update center mirror
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thorsten Scherler Path: src/main/js/page_objects/blueocean/bluePipelineRunDetail.js src/test/js/log-karaoke/parallelStages.js src/test/resources/test_scripts/parallel-stages.groovy http://jenkins-ci.org/commit/blueocean-acceptance-test/a5c04bbb166baf10ddc68cb58980fc82ded58441 Log: JENKINS-37753 REGRESSION: Steps showing up as incomplete when they are in fact complete (#43) JENKINS-37753 Implement AT test. WARNING not test due to problems with the update center mirror JENKINS-37753 Fix test and add test for the log entry

            People

              tscherler Thorsten Scherler
              michaelneale Michael Neale
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: