[JIRA] (JENKINS-53735) Parallel sequential stages not showing Triggered Builds while Processing

5 views
Skip to first unread message

ekassis@murex.com (JIRA)

unread,
Sep 24, 2018, 1:19:02 AM9/24/18
to jenkinsc...@googlegroups.com
Elie Kassis created an issue
 
Jenkins / Bug JENKINS-53735
Parallel sequential stages not showing Triggered Builds while Processing
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2018-09-24-08-16-11-202.png
Components: blueocean-plugin
Created: 2018-09-24 05:18
Environment: Jenkins: 2.138.1
Blue Ocean: 1.8.3
OS: RHEL7.2
Browser: Google Chrome
Labels: blueocean
Priority: Major Major
Reporter: Elie Kassis

The Triggered Builds Section in Blue Ocean, is not appearing when having processing parallel sequential stages.
The Triggered Build section is only appearing when the stage is done or for normal sequential stages.

You can find below a sample of the code pushing jobs.

stage('Pushing 2 Tests and 2 Debug jobs') {
    //failFast true
    when {
     expression {
      Push2TEs == 'true'
     }
    }
    parallel {     stage('TE1') {
      stages {
       stage('PUSH TE1') {
        options {
         retry(2)
         timeout(time: 3, unit: 'HOURS')
        }
        steps {
         script {
          timestamps {
           println("${STAGE_BEGIN} PUSH TE1")
           def TE1build = build job: "TESTING/${TEST_LABEL1}/PAC_PTE/0010.TESTING-Headline",
            parameters: [
             [$class: 'StringParameterValue', name: 'MX_VERSION', value: MX_VERSION],
             [$class: 'StringParameterValue', name: 'MX_CHANGELIST', value: MX_CHANGELIST],
             [$class: 'BooleanParameterValue', name: 'Execute_benchmark', value: true],
             [$class: 'BooleanParameterValue', name: 'Generate_traceability_reports', value: true],
             [$class: 'StringParameterValue', name: 'SETUPS', value: 'Custom'],
             [$class: 'StringParameterValue', name: 'Custom_Script_Before', value: '/nfs_qa_pac/pac-pte/jenkins/getEnvProperties.sh'],
             [$class: 'StringParameterValue', name: 'Custom_Script_After', value: '/nfs_qa_pac/pac-pte/jenkins/restoreEnv.sh']
            ],
            propagate: false
           LogJobStatus("${TEST_LABEL1}", TE1build.result)
           currentBuild.result = TE1build.result
          }
         }
        }
       }
       stage('Archive Logs') {
        steps {
         script {
          timestamps {
           println("${STAGE_BEGIN} Archive ${TEST_LABEL1} Logs")
           //sleep time: 1, unit: 'MINUTES'
           def archiveLogsTE1 = build job: 'Archiving',
            parameters: [
             [$class: 'StringParameterValue', name: 'BENCH_MARK_NAME', value: TE1_BENCH_MARK_NAME],
             [$class: 'StringParameterValue', name: 'VERSION', value: MX_VERSION],
             [$class: 'StringParameterValue', name: 'CHANGELIST', value: MX_CHANGELIST],
             [$class: 'StringParameterValue', name: 'APP_DIR', value: TE1_APP_DIR],
             [$class: 'StringParameterValue', name: 'RESULTS_DIR', value: TE1_LOG_DIR],
             [$class: 'StringParameterValue', name: 'KPI_DIR', value: TE1_WORKSPACE],
             [$class: 'StringParameterValue', name: 'TPK', value: TPK],
             [$class: 'StringParameterValue', name: 'JOB_ID', value: JOB_ID],
             [$class: 'StringParameterValue', name: 'TEST_ID', value: TEST_LABEL1],
             [$class: 'StringParameterValue', name: 'NODE', value: TE1_NODE]
            ],
            propagate: false
           currentBuild.result = archiveLogsTE1.result
           LogJobStatus("Archive ${TEST_LABEL1} Logs", archiveLogsTE1.result)           println("${STAGE_END} Archive ${TEST_LABEL1} Logs")
          }
         }
        }
       }
      }
     }     stage('TE2') {
      stages {
       stage('PUSH TE2') {
        options {
         retry(2)
         timeout(time: 3, unit: 'HOURS')
        }
        steps {
         script {
          timestamps {
           println("${STAGE_BEGIN} PUSH TE2")
           def TE2build = build job: "TESTING/${TEST_LABEL2}/PAC_PTE/0010.TESTING-Headline",
            parameters: [
             [$class: 'StringParameterValue', name: 'MX_VERSION', value: MX_VERSION],
             [$class: 'StringParameterValue', name: 'MX_CHANGELIST', value: MX_CHANGELIST],
             [$class: 'BooleanParameterValue', name: 'Execute_benchmark', value: true],
             [$class: 'BooleanParameterValue', name: 'Generate_traceability_reports', value: true],
             [$class: 'StringParameterValue', name: 'SETUPS', value: 'Custom'],
             [$class: 'StringParameterValue', name: 'Custom_Script_Before', value: '/nfs_qa_pac/pac-pte/jenkins/getEnvProperties.sh'],
             [$class: 'StringParameterValue', name: 'Custom_Script_After', value: '/nfs_qa_pac/pac-pte/jenkins/restoreEnv.sh']
            ],
            propagate: false
           LogJobStatus("PUSH TE2", TE2build.result)
           currentBuild.result = TE2build.result       
          }
         }
        }
       }
       stage('Archive Logs') {
        steps {
         script {
          timestamps {
           println("${STAGE_BEGIN} Archive ${TEST_LABEL2} Logs")
           //sleep time: 1, unit: 'MINUTES'
           def archiveLogsTE2 = build job: 'Archiving',
            parameters: [
             [$class: 'StringParameterValue', name: 'BENCH_MARK_NAME', value: TE2_BENCH_MARK_NAME],
             [$class: 'StringParameterValue', name: 'VERSION', value: MX_VERSION],
             [$class: 'StringParameterValue', name: 'CHANGELIST', value: MX_CHANGELIST],
             [$class: 'StringParameterValue', name: 'APP_DIR', value: TE2_APP_DIR],
             [$class: 'StringParameterValue', name: 'RESULTS_DIR', value: TE2_LOG_DIR],
             [$class: 'StringParameterValue', name: 'TPK', value: TPK],
             [$class: 'StringParameterValue', name: 'JOB_ID', value: JOB_ID],
             [$class: 'StringParameterValue', name: 'TEST_ID', value: TEST_LABEL2],
             [$class: 'StringParameterValue', name: 'NODE', value: TE2_NODE]
            ],
            propagate: false
           currentBuild.result = archiveLogsTE2.result
           LogJobStatus("Archive ${TEST_LABEL2} Logs", archiveLogsTE2.result)           println("${STAGE_END} Archive ${TEST_LABEL2} Logs")
          }
         }
        }
       }
      }
     }     stage('HEAD DEBUG') {
      stages {
       stage('PUSH HEAD DEBUG') {
        options {
         retry(2)
         timeout(time: 2, unit: 'HOURS')
        }
        steps {
         script {
          timestamps {
           println("${STAGE_BEGIN} PUSH HEAD DEBUG")
           try {
            //STREAM_ID='DEBUG230820181643'
            def pushHeadDebugJob = build job: "TESTING/${STREAM_ID}/PAC_PTE/0010.TESTING-Headline",
             parameters: [
              [$class: 'StringParameterValue', name: 'MX_VERSION', value: MX_VERSION],
              [$class: 'StringParameterValue', name: 'MX_CHANGELIST', value: MX_CHANGELIST],
              [$class: 'BooleanParameterValue', name: 'Execute_benchmark', value: false],
              [$class: 'BooleanParameterValue', name: 'Generate_traceability_reports', value: false],
              [$class: 'StringParameterValue', name: 'SETUPS', value: 'Custom'],
              [$class: 'StringParameterValue', name: 'Custom_Script_Before', value: '/nfs_qa_pac/pac-pte/jenkins/getEnvProperties.sh'],
              [$class: 'StringParameterValue', name: 'Custom_Script_After', value: '/nfs_qa_pac/pac-pte/jenkins/restoreEnv.sh']
             ],
             propagate: false
            currentBuild.result = pushHeadDebugJob.result           } catch (all) {
            echo 'Pushing Head Debug job Failed'
            return 0
           }
           println("${STAGE_END} PUSH HEAD DEBUG")
          }
         }
        }
       }
       stage('DEPLOY CLIENT HEAD') {
        steps {
         script {
          timestamps {
           println("${STAGE_BEGIN} Deploying Client HEAD")
           try {
            def DeployClient = build job: 'DeployClient',
             parameters: [
              [$class: 'StringParameterValue', name: 'NODE', value: 'pacpte_pte02nt'],
              [$class: 'StringParameterValue', name: 'PROPERTIES', value: '/nfs_qa_pac/pac-pte/jenkins/env_properties/0010.TESTING-' + STREAM_ID + '-Headline.properties'],
              [$class: 'StringParameterValue', name: 'CHANGELIST', value: MX_CHANGELIST],
              [$class: 'StringParameterValue', name: 'OPERATING_SYSTEM', value: OPERATING_SYSTEM],
              [$class: 'StringParameterValue', name: 'DEBUG_NODE', value: HEAD_DEBUG_NODE],
              [$class: 'StringParameterValue', name: 'DEBUG_APP_DIR', value: HEAD_DEBUG_APP_DIR]
             ],
             propagate: false
            currentBuild.result = DeployClient.result
           } catch (all) {
            echo 'Deploy Head Debug Client Failed'
            return 0
           }
           println("${STAGE_END} Deploying Client HEAD")
          }
         }
        }
       }
      }
     }    }
   }
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

