DEV Community

Avinash reddy
Avinash reddy

Posted on

.

Top comments (14)

Collapse
 
avinash917 profile image
Avinash reddy
stage('Fortify Scan') {
                when {
                    allOf {
                        expression { return "${env.BRANCH_NAME}".contains('develop') || "${env.BRANCH_NAME}".contains('master') }
                        expression { config.app.fortify && config.app.fortify.appId }
                    }
                }
                steps {
                    script {
                        container(containerType(config.app.buildType)) {
                            if ("${env.BRANCH_NAME}".contains('develop')) {
                                fortifyReleaseType = 'Development'
                            } else {
                                fortifyReleaseType = 'Production'
                            }
                            echo "fortifyReleaseType is set to ${fortifyReleaseType}"
                            if (pipelineConfig.isJavaBuildType() || config.app.fortify.fortifyTechStack) {
                                Stage fortifyStage = new Stage()
                                // fortifyJavaTool = new FortifyJavaTool()
                                // String fortifyWorkspace = fortifyJavaTool.copyWorkspace(steps, env, env.BRANCH_NAME, config.app.name, config.app.fortify.skippath)
                                // srcLocation = config.app.fortify.srcLocation ?: "${fortifyWorkspace}"
                                skipPath = config.app.fortify.skippath.toString().minus("[").minus("]")
                                // echo "location of files is ${srcLocation}"
                                echo "SkipPath: ${skipPath}"
                                langLevel = config.app.fortify.langLevel ?: '1.8'
                                try {
                                    library(identifier: 'jenkinsSharedLibrary@LATEST')
                                    fortify(
                                            fortifyClientId: '542943c6-7897-4cfd-9ae7-19d09dd37b47',
                                            fortifyClientSecretId: 'defaultFoDAPIKey',
                                            fortifyAppId: "${config.app.fortify.appId}",
                                            fortifyDevBaseRelease: 'master',
                                            fortifyReleaseName: "${fortifyReleaseType}",
                                            fortifyMicroserviceName: "${config.app.name}",
                                            fortifySrcExclude: "${skipPath}",
                                            fortifySdlcStatusType: "${fortifyReleaseType}",
                                            fortifyTechStack: config.app.fortify.fortifyTechStack ?: 'JAVA/J2EE/Kotlin',
                                            fortifyCopyStateWait: '180',
                                            fortifyLangLevel: "${langLevel}",
                                    )
                                } catch (Exception e) {
                                    echo "Fortify Exception: ${e}"
                                }
                            } else {
                                println "Fortify scan not defined for build type: ${config.app.buildType}"
                            }
                        }
                    }
                }
            }

Fortify for feature branch
stage('Fortify Scan') {
                when {
                    allOf {
                        expression { return "${env.BRANCH_NAME}".contains('develop') || "${env.BRANCH_NAME}".contains('master') }
                        expression { config.app.fortify && config.app.fortify.appId }
                    }
                }
                steps {
                    script {
                        container(containerType(config.app.buildType)) {
                            if ("${env.BRANCH_NAME}".contains('develop')) {
                                fortifyReleaseType = 'Development'
                            } else {
                                fortifyReleaseType = 'Production'
                            }
                            echo "fortifyReleaseType is set to ${fortifyReleaseType}"
                            if (pipelineConfig.isJavaBuildType() || config.app.fortify.fortifyTechStack) {
                                Stage fortifyStage = new Stage()
                                fortifyJavaTool = new FortifyJavaTool()
                                String fortifyWorkspace = fortifyJavaTool.copyWorkspace(steps, env, env.BRANCH_NAME, config.app.name, config.app.fortify.skippath)
                                srcLocation = config.app.fortify.srcLocation ?: "${fortifyWorkspace}"
                                echo "location of files is ${srcLocation}"
                                langLevel = config.app.fortify.langLevel ?: '1.8'
                                try {
                                    library(identifier: 'fortifyPipeline@23.03')
                                    fortifyUpload(
                                            fortifyClientId: '542943c6-7897-4cfd-9ae7-19d09dd37b47',
                                            fortifyClientSecretId: 'defaultFoDAPIKey',
                                            fortifyAppId: "${config.app.fortify.appId}",
                                            fortifyDevBaseRelease: 'master',
                                            fortifyReleaseName: "${fortifyReleaseType}",
                                            fortifyMicroserviceName: "${config.app.name}",
                                            fortifySrcLocation: "${srcLocation}",
                                            fortifySdlcStatusType: "${fortifyReleaseType}",
                                            fortifyTechStack: config.app.fortify.fortifyTechStack ?: 'JAVA/J2EE/Kotlin',
                                            fortifyLangLevel: "${langLevel}",
                                    )
                                } catch (Exception e) {
                                    echo "Fortify Exception: ${e}"
                                }
                            } else {
                                println "Fortify scan not defined for build type: ${config.app.buildType}"
                            }
                        }
                    }
                }
            }
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <profiles>
        <profile>
            <id>releaseCandidate</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>

            <properties>
                <distributionManagement.releaseDeployment.id>nexus3</distributionManagement.releaseDeployment.id>
                <distributionManagement.releaseDeployment.url>
                    https://nrm.us.equifax.com/repository/asa-evt-release-candidate-maven-hosted/
                </distributionManagement.releaseDeployment.url>
            </properties>
            <repositories>
                <repository>
                    <id>Nexus3_PROD</id>
                    <url>https://nrm.us.equifax.com/repository/gcs-pet-maven-group/</url>
                    <snapshots>
                        <updatePolicy>daily</updatePolicy>
                    </snapshots>
                </repository>
                <repository>
                    <id>Nexus3_GCS_HOSTED</id>
                    <url>https://nrm.us.equifax.com/repository/gcs-pet-maven-hosted</url>
                </repository>
                <repository>
                    <id>Nexus3_d360</id>
                    <url>https://nrm.us.equifax.com/repository/usis-d360-releases-maven-hosted/</url>
                </repository>
                <repository>
                    <id>nexus</id>
                    <url>https://nrm.us.equifax.com/repository/asa-evt-release-candidate-maven-hosted/</url>
                </repository>
                <repository>
                    <id>asa-evt-releases-maven-hosted</id>
                    <url>https://nrm.us.equifax.com/repository/asa-evt-releases-maven-hosted/</url>
                </repository>
                <repository>
                    <id>public-maven-proxy</id>
                    <url>https://nrm.us.equifax.com/repository/public-maven-proxy/</url>
                </repository>
                <repository>
                    <id>nexus-snapshots</id>
                    <url>https://nrm.us.equifax.com/repository/asa-evt-snapshots-maven-hosted/</url>
                </repository>
                <repository>
                    <id>mavenlibrary</id>
                    <url>https://nrm.us.equifax.com/repository/mavenlibrary/</url>
                </repository>
                <repository>
                    <id>nexus3-eodp-releases</id>
                    <url>https://nrm.us.equifax.com/repository/eo-dataprotection-releases-maven-hosted/</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </repository>
                <repository>
                    <id>nexus3-eodp-snapshots</id>
                    <url>https://nrm.us.equifax.com/repository/eo-dataprotection-snapshots-maven-hosted/</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <id>central</id>
                    <url>https://nrm.us.equifax.com/repository/mavenlibrary/</url>
                </pluginRepository>
                <pluginRepository>
                    <id>public</id>
                    <url>https://nrm.us.equifax.com/repository/public-maven-proxy/</url>
                </pluginRepository>
                <pluginRepository>
                    <id>thirdparty</id>
                    <url>https://nrm.us.equifax.com/repository/cse-thirdparty-maven-hosted/</url>
                </pluginRepository>
            </pluginRepositories>
        </profile>
        <profile>
            <id>release</id>
            <activation>
                <property>
                    <name>release</name>
                </property>
            </activation>
            <properties>
                <distributionManagement.releaseDeployment.id>nexus3</distributionManagement.releaseDeployment.id>
                <distributionManagement.releaseDeployment.url>
                    https://nrm.us.equifax.com/repository/asa-evt-releases-maven-hosted/
                </distributionManagement.releaseDeployment.url>
            </properties>
            <repositories>
                <repository>
                    <id>nexus</id>
                    <url>https://nrm.us.equifax.com/repository/asa-evt-releases-maven-hosted/</url>
                </repository>
                <repository>
                    <id>efxmaven</id>
                    <url>https://nrm.us.equifax.com/repository/efxmaven/</url>
                </repository>
                <repository>
                    <id>GCS_PET_Nexus</id>
                    <url>https://nrm.us.equifax.com/repository/gcs-pet-maven-group/</url>
                </repository>
                <repository>
                    <id>Nexus3_GCS_HOSTED</id>
                    <url>https://nrm.us.equifax.com/repository/gcs-pet-maven-hosted</url>
                </repository>
                <repository>
                    <id>Nexus3_d360</id>
                    <url>https://nrm.us.equifax.com/repository/usis-d360-releases-maven-hosted/</url>
                </repository>
                <repository>
                    <id>public-maven-proxy</id>
                    <url>https://nrm.us.equifax.com/repository/public-maven-proxy/</url>
                </repository>
                <repository>
                    <id>nexus3-eodp-releases</id>
                    <url>https://nrm.us.equifax.com/repository/eo-dataprotection-releases-maven-hosted/</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </repository>
                <repository>
                    <id>nexus3-eodp-snapshots</id>
                    <url>https://nrm.us.equifax.com/repository/eo-dataprotection-snapshots-maven-hosted/</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <id>central</id>
                    <url>https://nrm.us.equifax.com/repository/mavenlibrary/</url>
                </pluginRepository>
                <pluginRepository>
                    <id>public</id>
                    <url>https://nrm.us.equifax.com/repository/public-maven-proxy/</url>
                </pluginRepository>
                <pluginRepository>
                    <id>thirdparty</id>
                    <url>https://nrm.us.equifax.com/repository/cse-thirdparty-maven-hosted/</url>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>

    <activeProfiles>
        <activeProfile>releaseCandidate</activeProfile>
    </activeProfiles>

    <servers>
        <server>
            <id>Nexus3</id>
            <username>${env.NEXUSGCP_USERNAME}</username>
            <password>${env.NEXUSGCP_PASSWORD}</password>
        </server>
        <server>
            <id>NexusMavenCentral2</id>
            <username>${env.NEXUSGCP_USERNAME}</username>
            <password>${env.NEXUSGCP_PASSWORD}</password>
        </server>
        <server>
            <id>ClusterNexus3</id>
            <username>${env.NEXUSGCP_USERNAME}</username>
            <password>${env.NEXUSGCP_PASSWORD}</password>
        </server>
        <server>
            <id>ClusterNexusMavenCentral2</id>
            <username>${env.NEXUSGCP_USERNAME}</username>
            <password>${env.NEXUSGCP_PASSWORD}</password>
        </server>
    </servers>
