Started by user Ugandar Jangiti - Contractor [JTE] Obtained Pipeline Configuration File [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] -- file path: pipeline/pipeline_config.groovy [JTE] Pipeline Configuration Modifications [JTE] Configurations Added: [JTE] - jte.allow_scm_jenkinsfile set to false [JTE] - libraries.build_environment.region set to us-west-2 [JTE] - libraries.build_environment.account set to 382209070917 [JTE] - libraries.build_environment.secret set to legacy_prod_aws [JTE] - libraries.build_environment.repoPrefix set to jenkins-build-environment/pipelines [JTE] - libraries.build_environment.nestedDockerEnabled set to true [JTE] - libraries.build_environment.sharedNetworkEnabled set to false [JTE] - libraries.build_environment.dockerfilePath set to [JTE] - libraries.fortify.url set to https://api.ams.fortify.com [JTE] - libraries.fortify.apiKey set to ed937c44-742b-4cee-918a-db220da9bf89 [JTE] - libraries.fortify.apiSecretId set to FoD_api_key_secret [JTE] - libraries.sonatype.failBuildOnNetworkError set to false [JTE] - libraries.sonatype.enableDebugLogging set to false [JTE] - libraries.datadog_api.uri set to https://api.datadoghq.com/api/v2 [JTE] - libraries.datadog_api.appKey set to FORTIFY_APP_KEY_KPI_DEVOPS [JTE] - libraries.datadog_api.apiKey set to FORTIFY_API_KEY_KPI_DEVOPS [JTE] - libraries.jira.domain set to https://rehrig.atlassian.net [JTE] - libraries.jira.credentialsId set to jira-api-token-prod [JTE] - libraries.jira.startTimeField set to customfield_10831 [JTE] - libraries.jira.endTimeField set to customfield_10832 [JTE] - libraries.teams.webhookUrl set to [JTE] - libraries.pipeline_utils.additionalRepos set to [] [JTE] - libraries.pipeline_utils.codequalityAppName set to [JTE] - application_environments.dev.short_name set to Dev [JTE] - application_environments.dev.long_name set to Development [JTE] - application_environments.qa.short_name set to QA [JTE] - application_environments.qa.long_name set to Quality assurance [JTE] - application_environments.staging.short_name set to Staging [JTE] - application_environments.staging.long_name set to Staging [JTE] - application_environments.prod.short_name set to Prod [JTE] - application_environments.prod.long_name set to Production [JTE] - keywords.pre_stage_build_enabled set to false [JTE] - keywords.application_name set to [JTE] - keywords.service set to [JTE] - keywords.dev_leads set to [JTE] - keywords.qa_leads set to [JTE] - keywords.devops_team set to ITES-DEVOPS [JTE] - keywords.approval_timeout.time set to 7 [JTE] - keywords.approval_timeout.unit set to DAYS [JTE] - keywords.pull_request set to ^PR-[0-9]{1,}$ [JTE] - keywords.bitbucket_merge_message set to Merged in .*?(?=\s\(pull request) \(pull request #[0-9]{1,}\) [JTE] - keywords.feature set to ^[Ff]eature/[0-9a-zA-Z]{1,}(.*) [JTE] - keywords.master set to ^([Mm]aster|[Mm]ain)$ [JTE] - keywords.develop set to ^[Dd]evelop(ment|)$ [JTE] - keywords.hotfix set to ^[Hh]otfix/(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ [JTE] - keywords.release set to ^[Rr]elease/(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ [JTE] - keywords.approved_staging_bypass set to [VOR DevOps Pipelines/Edge/*, VOR DevOps Pipelines/Cloud/inference-cloud-service, VOR DevOps Pipelines/Cloud/instore-delivery, VOR DevOps Pipelines/Cloud/vor-cloud-data-sync-up] [JTE] - keywords.fortify_enabled set to true [JTE] - keywords.sonatype_enabled set to true [JTE] Configurations Deleted: None [JTE] Configurations Changed: None [JTE] Configurations Duplicated: None [JTE] Configurations Ignored: None [JTE] Subsequent May Merge: [JTE] - libraries [JTE] - libraries.build_environment [JTE] - libraries.fortify [JTE] - libraries.sonatype [JTE] - application_environments [JTE] - application_environments.dev [JTE] - application_environments.qa [JTE] - application_environments.staging [JTE] - application_environments.prod [JTE] - keywords [JTE] Subsequent May Override: [JTE] - libraries.build_environment.nestedDockerEnabled [JTE] - libraries.build_environment.sharedNetworkEnabled [JTE] - libraries.build_environment.dockerfilePath [JTE] - libraries.sonatype.failBuildOnNetworkError [JTE] - libraries.sonatype.enableDebugLogging [JTE] - libraries.teams.webhookUrl [JTE] - libraries.pipeline_utils.additionalRepos [JTE] - libraries.pipeline_utils.codequalityAppName [JTE] - keywords.pre_stage_build_enabled [JTE] - keywords.application_name [JTE] - keywords.service [JTE] - keywords.dev_leads [JTE] - keywords.qa_leads [JTE] Obtained Template Configuration File [JTE] -- scm: git https://bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git [JTE] -- file path: pipeline_config.groovy [JTE] Pipeline Configuration Modifications [JTE] Configurations Added: [JTE] - libraries.build_environment.os set to linux [JTE] - libraries.build_environment.arch set to x86 [JTE] - libraries.fortify.app set to devops-poc-jenkins-example-app [JTE] - libraries.fortify.technologyStack set to PYTHON [JTE] - libraries.fortify.languageLevel set to 3 [JTE] - libraries.sonatype.iqApplication set to devops-poc-jenkins-example-app [JTE] - libraries.sonatype.iqScanPatterns set to [ [JTE] "**/requirements/*.txt", [JTE] "**/requirements.txt" [JTE] ] [JTE] - libraries.custom_build set to [:] [JTE] - libraries.shell_test.script set to jenkins/scripts/test.sh [JTE] - libraries.s3_deploy.source set to build/** [JTE] - libraries.s3_deploy.target set to bucket_folder/ [JTE] - libraries.s3_deploy.exclude set to **/ignorable.txt [JTE] - libraries.shell_pre_stage_build.script set to jenkins/scripts/pre_stage_build.sh [JTE] - application_environments.dev.s3_deploy.credentials set to legacy_prod_aws [JTE] - application_environments.dev.s3_deploy.region set to us-west-2 [JTE] - application_environments.dev.s3_deploy.bucket set to devops-testing-jenkins-bucket [JTE] - application_environments.qa.s3_deploy.credentials set to legacy_prod_aws [JTE] - application_environments.qa.s3_deploy.region set to us-west-2 [JTE] - application_environments.qa.s3_deploy.bucket set to devops-testing-jenkins-bucket [JTE] - application_environments.staging.s3_deploy.credentials set to legacy_prod_aws [JTE] - application_environments.staging.s3_deploy.region set to us-west-2 [JTE] - application_environments.staging.s3_deploy.bucket set to devops-testing-jenkins-bucket [JTE] - application_environments.prod.s3_deploy.credentials set to legacy_prod_aws [JTE] - application_environments.prod.s3_deploy.region set to us-west-2 [JTE] - application_environments.prod.s3_deploy.bucket set to devops-testing-jenkins-bucket [JTE] - application_environments.test.s3_deploy.credentials set to legacy_prod_aws [JTE] - application_environments.test.s3_deploy.region set to us-west-2 [JTE] - application_environments.test.s3_deploy.bucket set to devops-testing-jenkins-bucket [JTE] Configurations Deleted: None [JTE] Configurations Changed: [JTE] - libraries.build_environment.dockerfilePath changed from to jenkins/build_env [JTE] - keywords.application_name changed from to ExampleApplication [JTE] - keywords.service changed from to Web [JTE] - keywords.dev_leads changed from to josephmelendez@rehrig.com,akathasagaram@rehrig.com,kkumar@rehrig.com [JTE] - keywords.qa_leads changed from to josephmelendez@rehrig.com,akathasagaram@rehrig.com,kkumar@rehrig.com [JTE] Configurations Duplicated: None [JTE] Configurations Ignored: None [JTE] Subsequent May Merge: None [JTE] Subsequent May Override: None [JTE] Obtained Repository Jenkinsfile [JTE] -- scm: git https://bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git [JTE] -- file path: Jenkinsfile [JTE] Obtained Template [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] -- file path: pipeline/Jenkinsfile [JTE] Loading Library build_environment [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library fortify [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library sonatype [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library datadog_api [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library jira [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library teams [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library pipeline_utils [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library custom_build [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git [JTE] Loading Library shell_test [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library s3_deploy [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [JTE] Loading Library shell_pre_stage_build [JTE] -- scm: git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-template-engine.git [Pipeline] Start of Pipeline [JTE][@Validate - build_environment/initialize_build_env_internal_config.call] [JTE][Step - build_environment/set_cred.call()] [JTE][Step - build_environment/set_url.call()] [JTE][Step - build_environment/get_docker_flags.call()] [JTE][@Validate - fortify/initialize_fortify_internal_config.call] [JTE][@Validate - sonatype/initialize_sonatype_internal_config.call] [JTE][Step - build_environment/set_os.call()] [JTE][Step - build_environment/set_arch.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] withEnv [Pipeline] { [Pipeline] datadog [Datadog] Logging is already enabled globally, you do not need to specify 'collectLogs: true' [Pipeline] { [Pipeline] stage [Pipeline] { (Source Control) [Pipeline] node Running on EC2 (devops-ec2) - ubuntu-x86 (i-033fb840804bd4914) in /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential svc-bitbucket-cloud Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git > /usr/bin/git init /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 # timeout=10 Fetching upstream changes from https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_ASKPASS to set credentials Service account credentials for Bitbucket Cloud access > /usr/bin/git fetch --no-tags --force --progress -- https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git +refs/heads/feature/example-with-nested-docker:refs/remotes/origin/feature/example-with-nested-docker # timeout=10 Avoid second fetch Checking out Revision c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 (PR-75) Commit message: " Testing with apt satisfy" > /usr/bin/git config remote.origin.url https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/feature/example-with-nested-docker:refs/remotes/origin/feature/example-with-nested-docker # timeout=10 > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 # timeout=10 > /usr/bin/git rev-list --no-walk c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 # timeout=10 [Bitbucket] Notifying pull request build result Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential svc-bitbucket-cloud Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential svc-bitbucket-cloud [GitCheckoutListener] Recording commits of 'git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git' [GitCheckoutListener] Found previous build 'Example DevOps Pipelines/jenkins-example-linux-x86-app/PR-75 #38' that contains recorded Git commits [GitCheckoutListener] -> Starting recording of new commits since 'c3d7882' [GitCheckoutListener] -> Single parent commit found - branch is already descendant of target branch head [GitCheckoutListener] -> Using head commit 'c3d7882' as starting point [GitCheckoutListener] -> No new commits found [GitCheckoutListener] -> Git commit decorator successfully obtained 'hudson.plugins.git.browser.BitbucketWeb@e157e8e' to render commit links [Pipeline] withEnv [Pipeline] { [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is disabled by the job configuration... [WS-CLEANUP] done [JTE][Step - pipeline_utils/checkout_scm.call()] [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential svc-bitbucket-cloud Cloning the remote Git repository Cloning with configured refspecs honoured and without tags > /usr/bin/git rev-parse HEAD^{commit} # timeout=10 Cloning repository https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git > /usr/bin/git init /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 # timeout=10 Fetching upstream changes from https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_ASKPASS to set credentials Service account credentials for Bitbucket Cloud access > /usr/bin/git fetch --no-tags --force --progress -- https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git +refs/heads/feature/example-with-nested-docker:refs/remotes/origin/feature/example-with-nested-docker # timeout=10 Avoid second fetch Checking out Revision c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 (PR-75) Commit message: " Testing with apt satisfy" [GitCheckoutListener] Skipping recording, since SCM 'git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git' already has been processed > /usr/bin/git config remote.origin.url https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/feature/example-with-nested-docker:refs/remotes/origin/feature/example-with-nested-docker # timeout=10 > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 # timeout=10 [Pipeline] stash Stashed 23 file(s) to https://rpc-jenkins-stashed-artifacts.s3.us-west-2.amazonaws.com/Example%20DevOps%20Pipelines/jenkins-example-linux-x86-app/PR-75/39/stashes/source.tgz [Pipeline] script [Pipeline] { [JTE][Step - pipeline_utils/get_scm_variable.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + git log --format=format:%ce -1 c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 [Pipeline] echo Committer email: AKathasagaram@rehrig.com [JTE][Step - pipeline_utils/get_merged_branch.call()] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/set_branch_and_trigger_variables.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validation) [Pipeline] script [Pipeline] { [JTE][Step - pipeline_utils/print_build_details.call()] [Pipeline] echo Trigger: pull request, Source: feature/example-with-nested-docker, Target: develop [JTE][Step - pipeline_utils/validate_build_details.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Jira Ticket) [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] Stage "Jira Ticket" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Input Ticket) Stage "Jira Ticket" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Get Ticket) Stage "Jira Ticket" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Environment) [Pipeline] node Running on EC2 (devops-ec2) - ubuntu-x86 (i-033fb840804bd4914) in /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential svc-bitbucket-cloud Fetching changes from the remote Git repository Fetching without tags > /usr/bin/git rev-parse --resolve-git-dir /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/.git # timeout=10 > /usr/bin/git config remote.origin.url https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git # timeout=10 Fetching upstream changes from https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_ASKPASS to set credentials Service account credentials for Bitbucket Cloud access > /usr/bin/git fetch --no-tags --force --progress -- https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git +refs/heads/feature/example-with-nested-docker:refs/remotes/origin/feature/example-with-nested-docker # timeout=10 Checking out Revision c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 (PR-75) Commit message: " Testing with apt satisfy" [GitCheckoutListener] Skipping recording, since SCM 'git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git' already has been processed [Pipeline] withEnv [Pipeline] { [Pipeline] unstash > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 # timeout=10 Unstashed file(s) from https://rpc-jenkins-stashed-artifacts.s3.us-west-2.amazonaws.com/Example%20DevOps%20Pipelines/jenkins-example-linux-x86-app/PR-75/39/stashes/source.tgz [Pipeline] script [Pipeline] { [JTE][Step - build_environment/create_ecr_repo.call()] [Pipeline] withAWS Constructing AWS CredentialsSetting AWS region us-west-2 [Pipeline] { [Pipeline] sh + aws ecr describe-repositories --repository-names jenkins-build-environment/pipelines/jenkins-example-linux-x86-app [Pipeline] } [Pipeline] // withAWS [Pipeline] echo ECR repository 'jenkins-build-environment/pipelines/jenkins-example-linux-x86-app' is ready. [JTE][Step - build_environment/set_tag.call()] [Pipeline] sh + shasum -a 256 jenkins/build_env/Dockerfile + awk { print $1 } [JTE][Step - build_environment/get_build_environment.call()] [Pipeline] stage [Pipeline] { (Build Environment: Get) [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u AWS -p ******** https://382209070917.dkr.ecr.us-west-2.amazonaws.com WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75@tmp/64272ef6-40c8-46b6-842b-5bb65367aac9/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credential-stores Login Succeeded [Pipeline] { [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + docker pull 382209070917.dkr.ecr.us-west-2.amazonaws.com/jenkins-build-environment/pipelines/jenkins-example-linux-x86-app:5742633dd6b1b939280595a945486ada4ad81349a9f8cfae9a14393dcbf891d8 [Pipeline] echo Image Name: 382209070917.dkr.ecr.us-west-2.amazonaws.com/jenkins-build-environment/pipelines/jenkins-example-linux-x86-app:5742633dd6b1b939280595a945486ada4ad81349a9f8cfae9a14393dcbf891d8 [Pipeline] echo Docker image exists with the matching SHA256 in the tag. [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] echo No image update necessary. [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Pre-Stage Checks) [JTE][Step - pipeline_utils/is_nonstandard_branch.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] node Running on EC2 (devops-ec2) - ubuntu-x86 (i-033fb840804bd4914) in /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 [Pipeline] { [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential svc-bitbucket-cloud Fetching changes from the remote Git repository Fetching without tags > /usr/bin/git rev-parse --resolve-git-dir /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/.git # timeout=10 > /usr/bin/git config remote.origin.url https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git # timeout=10 Fetching upstream changes from https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git > /usr/bin/git --version # timeout=10 > git --version # 'git version 2.34.1' using GIT_ASKPASS to set credentials Service account credentials for Bitbucket Cloud access > /usr/bin/git fetch --no-tags --force --progress -- https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git +refs/heads/feature/example-with-nested-docker:refs/remotes/origin/feature/example-with-nested-docker # timeout=10 Checking out Revision c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 (PR-75) Commit message: " Testing with apt satisfy" [GitCheckoutListener] Skipping recording, since SCM 'git https://svc-bitbucket-cloud@bitbucket.org/rehrigdev/devops-poc-jenkins-example-app.git' already has been processed [Pipeline] withEnv [Pipeline] { > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f c3d7882c1ab3bd06b80e4122448b96ef72b0ae95 # timeout=10 [Pipeline] stage [Pipeline] { (Pre-Stage Build) Stage "Pre-Stage Build" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Scan) [Pipeline] script [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://rpc-jenkins-stashed-artifacts.s3.us-west-2.amazonaws.com/Example%20DevOps%20Pipelines/jenkins-example-linux-x86-app/PR-75/39/stashes/source.tgz [JTE][Step - fortify/static_code_vulnerability_scan.call()] [Pipeline] stage [Pipeline] { (Fortify: Static Code Vulnerability Scan) [Pipeline] echo Running static code vulnerability scan via Fortify. [JTE][Step - fortify/with_fcli_fod_session.call(CpsClosure2)] [Pipeline] withCredentials Masking supported pattern matches of $API_KEY_SECRET [Pipeline] { [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo Authenticating with FoD. [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh [Pipeline] echo Authenticated successfully with FoD. [Pipeline] echo Creating or re-using dynamic branch release. [JTE][Step - fortify/fcli_fod_create_release.call()] [JTE][Step - pipeline_utils/triggered_by.call(String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod release create devops-poc-jenkins-example-app◕_◕feature/example-with-nested-docker --skip-if-exists --status=Development --delim=◕_◕ -o json [Pipeline] readJSON [Pipeline] echo Using releaseId 1262363 [JTE][Step - fortify/fcli_fod_setup_scan.call(String)] [Pipeline] echo Setting up scan. [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod sast setup --release=1262363 --assessment-type=Static Assessment --audit-preference=Automated --entitlement-frequency=Subscription --technology-stack=PYTHON --language-level=3 -o json [Pipeline] echo Done setting up scan. [JTE][Step - fortify/fcli_fod_start_scan.call(String, String)] [Pipeline] echo Starting scan. [Pipeline] fileExists [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + zip -r /tmp/fod-jenkins_Example_DevOps_Pipelines_jenkins_example_linux_x86_app_PR_75_39.zip /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 -x *.git* [Pipeline] echo adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/example_images/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/example_images/build_config_default.png (deflated 2%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/example_images/build_config_x86.png (deflated 2%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/example_images/build_config_arm.png (deflated 3%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/build_env/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/build_env/Dockerfile (deflated 36%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_pre_stage_build/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_pre_stage_build/steps/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_pre_stage_build/steps/custom_pre_stage_build.groovy (deflated 30%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_pre_stage_build/steps/pre_stage_build.groovy (deflated 38%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_test/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_test/steps/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_test/steps/test_for.groovy (deflated 39%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_test/steps/custom_test.groovy (deflated 31%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_deploy/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_deploy/steps/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_deploy/steps/custom_deploy.groovy (deflated 32%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_deploy/steps/deploy_to.groovy (deflated 40%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_build/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_build/steps/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_build/steps/custom_build.groovy (deflated 44%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/libraries/custom_build/steps/build_for.groovy (deflated 39%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/scripts/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/scripts/deploy.sh (deflated 12%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/scripts/build.sh (deflated 10%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/scripts/test.sh (deflated 27%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/scripts/pre_stage_build.sh (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/build/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/build/ignorable.txt (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/README.md (deflated 55%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/code.py (deflated 3%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/multi_arch_pipeline_config/ (stored 0%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/multi_arch_pipeline_config/pipeline_config_x86.groovy (deflated 74%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/multi_arch_pipeline_config/pipeline_config_arm.groovy (deflated 74%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/pipeline_config.groovy (deflated 73%) adding: home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/unit_test.py (deflated 58%) [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod sast start --file /tmp/fod-jenkins_Example_DevOps_Pipelines_jenkins_example_linux_x86_app_PR_75_39.zip --rel 1262363 --store jenkins_Example_DevOps_Pipelines_jenkins_example_linux_x86_app_PR_75_39 [Pipeline] echo Upload fod-jenkins_Example_DevOps_Pipelines_jenkins_example_linux_x86_app_PR_75_39.zip: 0 of 268592 bytes complete Upload fod-jenkins_Example_DevOps_Pipelines_jenkins_example_linux_x86_app_PR_75_39.zip: 268592 of 268592 bytes complete Id Scan type Analysis Status Application Microservice Release Action 14859534 Static Pending devops-poc-jenkins-example-app feature/example-with-nested-docker STARTED [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] echo As this is a PR to develop, we do not need to wait on results. [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod session logout [Pipeline] echo Logging out from FoD. [Pipeline] } [Pipeline] // stage [JTE][Step - sonatype/open_source_vulnerability_scan.call()] [Pipeline] stage [Pipeline] { (Sonatype: Open Source Vulnerability Scan) [Pipeline] echo Running open source vulnerability scan via Sonatype [Pipeline] readJSON [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] nexusPolicyEvaluation [INFO] Amending source control record for application with id: devops-poc-jenkins-example-app with discovered Repository URL: https://bitbucket.org/rehrigdev/devops-poc-jenkins-example-app [INFO] Waiting for policy evaluation to complete... [INFO] 2025-06-13T13:24:42.270Z Scanning application devops-poc-jenkins-example-app. [INFO] Discovered commit hash 'c3d7882c1ab3bd06b80e4122448b96ef72b0ae95' via environment variable GIT_COMMIT [INFO] Discovered branch name 'PR-75' via environment variable GIT_BRANCH [INFO] Scan configuration properties: [INFO] dirExcludes=null [INFO] dirIncludes=null [INFO] fileExcludes= [INFO] fileIncludes= [INFO] 2025-06-13T13:24:42.289Z Scanned 0 total files [INFO] 2025-06-13T13:24:42.292Z Finished scanning application devops-poc-jenkins-example-app. [INFO] Discovered repository url 'https://bitbucket.org/rehrigdev/devops-poc-jenkins-example-app' via environment variable GIT_URL [INFO] Repository URL https://bitbucket.org/rehrigdev/devops-poc-jenkins-example-app was found using automation [INFO] Assigned scan ID 56e746d7ea6a455181ceda10ba4409d5 for evaluation [INFO] Policy evaluation completed in 10 seconds. The detailed report can be viewed online at https://awsstdev011.rpl.local/ui/links/application/devops-poc-jenkins-example-app/report/56e746d7ea6a455181ceda10ba4409d5 The application priorities can be viewed online at https://awsstdev011.rpl.local/ui/links/developer/priorities/devops-poc-jenkins-example-app/56e746d7ea6a455181ceda10ba4409d5 Summary of policy violations: 0 critical, 0 severe, 0 moderate [Pipeline] echo Sonatype results stored successfully. [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Automated Unit Test) [Pipeline] script [Pipeline] { [JTE][Step - pipeline_utils/complete_unit_testing.call()] [JTE][Step - build_environment/with_build_environment.call(CpsClosure2)] [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u AWS -p ******** https://382209070917.dkr.ecr.us-west-2.amazonaws.com WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75@tmp/01a4d5eb-5bb5-436d-a065-29dc9964b104/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credential-stores Login Succeeded [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . jenkins-build-environment/pipelines/jenkins-example-linux-x86-app:5742633dd6b1b939280595a945486ada4ad81349a9f8cfae9a14393dcbf891d8 Error: No such object: jenkins-build-environment/pipelines/jenkins-example-linux-x86-app:5742633dd6b1b939280595a945486ada4ad81349a9f8cfae9a14393dcbf891d8 [Pipeline] sh + docker inspect -f . 382209070917.dkr.ecr.us-west-2.amazonaws.com/jenkins-build-environment/pipelines/jenkins-example-linux-x86-app:5742633dd6b1b939280595a945486ada4ad81349a9f8cfae9a14393dcbf891d8 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer EC2 (devops-ec2) - ubuntu-x86 (i-033fb840804bd4914) does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v /var/run/docker.sock:/var/run/docker.sock -w /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 -v /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75:/home/ubuntu/workspace/kins-example-linux-x86-app_PR-75:rw,z -v /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75@tmp:/home/ubuntu/workspace/kins-example-linux-x86-app_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** 382209070917.dkr.ecr.us-west-2.amazonaws.com/jenkins-build-environment/pipelines/jenkins-example-linux-x86-app:5742633dd6b1b939280595a945486ada4ad81349a9f8cfae9a14393dcbf891d8 cat $ docker top 5b5efd6f79ab3a04594c80475b793123bcb391d5ba07d2f262963ac719043b3f -eo pid,comm [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://rpc-jenkins-stashed-artifacts.s3.us-west-2.amazonaws.com/Example%20DevOps%20Pipelines/jenkins-example-linux-x86-app/PR-75/39/stashes/source.tgz [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - shell_test/test_for.call(ApplicationEnvironment)] [Pipeline] echo Running shell test for Dev. Script path: jenkins/scripts/test.sh [Pipeline] writeJSON [Pipeline] sh + bash /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/jenkins/scripts/test.sh {"s3_deploy":{"credentials":"legacy_prod_aws","region":"us-west-2","bucket":"devops-testing-jenkins-bucket"},"long_name":"Development","short_name":"Dev"} Environment: {"s3_deploy":{"credentials":"legacy_prod_aws","region":"us-west-2","bucket":"devops-testing-jenkins-bucket"},"long_name":"Development","short_name":"Dev"} In test shell script Testing application on linux x86 for "Dev"... ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK [JTE][Step - pipeline_utils/on_merge.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [JTE][Step - pipeline_utils/on_pull_request.call(LinkedHashMap, CpsClosure2)] [JTE][Step - pipeline_utils/triggered_by.call(LinkedHashMap, String)] [JTE][Step - pipeline_utils/is_pr_build.call()] [JTE][Step - pipeline_utils/is_tag_build.call()] [Pipeline] } $ docker stop --time=1 5b5efd6f79ab3a04594c80475b793123bcb391d5ba07d2f262963ac719043b3f $ docker rm -f --volumes 5b5efd6f79ab3a04594c80475b793123bcb391d5ba07d2f262963ac719043b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [JTE][Step - pipeline_utils/code_coverage_report_result.call()] [Pipeline] echo Code coverage app name [Pipeline] sh + pwd /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 [Pipeline] sh + ls -ltra total 52 drwxr-xr-x 6 ubuntu ubuntu 4096 Jun 13 13:15 .. -rw-rw-r-- 1 ubuntu ubuntu 494 Jun 13 13:24 unit_test.py -rw-rw-r-- 1 ubuntu ubuntu 3174 Jun 13 13:24 pipeline_config.groovy -rw-rw-r-- 1 ubuntu ubuntu 58 Jun 13 13:24 code.py -rw-rw-r-- 1 ubuntu ubuntu 754 Jun 13 13:24 README.md -rw-rw-r-- 1 ubuntu ubuntu 624 Jun 13 13:24 .gitignore drwxrwxr-x 5 ubuntu ubuntu 4096 Jun 13 13:24 jenkins drwxrwxr-x 2 ubuntu ubuntu 4096 Jun 13 13:24 build drwxrwxr-x 2 ubuntu ubuntu 4096 Jun 13 13:24 example_images drwxrwxr-x 2 ubuntu ubuntu 4096 Jun 13 13:24 multi_arch_pipeline_config drwxrwxr-x 8 ubuntu ubuntu 4096 Jun 13 13:24 .git drwxrwxr-x 8 ubuntu ubuntu 4096 Jun 13 13:24 . drwxr-xr-x 2 ubuntu ubuntu 4096 Jun 13 13:24 __pycache__ [Pipeline] sh + cat .jenkins_visualizations/coverage/report.xml cat: .jenkins_visualizations/coverage/report.xml: No such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is disabled by the job configuration... [WS-CLEANUP] done [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - Dev) Stage "Approve - Dev" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Dev) Stage "Dev" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Build) Stage "Dev" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) Stage "Dev" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - Dev Testing Complete) Stage "Approve - Dev Testing Complete" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - Non-standard Environment) Stage "Approve - Non-standard Environment" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Non-standard Environment) Stage "Non-standard Environment" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Build) Stage "Non-standard Environment" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) Stage "Non-standard Environment" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - QA) Stage "Approve - QA" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (QA) Stage "QA" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Build) Stage "QA" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) Stage "QA" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - QA Testing Complete) Stage "Approve - QA Testing Complete" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - Staging) Stage "Approve - Staging" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Staging) Stage "Staging" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Build) Stage "Staging" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) Stage "Staging" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Approve - Prod) Stage "Approve - Prod" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prod) Stage "Prod" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Build) Stage "Prod" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) Stage "Prod" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] node Running on EC2 (devops-ec2) - ubuntu-x86 (i-033fb840804bd4914) in /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75 [Pipeline] { [Pipeline] script [Pipeline] { [JTE][Step - pipeline_utils/send_post_email.call()] [Pipeline] emailext Request made to compress build log Sending email to: josephmelendez@rehrig.com akathasagaram@rehrig.com kkumar@rehrig.com [JTE][Step - fortify/static_code_vulnerability_scan_notification.call()] [Pipeline] echo Checking Fortify scan results at pipeline end. [JTE][Step - fortify/with_fcli_fod_session.call(CpsClosure2)] [Pipeline] withCredentials Masking supported pattern matches of $API_KEY_SECRET [Pipeline] { [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo Authenticating with FoD. [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh [Pipeline] echo Authenticated successfully with FoD. [Pipeline] echo Fetching Fortify scan results for releaseId: 1262363 [JTE][Step - fortify/fcli_fod_polling_results.call(String, String)] [Pipeline] echo Polling scan results. [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod release get 1262363 -o json [Pipeline] readJSON [Pipeline] echo Current Status: In_Progress [Pipeline] sleep Sleeping for 1 min 0 sec [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod release get 1262363 -o json [Pipeline] readJSON [Pipeline] echo Current Status: In_Progress [Pipeline] sleep Sleeping for 1 min 0 sec [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod release get 1262363 -o json [Pipeline] readJSON [Pipeline] echo Current Status: Completed [Pipeline] echo Scan complete after 2 minutes [Pipeline] echo Interpretting scan results. [Pipeline] echo --- Summary --- Status: PASS Rating: 5/5 --- Vulnerabilities --- Total: 0 Critical: 0 High: 0 Medium: 0 Low: 0 [Pipeline] echo No critical/high vulnerabilities detected. Email or Teams Notification not sent. [JTE][Step - fortify/fcli_fod_enforce_results.call(LinkedHashMap)] [Pipeline] echo No blocking vulnerabilities found. Proceeding with build. [JTE][Step - fortify/fcli_fod_call.call(String)] [JTE][Step - pipeline_utils/run_sh.call(LinkedHashMap)] [Pipeline] sh + /home/ubuntu/workspace/kins-example-linux-x86-app_PR-75/../fcli fod session logout [Pipeline] echo Logging out from FoD. [JTE][Step - sonatype/open_source_vulnerability_scan_notification.call()] [Pipeline] readJSON [Pipeline] echo No Sonatype vulnerabilities with threat level >= 7. Skipping email and Teams notification. [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // node [Pipeline] echo Build failed [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // datadog [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline Also: hudson.remoting.ProxyException: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 52290f04-917a-4ee7-a941-f62ff56328e9 hudson.remoting.ProxyException: hudson.AbortException: script returned exit code 1 at PluginClassLoader for workflow-durable-task-step//org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:672) at PluginClassLoader for workflow-durable-task-step//org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:618) at PluginClassLoader for workflow-durable-task-step//org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:559) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) Caused: hudson.remoting.ProxyException: org.codehaus.groovy.runtime.InvokerInvocationException: hudson.AbortException: script returned exit code 1 at org.boozallen.plugins.jte.init.primitives.injectors.StepWrapperCPS.methodMissing(script1749821099887216937907.groovy:62) at WorkflowScript.run(WorkflowScript:140) at ___cps.transform___(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.sandbox.DefaultInvoker.constructorCall(DefaultInvoker.java:25) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.LoggingInvoker.constructorCall(LoggingInvoker.java:123) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:98) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:83) at jdk.internal.reflect.GeneratedMethodAccessor881.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:39) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:28) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.Next.step(Next.java:83) at PluginClassLoader for workflow-cps//com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:147) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:17) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:49) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:180) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:419) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:327) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:292) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$wrap$4(CpsVmExecutorService.java:140) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:53) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.call(CpsVmExecutorService.java:50) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275) at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService.lambda$categoryThreadFactory$0(CpsVmExecutorService.java:50) at java.base/java.lang.Thread.run(Thread.java:840) [Bitbucket] Notifying pull request build result [Bitbucket] Build result notified Finished: FAILURE