olamy@apache.org (JIRA)

unread,
Sep 24, 2018, 7:51:02 AM9/24/18
to jenkinsc...@googlegroups.com

roger.wooley@outlook.com (JIRA)

unread,
Sep 24, 2018, 3:42:01 PM9/24/18
to jenkinsc...@googlegroups.com
Roger Wooley commented on Bug JENKINS-53735
 
Re: Parallel sequential stages not showing Triggered Builds while Processing

I'm seeing the same issue going from 1.7.2 to 1.8.3. I've lost the triggered builds section on parallel steps. If I rollback to 1.7.2 they come back.

ekassis@murex.com (JIRA)

unread,
Oct 3, 2018, 12:30:02 PM10/3/18
to jenkinsc...@googlegroups.com

ekassis@murex.com (JIRA)

unread,
Oct 4, 2018, 9:22:10 AM10/4/18
to jenkinsc...@googlegroups.com

ekassis@murex.com (JIRA)

unread,
Oct 12, 2018, 2:17:04 PM10/12/18
to jenkinsc...@googlegroups.com

ekassis@murex.com (JIRA)

unread,
Oct 22, 2018, 4:20:02 PM10/22/18
to jenkinsc...@googlegroups.com

Olivier Lamy Can you please just tell us when is it expected to tackle this issue ?