</settings>
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
14:37:09  Downloading from nexus3-eodp-releases: https://nrm.us.equifax.com/repository/eo-dataprotection-releases-maven-hosted/org/xerial/snappy/snappy-java/1.1.10.3/snappy-java-1.1.10.3.jar
14:37:09  Downloading from nexus3-eodp-releases: https://nrm.us.equifax.com/repository/eo-dataprotection-releases-maven-hosted/org/json/json/20230618/json-20230618.jar
14:37:09  Downloading from nexus3-eodp-releases: https://nrm.us.equifax.com/repository/eo-dataprotection-releases-maven-hosted/io/netty/netty-codec-http2/4.1.96.Final/netty-codec-http2-4.1.96.Final.jar
14:37:09  Downloading from central: https://repo.maven.apache.org/maven2/org/xerial/snappy/snappy-java/1.1.10.3/snappy-java-1.1.10.3.jar
14:37:09  Downloading from central: https://repo.maven.apache.org/maven2/org/json/json/20230618/json-20230618.jar
14:37:09  Downloading from central: https://repo.maven.apache.org/maven2/io/netty/netty-codec-http2/4.1.96.Final/netty-codec-http2-4.1.96.Final.jar
14:37:09  [INFO] ------------------------------------------------------------------------
14:37:09  [INFO] Reactor Summary for gcs-gcp-standard-sup-process 0.1.0-feature-GCSSRE-JENKINSFIX-SNAPSHOT:
14:37:09  [INFO] 
14:37:09  [INFO] gcs-gcp-standard-sup-process ....................... SUCCESS [ 33.175 s]
14:37:09  [INFO] sup-process ........................................ SUCCESS [ 27.117 s]
14:37:09  [INFO] sup-process-billing ................................ SUCCESS [ 42.231 s]
14:37:09  [INFO] sup-process-composite .............................. SUCCESS [  1.966 s]
14:37:09  [INFO] sup-process-ledger ................................. SUCCESS [  2.156 s]
14:37:09  [INFO] sup-process-job .................................... FAILURE [03:13 min]
14:37:09  [INFO] ------------------------------------------------------------------------
14:37:09  [INFO] BUILD FAILURE
14:37:09  [INFO] ------------------------------------------------------------------------
14:37:09  [INFO] Total time:  05:02 min
14:37:09  [INFO] Finished at: 2024-06-28T18:37:09Z
14:37:09  [INFO] ------------------------------------------------------------------------
14:37:09  [ERROR] Failed to execute goal on project sup-process-job: Could not resolve dependencies for project com.efx.gcs.sup.process.event:sup-process-job:jar:0.1.0-feature-GCSSRE-JENKINSFIX-SNAPSHOT: The following artifacts could not be resolved: org.xerial.snappy:snappy-java:jar:1.1.10.3 (absent), org.json:json:jar:20230618 (absent), io.netty:netty-codec-http2:jar:4.1.96.Final (absent): Could not transfer artifact org.xerial.snappy:snappy-java:jar:1.1.10.3 from/to Nexus3_PROD (https://nrm.us.equifax.com/repository/gcs-pet-maven-group/): status code: 403, reason phrase: -------------------->>> Requested item is quarantined -------------------->>> FOR DETAILS SEE ------>>> https://niq.us.equifax.com/ui/links/repositories/quarantinedComponent/MTMxYTA3MmYyM2IxNDJiMGI1YmIzNDg0OGQwMjdmOGQ <<<------ (403) -> [Help 1]
14:37:09  [ERROR] 
14:37:09  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
14:37:09  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
14:37:09  [ERROR] 
14:37:09  [ERROR] For more information about the errors and possible solutions, please read the following articles:
14:37:09  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
14:37:09  [ERROR] 
14:37:09  [ERROR] After correcting the problems, you can resume the build with the command
14:37:09  [ERROR]   mvn <args> -rf :sup-process-job
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy

def call(){
    node('master') {

    scmUrl = 'https://github.com/Equifax/gcs-pet-membercenter.git'
    uiDirectory = 'channel-web/member-center-ui'
    new_workspace = "/var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace"
    fortify_app_id = 105715
 //   fortify_username = "saquib.khan"
     fortify_username = "anu.nadig"
    fortify_scan_type = ""

    parameters {
        string(name: 'commitId', description: 'What version we want to scan')
        string(name: 'fortify_release_name', description: "The fortify release to run the scan against")
        // credentials(name: 'FORTIFY_TOKEN', description: 'FORTIFY_TOKEN', defaultValue: '', credentialType: "Secret text", required: true )
    }

    try {
        stage('Checkout Files'){
           checkout changelog: false, poll: false, 
           scm: [$class: 'GitSCM', branches: [[name: "${commitId}"]], 
           doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'WipeWorkspace']], submoduleCfg: [], 
           userRemoteConfigs: [[credentialsId: '91317-githubGCSApp', url: "${scmUrl}"]]]

        }
        stage('Copy Required Files to new Workspace'){
            sh "rm -rf ${new_workspace}"
            sh "mkdir ${new_workspace} "
            dir(uiDirectory){
                sh "rm -rf src/environments"
                sh "find . -name \"*.spec.ts\" -type f -delete"
                echo "removing unrequired assets from assets folder: icons,images,img,fonts, i18n"
                sh "rm -rf src/assets/icons"
                sh "rm -rf src/assets/images"
                sh "rm -rf src/assets/img"
                sh "rm -rf src/assets/i18n"
                sh "rm -rf src/assets/fonts"
                sh "cp package.json ${new_workspace}"
                sh "cp angular.json ${new_workspace}"
                sh "cp -R src/ ${new_workspace}"
            }
        }
        stage('Fortify Scan Front End'){
            if("${fortify_release_name}" == "Member_Center_FrontEnd_Production"){
                fortify_scan_type = "production"
                echo "it's a production scan"
            }
            else{
                fortify_scan_type = "development"
                echo "it's a development scan"
            }
            library(identifier: 'fortifyPipeline@23.03')
            fortifyUpload(
                fortifyClientId: '542943c6-7897-4cfd-9ae7-19d09dd37b47',
                fortifyClientSecretId: 'defaultFoDAPIKey',
                fortifyAppId: "${fortify_app_id}",
                fortifyExeJars: false,
                fortifyDevBaseRelease: "Member_Center_Backend_Production", 
                fortifyReleaseName: "${fortify_release_name}",
                fortifySdlcStatusType: "${fortify_scan_type}", 
                fortifySrcLocation: "${new_workspace}", 
                fortifyTechStack: "JS/TS/HTML")

        }  
        stage('Remove old workspace'){
           echo "upload is complete, deleting temp workspace"
           sh "rm -rf ${new_workspace}"
        }
    } catch (e) {
        throw e
        cleanWs()
    } finally {
        cleanWs()
    }
}
}

Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
Started by user Avinash Reddy
12:04:37  Rebuilds build #55
12:04:37 12:04:37  Connecting to https://api.github.com using 91317-githubGCSApp
12:04:38  Obtained automation/jenkins/jenkinsfile.build.groovy from 71780c1bf112e03ca840da2ed6b5dbe80feb319a
12:04:38  Loading library jenkins-shared-library@feature/gcs-pet-allow-access-ui
12:04:38  Examining Equifax/gcs-jenkins-shared-lib
12:04:38  Attempting to resolve feature/gcs-pet-allow-access-ui as a branch
12:04:38  Resolved feature/gcs-pet-allow-access-ui as branch feature/gcs-pet-allow-access-ui at revision e7c1d12bb004538eb66d7a26d1cc99ff33c70601
12:04:38  Selected Git installation does not exist. Using Default
12:04:38  The recommended git tool is: NONE
12:04:38  using credential 91317-githubGCSApp
12:04:38   > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/et-allow-access-ui_build_develop@libs/a6125ebbd22a911cb2d40f99eda3ee55ec1a772c5ad81631d077fd8125127004/.git # timeout=10
12:04:38  Fetching changes from the remote Git repository
12:04:38   > git config remote.origin.url https://github.com/Equifax/gcs-jenkins-shared-lib.git # timeout=10
12:04:38  Using shallow fetch with depth 1
12:04:38  Fetching upstream changes from https://github.com/Equifax/gcs-jenkins-shared-lib.git
12:04:38   > git --version # timeout=10
12:04:38   > git --version # 'git version 2.39.2'
12:04:38  using GIT_ASKPASS to set credentials 91317-githubGCSApp
12:04:38   > git fetch --no-tags --force --progress --depth=1 -- https://github.com/Equifax/gcs-jenkins-shared-lib.git +refs/heads/feature/gcs-pet-allow-access-ui:refs/remotes/origin/feature/gcs-pet-allow-access-ui # timeout=10
12:04:39  Checking out Revision e7c1d12bb004538eb66d7a26d1cc99ff33c70601 (feature/gcs-pet-allow-access-ui)
12:04:39   > git config core.sparsecheckout # timeout=10
12:04:39   > git checkout -f e7c1d12bb004538eb66d7a26d1cc99ff33c70601 # timeout=10
12:04:39  Commit message: "Merge pull request #235 from Equifax/feature/onboard-fortify"
12:04:40  [Pipeline] Start of Pipeline
12:04:40  [Pipeline] podTemplate
12:04:40  [Pipeline] {
12:04:40  [Pipeline] node
12:04:47  Created Pod: kubernetes-aws-cicd jaas/gcs-npe-gcs-pet-allow-access-ui-build-develop-59-596dv-nw-lf9n6
12:04:51  Agent gcs-npe-gcs-pet-allow-access-ui-build-develop-59-596dv-nw-lf9n6 is provisioned from template GCS_NPE_gcs-pet-allow-access-ui_build_develop_59-596dv-nw6v4
12:04:51  ---
12:04:51  apiVersion: "v1"
12:04:51  kind: "Pod"
12:04:51  metadata:
12:04:51    annotations:
12:04:51      buildUrl: "https://cicd-tools.us.equifax.com/gcs-cicd-jenkins/job/GCS/job/NPE/job/gcs-pet-allow-access-ui/job/build/job/develop/59/"
12:04:51      runUrl: "job/GCS/job/NPE/job/gcs-pet-allow-access-ui/job/build/job/develop/59/"
12:04:51    labels:
12:04:51      some-label: "slave-f04e6eac-983b-487d-b000-94b4fc8b4882"
12:04:51      jenkins: "slave"
12:04:51      jenkins/label-digest: "6b6704f735d4b2d7108d8ebc0f09ee772e835ab6"
12:04:51      jenkins/label: "GCS_NPE_gcs-pet-allow-access-ui_build_develop_59-596dv"
12:04:51    name: "gcs-npe-gcs-pet-allow-access-ui-build-develop-59-596dv-nw-lf9n6"
12:04:51    namespace: "jaas"
12:04:51  spec:
12:04:51    containers:
12:04:51    - args:
12:04:51      - "cp /usr/local/openjdk-11/lib/security/cacerts /home/jenkins/agent/; chmod 755\
12:04:51        \ /home/jenkins/agent/cacerts; echo 'Istio proxy needs to come online before\
12:04:51        \ jnlp'; env; jenkins-slave; sleep 12;"
12:04:51      command:
12:04:51      - "/bin/sh"
12:04:51      - "-c"
12:04:51      env:
12:04:51      - name: "JENKINS_SECRET"
12:04:51        value: "********"
12:04:51      - name: "JENKINS_TUNNEL"
12:04:51        value: "10.131.37.126:8443"
12:04:51      - name: "JENKINS_AGENT_NAME"
12:04:51        value: "gcs-npe-gcs-pet-allow-access-ui-build-develop-59-596dv-nw-lf9n6"
12:04:51      - name: "JAVA_OPTS"
12:04:51        value: "-Djavax.net.ssl.trustStore=/usr/local/openjdk-11/lib/security/cacerts\
12:04:51          \ -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.trustStoreType=JKS"
12:04:51      - name: "JENKINS_NAME"
12:04:51        value: "gcs-npe-gcs-pet-allow-access-ui-build-develop-59-596dv-nw-lf9n6"
12:04:51      - name: "JENKINS_AGENT_WORKDIR"
12:04:51        value: "/home/jenkins/agent"
12:04:51      - name: "JENKINS_URL"
12:04:51        value: "https://cicd-tools.us.equifax.com/gcs-cicd-jenkins/"
12:04:51      image: "199866546485.dkr.ecr.us-east-1.amazonaws.com/us.gcr.io/iaas-gcr-reg-prd-ad3d/cicd/base/jenkins-docker-slave:latest-jdk17"
12:04:51      name: "jnlp"
12:04:51      resources:
12:04:51        requests:
12:04:51          memory: "256Mi"
12:04:51          cpu: "100m"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      image: "812504860083.dkr.ecr.us-east-1.amazonaws.com/maven8"
12:04:51      name: "maven-jdk8"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/root/.m2"
12:04:51        name: "m2-repo"
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      image: "812504860083.dkr.ecr.us-east-1.amazonaws.com/maven11"
12:04:51      name: "maven-jdk11"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/root/.m2"
12:04:51        name: "m2-repo"
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      image: "812504860083.dkr.ecr.us-east-1.amazonaws.com/maven-jdk17:1.0.3"
12:04:51      name: "maven-jdk17"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/root/.m2"
12:04:51        name: "m2-repo"
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      env:
12:04:51      - name: "JAVA_TOOL_OPTIONS"
12:04:51        value: "-Djavax.net.ssl.trustStore=/usr/lib/jvm/java-17-openjdk/lib/security/cacerts\
12:04:51          \ -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.trustStoreType=JKS"
12:04:51      - name: "JAVA_HOME"
12:04:51        value: "/usr/lib/jvm/java-17-openjdk"
12:04:51      - name: "PATH"
12:04:51        value: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/google-cloud-sdk/bin:/usr/lib/jvm/java-17-openjdk/bin"
12:04:51      image: "199866546485.dkr.ecr.us-east-1.amazonaws.com/us.gcr.io/iaas-gcr-reg-prd-ad3d/cicd/base/maven-jdk17:17.0.2"
12:04:51      name: "cicd-maven-jdk17"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      image: "199866546485.dkr.ecr.us-east-1.amazonaws.com/us.gcr.io/iaas-gcr-reg-prd-ad3d/cicd/base/node:20-latest"
12:04:51      name: "docker-node"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/root/.m2"
12:04:51        name: "m2-repo"
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      image: "812504860083.dkr.ecr.us-east-1.amazonaws.com/docker-aws-cli:1.0.1"
12:04:51      name: "aws"
12:04:51      securityContext:
12:04:51        runAsGroup: 0
12:04:51        runAsUser: 0
12:04:51        fsGroup: 0
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/var/run/docker.sock"
12:04:51        name: "docker-sock"
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    - command:
12:04:51      - "cat"
12:04:51      image: "812504860083.dkr.ecr.us-east-1.amazonaws.com/docker"
12:04:51      name: "docker"
12:04:51      tty: true
12:04:51      volumeMounts:
12:04:51      - mountPath: "/var/run/docker.sock"
12:04:51        name: "docker-sock"
12:04:51      - mountPath: "/home/jenkins/agent"
12:04:51        name: "workspace-volume"
12:04:51        readOnly: false
12:04:51    nodeSelector:
12:04:51      kubernetes.io/os: "linux"
12:04:51    restartPolicy: "Never"
12:04:51    securityContext:
12:04:51      fsGroup: 1000
12:04:51      runAsGroup: 1000
12:04:51      runAsUser: 1000
12:04:51    volumes:
12:04:51    - hostPath:
12:04:51        path: "/var/run/docker.sock"
12:04:51      name: "docker-sock"
12:04:51    - hostPath:
12:04:51        path: "/root/.m2"
12:04:51      name: "m2-repo"
12:04:51    - emptyDir:
12:04:51        medium: ""
12:04:51      name: "workspace-volume"
12:04:51  
12:04:51  Running on gcs-npe-gcs-pet-allow-access-ui-build-develop-59-596dv-nw-lf9n6 in /home/jenkins/agent/workspace/et-allow-access-ui_build_develop
12:04:51  [Pipeline] {
12:04:51  [Pipeline] stage
12:04:51  [Pipeline] { (Declarative: Checkout SCM)
12:04:51  [Pipeline] checkout
12:04:51  The recommended git tool is: NONE
12:04:57  using credential 91317-githubGCSApp
12:04:57  Cloning the remote Git repository
12:04:57  Cloning with configured refspecs honoured and without tags
12:04:57  Cloning repository https://github.com/Equifax/gcs-pet-allow-access-ui.git
12:04:57   > git init /home/jenkins/agent/workspace/et-allow-access-ui_build_develop # timeout=10
12:04:57  Fetching upstream changes from https://github.com/Equifax/gcs-pet-allow-access-ui.git
12:04:57   > git --version # timeout=10
12:04:57   > git --version # 'git version 2.30.2'
12:04:57  using GIT_ASKPASS to set credentials 91317-githubGCSApp
12:04:57   > git fetch --no-tags --force --progress -- https://github.com/Equifax/gcs-pet-allow-access-ui.git +refs/heads/develop:refs/remotes/origin/develop # timeout=10
12:04:59   > git config remote.origin.url https://github.com/Equifax/gcs-pet-allow-access-ui.git # timeout=10
12:04:59   > git config --add remote.origin.fetch +refs/heads/develop:refs/remotes/origin/develop # timeout=10
12:05:00  Avoid second fetch
12:05:00  Checking out Revision 71780c1bf112e03ca840da2ed6b5dbe80feb319a (develop)
12:05:01  Commit message: "Merge pull request #92 from Equifax/feature/GCSSRE-9015-fortify"
12:05:00   > git config core.sparsecheckout # timeout=10
12:05:00   > git checkout -f 71780c1bf112e03ca840da2ed6b5dbe80feb319a # timeout=10
12:05:01   > git rev-list --no-walk 71780c1bf112e03ca840da2ed6b5dbe80feb319a # timeout=10
12:05:01  
12:05:01  GitHub has been notified of this commit’s build result
12:05:01  
12:05:01  [Pipeline] }
12:05:01  [Pipeline] // stage
12:05:01  [Pipeline] withEnv
12:05:01  [Pipeline] {
12:05:01  [Pipeline] stage
12:05:01  [Pipeline] { (Load Config)
12:05:01  [Pipeline] container
12:05:01  [Pipeline] {
12:05:01  [Pipeline] script
12:05:01  [Pipeline] {
12:05:01  [Pipeline] sh
12:05:02  + git log -1
12:05:02  + grep \ci_skip\
12:05:02  grep: Trailing backslash
12:05:02  [Pipeline] echo
12:05:02  Checking for region config: automation/jenkins/jenkins-config-us-east-1-default.yaml
12:05:02  [Pipeline] fileExists
12:05:02  [Pipeline] echo
12:05:02  Checking for region config: automation/jenkins/jenkins-config-us-east-1.yaml
12:05:02  [Pipeline] fileExists
12:05:02  [Pipeline] echo
12:05:02  Using jenkins config: automation/jenkins/jenkins-config.yaml
12:05:02  [Pipeline] readYaml
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // script
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // container
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Build)
12:05:03  Stage "Build" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (UI Build)
12:05:03  Stage "UI Build" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Java Build)
12:05:03  Stage "Java Build" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Unit and Integration tests)
12:05:03  Stage "Unit and Integration tests" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Cucumber Tests Report)
12:05:03  Stage "Cucumber Tests Report" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (SonarQube Scan)
12:05:03  Stage "SonarQube Scan" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Fortify Scan)
12:05:03  Stage "Fortify Scan" skipped due to earlier failure(s)
12:05:03  [Pipeline] }
12:05:03  [Pipeline] // stage
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Parallel Scans)
12:05:03  Stage "Parallel Scans" skipped due to earlier failure(s)
12:05:03  [Pipeline] parallel
12:05:03  [Pipeline] { (Branch: Nexus IQ Scan)
12:05:03  [Pipeline] { (Branch: SonarQube Quality Gate)
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (Nexus IQ Scan)
12:05:03  [Pipeline] stage
12:05:03  [Pipeline] { (SonarQube Quality Gate)
12:05:04  Stage "Nexus IQ Scan" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  Stage "SonarQube Quality Gate" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] }
12:05:04  Failed in branch Nexus IQ Scan
12:05:04  [Pipeline] }
12:05:04  Failed in branch SonarQube Quality Gate
12:05:04  [Pipeline] // parallel
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] stage
12:05:04  [Pipeline] { (Publish Artifacts)
12:05:04  Stage "Publish Artifacts" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] stage
12:05:04  [Pipeline] { (Build Docker)
12:05:04  Stage "Build Docker" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] stage
12:05:04  [Pipeline] { (Push Docker Image)
12:05:04  Stage "Push Docker Image" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] stage
12:05:04  [Pipeline] { (Release Versioning)
12:05:04  Stage "Release Versioning" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] stage
12:05:04  [Pipeline] { (Trigger deploy)
12:05:04  Stage "Trigger deploy" skipped due to earlier failure(s)
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // stage
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // withEnv
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // node
12:05:04  [Pipeline] }
12:05:04  [Pipeline] // podTemplate
12:05:04  [Pipeline] End of Pipeline
12:05:04  Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 1252bee2-0768-46e5-b437-1217169252fa
12:05:04  hudson.remoting.ProxyException: while parsing a block mapping
12:05:04   in 'reader', line 2, column 3:
12:05:04        registries:
12:05:04        ^
12:05:04  expected <block end>, but found '<block mapping start>'
12:05:04   in 'reader', line 15, column 4:
12:05:04         fortify:
12:05:04         ^
12:05:04  
12:05:04    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:654)
12:05:04    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
12:05:04    at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:57)
12:05:04    at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:43)
12:05:04    at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:136)
12:05:04    at org.yaml.snakeyaml.comments.CommentEventsCollector.collectEvents(CommentEventsCollector.java:116)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeScalarNode(Composer.java:241)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:205)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:369)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:348)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:323)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:209)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:369)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:348)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:323)
12:05:04    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:209)
12:05:04    at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:131)
12:05:04    at org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:162)
12:05:04    at org.yaml.snakeyaml.Yaml$1.next(Yaml.java:515)
12:05:04    at org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep$Execution.doRun(ReadYamlStep.java:263)
12:05:04    at org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepExecution.run(AbstractFileOrTextStepExecution.java:29)
12:05:04    at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
12:05:04    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
12:05:04    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
12:05:04    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
12:05:04    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
12:05:04    at java.base/java.lang.Thread.run(Thread.java:840)
12:05:05  
12:05:05  GitHub has been notified of this commit’s build result
12:05:05  
12:05:05  Finished: FAILURE
 Help us localize this page
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
<repository>
                    <id>central</id>
                    <url>https://repo.maven.apache.org/maven2</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </repository>
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
{"logtimestamp":"2024-06-27T07:28:38.656Z","threadId":"55","sessionId":"8848DEF9708A041B8E0157C6832ACBA5","transactionId":"2353141238083746","dd.trace_id":"3932198846696923286","dd.service":"gcs-pet-saas-sandbox","dd.env":"uat-ext","dd.version":"0.163.0-feature-GCSSRE-8852-sandbox-SNAPSHOT","dd.span_id":"8489621193089128858","msg":{"log":"Handling error: InsufficientAuthenticationException, There is no client authentication. Try adding an appropriate authentication filter."}}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
{"logtimestamp":"2024-06-26T19:35:52.421Z","threadId":"47","sessionId":"C5734F5559FAC6899A162106A0780E25","transactionId":"2310290831409591","dd.trace_id":"8614956023962444285","dd.service":"gcs-pet-saas-sandbox","dd.env":"uat-ext","dd.version":"0.163.0-feature-GCSSRE-8852-sandbox-SNAPSHOT","dd.span_id":"6943467628838144044","msg":{"log":"No more cluster attempts left.; nested exception is redis.clients.jedis.exceptions.JedisClusterMaxAttemptsException: No more cluster attempts left."}}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
location /business/allow-access/v1/ {
    proxy_pass https://dev-allow-access.gcsdevelopment.com/business/allow-access/v1;
    proxy_set_header X-Forwarded-Host $host:$server_port;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
Log 2


Started by user Avinash Reddy
18:38:04  [Pipeline] Start of Pipeline
18:38:04  [Pipeline] node
18:38:04  Running on Jenkins in /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan
18:38:04  [Pipeline] {
18:38:04  [Pipeline] stage
18:38:04  [Pipeline] { (Checkout Files)
18:38:04  [Pipeline] checkout
18:38:04  The recommended git tool is: NONE
18:38:04  using credential 91317-githubGCSApp
18:38:04  Wiping out workspace first.
18:38:04  Cloning the remote Git repository
18:38:04  Cloning repository https://github.com/Equifax/gcs-pet-allow-access-ui.git
18:38:04   > git init /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan # timeout=10
18:38:04  Fetching upstream changes from https://github.com/Equifax/gcs-pet-allow-access-ui.git
18:38:04   > git --version # timeout=10
18:38:04   > git --version # 'git version 2.39.2'
18:38:04  using GIT_ASKPASS to set credentials 91317-githubGCSApp
18:38:04   > git fetch --tags --force --progress -- https://github.com/Equifax/gcs-pet-allow-access-ui.git +refs/heads/*:refs/remotes/origin/* # timeout=10
18:38:05   > git config remote.origin.url https://github.com/Equifax/gcs-pet-allow-access-ui.git # timeout=10
18:38:05   > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
18:38:05  Avoid second fetch
18:38:05   > git rev-parse 7c2101cb71fdeeadbaf13210fe6e53d04b4c2d9a^{commit} # timeout=10
18:38:05  Checking out Revision 7c2101cb71fdeeadbaf13210fe6e53d04b4c2d9a (detached)
18:38:05   > git config core.sparsecheckout # timeout=10
18:38:05   > git checkout -f 7c2101cb71fdeeadbaf13210fe6e53d04b4c2d9a # timeout=10
18:38:05  Commit message: "Update jenkinsfile.build.groovy"
18:38:05  [Pipeline] }
18:38:05  [Pipeline] // stage
18:38:05  [Pipeline] stage
18:38:05  [Pipeline] { (Copy Required Files to new Workspace)
18:38:05  [Pipeline] sh
18:38:05  + rm -rf /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:05  [Pipeline] sh
18:38:05  + mkdir /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:05  [Pipeline] dir
18:38:05  Running in /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan
18:38:05  [Pipeline] {
18:38:05  [Pipeline] sh
18:38:06  + rm -rf src/environments
18:38:06  [Pipeline] sh
18:38:06  + find . -name *.spec.ts -type f -delete
18:38:06  [Pipeline] echo
18:38:06  removing unrequired assets from assets folder: icons,images,img,fonts, i18n
18:38:06  [Pipeline] sh
18:38:06  + rm -rf src/assets/icons
18:38:06  [Pipeline] sh
18:38:07  + rm -rf src/assets/images
18:38:07  [Pipeline] sh
18:38:07  + rm -rf src/assets/img
18:38:07  [Pipeline] sh
18:38:07  + rm -rf src/assets/i18n
18:38:07  [Pipeline] sh
18:38:07  + rm -rf src/assets/fonts
18:38:07  [Pipeline] sh
18:38:08  + cp package.json /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:08  [Pipeline] sh
18:38:08  + cp angular.json /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:08  [Pipeline] sh
18:38:08  + cp -R src/ /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:08  [Pipeline] }
18:38:08  [Pipeline] // dir
18:38:08  [Pipeline] }
18:38:08  [Pipeline] // stage
18:38:08  [Pipeline] stage
18:38:08  [Pipeline] { (Fortify Scan Front End)
18:38:08  [Pipeline] echo
18:38:08  it's a development scan
18:38:08  [Pipeline] library
18:38:08  Loading library fortifyPipeline@23.03
18:38:08  Examining Equifax/7345_us_cicd_fortifyPipeline_iaas
18:38:08  Attempting to resolve 23.03 as a branch
18:38:09  Attempting to resolve 23.03 as a tag
18:38:09  Resolved 23.03 as tag 23.03 at revision 6b3f35a965c082af8b89bb69891230ea333beb95
18:38:09  The recommended git tool is: NONE
18:38:09  using credential 91317-githubGCSApp
18:38:09  Cloning the remote Git repository
18:38:09  Cloning with configured refspecs honoured and with tags
18:38:09  Cloning repository https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git
18:38:09   > git init /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan@libs/20de3f3c693da784f19fb00941460efba75744a4cf0cf2bcbcc6ab2f937c44cb # timeout=10
18:38:09  Fetching upstream changes from https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git
18:38:09   > git --version # timeout=10
18:38:09   > git --version # 'git version 2.39.2'
18:38:09  using GIT_ASKPASS to set credentials 91317-githubGCSApp
18:38:09   > git fetch --tags --force --progress -- https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git +refs/tags/23.03:refs/tags/23.03 # timeout=10
18:38:09   > git config remote.origin.url https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git # timeout=10
18:38:09   > git config --add remote.origin.fetch +refs/tags/23.03:refs/tags/23.03 # timeout=10
18:38:09   > git config remote.origin.url https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git # timeout=10
18:38:09  Fetching with tags
18:38:09  Fetching upstream changes from https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git
18:38:09  using GIT_ASKPASS to set credentials 91317-githubGCSApp
18:38:09   > git fetch --tags --force --progress -- https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git +refs/tags/23.03:refs/tags/23.03 # timeout=10
18:38:10  Checking out Revision 6b3f35a965c082af8b89bb69891230ea333beb95 (23.03)
18:38:10   > git config core.sparsecheckout # timeout=10
18:38:10   > git checkout -f 6b3f35a965c082af8b89bb69891230ea333beb95 # timeout=10
18:38:10  Commit message: "[JIRA #CICDPD-1852] [Fortify] Resolve passing secrets insecurely via Groovy string interpolation (#51)"
18:38:10  First time build. Skipping changelog.
18:38:10  [Pipeline] script
18:38:10  [Pipeline] {
18:38:10  [Pipeline] script
18:38:10  [Pipeline] {
18:38:10  [Pipeline] }
18:38:10  [Pipeline] // script
18:38:10  [Pipeline] script
18:38:10  [Pipeline] {
18:38:10  [Pipeline] withCredentials
18:38:10  Masking supported pattern matches of $FORTIFY_CLIENT_SECRET
18:38:10  [Pipeline] {
18:38:10  [Pipeline] httpRequest
18:38:10  HttpMethod: POST
18:38:10  URL: https://api.ams.fortify.com/oauth/token
18:38:10  Content-Type: application/x-www-form-urlencoded; charset=ISO-8859-1
18:38:10  Sending request to url: https://api.ams.fortify.com/oauth/token
18:38:10  Response Code: HTTP/1.1 200 OK
18:38:10  Success: Status code 200 is in the accepted range: 100:399
18:38:10  [Pipeline] readJSON
18:38:10  [Pipeline] echo
18:38:10  Got Fortify Bearer token
18:38:10  [Pipeline] }
18:38:10  [Pipeline] // withCredentials
18:38:10  [Pipeline] }
18:38:10  [Pipeline] // script
18:38:11  [Pipeline] httpRequest
18:38:11  HttpMethod: GET
18:38:11  URL: https://api.ams.fortify.com/api/v3/applications/163842
18:38:11  Accept: application/json
18:38:11  Authorization: *****
18:38:11  Sending request to url: https://api.ams.fortify.com/api/v3/applications/163842
18:38:11  Response Code: HTTP/1.1 200 OK
18:38:11  Success: Status code 200 is in the accepted range: 100:399
18:38:11  [Pipeline] readJSON
18:38:11  [Pipeline] script
18:38:11  [Pipeline] {
18:38:11  [Pipeline] }
18:38:11  [Pipeline] // script
18:38:11  [Pipeline] script
18:38:11  [Pipeline] {
18:38:11  [Pipeline] httpRequest
18:38:11  HttpMethod: GET
18:38:11  URL: https://api.ams.fortify.com/api/v3/applications/163842/releases?filters=releaseName%3Aallow-access_Backend_Production&orderBy=releaseName
18:38:11  Accept: application/json
18:38:11  Authorization: *****
18:38:11  Sending request to url: https://api.ams.fortify.com/api/v3/applications/163842/releases?filters=releaseName%3Aallow-access_Backend_Production&orderBy=releaseName
18:38:12  Response Code: HTTP/1.1 200 OK
18:38:12  Success: Status code 200 is in the accepted range: 100:399
18:38:12  [Pipeline] readJSON
18:38:12  [Pipeline] }
18:38:12  [Pipeline] // script
18:38:12  [Pipeline] script
18:38:12  [Pipeline] {
18:38:12  [Pipeline] httpRequest
18:38:12  HttpMethod: GET
18:38:12  URL: https://api.ams.fortify.com/api/v3/applications/163842/releases?filters=releaseName%3Aallow-access-ui_Development&fields=releaseName%2CreleaseId
18:38:12  Accept: application/json
18:38:12  Authorization: *****
18:38:12  Sending request to url: https://api.ams.fortify.com/api/v3/applications/163842/releases?filters=releaseName%3Aallow-access-ui_Development&fields=releaseName%2CreleaseId
18:38:12  Response Code: HTTP/1.1 200 OK
18:38:12  Success: Status code 200 is in the accepted range: 100:399
18:38:12  [Pipeline] readJSON
18:38:12  [Pipeline] echo
18:38:12  Create Release JSON:
18:38:12  [Pipeline] echo
18:38:12  {
18:38:12      "applicationId": 163842,
18:38:12      "releaseName": "allow-access-ui_Development",
18:38:12      "releaseDescription": "New Release",
18:38:12      "copyState": false,
18:38:12      "copyStateReleaseId": 0,
18:38:12      "sdlcStatusType": "development",
18:38:12      "microserviceId": 0
18:38:12    }
18:38:12  [Pipeline] httpRequest
18:38:12  HttpMethod: POST
18:38:12  URL: https://api.ams.fortify.com/api/v3/releases
18:38:12  Content-Type: application/json
18:38:12  Accept: application/json
18:38:12  Authorization: *****
18:38:12  Sending request to url: https://api.ams.fortify.com/api/v3/releases
18:38:13  Response Code: HTTP/1.1 201 Created
18:38:13  Success: Status code 201 is in the accepted range: 100:399
18:38:13  [Pipeline] readJSON
18:38:13  [Pipeline] echo
18:38:13  Fortify release allow-access-ui_Development with release id 1213726 created
18:38:13  [Pipeline] }
18:38:13  [Pipeline] // script
18:38:14  [Pipeline] script
18:38:14  [Pipeline] {
18:38:14  [Pipeline] echo
18:38:14  Setting up scan...
18:38:14  [Pipeline] httpRequest
18:38:14  HttpMethod: GET
18:38:14  URL: https://api.ams.fortify.com/api/v3/lookup-items?type=TechnologyTypes
18:38:14  Accept: application/json
18:38:14  Authorization: *****
18:38:14  Sending request to url: https://api.ams.fortify.com/api/v3/lookup-items?type=TechnologyTypes
18:38:14  Response Code: HTTP/1.1 200 OK
18:38:14  Success: Status code 200 is in the accepted range: 100:399
18:38:14  [Pipeline] readJSON
18:38:14  [Pipeline] httpRequest
18:38:14  HttpMethod: GET
18:38:14  URL: https://api.ams.fortify.com/api/v3/applications/163842
18:38:14  Accept: application/json
18:38:14  Authorization: *****
18:38:14  Sending request to url: https://api.ams.fortify.com/api/v3/applications/163842
18:38:15  Response Code: HTTP/1.1 200 OK
18:38:15  Success: Status code 200 is in the accepted range: 100:399
18:38:15  [Pipeline] readJSON
18:38:15  [Pipeline] httpRequest
18:38:15  HttpMethod: PUT
18:38:15  URL: https://api.ams.fortify.com/api/v3/releases/1213726/static-scans/scan-setup
18:38:15  Content-Type: application/json
18:38:15  Accept: application/json
18:38:15  Authorization: *****
18:38:15  Sending request to url: https://api.ams.fortify.com/api/v3/releases/1213726/static-scans/scan-setup
18:38:15  Response Code: HTTP/1.1 200 OK
18:38:15  Success: Status code 200 is in the accepted range: 200
18:38:15  [Pipeline] echo
18:38:15  Setup scan
18:38:15  [Pipeline] }
18:38:15  [Pipeline] // script
18:38:15  [Pipeline] httpRequest
18:38:15  HttpMethod: GET
18:38:15  URL: https://api.ams.fortify.com/api/v3/releases/1213726/scans?orderBy=scanId&orderByDirection=DESC
18:38:15  Accept: application/json
18:38:15  Authorization: *****
18:38:15  Sending request to url: https://api.ams.fortify.com/api/v3/releases/1213726/scans?orderBy=scanId&orderByDirection=DESC
18:38:16  Response Code: HTTP/1.1 200 OK
18:38:16  Success: Status code 200 is in the accepted range: 100:399
18:38:16  [Pipeline] readJSON
18:38:16  [Pipeline] fodStaticAssessment
18:38:16  Running fodStaticAssessment step
18:38:16  Fortify on Demand Upload Running...
18:38:16  Starting FoD Upload.
18:38:16  Correlation Id = f10a3a5e-260b-41fe-97fa-6dcd2779a852
18:38:17  Begin Create Zip.
18:38:17  Source file directory: /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:17  Temporary file created at: /tmp/fodupload11598837431921531797.zip
18:38:17  End Create Zip.
18:38:17  Getting Assessment
18:38:17  TOTAL FILE SIZE = 47287
18:38:17  CHUNK_SIZE = 1048576
18:38:17  2024-06-24 18:38:17.186 Uploading fragment 0
18:38:26  2024-06-24 18:38:26.783 Upload Status - Fragment No: 0, Bytes sent: 47287 (Response: 422)
18:38:26  2024-06-24 18:38:26.783 An error occurred during the upload.
18:38:26  2024-06-24 18:38:26.924 Package upload failed for the following reasons: 
18:38:26  
18:38:26  1) StaticScansV3Controller_EntitlementIdNotValid
18:38:27  [Pipeline] catchError
18:38:27  [Pipeline] {
18:38:27  [Pipeline] sh
18:38:27  + exit 1
18:38:27  [Pipeline] }
18:38:27  ERROR: script returned exit code 1
18:38:27  [Pipeline] // catchError
18:38:27  [Pipeline] ansiColor
18:38:27  [Pipeline] {
18:38:27  
18:38:27  [Pipeline] echo
18:38:27  
18:38:27  
18:38:27   *** FAILURE ***
18:38:27  
18:38:27  There was an issue uploading to Fortify...Please check upload log
18:38:27  Setting Stage status to UNSTABLE, Job status to FAILURE
18:38:27  
18:38:27  
18:38:27  [Pipeline] }
18:38:27  
18:38:27  [Pipeline] // ansiColor
18:38:27  [Pipeline] }
18:38:27  [Pipeline] // script
18:38:27  [Pipeline] }
18:38:27  [Pipeline] // stage
18:38:27  [Pipeline] stage
18:38:27  [Pipeline] { (Remove old workspace)
18:38:27  [Pipeline] echo
18:38:27  upload is complete, deleting temp workspace
18:38:27  [Pipeline] sh
18:38:28  + rm -rf /var/jenkins_home/workspace/GCS/NPE/allow-access-ui_FortifyScan/temp_fortify_workspace
18:38:28  [Pipeline] }
18:38:28  [Pipeline] // stage
18:38:28  [Pipeline] cleanWs
18:38:28  [WS-CLEANUP] Deleting project workspace...
18:38:28  [WS-CLEANUP] Deferred wipeout is used...
18:38:28  [WS-CLEANUP] done
18:38:28  [Pipeline] }
18:38:28  [Pipeline] // node
18:38:28  [Pipeline] End of Pipeline
18:38:28  Finished: FAILURE
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy
log 1


