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

Matrix stages reported skipped instead of actual status.

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: pipeline
    • Labels:
    • Environment:
      CentOS Linux release 7.5.1804 (Core)
      jenkins.noarch 2.222.1-1.1
      java-1.8.0-openjdk.i686 1:1.8.0.181-3.b13.el7_5
      Blue Ocean 1.23.0
    • Similar Issues:

      Description

      A matrix job where some stages are excluded is showing some of the stages as "skipped" in the Blue Ocean UI, or as having no steps in the traditional UI.

      The logs are showing that the steps have been run as expected.

      Even if a step fails in a stage, it does not show up in the UI.

      This makes the Jenkins Web UI useless for tracking the progress of a Matrix job.

      Attached is a Jenkinsfile that reproduces the problem with a single stage in the Matrix step.

      If more stages are added to the step, some of those additional stages are not shown on the web UI.

      This looks similar to:
      https://issues.jenkins-ci.org/browse/JENKINS-53816

        Attachments

          Activity

          Hide
          wb8tyw John Malmberg added a comment -

          Also reproduced on Jenkins 2.231

          Show
          wb8tyw John Malmberg added a comment - Also reproduced on Jenkins 2.231
          Hide
          bitwiseman Liam Newman added a comment -

          John Malmberg

           

          What does this look like in the non-Blue Ocean view? 

          What doest the full log show for your sample Jenkinsfile show? 

           

          Show
          bitwiseman Liam Newman added a comment - John Malmberg   What does this look like in the non-Blue Ocean view?  What doest the full log show for your sample Jenkinsfile show?   
          Hide
          wb8tyw John Malmberg added a comment - - edited

          Jenkins_matrix_skip_bug2.PNG shows the matrix output where the no status is rendered for Matrix entry of COLOR='red' and 'SHAPE'='none' which failed in the build.

          Jenkins-62304_1_consoleText.txt shows that the job had an execution error for that cell.

          And stages that were skipped are showing up as taking 2 seconds in the traditional UI in Jenkins_matrix_skip_bug3.PNG

          Show
          wb8tyw John Malmberg added a comment - - edited Jenkins_matrix_skip_bug2.PNG shows the matrix output where the no status is rendered for Matrix entry of COLOR='red' and 'SHAPE'='none' which failed in the build. Jenkins-62304_1_consoleText.txt shows that the job had an execution error for that cell. And stages that were skipped are showing up as taking 2 seconds in the traditional UI in Jenkins_matrix_skip_bug3.PNG

            People

            • Assignee:
              Unassigned
              Reporter:
              wb8tyw John Malmberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: