Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb7e5ce6626a160a9ab780e02eb002b4243f1059 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-ssh16837572290685198529.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12135437558309742738.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18274963600426820803.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh17927612802060826870.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18270094161772470564.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-ubuntu20.04-docker-8c-8g-655 in /w/workspace/dgexfoundry_ci-build-images_snyk [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/dgexfoundry_ci-build-images_snyk # 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 > 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 Avoid second fetch Checking out Revision fb7e5ce6626a160a9ab780e02eb002b4243f1059 (snyk) Commit message: "Merge pull request #218 from jinlinGuan/issue-217" > git config core.sparsecheckout # timeout=10 > git checkout -f fb7e5ce6626a160a9ab780e02eb002b4243f1059 # timeout=10 > git rev-list --no-walk fe725ecbe59fb01d26fc59a142f73164b49a3ace # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T03:13:14.983Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T03:13:15.039Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T03:13:15.065Z] ========================================================= [2024-05-24T03:13:15.065Z] EdgeX Global Pipelines Version Info [2024-05-24T03:13:15.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:13:15.811Z] ------------------- [2024-05-24T03:13:15.811Z] stable info: [2024-05-24T03:13:15.811Z] ------------------- [2024-05-24T03:13:15.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-24T03:13:15.811Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-24T03:13:15.811Z] Message: update stable to v1.0.258 [2024-05-24T03:13:16.381Z] ------------------- [2024-05-24T03:13:16.381Z] experimental info: [2024-05-24T03:13:16.381Z] ------------------- [2024-05-24T03:13:16.382Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T03:13:16.382Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-24T03:13:16.382Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-05-24T03:13:16.508Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-05-24T03:13:16.528Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2024-05-24T03:13:16.545Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-05-24T03:13:16.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-24T03:13:16.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T03:13:16.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2024-05-24T03:13:16.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-05-24T03:13:16.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2024-05-24T03:13:16.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-05-24T03:13:16.663Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T03:13:16.685Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-05-24T03:13:16.702Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2024-05-24T03:13:16.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T03:13:16.740Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T03:13:16.764Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2024-05-24T03:13:16.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo [2024-05-24T03:13:16.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2024-05-24T03:13:16.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2024-05-24T03:13:16.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2024-05-24T03:13:16.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb7e5ce6626a160a9ab780e02eb002b4243f1059 [Pipeline] echo [2024-05-24T03:13:16.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb7e5ce [Pipeline] echo [2024-05-24T03:13:16.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T03:13:16.956Z] provisioning config files... [2024-05-24T03:13:16.971Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3099353540750630477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:13:17.303Z] ---> ****-login.sh [2024-05-24T03:13:17.303Z] nexus3.edgexfoundry.org:10001 [2024-05-24T03:13:17.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:17.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:17.562Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:17.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:17.562Z] [2024-05-24T03:13:17.562Z] Login Succeeded [2024-05-24T03:13:17.822Z] nexus3.edgexfoundry.org:10002 [2024-05-24T03:13:17.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:17.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:17.822Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:17.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:17.822Z] [2024-05-24T03:13:17.822Z] Login Succeeded [2024-05-24T03:13:17.822Z] nexus3.edgexfoundry.org:10003 [2024-05-24T03:13:17.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:17.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:17.822Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:17.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:17.822Z] [2024-05-24T03:13:17.822Z] Login Succeeded [2024-05-24T03:13:17.822Z] nexus3.edgexfoundry.org:10004 [2024-05-24T03:13:18.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:18.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:18.082Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:18.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:18.082Z] [2024-05-24T03:13:18.082Z] Login Succeeded [2024-05-24T03:13:18.082Z] ****.io [2024-05-24T03:13:18.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:18.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:18.341Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:18.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:18.341Z] [2024-05-24T03:13:18.341Z] Login Succeeded [2024-05-24T03:13:18.341Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T03:13:18.349Z] 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-05-24T03:13:18.723Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2024-05-24T03:13:18.733Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config7830207229627368910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:13:19.037Z] ---> ****-login.sh [2024-05-24T03:13:19.037Z] nexus3.edgexfoundry.org:10001 [2024-05-24T03:13:19.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:19.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:19.037Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:19.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:19.037Z] [2024-05-24T03:13:19.037Z] Login Succeeded [2024-05-24T03:13:19.037Z] nexus3.edgexfoundry.org:10002 [2024-05-24T03:13:19.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:19.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:19.037Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:19.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:19.037Z] [2024-05-24T03:13:19.037Z] Login Succeeded [2024-05-24T03:13:19.037Z] nexus3.edgexfoundry.org:10003 [2024-05-24T03:13:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:19.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:19.296Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:19.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:19.296Z] [2024-05-24T03:13:19.296Z] Login Succeeded [2024-05-24T03:13:19.296Z] nexus3.edgexfoundry.org:10004 [2024-05-24T03:13:19.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:19.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:19.297Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:19.297Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:19.297Z] [2024-05-24T03:13:19.297Z] Login Succeeded [2024-05-24T03:13:19.297Z] ****.io [2024-05-24T03:13:19.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T03:13:19.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T03:13:19.819Z] Configure a credential helper to remove this warning. See [2024-05-24T03:13:19.819Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T03:13:19.819Z] [2024-05-24T03:13:19.819Z] Login Succeeded [2024-05-24T03:13:19.819Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T03:13:19.827Z] 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-05-24T03:13:20.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T03:13:20.643Z] + ls -al . [2024-05-24T03:13:20.643Z] total 20 [2024-05-24T03:13:20.643Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 03:13 . [2024-05-24T03:13:20.643Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:13 .. [2024-05-24T03:13:20.643Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 03:13 .git [2024-05-24T03:13:20.643Z] -rw-rw-r-- 1 jenkins jenkins 684 May 24 03:13 Dockerfile [2024-05-24T03:13:20.643Z] -rw-rw-r-- 1 jenkins jenkins 933 May 24 03:13 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:13:21.009Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=fb7e5ce6626a160a9ab780e02eb002b4243f1059 --label arch=amd64 . [2024-05-24T03:13:21.009Z] Sending build context to Docker daemon 472.1kB [2024-05-24T03:13:21.009Z] Step 1/11 : FROM golang:1.21-alpine3.18 [2024-05-24T03:13:21.268Z] 1.21-alpine3.18: Pulling from library/golang [2024-05-24T03:13:21.527Z] 619be1103602: Pulling fs layer [2024-05-24T03:13:21.527Z] f8ea3408117e: Pulling fs layer [2024-05-24T03:13:21.527Z] 91320369b822: Pulling fs layer [2024-05-24T03:13:21.527Z] 0406650e8295: Pulling fs layer [2024-05-24T03:13:21.527Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T03:13:21.527Z] 0406650e8295: Waiting [2024-05-24T03:13:21.527Z] 4f4fb700ef54: Waiting [2024-05-24T03:13:21.527Z] f8ea3408117e: Verifying Checksum [2024-05-24T03:13:21.527Z] f8ea3408117e: Download complete [2024-05-24T03:13:21.786Z] 619be1103602: Verifying Checksum [2024-05-24T03:13:21.786Z] 619be1103602: Download complete [2024-05-24T03:13:21.786Z] 0406650e8295: Verifying Checksum [2024-05-24T03:13:21.786Z] 0406650e8295: Download complete [2024-05-24T03:13:21.786Z] 4f4fb700ef54: Download complete [2024-05-24T03:13:21.786Z] 619be1103602: Pull complete [2024-05-24T03:13:22.045Z] f8ea3408117e: Pull complete [2024-05-24T03:13:22.045Z] 91320369b822: Verifying Checksum [2024-05-24T03:13:22.045Z] 91320369b822: Download complete [2024-05-24T03:13:26.244Z] 91320369b822: Pull complete [2024-05-24T03:13:26.244Z] 0406650e8295: Pull complete [2024-05-24T03:13:26.244Z] 4f4fb700ef54: Pull complete [2024-05-24T03:13:26.244Z] Digest: sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d [2024-05-24T03:13:26.244Z] Status: Downloaded newer image for golang:1.21-alpine3.18 [2024-05-24T03:13:26.244Z] ---> a3bbef70a967 [2024-05-24T03:13:26.244Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' [2024-05-24T03:13:27.623Z] ---> Running in a1be73c1044f [2024-05-24T03:13:27.623Z] Removing intermediate container a1be73c1044f [2024-05-24T03:13:27.623Z] ---> bd28dad82772 [2024-05-24T03:13:27.623Z] Step 3/11 : ARG SNYK_VERSION=1.1291.0 [2024-05-24T03:13:27.623Z] ---> Running in fa66eb6f75f9 [2024-05-24T03:13:27.882Z] Removing intermediate container fa66eb6f75f9 [2024-05-24T03:13:27.882Z] ---> a2d4e0c38b59 [2024-05-24T03:13:27.882Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2024-05-24T03:13:27.882Z] ---> Running in 7e1ef0a40fbf [2024-05-24T03:13:27.882Z] Removing intermediate container 7e1ef0a40fbf [2024-05-24T03:13:27.882Z] ---> 3683e5b09f39 [2024-05-24T03:13:27.882Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2024-05-24T03:13:28.450Z] latest: Pulling from library/docker [2024-05-24T03:13:28.450Z] d25f557d7f31: Pulling fs layer [2024-05-24T03:13:28.450Z] 6e0cb2a59ced: Pulling fs layer [2024-05-24T03:13:28.450Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T03:13:28.450Z] eb247a8f83e7: Pulling fs layer [2024-05-24T03:13:28.450Z] f32499521033: Pulling fs layer [2024-05-24T03:13:28.450Z] e38fd5a68d34: Pulling fs layer [2024-05-24T03:13:28.450Z] 421921fd35be: Pulling fs layer [2024-05-24T03:13:28.450Z] 8bcd32e1b4bb: Pulling fs layer [2024-05-24T03:13:28.450Z] 6456e0b39317: Pulling fs layer [2024-05-24T03:13:28.450Z] 4d97db5952e9: Pulling fs layer [2024-05-24T03:13:28.450Z] 859ef0cd825e: Pulling fs layer [2024-05-24T03:13:28.450Z] e46152ab1f3a: Pulling fs layer [2024-05-24T03:13:28.450Z] c4b13da4650b: Pulling fs layer [2024-05-24T03:13:28.450Z] b0e2fc653a42: Pulling fs layer [2024-05-24T03:13:28.450Z] eb247a8f83e7: Waiting [2024-05-24T03:13:28.450Z] 6858fca25ac0: Pulling fs layer [2024-05-24T03:13:28.450Z] e95be673f87c: Pulling fs layer [2024-05-24T03:13:28.450Z] f32499521033: Waiting [2024-05-24T03:13:28.450Z] e38fd5a68d34: Waiting [2024-05-24T03:13:28.450Z] 421921fd35be: Waiting [2024-05-24T03:13:28.450Z] 8bcd32e1b4bb: Waiting [2024-05-24T03:13:28.450Z] 6456e0b39317: Waiting [2024-05-24T03:13:28.450Z] 4d97db5952e9: Waiting [2024-05-24T03:13:28.450Z] 859ef0cd825e: Waiting [2024-05-24T03:13:28.450Z] e46152ab1f3a: Waiting [2024-05-24T03:13:28.450Z] c4b13da4650b: Waiting [2024-05-24T03:13:28.450Z] b0e2fc653a42: Waiting [2024-05-24T03:13:28.450Z] 6858fca25ac0: Waiting [2024-05-24T03:13:28.450Z] e95be673f87c: Waiting [2024-05-24T03:13:28.450Z] 4f4fb700ef54: Download complete [2024-05-24T03:13:28.710Z] 6e0cb2a59ced: Verifying Checksum [2024-05-24T03:13:28.710Z] 6e0cb2a59ced: Download complete [2024-05-24T03:13:28.710Z] d25f557d7f31: Verifying Checksum [2024-05-24T03:13:28.710Z] d25f557d7f31: Download complete [2024-05-24T03:13:28.710Z] eb247a8f83e7: Verifying Checksum [2024-05-24T03:13:28.710Z] eb247a8f83e7: Download complete [2024-05-24T03:13:28.710Z] d25f557d7f31: Pull complete [2024-05-24T03:13:28.969Z] f32499521033: Verifying Checksum [2024-05-24T03:13:28.969Z] f32499521033: Download complete [2024-05-24T03:13:28.969Z] e38fd5a68d34: Verifying Checksum [2024-05-24T03:13:28.969Z] e38fd5a68d34: Download complete [2024-05-24T03:13:28.969Z] 6e0cb2a59ced: Pull complete [2024-05-24T03:13:28.969Z] 6456e0b39317: Verifying Checksum [2024-05-24T03:13:28.969Z] 6456e0b39317: Download complete [2024-05-24T03:13:28.969Z] 8bcd32e1b4bb: Verifying Checksum [2024-05-24T03:13:28.969Z] 8bcd32e1b4bb: Download complete [2024-05-24T03:13:28.969Z] 4f4fb700ef54: Pull complete [2024-05-24T03:13:28.969Z] 421921fd35be: Verifying Checksum [2024-05-24T03:13:28.969Z] 421921fd35be: Download complete [2024-05-24T03:13:29.228Z] eb247a8f83e7: Pull complete [2024-05-24T03:13:29.228Z] e46152ab1f3a: Download complete [2024-05-24T03:13:29.228Z] 859ef0cd825e: Verifying Checksum [2024-05-24T03:13:29.228Z] 859ef0cd825e: Download complete [2024-05-24T03:13:29.228Z] c4b13da4650b: Verifying Checksum [2024-05-24T03:13:29.228Z] c4b13da4650b: Download complete [2024-05-24T03:13:29.486Z] 4d97db5952e9: Verifying Checksum [2024-05-24T03:13:29.486Z] 4d97db5952e9: Download complete [2024-05-24T03:13:29.486Z] 6858fca25ac0: Verifying Checksum [2024-05-24T03:13:29.486Z] 6858fca25ac0: Download complete [2024-05-24T03:13:29.486Z] f32499521033: Pull complete [2024-05-24T03:13:29.486Z] e95be673f87c: Download complete [2024-05-24T03:13:29.744Z] b0e2fc653a42: Verifying Checksum [2024-05-24T03:13:29.744Z] b0e2fc653a42: Download complete [2024-05-24T03:13:29.744Z] e38fd5a68d34: Pull complete [2024-05-24T03:13:30.311Z] 421921fd35be: Pull complete [2024-05-24T03:13:30.311Z] 8bcd32e1b4bb: Pull complete [2024-05-24T03:13:30.311Z] 6456e0b39317: Pull complete [2024-05-24T03:13:30.586Z] 4d97db5952e9: Pull complete [2024-05-24T03:13:30.845Z] 859ef0cd825e: Pull complete [2024-05-24T03:13:30.845Z] e46152ab1f3a: Pull complete [2024-05-24T03:13:31.103Z] c4b13da4650b: Pull complete [2024-05-24T03:13:32.040Z] b0e2fc653a42: Pull complete [2024-05-24T03:13:32.040Z] 6858fca25ac0: Pull complete [2024-05-24T03:13:32.299Z] e95be673f87c: Pull complete [2024-05-24T03:13:32.299Z] Digest: sha256:a811114bcd41954bc9b6577469ce7e648ee600c864e815e535aac79e50439352 [2024-05-24T03:13:32.299Z] Status: Downloaded newer image for docker:latest [2024-05-24T03:13:34.907Z] ---> 6e8ee28ab250 [2024-05-24T03:13:34.907Z] 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-05-24T03:13:34.907Z] ---> Running in 5de921efbba9 [2024-05-24T03:13:35.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T03:13:35.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T03:13:35.695Z] (1/29) Installing tzdata (2024a-r0) [2024-05-24T03:13:35.695Z] (2/29) Installing tcl (8.6.13-r1) [2024-05-24T03:13:35.695Z] (3/29) Installing expect (5.45.4-r4) [2024-05-24T03:13:35.695Z] (4/29) Installing libgcc (12.2.1_git20220924-r10) [2024-05-24T03:13:35.695Z] (5/29) Installing libstdc++ (12.2.1_git20220924-r10) [2024-05-24T03:13:35.695Z] (6/29) Installing zstd-libs (1.5.5-r4) [2024-05-24T03:13:35.695Z] (7/29) Installing binutils (2.40-r7) [2024-05-24T03:13:35.957Z] (8/29) Installing libgomp (12.2.1_git20220924-r10) [2024-05-24T03:13:35.957Z] (9/29) Installing libatomic (12.2.1_git20220924-r10) [2024-05-24T03:13:35.957Z] (10/29) Installing gmp (6.2.1-r3) [2024-05-24T03:13:35.957Z] (11/29) Installing isl26 (0.26-r1) [2024-05-24T03:13:35.957Z] (12/29) Installing mpfr4 (4.2.0_p12-r0) [2024-05-24T03:13:35.957Z] (13/29) Installing mpc1 (1.3.1-r1) [2024-05-24T03:13:35.957Z] (14/29) Installing gcc (12.2.1_git20220924-r10) [2024-05-24T03:13:36.525Z] (15/29) Installing brotli-libs (1.0.9-r14) [2024-05-24T03:13:36.525Z] (16/29) Installing libunistring (1.1-r1) [2024-05-24T03:13:36.525Z] (17/29) Installing libidn2 (2.3.4-r1) [2024-05-24T03:13:36.525Z] (18/29) Installing nghttp2-libs (1.57.0-r0) [2024-05-24T03:13:36.525Z] (19/29) Installing libcurl (8.5.0-r0) [2024-05-24T03:13:36.525Z] (20/29) Installing libexpat (2.6.2-r0) [2024-05-24T03:13:36.525Z] (21/29) Installing pcre2 (10.42-r1) [2024-05-24T03:13:36.525Z] (22/29) Installing git (2.40.1-r0) [2024-05-24T03:13:36.784Z] (23/29) Installing musl-dev (1.2.4-r2) [2024-05-24T03:13:36.784Z] (24/29) Installing libc-dev (0.7.2-r5) [2024-05-24T03:13:36.784Z] (25/29) Installing c-ares (1.19.1-r1) [2024-05-24T03:13:36.784Z] (26/29) Installing icu-data-en (73.2-r2) [2024-05-24T03:13:36.784Z] Executing icu-data-en-73.2-r2.post-install [2024-05-24T03:13:36.784Z] * [2024-05-24T03:13:36.784Z] * If you need ICU with non-English locales and legacy charset support, install [2024-05-24T03:13:36.784Z] * package icu-data-full. [2024-05-24T03:13:36.784Z] * [2024-05-24T03:13:36.784Z] (27/29) Installing icu-libs (73.2-r2) [2024-05-24T03:13:36.784Z] (28/29) Installing nodejs (18.20.1-r0) [2024-05-24T03:13:37.042Z] (29/29) Installing npm (9.6.6-r0) [2024-05-24T03:13:37.301Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T03:13:37.301Z] OK: 228 MiB in 45 packages [2024-05-24T03:13:37.301Z] Connecting to github.com (140.82.112.4:443) [2024-05-24T03:13:37.301Z] Connecting to github.com (140.82.112.4:443) [2024-05-24T03:13:37.561Z] Connecting to objects.githubusercontent.com (185.199.109.133:443) [2024-05-24T03:13:37.561Z] saving to '/usr/local/bin/snyk' [2024-05-24T03:13:38.498Z] snyk 100% |********************************| 102M 0:00:00 ETA [2024-05-24T03:13:38.498Z] '/usr/local/bin/snyk' saved [2024-05-24T03:13:40.410Z]  [2024-05-24T03:13:40.410Z] added 23 packages in 2s [2024-05-24T03:13:40.410Z] [2024-05-24T03:13:40.410Z] 1 package is looking for funding [2024-05-24T03:13:40.410Z] run `npm fund` for details [2024-05-24T03:13:48.524Z] Removing intermediate container 5de921efbba9 [2024-05-24T03:13:48.524Z] ---> 1346f9002662 [2024-05-24T03:13:48.524Z] Step 7/11 : ENV GO111MODULE=on [2024-05-24T03:13:48.524Z] ---> Running in 1b87b7df3e63 [2024-05-24T03:13:48.524Z] Removing intermediate container 1b87b7df3e63 [2024-05-24T03:13:48.524Z] ---> ce384c478bfd [2024-05-24T03:13:48.524Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2024-05-24T03:13:48.524Z] ---> Running in cf430ac6df11 [2024-05-24T03:13:48.524Z] Removing intermediate container cf430ac6df11 [2024-05-24T03:13:48.524Z] ---> 06f9dbc0c73d [2024-05-24T03:13:48.524Z] Step 9/11 : CMD [ "monitor" ] [2024-05-24T03:13:48.524Z] ---> Running in b55c68408119 [2024-05-24T03:13:48.524Z] Removing intermediate container b55c68408119 [2024-05-24T03:13:48.524Z] ---> 644b6f0a1bd9 [2024-05-24T03:13:48.524Z] Step 10/11 : LABEL arch=amd64 [2024-05-24T03:13:48.524Z] ---> Running in f17a9e2e0e6b [2024-05-24T03:13:48.524Z] Removing intermediate container f17a9e2e0e6b [2024-05-24T03:13:48.524Z] ---> b7df46edeec2 [2024-05-24T03:13:48.524Z] Step 11/11 : LABEL git_sha=fb7e5ce6626a160a9ab780e02eb002b4243f1059 [2024-05-24T03:13:48.524Z] ---> Running in 4fdfd74c53b6 [2024-05-24T03:13:48.524Z] Removing intermediate container 4fdfd74c53b6 [2024-05-24T03:13:48.524Z] ---> afe7f31a8364 [2024-05-24T03:13:48.524Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T03:13:48.524Z] Successfully built afe7f31a8364 [2024-05-24T03:13:48.524Z] Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2024-05-24T03:13:48.667Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2024-05-24T03:13:48.667Z] fb7e5ce6626a160a9ab780e02eb002b4243f1059 [2024-05-24T03:13:48.667Z] latest [2024-05-24T03:13:48.667Z] snyk [2024-05-24T03:13:48.667Z] latest [2024-05-24T03:13:48.667Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:13:49.005Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fb7e5ce6626a160a9ab780e02eb002b4243f1059 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:13:49.319Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fb7e5ce6626a160a9ab780e02eb002b4243f1059 [2024-05-24T03:13:49.319Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-05-24T03:13:49.319Z] 3a36b7932bdd: Preparing [2024-05-24T03:13:49.319Z] 7851d0b12304: Preparing [2024-05-24T03:13:49.319Z] 5f70bf18a086: Preparing [2024-05-24T03:13:49.319Z] 18013432a13d: Preparing [2024-05-24T03:13:49.319Z] 71f4b0bf608a: Preparing [2024-05-24T03:13:49.319Z] 28d486b7bb53: Preparing [2024-05-24T03:13:49.319Z] aedc3bda2944: Preparing [2024-05-24T03:13:49.319Z] aedc3bda2944: Waiting [2024-05-24T03:13:49.319Z] 28d486b7bb53: Waiting [2024-05-24T03:13:49.319Z] 5f70bf18a086: Layer already exists [2024-05-24T03:13:49.319Z] 18013432a13d: Pushed [2024-05-24T03:13:49.319Z] aedc3bda2944: Layer already exists [2024-05-24T03:13:49.576Z] 28d486b7bb53: Pushed [2024-05-24T03:13:53.764Z] 7851d0b12304: Pushed [2024-05-24T03:14:15.717Z] 71f4b0bf608a: Pushed [2024-05-24T03:14:27.942Z] 3a36b7932bdd: Pushed [2024-05-24T03:14:27.942Z] fb7e5ce6626a160a9ab780e02eb002b4243f1059: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:28.267Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:28.583Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T03:14:28.583Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-05-24T03:14:28.583Z] 3a36b7932bdd: Preparing [2024-05-24T03:14:28.583Z] 7851d0b12304: Preparing [2024-05-24T03:14:28.583Z] 5f70bf18a086: Preparing [2024-05-24T03:14:28.583Z] 18013432a13d: Preparing [2024-05-24T03:14:28.583Z] 71f4b0bf608a: Preparing [2024-05-24T03:14:28.583Z] 28d486b7bb53: Preparing [2024-05-24T03:14:28.583Z] aedc3bda2944: Preparing [2024-05-24T03:14:28.583Z] 28d486b7bb53: Waiting [2024-05-24T03:14:28.583Z] 7851d0b12304: Layer already exists [2024-05-24T03:14:28.583Z] 3a36b7932bdd: Layer already exists [2024-05-24T03:14:28.583Z] 5f70bf18a086: Layer already exists [2024-05-24T03:14:28.583Z] 71f4b0bf608a: Layer already exists [2024-05-24T03:14:28.583Z] 18013432a13d: Layer already exists [2024-05-24T03:14:28.583Z] 28d486b7bb53: Layer already exists [2024-05-24T03:14:28.583Z] aedc3bda2944: Layer already exists [2024-05-24T03:14:28.583Z] latest: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:28.902Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:29.219Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2024-05-24T03:14:29.219Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-05-24T03:14:29.219Z] 3a36b7932bdd: Preparing [2024-05-24T03:14:29.219Z] 7851d0b12304: Preparing [2024-05-24T03:14:29.219Z] 5f70bf18a086: Preparing [2024-05-24T03:14:29.219Z] 18013432a13d: Preparing [2024-05-24T03:14:29.219Z] 71f4b0bf608a: Preparing [2024-05-24T03:14:29.219Z] 28d486b7bb53: Preparing [2024-05-24T03:14:29.219Z] aedc3bda2944: Preparing [2024-05-24T03:14:29.219Z] 28d486b7bb53: Waiting [2024-05-24T03:14:29.219Z] aedc3bda2944: Waiting [2024-05-24T03:14:29.219Z] 71f4b0bf608a: Layer already exists [2024-05-24T03:14:29.219Z] 18013432a13d: Layer already exists [2024-05-24T03:14:29.219Z] 5f70bf18a086: Layer already exists [2024-05-24T03:14:29.219Z] 3a36b7932bdd: Layer already exists [2024-05-24T03:14:29.219Z] 7851d0b12304: Layer already exists [2024-05-24T03:14:29.219Z] aedc3bda2944: Layer already exists [2024-05-24T03:14:29.219Z] 28d486b7bb53: Layer already exists [2024-05-24T03:14:29.219Z] snyk: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:29.544Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:29.856Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T03:14:29.856Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-05-24T03:14:29.856Z] 3a36b7932bdd: Preparing [2024-05-24T03:14:29.856Z] 7851d0b12304: Preparing [2024-05-24T03:14:29.856Z] 5f70bf18a086: Preparing [2024-05-24T03:14:29.856Z] 18013432a13d: Preparing [2024-05-24T03:14:29.856Z] 71f4b0bf608a: Preparing [2024-05-24T03:14:29.856Z] 28d486b7bb53: Preparing [2024-05-24T03:14:29.856Z] aedc3bda2944: Preparing [2024-05-24T03:14:29.856Z] 28d486b7bb53: Waiting [2024-05-24T03:14:29.856Z] aedc3bda2944: Waiting [2024-05-24T03:14:29.856Z] 7851d0b12304: Layer already exists [2024-05-24T03:14:29.856Z] 5f70bf18a086: Layer already exists [2024-05-24T03:14:29.856Z] 71f4b0bf608a: Layer already exists [2024-05-24T03:14:29.856Z] 18013432a13d: Layer already exists [2024-05-24T03:14:29.856Z] 3a36b7932bdd: Layer already exists [2024-05-24T03:14:29.856Z] 28d486b7bb53: Layer already exists [2024-05-24T03:14:29.856Z] aedc3bda2944: Layer already exists [2024-05-24T03:14:29.856Z] latest: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T03:14:29.917Z] ===================================================== [Pipeline] echo [2024-05-24T03:14:29.927Z] taggedImages: [2024-05-24T03:14:29.927Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fb7e5ce6626a160a9ab780e02eb002b4243f1059 [2024-05-24T03:14:29.927Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T03:14:29.927Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2024-05-24T03:14:29.927Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [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-05-24T03:14:30.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:14:30.314Z] [2024-05-24T03:14:30.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:30.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:14:30.613Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T03:14:30.613Z] 5eb5b503b376: Pulling fs layer [2024-05-24T03:14:30.613Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T03:14:30.613Z] ec43610c2a17: Pulling fs layer [2024-05-24T03:14:30.613Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T03:14:30.613Z] 33b1e0a273af: Pulling fs layer [2024-05-24T03:14:30.613Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T03:14:30.613Z] 2f39f015ded8: Pulling fs layer [2024-05-24T03:14:30.613Z] 33b1e0a273af: Waiting [2024-05-24T03:14:30.613Z] 3a2ae6a8a46f: Waiting [2024-05-24T03:14:30.613Z] 2f39f015ded8: Waiting [2024-05-24T03:14:30.613Z] 5d3b04190fa2: Waiting [2024-05-24T03:14:30.613Z] 5c69ac0246d0: Verifying Checksum [2024-05-24T03:14:30.613Z] 5c69ac0246d0: Download complete [2024-05-24T03:14:30.613Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-24T03:14:30.613Z] 3a2ae6a8a46f: Download complete [2024-05-24T03:14:30.613Z] 33b1e0a273af: Verifying Checksum [2024-05-24T03:14:30.613Z] 33b1e0a273af: Download complete [2024-05-24T03:14:30.613Z] 5d3b04190fa2: Verifying Checksum [2024-05-24T03:14:30.613Z] 5d3b04190fa2: Download complete [2024-05-24T03:14:30.613Z] ec43610c2a17: Verifying Checksum [2024-05-24T03:14:30.613Z] ec43610c2a17: Download complete [2024-05-24T03:14:30.872Z] 5eb5b503b376: Verifying Checksum [2024-05-24T03:14:30.872Z] 5eb5b503b376: Download complete [2024-05-24T03:14:31.438Z] 2f39f015ded8: Download complete [2024-05-24T03:14:32.004Z] 5eb5b503b376: Pull complete [2024-05-24T03:14:32.262Z] 5c69ac0246d0: Pull complete [2024-05-24T03:14:32.831Z] ec43610c2a17: Pull complete [2024-05-24T03:14:32.831Z] 3a2ae6a8a46f: Pull complete [2024-05-24T03:14:33.090Z] 33b1e0a273af: Pull complete [2024-05-24T03:14:33.090Z] 5d3b04190fa2: Pull complete [2024-05-24T03:14:38.365Z] 2f39f015ded8: Pull complete [2024-05-24T03:14:38.365Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T03:14:38.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:14:38.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:14:38.505Z] prd-ubuntu20.04-docker-8c-8g-655 does not seem to be running inside a container [2024-05-24T03:14:38.542Z] $ 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/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T03:14:42.422Z] $ docker top 757015576ce2c66de9e7b00dfda4b22c8e52859af512abb1d756260ae99de90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:42.818Z] ---> job-cost.sh [2024-05-24T03:14:42.818Z] lf-activate-venv: SKIPPING [2024-05-24T03:14:42.818Z] INFO: No Stack... [2024-05-24T03:14:43.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T03:14:43.696Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T03:14:43.984Z] + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv [2024-05-24T03:14:43.984Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T03:14:44.016Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] [2024-05-24T03:14:44.028Z] Resource [jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] did not exist. Created. [2024-05-24T03:14:44.035Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T03:14:44.345Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T03:14:44.568Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T03:14:44.576Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T03:14:44.600Z] $ docker stop --time=1 757015576ce2c66de9e7b00dfda4b22c8e52859af512abb1d756260ae99de90e [2024-05-24T03:14:45.765Z] $ docker rm -f --volumes 757015576ce2c66de9e7b00dfda4b22c8e52859af512abb1d756260ae99de90e [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-05-24T03:14:46.389Z] + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] [2024-05-24T03:14:46.390Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2024-05-24T03:14:46.390Z] total 16 [2024-05-24T03:14:46.390Z] drwxr-xr-x 3 root root 4096 May 24 03:14 . [2024-05-24T03:14:46.390Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:14 .. [2024-05-24T03:14:46.390Z] drwxr-xr-x 2 root root 4096 May 24 03:14 cost [2024-05-24T03:14:46.390Z] -rw-r--r-- 1 root root 86 May 24 03:14 cost.csv [2024-05-24T03:14:46.390Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2024-05-24T03:14:46.390Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2024-05-24T03:14:46.390Z] total 16 [2024-05-24T03:14:46.390Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 03:14 . [2024-05-24T03:14:46.390Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:14 .. [2024-05-24T03:14:46.390Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 03:14 cost [2024-05-24T03:14:46.390Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:46.679Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:47.541Z] ---> package-listing.sh [2024-05-24T03:14:47.541Z] ++ facter osfamily [2024-05-24T03:14:47.541Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T03:14:47.801Z] + OS_FAMILY=debian [2024-05-24T03:14:47.801Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2024-05-24T03:14:47.801Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T03:14:47.801Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T03:14:47.801Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T03:14:47.801Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T03:14:47.801Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2024-05-24T03:14:47.801Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T03:14:47.801Z] + case "${OS_FAMILY}" in [2024-05-24T03:14:47.801Z] + dpkg -l [2024-05-24T03:14:47.801Z] + grep '^ii' [2024-05-24T03:14:47.801Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T03:14:47.801Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T03:14:47.801Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T03:14:47.801Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2024-05-24T03:14:47.801Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2024-05-24T03:14:47.801Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo [2024-05-24T03:14:47.812Z] 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/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T03:14:48.091Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T03:14:48.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T03:14:48.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T03:14:48.735Z] prd-ubuntu20.04-docker-8c-8g-655 does not seem to be running inside a container [2024-05-24T03:14:48.772Z] $ 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/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T03:14:49.010Z] $ docker top 798d0d1d3658b947629e0485b5eeebf4af97fcb5a33ccccaf53a0eb45cf8c396 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T03:14:49.365Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T03:14:49.650Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T03:14:49.937Z] + ls /var/log/sa-host [2024-05-24T03:14:49.937Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T03:14:50.013Z] provisioning config files... [2024-05-24T03:14:50.024Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config6013475497145387777tmp [Pipeline] { [Pipeline] echo [2024-05-24T03:14:50.043Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:50.325Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T03:14:50.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:50.657Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T03:14:50.666Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:50.951Z] ---> sudo-logs.sh [2024-05-24T03:14:50.951Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T03:14:50.994Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:51.282Z] ---> job-cost.sh [2024-05-24T03:14:51.282Z] lf-activate-venv: SKIPPING [2024-05-24T03:14:51.282Z] DEBUG: total: 0.2199999988079071 [2024-05-24T03:14:51.282Z] INFO: Retrieving Stack Cost... [2024-05-24T03:14:51.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T03:14:51.851Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T03:14:51.862Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T03:14:52.149Z] ---> logs-deploy.sh [2024-05-24T03:14:52.149Z] lf-activate-venv: SKIPPING [2024-05-24T03:14:52.149Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/13 [2024-05-24T03:14:52.149Z] INFO: archiving workspace using pattern(s): [2024-05-24T03:14:53.084Z] Archives upload complete. [2024-05-24T03:14:53.344Z] INFO: archiving logs to Nexus