02:32:18  Started by user Leonardo Pandolfi
02:32:18  [Pipeline] Start of Pipeline
02:32:18  [Pipeline] node
02:32:18  Running on Jenkins in /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan
02:32:18  [Pipeline] {
02:32:18  [Pipeline] stage
02:32:18  [Pipeline] { (Checkout Files)
02:32:18  [Pipeline] checkout
02:32:18  The recommended git tool is: git
02:32:18  using credential 91317-githubGCSApp
02:32:18  Wiping out workspace first.
02:32:18  Cloning the remote Git repository
02:32:18  Cloning repository https://github.com/Equifax/gcs-pet-membercenter.git
02:32:18   > git init /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan # timeout=10
02:32:18  Fetching upstream changes from https://github.com/Equifax/gcs-pet-membercenter.git
02:32:18   > git --version # timeout=10
02:32:18   > git --version # 'git version 2.39.2'
02:32:18  using GIT_ASKPASS to set credentials 91317-githubGCSApp
02:32:18   > git fetch --tags --force --progress -- https://github.com/Equifax/gcs-pet-membercenter.git +refs/heads/*:refs/remotes/origin/* # timeout=10
02:32:27   > git config remote.origin.url https://github.com/Equifax/gcs-pet-membercenter.git # timeout=10
02:32:28   > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
02:32:28  Avoid second fetch
02:32:28   > git rev-parse 33c9bb8750efe7ddaf3e5b378a0a1137d48ee0e9^{commit} # timeout=10
02:32:28  Checking out Revision 33c9bb8750efe7ddaf3e5b378a0a1137d48ee0e9 (detached)
02:32:28   > git config core.sparsecheckout # timeout=10
02:32:28   > git checkout -f 33c9bb8750efe7ddaf3e5b378a0a1137d48ee0e9 # timeout=10
02:32:28  Commit message: "Staging 27d13a87d446d1e196980c1042acc6012996a262 (#2053)"
02:32:28  [Pipeline] }
02:32:28  [Pipeline] // stage
02:32:28  [Pipeline] stage
02:32:28  [Pipeline] { (Copy Required Files to new Workspace)
02:32:28  [Pipeline] sh
02:32:28  + rm -rf /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:32:28  [Pipeline] sh
02:32:29  + mkdir /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:32:29  [Pipeline] dir
02:32:29  Running in /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/channel-web/member-center-ui
02:32:29  [Pipeline] {
02:32:29  [Pipeline] sh
02:32:29  + rm -rf src/environments
02:32:29  [Pipeline] sh
02:32:29  + find . -name *.spec.ts -type f -delete
02:32:29  [Pipeline] echo
02:32:29  removing unrequired assets from assets folder: icons,images,img,fonts, i18n
02:32:29  [Pipeline] sh
02:32:30  + rm -rf src/assets/icons
02:32:30  [Pipeline] sh
02:32:30  + rm -rf src/assets/images
02:32:30  [Pipeline] sh
02:32:30  + rm -rf src/assets/img
02:32:30  [Pipeline] sh
02:32:30  + rm -rf src/assets/i18n
02:32:30  [Pipeline] sh
02:32:31  + rm -rf src/assets/fonts
02:32:31  [Pipeline] sh
02:32:31  + cp package.json /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:32:31  [Pipeline] sh
02:32:31  + cp angular.json /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:32:31  [Pipeline] sh
02:32:31  + cp -R src/ /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:32:31  [Pipeline] }
02:32:32  [Pipeline] // dir
02:32:32  [Pipeline] }
02:32:32  [Pipeline] // stage
02:32:32  [Pipeline] stage
02:32:32  [Pipeline] { (Fortify Scan Front End)
02:32:32  [Pipeline] echo
02:32:32  it's a production scan
02:32:32  [Pipeline] library
02:32:32  Loading library fortifyPipeline@23.03
02:32:32  Examining Equifax/7345_us_cicd_fortifyPipeline_iaas
02:32:32  Attempting to resolve 23.03 as a branch
02:32:32  Attempting to resolve 23.03 as a tag
02:32:32  Resolved 23.03 as tag 23.03 at revision 6b3f35a965c082af8b89bb69891230ea333beb95
02:32:32  The recommended git tool is: NONE
02:32:32  using credential 91317-githubGCSApp
02:32:32  Cloning the remote Git repository
02:32:32  Cloning with configured refspecs honoured and with tags
02:32:32  Cloning repository https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git
02:32:32   > git init /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan@libs/20de3f3c693da784f19fb00941460efba75744a4cf0cf2bcbcc6ab2f937c44cb # timeout=10
02:32:32  Fetching upstream changes from https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git
02:32:32   > git --version # timeout=10
02:32:32   > git --version # 'git version 2.39.2'
02:32:32  using GIT_ASKPASS to set credentials 91317-githubGCSApp
02:32:32   > git fetch --tags --force --progress -- https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git +refs/tags/23.03:refs/tags/23.03 # timeout=10
02:32:33   > git config remote.origin.url https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git # timeout=10
02:32:33   > git config --add remote.origin.fetch +refs/tags/23.03:refs/tags/23.03 # timeout=10
02:32:33   > git config remote.origin.url https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git # timeout=10
02:32:33  Fetching with tags
02:32:33  Fetching upstream changes from https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git
02:32:33  using GIT_ASKPASS to set credentials 91317-githubGCSApp
02:32:33   > git fetch --tags --force --progress -- https://github.com/Equifax/7345_us_cicd_fortifyPipeline_iaas.git +refs/tags/23.03:refs/tags/23.03 # timeout=10
02:32:33  Checking out Revision 6b3f35a965c082af8b89bb69891230ea333beb95 (23.03)
02:32:33   > git config core.sparsecheckout # timeout=10
02:32:33   > git checkout -f 6b3f35a965c082af8b89bb69891230ea333beb95 # timeout=10
02:32:33  Commit message: "[JIRA #CICDPD-1852] [Fortify] Resolve passing secrets insecurely via Groovy string interpolation (#51)"
02:32:33   > git rev-list --no-walk 6b3f35a965c082af8b89bb69891230ea333beb95 # timeout=10
02:32:33  [Pipeline] script
02:32:33  [Pipeline] {
02:32:33  [Pipeline] script
02:32:33  [Pipeline] {
02:32:33  [Pipeline] }
02:32:33  [Pipeline] // script
02:32:33  [Pipeline] script
02:32:33  [Pipeline] {
02:32:33  [Pipeline] withCredentials
02:32:33  Masking supported pattern matches of $FORTIFY_CLIENT_SECRET
02:32:33  [Pipeline] {
02:32:33  [Pipeline] httpRequest
02:32:33  HttpMethod: POST
02:32:33  URL: https://api.ams.fortify.com/oauth/token
02:32:33  Content-Type: application/x-www-form-urlencoded; charset=ISO-8859-1
02:32:33  Sending request to url: https://api.ams.fortify.com/oauth/token
02:32:34  Response Code: HTTP/1.1 200 OK
02:32:34  Success: Status code 200 is in the accepted range: 100:399
02:32:34  [Pipeline] readJSON
02:32:34  [Pipeline] echo
02:32:34  Got Fortify Bearer token
02:32:34  [Pipeline] }
02:32:34  [Pipeline] // withCredentials
02:32:34  [Pipeline] }
02:32:34  [Pipeline] // script
02:32:34  [Pipeline] httpRequest
02:32:34  HttpMethod: GET
02:32:34  URL: https://api.ams.fortify.com/api/v3/applications/105715
02:32:34  Accept: application/json
02:32:34  Authorization: *****
02:32:34  Sending request to url: https://api.ams.fortify.com/api/v3/applications/105715
02:32:34  Response Code: HTTP/1.1 200 OK
02:32:34  Success: Status code 200 is in the accepted range: 100:399
02:32:34  [Pipeline] readJSON
02:32:35  [Pipeline] script
02:32:35  [Pipeline] {
02:32:35  [Pipeline] }
02:32:35  [Pipeline] // script
02:32:35  [Pipeline] script
02:32:35  [Pipeline] {
02:32:35  [Pipeline] httpRequest
02:32:35  HttpMethod: GET
02:32:35  URL: https://api.ams.fortify.com/api/v3/applications/105715/releases?filters=releaseName%3AMember_Center_Backend_Production&orderBy=releaseName
02:32:35  Accept: application/json
02:32:35  Authorization: *****
02:32:35  Sending request to url: https://api.ams.fortify.com/api/v3/applications/105715/releases?filters=releaseName%3AMember_Center_Backend_Production&orderBy=releaseName
02:32:35  Response Code: HTTP/1.1 200 OK
02:32:35  Success: Status code 200 is in the accepted range: 100:399
02:32:35  [Pipeline] readJSON
02:32:35  [Pipeline] echo
02:32:35  Copying state from Fortify release with name Member_Center_Backend_Production and id 179367
02:32:35  [Pipeline] }
02:32:35  [Pipeline] // script
02:32:35  [Pipeline] script
02:32:35  [Pipeline] {
02:32:35  [Pipeline] httpRequest
02:32:35  HttpMethod: GET
02:32:35  URL: https://api.ams.fortify.com/api/v3/applications/105715/releases?filters=releaseName%3AMember_Center_FrontEnd_Production&fields=releaseName%2CreleaseId
02:32:35  Accept: application/json
02:32:35  Authorization: *****
02:32:35  Sending request to url: https://api.ams.fortify.com/api/v3/applications/105715/releases?filters=releaseName%3AMember_Center_FrontEnd_Production&fields=releaseName%2CreleaseId
02:32:36  Response Code: HTTP/1.1 200 OK
02:32:36  Success: Status code 200 is in the accepted range: 100:399
02:32:36  [Pipeline] readJSON
02:32:36  [Pipeline] echo
02:32:36  Fortify release Member_Center_FrontEnd_Production already exists, got existing release id 264706
02:32:36  [Pipeline] }
02:32:36  [Pipeline] // script
02:32:36  [Pipeline] httpRequest
02:32:36  HttpMethod: GET
02:32:36  URL: https://api.ams.fortify.com/api/v3/releases/264706/scans?orderBy=scanId&orderByDirection=DESC
02:32:36  Accept: application/json
02:32:36  Authorization: *****
02:32:36  Sending request to url: https://api.ams.fortify.com/api/v3/releases/264706/scans?orderBy=scanId&orderByDirection=DESC
02:32:37  Response Code: HTTP/1.1 200 OK
02:32:37  Success: Status code 200 is in the accepted range: 100:399
02:32:37  [Pipeline] readJSON
02:32:37  [Pipeline] fodStaticAssessment
02:32:37  Running fodStaticAssessment step
02:32:37  Fortify on Demand Upload Running...
02:32:37  Starting FoD Upload.
02:32:37  Correlation Id = 8f577915-79d5-45e0-a15a-7b3cb7dfe298
02:32:38  Begin Create Zip.
02:32:38  Source file directory: /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:32:38  Temporary file created at: /tmp/fodupload15576060886477554941.zip
02:32:38  End Create Zip.
02:32:38  Getting Assessment
02:32:38  TOTAL FILE SIZE = 1552925
02:32:38  CHUNK_SIZE = 1048576
02:32:38  2024-06-07 02:32:38.738 Uploading fragment 1
02:32:54  2024-06-07 02:32:54.932 Uploading fragment 0
02:33:10  2024-06-07 02:33:10.284 Upload Status - Fragment No: 0, Bytes sent: 1552925 (Response: 200)
02:33:10  2024-06-07 02:33:10.284 Scan 11082534 uploaded successfully. Total bytes sent: 1552925
02:33:10  Scan Uploaded Successfully.
02:33:10  [Pipeline] }
02:33:10  [Pipeline] // script
02:33:10  [Pipeline] }
02:33:10  [Pipeline] // stage
02:33:10  [Pipeline] stage
02:33:10  [Pipeline] { (Remove old workspace)
02:33:10  [Pipeline] echo
02:33:10  upload is complete, deleting temp workspace
02:33:10  [Pipeline] sh
02:33:10  + rm -rf /var/jenkins_home/workspace/GCS/NPE/MemberCenter_FrontendFortifyScan/temp_fortify_workspace
02:33:10  [Pipeline] }
02:33:10  [Pipeline] // stage
02:33:10  [Pipeline] cleanWs
02:33:10  [WS-CLEANUP] Deleting project workspace...
02:33:10  [WS-CLEANUP] Deferred wipeout is used...
02:33:10  [WS-CLEANUP] done
02:33:10  [Pipeline] }
02:33:10  [Pipeline] // node
02:33:10  [Pipeline] End of Pipeline
02:33:10  Finished: SUCCESS
Enter fullscreen mode Exit fullscreen mode
Collapse
 