genotchris@gmail.com (JIRA)

unread,
Jan 10, 2019, 4:33:06 AM1/10/19
to jenkinsc...@googlegroups.com

genotchris@gmail.com (JIRA)

unread,
Jan 10, 2019, 4:35:02 AM1/10/19
to jenkinsc...@googlegroups.com
Christophe Genot assigned an issue to Olivier Lamy

ekassis@murex.com (JIRA)

unread,
Jan 16, 2019, 10:13:02 AM1/16/19
to jenkinsc...@googlegroups.com

ekassis@murex.com (JIRA)

unread,
Jan 16, 2019, 10:14:02 AM1/16/19
to jenkinsc...@googlegroups.com
 
Re: Parallel sequential stages not showing Triggered Builds while Processing

Olivier Lamy can you please tell us if this issue will be handled? since it is needed urgently to be able to monitor jobs during processing phase.

olamy@apache.org (JIRA)

unread,
Jan 17, 2019, 12:30:02 AM1/17/19
to jenkinsc...@googlegroups.com

olamy@apache.org (JIRA)

unread,
Jan 17, 2019, 12:31:02 AM1/17/19
to jenkinsc...@googlegroups.com
Olivier Lamy commented on Bug JENKINS-53735
 
Re: Parallel sequential stages not showing Triggered Builds while Processing

Elie Kassis sorry but no spare time ATM to work on it.

Please remember blueocean is an opensource project so feel free to contribute.

maurer.stefan@gmail.com (JIRA)

unread,
Jan 21, 2019, 11:21:02 AM1/21/19
to jenkinsc...@googlegroups.com

maurer.stefan@gmail.com (JIRA)

unread,
Jan 21, 2019, 11:21:02 AM1/21/19
to jenkinsc...@googlegroups.com
Stefan Maurer assigned an issue to Unassigned

andreimuresianu1@gmail.com (JIRA)

unread,
Jun 25, 2019, 9:40:05 AM6/25/19
to jenkinsc...@googlegroups.com
Andrei Muresianu commented on Bug JENKINS-53735
 
Re: Parallel sequential stages not showing Triggered Builds while Processing

This is affecting us too and it is more visible after upgrading form jenkins 2.112 to 2.180, BO version: 1.13.1

The 'Triggered Builds' section does not get populated until the build finishes.

It gets even worse sometimes when the entire pipeline stays grey until it finishes completely - things look like they are working and progressing through fine in the standard console though.

andreimuresianu1@gmail.com (JIRA)

unread,
Jun 25, 2019, 9:40:05 AM6/25/19
to jenkinsc...@googlegroups.com
Andrei Muresianu updated an issue
 
Change By: Andrei Muresianu
Attachment: image-2019-06-25-14-39-06-908.png
Reply all
Reply to author
Forward
0 new messages