Pull request #220 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/ci-build-images Obtained Jenkinsfile from 76d64c7a72fa1bc61a3757a528db6c5e824b182d+fb7e5ce6626a160a9ab780e02eb002b4243f1059 (09eca21e86d42910a47ab0ffdb22719f19a93e7a) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11635718927044686414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10700206250525716419.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11573043025117458664.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10024796047063994766.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8397528155780407043.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13374166270957857023.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[latest], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: latest [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13164 in /w/workspace/exfoundry_ci-build-images_PR-220 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/exfoundry_ci-build-images_PR-220 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/snyk commit fb7e5ce6626a160a9ab780e02eb002b4243f1059 into PR head commit 76d64c7a72fa1bc61a3757a528db6c5e824b182d Merge succeeded, producing 76d64c7a72fa1bc61a3757a528db6c5e824b182d Checking out Revision 76d64c7a72fa1bc61a3757a528db6c5e824b182d (PR-220) > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76d64c7a72fa1bc61a3757a528db6c5e824b182d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb7e5ce6626a160a9ab780e02eb002b4243f1059 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76d64c7a72fa1bc61a3757a528db6c5e824b182d # timeout=10 Commit message: "ci: upgrade Snyk base image to golang:1.23-alpine3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T03:47:45.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T03:47:46.155Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T03:47:46.284Z] ========================================================= [2024-10-03T03:47:46.284Z] EdgeX Global Pipelines Version Info [2024-10-03T03:47:46.284Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:47:48.400Z] ------------------- [2024-10-03T03:47:48.401Z] stable info: [2024-10-03T03:47:48.401Z] ------------------- [2024-10-03T03:47:48.401Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:47:48.401Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:47:48.401Z] Message: update stable to v1.0.264 [2024-10-03T03:47:48.661Z] ------------------- [2024-10-03T03:47:48.661Z] experimental info: [2024-10-03T03:47:48.661Z] ------------------- [2024-10-03T03:47:48.661Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:47:48.661Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:47:48.661Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-10-03T03:47:48.950Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-10-03T03:47:49.016Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2024-10-03T03:47:49.072Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-10-03T03:47:49.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T03:47:49.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T03:47:49.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2024-10-03T03:47:49.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-10-03T03:47:49.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2024-10-03T03:47:49.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-10-03T03:47:49.502Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T03:47:49.572Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-10-03T03:47:49.627Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2024-10-03T03:47:49.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T03:47:49.744Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T03:47:49.808Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2024-10-03T03:47:49.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo [2024-10-03T03:47:49.932Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-220 [Pipeline] echo [2024-10-03T03:47:49.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-220 [Pipeline] echo [2024-10-03T03:47:50.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-220 [Pipeline] echo [2024-10-03T03:47:50.101Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76d64c7a72fa1bc61a3757a528db6c5e824b182d [Pipeline] echo [2024-10-03T03:47:50.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76d64c7 [Pipeline] echo [2024-10-03T03:47:50.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:47:50.380Z] provisioning config files... [2024-10-03T03:47:50.393Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-220@tmp/config13095795466472447175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:47:50.789Z] ---> ****-login.sh [2024-10-03T03:47:50.790Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:47:50.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:51.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:51.052Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:51.052Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:51.052Z] [2024-10-03T03:47:51.052Z] Login Succeeded [2024-10-03T03:47:51.052Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:47:51.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:51.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:51.312Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:51.312Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:51.312Z] [2024-10-03T03:47:51.312Z] Login Succeeded [2024-10-03T03:47:51.312Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:47:51.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:51.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:51.312Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:51.312Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:51.312Z] [2024-10-03T03:47:51.312Z] Login Succeeded [2024-10-03T03:47:51.312Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:47:51.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:51.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:51.574Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:51.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:51.574Z] [2024-10-03T03:47:51.574Z] Login Succeeded [2024-10-03T03:47:51.574Z] ****.io [2024-10-03T03:47:51.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:51.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:51.835Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:51.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:51.835Z] [2024-10-03T03:47:51.835Z] Login Succeeded [2024-10-03T03:47:51.835Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:47:51.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:47:53.492Z] provisioning config files... [2024-10-03T03:47:53.502Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-220@tmp/config12251508640127674855tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:47:53.958Z] ---> ****-login.sh [2024-10-03T03:47:53.958Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:47:53.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:53.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:53.958Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:53.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:53.959Z] [2024-10-03T03:47:53.959Z] Login Succeeded [2024-10-03T03:47:53.959Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:47:53.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:53.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:53.959Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:53.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:53.959Z] [2024-10-03T03:47:53.959Z] Login Succeeded [2024-10-03T03:47:53.959Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:47:54.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:54.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:54.220Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:54.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:54.220Z] [2024-10-03T03:47:54.220Z] Login Succeeded [2024-10-03T03:47:54.220Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:47:54.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:54.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:54.221Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:54.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:54.221Z] [2024-10-03T03:47:54.221Z] Login Succeeded [2024-10-03T03:47:54.221Z] ****.io [2024-10-03T03:47:54.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:47:54.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:47:54.485Z] Configure a credential helper to remove this warning. See [2024-10-03T03:47:54.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:47:54.485Z] [2024-10-03T03:47:54.485Z] Login Succeeded [2024-10-03T03:47:54.485Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:47:54.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T03:47:55.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T03:47:55.750Z] + ls -al . [2024-10-03T03:47:55.750Z] total 20 [2024-10-03T03:47:55.750Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:47 . [2024-10-03T03:47:55.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:47 .. [2024-10-03T03:47:55.750Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:47 .git [2024-10-03T03:47:55.750Z] -rw-rw-r-- 1 jenkins jenkins 684 Oct 3 03:47 Dockerfile [2024-10-03T03:47:55.750Z] -rw-rw-r-- 1 jenkins jenkins 933 Oct 3 03:47 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:47:56.241Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=76d64c7a72fa1bc61a3757a528db6c5e824b182d --label arch=amd64 . [2024-10-03T03:47:56.242Z] Sending build context to Docker daemon 479.2kB [2024-10-03T03:47:56.242Z] Step 1/11 : FROM golang:1.23-alpine3.20 [2024-10-03T03:47:56.509Z] 1.23-alpine3.20: Pulling from library/golang [2024-10-03T03:47:56.771Z] 43c4264eed91: Pulling fs layer [2024-10-03T03:47:56.771Z] 4cc291be95ef: Pulling fs layer [2024-10-03T03:47:56.771Z] 2ac1f1163629: Pulling fs layer [2024-10-03T03:47:56.771Z] 5c3c966382ef: Pulling fs layer [2024-10-03T03:47:56.771Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:47:56.771Z] 5c3c966382ef: Waiting [2024-10-03T03:47:56.771Z] 4f4fb700ef54: Waiting [2024-10-03T03:47:56.771Z] 4cc291be95ef: Download complete [2024-10-03T03:47:56.771Z] 43c4264eed91: Verifying Checksum [2024-10-03T03:47:56.771Z] 43c4264eed91: Download complete [2024-10-03T03:47:57.030Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T03:47:57.030Z] 4f4fb700ef54: Download complete [2024-10-03T03:47:57.030Z] 5c3c966382ef: Verifying Checksum [2024-10-03T03:47:57.030Z] 5c3c966382ef: Download complete [2024-10-03T03:47:57.030Z] 43c4264eed91: Pull complete [2024-10-03T03:47:57.290Z] 4cc291be95ef: Pull complete [2024-10-03T03:47:57.552Z] 2ac1f1163629: Verifying Checksum [2024-10-03T03:47:57.552Z] 2ac1f1163629: Download complete [2024-10-03T03:48:00.850Z] 2ac1f1163629: Pull complete [2024-10-03T03:48:01.113Z] 5c3c966382ef: Pull complete [2024-10-03T03:48:01.113Z] 4f4fb700ef54: Pull complete [2024-10-03T03:48:01.113Z] Digest: sha256:9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679 [2024-10-03T03:48:01.113Z] Status: Downloaded newer image for golang:1.23-alpine3.20 [2024-10-03T03:48:01.113Z] ---> 5a72c8b95319 [2024-10-03T03:48:01.113Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' [2024-10-03T03:48:04.479Z] ---> Running in b5e132070c83 [2024-10-03T03:48:04.738Z] Removing intermediate container b5e132070c83 [2024-10-03T03:48:04.739Z] ---> 28e5cdd44b88 [2024-10-03T03:48:04.739Z] Step 3/11 : ARG SNYK_VERSION=1.1293.1 [2024-10-03T03:48:04.739Z] ---> Running in 57ca851706a3 [2024-10-03T03:48:04.739Z] Removing intermediate container 57ca851706a3 [2024-10-03T03:48:04.739Z] ---> bb4231b8e34e [2024-10-03T03:48:04.739Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2024-10-03T03:48:04.739Z] ---> Running in 1531590eab7a [2024-10-03T03:48:04.739Z] Removing intermediate container 1531590eab7a [2024-10-03T03:48:04.739Z] ---> 75af7b06d1c5 [2024-10-03T03:48:04.739Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2024-10-03T03:48:05.306Z] latest: Pulling from library/docker [2024-10-03T03:48:05.307Z] 43c4264eed91: Already exists [2024-10-03T03:48:05.307Z] eeae0a4c3aab: Pulling fs layer [2024-10-03T03:48:05.307Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:48:05.307Z] cc787dab98b1: Pulling fs layer [2024-10-03T03:48:05.307Z] 4dde54e28b69: Pulling fs layer [2024-10-03T03:48:05.307Z] f76cc74ad672: Pulling fs layer [2024-10-03T03:48:05.307Z] c3730cf3cbd1: Pulling fs layer [2024-10-03T03:48:05.307Z] 08f9c6ae64ba: Pulling fs layer [2024-10-03T03:48:05.307Z] da8ae46b6347: Pulling fs layer [2024-10-03T03:48:05.307Z] 3f5a3c6f02f7: Pulling fs layer [2024-10-03T03:48:05.307Z] 238637adc6c9: Pulling fs layer [2024-10-03T03:48:05.307Z] 61595ab5b53d: Pulling fs layer [2024-10-03T03:48:05.307Z] 835d4c51c9f5: Pulling fs layer [2024-10-03T03:48:05.307Z] d29e3ca0965c: Pulling fs layer [2024-10-03T03:48:05.307Z] ccb967684857: Pulling fs layer [2024-10-03T03:48:05.307Z] babf1dc4851c: Pulling fs layer [2024-10-03T03:48:05.307Z] 08f9c6ae64ba: Waiting [2024-10-03T03:48:05.307Z] da8ae46b6347: Waiting [2024-10-03T03:48:05.307Z] 3f5a3c6f02f7: Waiting [2024-10-03T03:48:05.307Z] 238637adc6c9: Waiting [2024-10-03T03:48:05.307Z] 61595ab5b53d: Waiting [2024-10-03T03:48:05.307Z] f76cc74ad672: Waiting [2024-10-03T03:48:05.307Z] 835d4c51c9f5: Waiting [2024-10-03T03:48:05.307Z] d29e3ca0965c: Waiting [2024-10-03T03:48:05.307Z] ccb967684857: Waiting [2024-10-03T03:48:05.307Z] babf1dc4851c: Waiting [2024-10-03T03:48:05.307Z] c3730cf3cbd1: Waiting [2024-10-03T03:48:05.307Z] 4dde54e28b69: Waiting [2024-10-03T03:48:05.307Z] cc787dab98b1: Verifying Checksum [2024-10-03T03:48:05.307Z] cc787dab98b1: Download complete [2024-10-03T03:48:05.307Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T03:48:05.307Z] 4f4fb700ef54: Download complete [2024-10-03T03:48:05.565Z] eeae0a4c3aab: Verifying Checksum [2024-10-03T03:48:05.565Z] eeae0a4c3aab: Download complete [2024-10-03T03:48:05.565Z] f76cc74ad672: Verifying Checksum [2024-10-03T03:48:05.565Z] f76cc74ad672: Download complete [2024-10-03T03:48:05.565Z] 4dde54e28b69: Verifying Checksum [2024-10-03T03:48:05.565Z] 4dde54e28b69: Download complete [2024-10-03T03:48:05.825Z] 08f9c6ae64ba: Verifying Checksum [2024-10-03T03:48:05.825Z] 08f9c6ae64ba: Download complete [2024-10-03T03:48:05.825Z] eeae0a4c3aab: Pull complete [2024-10-03T03:48:05.825Z] da8ae46b6347: Download complete [2024-10-03T03:48:05.825Z] c3730cf3cbd1: Verifying Checksum [2024-10-03T03:48:05.825Z] c3730cf3cbd1: Download complete [2024-10-03T03:48:05.825Z] 3f5a3c6f02f7: Verifying Checksum [2024-10-03T03:48:05.825Z] 3f5a3c6f02f7: Download complete [2024-10-03T03:48:05.825Z] 4f4fb700ef54: Pull complete [2024-10-03T03:48:05.825Z] 61595ab5b53d: Download complete [2024-10-03T03:48:05.825Z] 238637adc6c9: Verifying Checksum [2024-10-03T03:48:05.825Z] 238637adc6c9: Download complete [2024-10-03T03:48:05.825Z] cc787dab98b1: Pull complete [2024-10-03T03:48:05.825Z] 835d4c51c9f5: Verifying Checksum [2024-10-03T03:48:05.825Z] 835d4c51c9f5: Download complete [2024-10-03T03:48:06.084Z] ccb967684857: Verifying Checksum [2024-10-03T03:48:06.084Z] ccb967684857: Download complete [2024-10-03T03:48:06.084Z] babf1dc4851c: Verifying Checksum [2024-10-03T03:48:06.084Z] babf1dc4851c: Download complete [2024-10-03T03:48:06.342Z] 4dde54e28b69: Pull complete [2024-10-03T03:48:06.342Z] d29e3ca0965c: Verifying Checksum [2024-10-03T03:48:06.342Z] d29e3ca0965c: Download complete [2024-10-03T03:48:06.600Z] f76cc74ad672: Pull complete [2024-10-03T03:48:07.169Z] c3730cf3cbd1: Pull complete [2024-10-03T03:48:07.169Z] 08f9c6ae64ba: Pull complete [2024-10-03T03:48:07.169Z] da8ae46b6347: Pull complete [2024-10-03T03:48:07.428Z] 3f5a3c6f02f7: Pull complete [2024-10-03T03:48:07.687Z] 238637adc6c9: Pull complete [2024-10-03T03:48:07.687Z] 61595ab5b53d: Pull complete [2024-10-03T03:48:07.687Z] 835d4c51c9f5: Pull complete [2024-10-03T03:48:08.624Z] d29e3ca0965c: Pull complete [2024-10-03T03:48:08.883Z] ccb967684857: Pull complete [2024-10-03T03:48:08.883Z] babf1dc4851c: Pull complete [2024-10-03T03:48:08.883Z] Digest: sha256:8d5039800a368057d99fc0a75167d80f345ac8650850509adc7fe25c64cba9dd [2024-10-03T03:48:08.883Z] Status: Downloaded newer image for docker:latest [2024-10-03T03:48:12.173Z] ---> 041de8e054a0 [2024-10-03T03:48:12.173Z] Step 6/11 : RUN apk add --update --no-cache git gcc libc-dev expect nodejs npm && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk && npm i -g snyk-to-html [2024-10-03T03:48:12.173Z] ---> Running in dab015f16c84 [2024-10-03T03:48:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:48:12.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:48:12.957Z] (1/33) Installing tzdata (2024b-r0) [2024-10-03T03:48:12.957Z] (2/33) Installing tcl (8.6.14-r1) [2024-10-03T03:48:12.957Z] (3/33) Installing expect (5.45.4-r4) [2024-10-03T03:48:12.957Z] (4/33) Installing libgcc (13.2.1_git20240309-r0) [2024-10-03T03:48:12.957Z] (5/33) Installing jansson (2.14-r4) [2024-10-03T03:48:12.957Z] (6/33) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-03T03:48:12.957Z] (7/33) Installing zstd-libs (1.5.6-r0) [2024-10-03T03:48:12.957Z] (8/33) Installing binutils (2.42-r0) [2024-10-03T03:48:13.217Z] (9/33) Installing libgomp (13.2.1_git20240309-r0) [2024-10-03T03:48:13.217Z] (10/33) Installing libatomic (13.2.1_git20240309-r0) [2024-10-03T03:48:13.217Z] (11/33) Installing gmp (6.3.0-r1) [2024-10-03T03:48:13.217Z] (12/33) Installing isl26 (0.26-r1) [2024-10-03T03:48:13.217Z] (13/33) Installing mpfr4 (4.2.1-r0) [2024-10-03T03:48:13.217Z] (14/33) Installing mpc1 (1.3.1-r1) [2024-10-03T03:48:13.217Z] (15/33) Installing gcc (13.2.1_git20240309-r0) [2024-10-03T03:48:13.787Z] (16/33) Installing brotli-libs (1.1.0-r2) [2024-10-03T03:48:13.787Z] (17/33) Installing c-ares (1.33.1-r0) [2024-10-03T03:48:13.787Z] (18/33) Installing libunistring (1.2-r0) [2024-10-03T03:48:14.058Z] (19/33) Installing libidn2 (2.3.7-r0) [2024-10-03T03:48:14.058Z] (20/33) Installing nghttp2-libs (1.62.1-r0) [2024-10-03T03:48:14.058Z] (21/33) Installing libpsl (0.21.5-r1) [2024-10-03T03:48:14.058Z] (22/33) Installing libcurl (8.10.1-r0) [2024-10-03T03:48:14.058Z] (23/33) Installing libexpat (2.6.3-r0) [2024-10-03T03:48:14.058Z] (24/33) Installing pcre2 (10.43-r0) [2024-10-03T03:48:14.058Z] (25/33) Installing git (2.45.2-r0) [2024-10-03T03:48:14.058Z] (26/33) Installing git-init-template (2.45.2-r0) [2024-10-03T03:48:14.058Z] (27/33) Installing musl-dev (1.2.5-r0) [2024-10-03T03:48:14.058Z] (28/33) Installing ada-libs (2.7.8-r0) [2024-10-03T03:48:14.058Z] (29/33) Installing libbase64 (0.5.2-r0) [2024-10-03T03:48:14.058Z] (30/33) Installing icu-data-en (74.2-r0) [2024-10-03T03:48:14.058Z] Executing icu-data-en-74.2-r0.post-install [2024-10-03T03:48:14.058Z] * [2024-10-03T03:48:14.058Z] * If you need ICU with non-English locales and legacy charset support, install [2024-10-03T03:48:14.058Z] * package icu-data-full. [2024-10-03T03:48:14.058Z] * [2024-10-03T03:48:14.058Z] (31/33) Installing icu-libs (74.2-r0) [2024-10-03T03:48:14.058Z] (32/33) Installing nodejs (20.15.1-r0) [2024-10-03T03:48:14.318Z] (33/33) Installing npm (10.8.0-r0) [2024-10-03T03:48:14.577Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T03:48:14.577Z] OK: 237 MiB in 48 packages [2024-10-03T03:48:14.577Z] Connecting to github.com (140.82.113.3:443) [2024-10-03T03:48:14.578Z] Connecting to github.com (140.82.113.3:443) [2024-10-03T03:48:14.840Z] Connecting to objects.githubusercontent.com (185.199.108.133:443) [2024-10-03T03:48:14.840Z] saving to '/usr/local/bin/snyk' [2024-10-03T03:48:15.779Z] snyk 70% |********************** | 75.8M 0:00:00 ETA [2024-10-03T03:48:16.348Z] snyk 100% |********************************| 106M 0:00:00 ETA [2024-10-03T03:48:16.348Z] '/usr/local/bin/snyk' saved [2024-10-03T03:48:17.728Z]  [2024-10-03T03:48:17.728Z] added 23 packages in 1s [2024-10-03T03:48:17.728Z] [2024-10-03T03:48:17.728Z] 1 package is looking for funding [2024-10-03T03:48:17.728Z] run `npm fund` for details [2024-10-03T03:48:27.735Z] Removing intermediate container dab015f16c84 [2024-10-03T03:48:27.735Z] ---> 798e3d0b1047 [2024-10-03T03:48:27.735Z] Step 7/11 : ENV GO111MODULE=on [2024-10-03T03:48:27.735Z] ---> Running in 93e97044fa04 [2024-10-03T03:48:27.735Z] Removing intermediate container 93e97044fa04 [2024-10-03T03:48:27.735Z] ---> 029a567407e4 [2024-10-03T03:48:27.735Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2024-10-03T03:48:27.735Z] ---> Running in b8662595b9e3 [2024-10-03T03:48:27.735Z] Removing intermediate container b8662595b9e3 [2024-10-03T03:48:27.735Z] ---> c4cb44c82aff [2024-10-03T03:48:27.735Z] Step 9/11 : CMD [ "monitor" ] [2024-10-03T03:48:27.735Z] ---> Running in ab2ccea1dfe5 [2024-10-03T03:48:27.735Z] Removing intermediate container ab2ccea1dfe5 [2024-10-03T03:48:27.735Z] ---> b4f4a54a1a9a [2024-10-03T03:48:27.735Z] Step 10/11 : LABEL arch=amd64 [2024-10-03T03:48:27.735Z] ---> Running in f91ec89b1d42 [2024-10-03T03:48:27.735Z] Removing intermediate container f91ec89b1d42 [2024-10-03T03:48:27.735Z] ---> 0abc71eb4298 [2024-10-03T03:48:27.735Z] Step 11/11 : LABEL git_sha=76d64c7a72fa1bc61a3757a528db6c5e824b182d [2024-10-03T03:48:27.735Z] ---> Running in ec83253adbfd [2024-10-03T03:48:27.735Z] Removing intermediate container ec83253adbfd [2024-10-03T03:48:27.735Z] ---> 7e0330b35b7c [2024-10-03T03:48:27.735Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T03:48:27.735Z] Successfully built 7e0330b35b7c [2024-10-03T03:48:27.735Z] Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:48:29.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:48:29.067Z] [2024-10-03T03:48:29.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:48:29.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:48:29.478Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T03:48:29.478Z] 5eb5b503b376: Pulling fs layer [2024-10-03T03:48:29.478Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T03:48:29.478Z] ec43610c2a17: Pulling fs layer [2024-10-03T03:48:29.478Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T03:48:29.478Z] 33b1e0a273af: Pulling fs layer [2024-10-03T03:48:29.478Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T03:48:29.478Z] 2f39f015ded8: Pulling fs layer [2024-10-03T03:48:29.478Z] 33b1e0a273af: Waiting [2024-10-03T03:48:29.478Z] 5d3b04190fa2: Waiting [2024-10-03T03:48:29.478Z] 3a2ae6a8a46f: Waiting [2024-10-03T03:48:29.478Z] 5c69ac0246d0: Download complete [2024-10-03T03:48:29.478Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-03T03:48:29.478Z] 3a2ae6a8a46f: Download complete [2024-10-03T03:48:29.478Z] 33b1e0a273af: Verifying Checksum [2024-10-03T03:48:29.478Z] 33b1e0a273af: Download complete [2024-10-03T03:48:29.478Z] 5d3b04190fa2: Verifying Checksum [2024-10-03T03:48:29.478Z] 5d3b04190fa2: Download complete [2024-10-03T03:48:29.478Z] ec43610c2a17: Verifying Checksum [2024-10-03T03:48:29.478Z] ec43610c2a17: Download complete [2024-10-03T03:48:29.735Z] 5eb5b503b376: Verifying Checksum [2024-10-03T03:48:29.735Z] 5eb5b503b376: Download complete [2024-10-03T03:48:30.303Z] 2f39f015ded8: Download complete [2024-10-03T03:48:30.868Z] 5eb5b503b376: Pull complete [2024-10-03T03:48:30.868Z] 5c69ac0246d0: Pull complete [2024-10-03T03:48:31.434Z] ec43610c2a17: Pull complete [2024-10-03T03:48:31.434Z] 3a2ae6a8a46f: Pull complete [2024-10-03T03:48:31.692Z] 33b1e0a273af: Pull complete [2024-10-03T03:48:31.692Z] 5d3b04190fa2: Pull complete [2024-10-03T03:48:35.873Z] 2f39f015ded8: Pull complete [2024-10-03T03:48:35.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T03:48:35.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:48:35.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:48:36.159Z] prd-ubuntu20.04-docker-8c-8g-13164 does not seem to be running inside a container [2024-10-03T03:48:36.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-220 -v /w/workspace/exfoundry_ci-build-images_PR-220:/w/workspace/exfoundry_ci-build-images_PR-220:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-220@tmp:/w/workspace/exfoundry_ci-build-images_PR-220@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 ******** -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T03:48:42.802Z] $ docker top f41db40e98d48f8384ca32323739275300a9603e98eebe84f6e4624be59c23e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:43.267Z] ---> job-cost.sh [2024-10-03T03:48:43.267Z] lf-activate-venv: SKIPPING [2024-10-03T03:48:43.267Z] INFO: No Stack... [2024-10-03T03:48:43.526Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:48:43.787Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T03:48:44.115Z] + cat /w/workspace/exfoundry_ci-build-images_PR-220/archives/cost.csv [2024-10-03T03:48:44.115Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T03:48:44.169Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-PR-220-1-stack-cost] [2024-10-03T03:48:44.176Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-220-1-stack-cost] did not exist. Created. [2024-10-03T03:48:44.187Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T03:48:44.601Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T03:48:44.833Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T03:48:44.860Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-PR-220-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T03:48:44.963Z] $ docker stop --time=1 f41db40e98d48f8384ca32323739275300a9603e98eebe84f6e4624be59c23e5 [2024-10-03T03:48:46.102Z] $ docker rm -f --volumes f41db40e98d48f8384ca32323739275300a9603e98eebe84f6e4624be59c23e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T03:48:47.687Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-220/archives ] [2024-10-03T03:48:47.687Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-220/archives [2024-10-03T03:48:47.687Z] total 16 [2024-10-03T03:48:47.687Z] drwxr-xr-x 3 root root 4096 Oct 3 03:48 . [2024-10-03T03:48:47.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:48 .. [2024-10-03T03:48:47.687Z] drwxr-xr-x 2 root root 4096 Oct 3 03:48 cost [2024-10-03T03:48:47.687Z] -rw-r--r-- 1 root root 87 Oct 3 03:48 cost.csv [2024-10-03T03:48:47.687Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-220/archives [2024-10-03T03:48:47.687Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-220/archives [2024-10-03T03:48:47.687Z] total 16 [2024-10-03T03:48:47.687Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:48 . [2024-10-03T03:48:47.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:48 .. [2024-10-03T03:48:47.687Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:48 cost [2024-10-03T03:48:47.687Z] -rw-r--r-- 1 jenkins jenkins 87 Oct 3 03:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:48.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:48.940Z] ---> package-listing.sh [2024-10-03T03:48:48.940Z] ++ facter osfamily [2024-10-03T03:48:48.940Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T03:48:49.203Z] + OS_FAMILY=debian [2024-10-03T03:48:49.203Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-220 [2024-10-03T03:48:49.203Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T03:48:49.203Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T03:48:49.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T03:48:49.203Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T03:48:49.203Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-220 ']' [2024-10-03T03:48:49.203Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T03:48:49.203Z] + case "${OS_FAMILY}" in [2024-10-03T03:48:49.203Z] + dpkg -l [2024-10-03T03:48:49.203Z] + grep '^ii' [2024-10-03T03:48:49.203Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T03:48:49.203Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T03:48:49.203Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T03:48:49.203Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-220 ']' [2024-10-03T03:48:49.203Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-220/archives/ [2024-10-03T03:48:49.203Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-220/archives/ [Pipeline] echo [2024-10-03T03:48:49.242Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T03:48:49.553Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:48:50.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:48:50.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:48:50.375Z] prd-ubuntu20.04-docker-8c-8g-13164 does not seem to be running inside a container [2024-10-03T03:48:50.403Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-220 -v /w/workspace/exfoundry_ci-build-images_PR-220:/w/workspace/exfoundry_ci-build-images_PR-220:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-220@tmp:/w/workspace/exfoundry_ci-build-images_PR-220@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 ******** -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T03:48:50.577Z] $ docker top 8dda7ff4b7acdd55ccfce0bf55d9e2f3914e9e5d796aaff67858c54684eff8ba -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T03:48:50.985Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T03:48:51.312Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T03:48:51.629Z] + ls /var/log/sa-host [2024-10-03T03:48:51.630Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:48:51.889Z] provisioning config files... [2024-10-03T03:48:51.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-220@tmp/config925575034187299494tmp [Pipeline] { [Pipeline] echo [2024-10-03T03:48:51.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:52.284Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T03:48:52.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:52.781Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T03:48:52.822Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:53.159Z] ---> sudo-logs.sh [2024-10-03T03:48:53.160Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T03:48:53.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:53.600Z] ---> job-cost.sh [2024-10-03T03:48:53.600Z] lf-activate-venv: SKIPPING [2024-10-03T03:48:53.600Z] DEBUG: total: 0.2199999988079071 [2024-10-03T03:48:53.600Z] INFO: Retrieving Stack Cost... [2024-10-03T03:48:53.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:48:53.859Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T03:48:53.901Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:48:54.225Z] ---> logs-deploy.sh [2024-10-03T03:48:54.225Z] lf-activate-venv: SKIPPING [2024-10-03T03:48:54.225Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-220/1 [2024-10-03T03:48:54.225Z] INFO: archiving workspace using pattern(s): [2024-10-03T03:48:55.163Z] Archives upload complete. [2024-10-03T03:48:55.163Z] INFO: archiving logs to Nexus