avinash917 profile image
Avinash reddy

Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: d26630b5-168f-46af-8557-0388350e0998
17:12:12 java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
17:12:12 at org.codehaus.groovy.runtime.StringGroovyMethods.getAt(StringGroovyMethods.java:1391)
17:12:12 at org.codehaus.groovy.runtime.dgm$1082.doMethodInvoke(Unknown Source)
17:12:12 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
17:12:12 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
17:12:12 at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
17:12:12 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
17:12:12 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
17:12:12 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
17:12:12 at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.getArray(DefaultInvoker.java:57)
17:12:12 at org.jenkinsci.plugins.workflow.cps.LoggingInvoker.getArray(LoggingInvoker.java:143)
17:12:12 at com.cloudbees.groovy.cps.impl.ArrayAccessBlock.rawGet(ArrayAccessBlock.java:21)
17:12:12 at com.util.Versions.parseVersion(Versions.groovy:57)
17:12:12 at com.util.Maven.getVersion(Maven.groovy:16)
17:12:12 at buildPipeline.call(buildPipeline.groovy:277)
17:12:12 at cps.transform(Native Method)
17:12:12 at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:73)
17:12:12 at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
17:12:12 at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:65)
17:12:12 at jdk.internal.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
17:12:12 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:12:12 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
17:12:12 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
17:12:12 at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
17:12:12 at com.cloudbees.groovy.cps.Next.step(Next.java:83)
17:12:12 at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:147)
17:12:12 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:17)
17:12:12 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:49)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:180)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$wrap$4(CpsVmExecutorService.java:136)
17:12:12 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
17:12:12 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
17:12:12 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
17:12:12 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
17:12:12 at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
17:12:12 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
17:12:12 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
17:12:12 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
17:12:12 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:53)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:50)
17:12:12 at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
17:12:12 at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$categoryThreadFactory$0(CpsVmExecutorService.java:50)
17:12:12 at java.base/java.lang.Thread.run(Thread.java:840)

Collapse
 
avinash917 profile image
Avinash reddy

org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: d26630b5-168f-46af-8557-0388350e0998
17:12:12 java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
17:12:12 at org.codehaus.groovy.runtime.StringGroovyMethods.getAt(StringGroovyMethods.java:1391)
17:12:12 at org.codehaus.groovy.runtime.dgm$1082.doMethodInvoke(Unknown Source)
17:12:12 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
17:12:12 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
17:12:12 at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
17:12:12 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
17:12:12 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
17:12:12 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
17:12:12 at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.getArray(DefaultInvoker.java:57)
17:12:12 at org.jenkinsci.plugins.workflow.cps.LoggingInvoker.getArray(LoggingInvoker.java:143)
17:12:12 at com.cloudbees.groovy.cps.impl.ArrayAccessBlock.rawGet(ArrayAccessBlock.java:21)
17:12:12 at com.util.Versions.parseVersion(Versions.groovy:57)
17:12:12 at com.util.Maven.getVersion(Maven.groovy:16)
17:12:12 at buildPipeline.call(buildPipeline.groovy:277)
17:12:12 at cps.transform(Native Method)
17:12:12 at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:73)
17:12:12 at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
17:12:12 at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:65)
17:12:12 at jdk.internal.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
17:12:12 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:12:12 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
17:12:12 at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
17:12:12 at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
17:12:12 at com.cloudbees.groovy.cps.Next.step(Next.java:83)
17:12:12 at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:147)
17:12:12 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:17)
17:12:12 at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:49)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:180)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$wrap$4(CpsVmExecutorService.java:136)
17:12:12 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
17:12:12 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139)
17:12:12 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
17:12:12 at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
17:12:12 at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51)
17:12:12 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
17:12:12 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
17:12:12 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
17:12:12 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:53)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:50)
17:12:12 at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136)
17:12:12 at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275)
17:12:12 at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$categoryThreadFactory$0(CpsVmExecutorService.java:50)
17:12:12 at java.base/java.lang.Thread.run(Thread.java:840)

Collapse
 
avinash917 profile image
Avinash reddy

aws elasticache describe-cache-clusters --cache-cluster-id uat-ext-shared-secured-redis --show-cache-node-info