Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 [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:[1.317.0], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g]] [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 PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.317.0 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7425’ Running on prd-centos7-docker-4c-2g-7429 in /w/workspace/dgexfoundry_ci-build-images_snyk [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/snyk:refs/remotes/origin/snyk # 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/snyk:refs/remotes/origin/snyk # 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 --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 Checking out Revision 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 (snyk) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 # timeout=10 Commit message: "Update to dockerTags to match version of Snyk CLI (1.317.0)" > git rev-list --no-walk d8fa4b72410a4c54a13d00e4aec7f53a0e462043 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:51:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:51:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:51:12 ========================================================= 03:51:12 EdgeX Global Pipelines Version Info 03:51:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:51:14 ------------------- 03:51:14 stable info: 03:51:14 ------------------- 03:51:14 Commited By: Emilio Reyes emilio.reyes@intel.com 03:51:14 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 03:51:14 Message: update stable to v1.0.87 03:51:14 ------------------- 03:51:14 experimental info: 03:51:14 ------------------- 03:51:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:51:14 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 03:51:14 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [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] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:51:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:51:17 + ls -al . 03:51:17 total 8 03:51:17 drwxrwxr-x. 3 jenkins jenkins 55 May 7 03:51 . 03:51:17 drwxrwxr-x. 4 jenkins jenkins 112 May 7 03:51 .. 03:51:17 -rw-rw-r--. 1 jenkins jenkins 667 May 7 03:51 Dockerfile 03:51:17 drwxrwxr-x. 8 jenkins jenkins 162 May 7 03:51 .git 03:51:17 -rw-rw-r--. 1 jenkins jenkins 896 May 7 03:51 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 03:51:18 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 --label arch=amd64 . 03:51:18 Sending build context to Docker daemon 192.5kB 03:51:18 Step 1/13 : FROM golang:1.13-alpine 03:51:18 1.13-alpine: Pulling from library/golang 03:51:18 cbdbe7a5bc2a: Pulling fs layer 03:51:18 408f87550127: Pulling fs layer 03:51:18 fe522b08c979: Pulling fs layer 03:51:18 221eaa008020: Pulling fs layer 03:51:18 2a4607e5d6b9: Pulling fs layer 03:51:18 221eaa008020: Waiting 03:51:18 2a4607e5d6b9: Waiting 03:51:19 fe522b08c979: Verifying Checksum 03:51:19 fe522b08c979: Download complete 03:51:19 408f87550127: Verifying Checksum 03:51:19 408f87550127: Download complete 03:51:19 cbdbe7a5bc2a: Verifying Checksum 03:51:19 cbdbe7a5bc2a: Download complete 03:51:19 2a4607e5d6b9: Verifying Checksum 03:51:19 2a4607e5d6b9: Download complete 03:51:19 cbdbe7a5bc2a: Pull complete 03:51:19 408f87550127: Pull complete 03:51:19 fe522b08c979: Pull complete 03:51:20 221eaa008020: Verifying Checksum 03:51:20 221eaa008020: Download complete 03:51:26 221eaa008020: Pull complete 03:51:26 2a4607e5d6b9: Pull complete 03:51:26 Digest: sha256:5d06737f0f56f4351f73f2a470888faec357f09281b637ac42b5010a3609aa41 03:51:26 Status: Downloaded newer image for golang:1.13-alpine 03:51:26 ---> 0e5426771795 03:51:26 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:51:26 ---> Running in d0e9a03da7e2 03:51:26 Removing intermediate container d0e9a03da7e2 03:51:26 ---> c21e7b36e022 03:51:26 Step 3/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:51:26 ---> Running in ef1b1da6e3b9 03:51:27 Removing intermediate container ef1b1da6e3b9 03:51:27 ---> 68e1f53e774d 03:51:27 Step 4/13 : ARG SNYK_VERSION=1.317.0 03:51:27 ---> Running in e2dc3b38d68c 03:51:27 Removing intermediate container e2dc3b38d68c 03:51:27 ---> 2ffafe5d9d92 03:51:27 Step 5/13 : ENV SNYK_VERSION=${SNYK_VERSION} 03:51:27 ---> Running in 95309a29d520 03:51:27 Removing intermediate container 95309a29d520 03:51:27 ---> c7558cfb1f02 03:51:27 Step 6/13 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 03:51:27 latest: Pulling from library/docker 03:51:27 cbdbe7a5bc2a: Already exists 03:51:27 6f4c731d6eb3: Pulling fs layer 03:51:27 5d79d4ac3cd0: Pulling fs layer 03:51:27 65de10866d6a: Pulling fs layer 03:51:27 ffd69ed7f17f: Pulling fs layer 03:51:27 07ba9e5a2fa6: Pulling fs layer 03:51:27 75478c283dd2: Pulling fs layer 03:51:27 ffd69ed7f17f: Waiting 03:51:27 07ba9e5a2fa6: Waiting 03:51:27 75478c283dd2: Waiting 03:51:27 5d79d4ac3cd0: Verifying Checksum 03:51:27 5d79d4ac3cd0: Download complete 03:51:27 6f4c731d6eb3: Verifying Checksum 03:51:27 ffd69ed7f17f: Verifying Checksum 03:51:27 ffd69ed7f17f: Download complete 03:51:27 07ba9e5a2fa6: Verifying Checksum 03:51:27 07ba9e5a2fa6: Download complete 03:51:28 75478c283dd2: Verifying Checksum 03:51:28 75478c283dd2: Download complete 03:51:28 6f4c731d6eb3: Pull complete 03:51:28 5d79d4ac3cd0: Pull complete 03:51:28 65de10866d6a: Verifying Checksum 03:51:28 65de10866d6a: Download complete 03:51:33 65de10866d6a: Pull complete 03:51:33 ffd69ed7f17f: Pull complete 03:51:33 07ba9e5a2fa6: Pull complete 03:51:33 75478c283dd2: Pull complete 03:51:33 Digest: sha256:8c119115801ae96e1f55b2ccb69cc84537c79eea057a00f363df0196f3d09fd4 03:51:33 Status: Downloaded newer image for docker:latest 03:51:34 ---> 969f25cf6745 03:51:34 Step 7/13 : RUN apk add --update --no-cache git gcc libc-dev 03:51:34 ---> Running in 017a58700865 03:51:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:51:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:51:36 (1/17) Installing libgcc (9.2.0-r4) 03:51:36 (2/17) Installing libstdc++ (9.2.0-r4) 03:51:36 (3/17) Installing binutils (2.33.1-r0) 03:51:37 (4/17) Installing gmp (6.1.2-r1) 03:51:37 (5/17) Installing isl (0.18-r0) 03:51:37 (6/17) Installing libgomp (9.2.0-r4) 03:51:37 (7/17) Installing libatomic (9.2.0-r4) 03:51:37 (8/17) Installing mpfr4 (4.0.2-r1) 03:51:37 (9/17) Installing mpc1 (1.1.0-r1) 03:51:37 (10/17) Installing gcc (9.2.0-r4) 03:51:42 (11/17) Installing nghttp2-libs (1.40.0-r0) 03:51:42 (12/17) Installing libcurl (7.67.0-r0) 03:51:42 (13/17) Installing expat (2.2.9-r1) 03:51:42 (14/17) Installing pcre2 (10.34-r1) 03:51:42 (15/17) Installing git (2.24.3-r0) 03:51:43 (16/17) Installing musl-dev (1.1.24-r2) 03:51:44 (17/17) Installing libc-dev (0.7.2-r0) 03:51:44 Executing busybox-1.31.1-r9.trigger 03:51:44 OK: 128 MiB in 32 packages 03:51:46 Removing intermediate container 017a58700865 03:51:46 ---> efa315c9129a 03:51:46 Step 8/13 : RUN wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk 03:51:46 ---> Running in e5079b23234c 03:51:46 Connecting to github.com (140.82.112.3:443) 03:51:46 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.109.195:443) 03:51:47 saving to '/usr/local/bin/snyk' 03:51:48 snyk 41% |************* | 41.3M 0:00:01 ETA 03:51:49 snyk 77% |************************ | 77.7M 0:00:00 ETA 03:51:49 snyk 100% |********************************| 99.7M 0:00:00 ETA 03:51:49 '/usr/local/bin/snyk' saved 03:51:51 Removing intermediate container e5079b23234c 03:51:51 ---> c307366fcc2f 03:51:51 Step 9/13 : ENV GO111MODULE=on 03:51:51 ---> Running in 8a2efe231954 03:51:51 Removing intermediate container 8a2efe231954 03:51:51 ---> 75030a48270a 03:51:51 Step 10/13 : ENTRYPOINT [ "snyk" ] 03:51:51 ---> Running in 21b9a5b83fe9 03:51:51 Removing intermediate container 21b9a5b83fe9 03:51:51 ---> bbb983d14f2e 03:51:51 Step 11/13 : CMD [ "monitor" ] 03:51:51 ---> Running in 32ba6848e7c9 03:51:51 Removing intermediate container 32ba6848e7c9 03:51:51 ---> 6a3f6bb0d5a4 03:51:51 Step 12/13 : LABEL arch=amd64 03:51:52 ---> Running in ebbf819d6722 03:51:52 Removing intermediate container ebbf819d6722 03:51:52 ---> d0df9dee3945 03:51:52 Step 13/13 : LABEL git_sha=2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 03:51:52 ---> Running in 39431a002e70 03:51:52 Removing intermediate container 39431a002e70 03:51:52 ---> 9b88a3ebe4d9 03:51:52 [Warning] One or more build-args [ARCH] were not consumed 03:51:52 Successfully built 9b88a3ebe4d9 03:51:52 Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:51:52 provisioning config files... 03:51:52 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config1541810164032571460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:51:53 nexus3.edgexfoundry.org:10001 03:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:53 Configure a credential helper to remove this warning. See 03:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:53 03:51:53 Login Succeeded 03:51:53 nexus3.edgexfoundry.org:10002 03:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:53 Configure a credential helper to remove this warning. See 03:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:53 03:51:53 Login Succeeded 03:51:53 nexus3.edgexfoundry.org:10003 03:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:53 Configure a credential helper to remove this warning. See 03:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:53 03:51:53 Login Succeeded 03:51:53 nexus3.edgexfoundry.org:10004 03:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:54 Configure a credential helper to remove this warning. See 03:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:54 03:51:54 Login Succeeded 03:51:54 docker.io 03:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:54 Configure a credential helper to remove this warning. See 03:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:54 03:51:54 Login Succeeded [Pipeline] } 03:51:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:51:54 [edgeXDocker.push] Tagging docker image edgex-devops/edgex-snyk-go with the following tags: 03:51:54 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 03:51:54 latest 03:51:54 snyk 03:51:54 1.317.0 03:51:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:51:55 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 [Pipeline] isUnix [Pipeline] sh 03:51:55 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 03:51:55 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:51:55 058ba08852c9: Preparing 03:51:55 1891df1510a2: Preparing 03:51:55 7aaf4340b328: Preparing 03:51:55 9c88fdd43349: Preparing 03:51:55 026222dba50d: Preparing 03:51:55 785882824c69: Preparing 03:51:55 465d6105798b: Preparing 03:51:55 11f5a35b14de: Preparing 03:51:55 3e207b409db3: Preparing 03:51:55 785882824c69: Waiting 03:51:55 465d6105798b: Waiting 03:51:55 11f5a35b14de: Waiting 03:51:55 3e207b409db3: Waiting 03:51:55 026222dba50d: Layer already exists 03:51:55 785882824c69: Layer already exists 03:51:55 465d6105798b: Layer already exists 03:51:55 9c88fdd43349: Pushed 03:51:55 11f5a35b14de: Layer already exists 03:51:55 3e207b409db3: Layer already exists 03:52:01 7aaf4340b328: Pushed 03:52:03 058ba08852c9: Pushed 03:52:05 1891df1510a2: Pushed 03:52:05 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2: digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 size: 2208 [Pipeline] isUnix [Pipeline] sh 03:52:05 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh 03:52:06 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:52:06 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:52:06 058ba08852c9: Preparing 03:52:06 1891df1510a2: Preparing 03:52:06 7aaf4340b328: Preparing 03:52:06 9c88fdd43349: Preparing 03:52:06 026222dba50d: Preparing 03:52:06 785882824c69: Preparing 03:52:06 465d6105798b: Preparing 03:52:06 11f5a35b14de: Preparing 03:52:06 3e207b409db3: Preparing 03:52:06 785882824c69: Waiting 03:52:06 11f5a35b14de: Waiting 03:52:06 3e207b409db3: Waiting 03:52:06 465d6105798b: Waiting 03:52:06 026222dba50d: Layer already exists 03:52:06 058ba08852c9: Layer already exists 03:52:06 1891df1510a2: Layer already exists 03:52:06 9c88fdd43349: Layer already exists 03:52:06 7aaf4340b328: Layer already exists 03:52:06 465d6105798b: Layer already exists 03:52:06 785882824c69: Layer already exists 03:52:06 11f5a35b14de: Layer already exists 03:52:06 3e207b409db3: Layer already exists 03:52:06 latest: digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 size: 2208 [Pipeline] isUnix [Pipeline] sh 03:52:06 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh 03:52:06 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 03:52:06 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:52:06 058ba08852c9: Preparing 03:52:06 1891df1510a2: Preparing 03:52:06 7aaf4340b328: Preparing 03:52:06 9c88fdd43349: Preparing 03:52:06 026222dba50d: Preparing 03:52:06 785882824c69: Preparing 03:52:06 465d6105798b: Preparing 03:52:06 11f5a35b14de: Preparing 03:52:06 3e207b409db3: Preparing 03:52:06 785882824c69: Waiting 03:52:06 465d6105798b: Waiting 03:52:06 11f5a35b14de: Waiting 03:52:06 3e207b409db3: Waiting 03:52:06 9c88fdd43349: Layer already exists 03:52:06 058ba08852c9: Layer already exists 03:52:06 026222dba50d: Layer already exists 03:52:06 1891df1510a2: Layer already exists 03:52:06 7aaf4340b328: Layer already exists 03:52:06 465d6105798b: Layer already exists 03:52:06 785882824c69: Layer already exists 03:52:06 3e207b409db3: Layer already exists 03:52:06 11f5a35b14de: Layer already exists 03:52:06 snyk: digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 size: 2208 [Pipeline] isUnix [Pipeline] sh 03:52:06 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 03:52:07 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 03:52:07 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:52:07 058ba08852c9: Preparing 03:52:07 1891df1510a2: Preparing 03:52:07 7aaf4340b328: Preparing 03:52:07 9c88fdd43349: Preparing 03:52:07 026222dba50d: Preparing 03:52:07 785882824c69: Preparing 03:52:07 465d6105798b: Preparing 03:52:07 11f5a35b14de: Preparing 03:52:07 3e207b409db3: Preparing 03:52:07 465d6105798b: Waiting 03:52:07 785882824c69: Waiting 03:52:07 11f5a35b14de: Waiting 03:52:07 3e207b409db3: Waiting 03:52:07 058ba08852c9: Layer already exists 03:52:07 026222dba50d: Layer already exists 03:52:07 1891df1510a2: Layer already exists 03:52:07 9c88fdd43349: Layer already exists 03:52:07 7aaf4340b328: Layer already exists 03:52:07 465d6105798b: Layer already exists 03:52:07 11f5a35b14de: Layer already exists 03:52:07 3e207b409db3: Layer already exists 03:52:07 785882824c69: Layer already exists 03:52:07 1.317.0: digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 size: 2208 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:52:08 03:52:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 03:52:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:52:08 latest: Pulling from edgex-devops/edgex-klar 03:52:08 e7c96db7181b: Pulling fs layer 03:52:08 1868ca2cb446: Pulling fs layer 03:52:08 136be5d0fe8e: Pulling fs layer 03:52:08 894bfe63afcb: Pulling fs layer 03:52:08 894bfe63afcb: Waiting 03:52:08 1868ca2cb446: Verifying Checksum 03:52:08 1868ca2cb446: Download complete 03:52:08 136be5d0fe8e: Verifying Checksum 03:52:08 136be5d0fe8e: Download complete 03:52:08 e7c96db7181b: Verifying Checksum 03:52:08 e7c96db7181b: Download complete 03:52:08 894bfe63afcb: Verifying Checksum 03:52:08 894bfe63afcb: Download complete 03:52:09 e7c96db7181b: Pull complete 03:52:09 1868ca2cb446: Pull complete 03:52:09 136be5d0fe8e: Pull complete 03:52:09 894bfe63afcb: Pull complete 03:52:09 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 03:52:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 03:52:09 prd-centos7-docker-4c-2g-7429 does not seem to be running inside a container 03:52:09 $ docker run -t -d -u 1001:1001 --entrypoint= -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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:52:10 $ docker top 19c3e310e2b4fbf14584d769149a2dda45f6de7a40ba1b4b94fcbcbab4039af7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:11 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 03:52:11 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:52:26 $ docker stop --time=1 19c3e310e2b4fbf14584d769149a2dda45f6de7a40ba1b4b94fcbcbab4039af7 03:52:27 $ docker rm -f 19c3e310e2b4fbf14584d769149a2dda45f6de7a40ba1b4b94fcbcbab4039af7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:52:28 . [Pipeline] withDockerContainer 03:52:28 prd-centos7-docker-4c-2g-7429 does not seem to be running inside a container 03:52:28 $ docker run -t -d -u 1001:1001 --entrypoint= -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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:52:28 $ docker top 217618a3ae3050192166ffb38e7d6e5aea70b8765b8f9be6fc6b5d71dde4042e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:29 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 03:52:29 + tee 03:52:29 clair timeout 1m0s 03:52:29 docker timeout: 1m0s 03:52:29 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:52:30 $ docker stop --time=1 217618a3ae3050192166ffb38e7d6e5aea70b8765b8f9be6fc6b5d71dde4042e 03:52:31 $ docker rm -f 217618a3ae3050192166ffb38e7d6e5aea70b8765b8f9be6fc6b5d71dde4042e [Pipeline] // withDockerContainer [Pipeline] sh 03:52:32 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo 03:52:32 Generated HTML Table Report. Writing to /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports/clair_results_edgex-snyk-go_2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2.html [Pipeline] writeFile [Pipeline] step 03:52:32 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 03:52:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:52:33 ---> package-listing.sh 03:52:33 ++ facter osfamily 03:52:33 ++ tr '[:upper:]' '[:lower:]' 03:52:33 + OS_FAMILY=redhat 03:52:33 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 03:52:33 + START_PACKAGES=/tmp/packages_start.txt 03:52:33 + END_PACKAGES=/tmp/packages_end.txt 03:52:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:52:33 + PACKAGES=/tmp/packages_start.txt 03:52:33 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 03:52:33 + PACKAGES=/tmp/packages_end.txt 03:52:33 + case "${OS_FAMILY}" in 03:52:33 + rpm -qa 03:52:33 + sort 03:52:37 + '[' -f /tmp/packages_start.txt ']' 03:52:37 + '[' -f /tmp/packages_end.txt ']' 03:52:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:52:37 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 03:52:37 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 03:52:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] isUnix [Pipeline] sh 03:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:52:38 03:52:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:52:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:52:38 alpine: Pulling from edgex-lftools-log-publisher 03:52:38 c9b1b535fdd9: Pulling fs layer 03:52:38 2cc5ad85d9ab: Pulling fs layer 03:52:38 756a868c4378: Pulling fs layer 03:52:38 444b2fc9a129: Pulling fs layer 03:52:38 ea15f1150254: Pulling fs layer 03:52:38 41b27a9f41bf: Pulling fs layer 03:52:38 28c525ee5125: Pulling fs layer 03:52:38 094b1ea09ed8: Pulling fs layer 03:52:38 138eaada9080: Pulling fs layer 03:52:38 0622d0fa9048: Pulling fs layer 03:52:38 41b27a9f41bf: Waiting 03:52:38 138eaada9080: Waiting 03:52:38 0622d0fa9048: Waiting 03:52:38 28c525ee5125: Waiting 03:52:38 094b1ea09ed8: Waiting 03:52:38 444b2fc9a129: Waiting 03:52:38 ea15f1150254: Waiting 03:52:38 2cc5ad85d9ab: Download complete 03:52:38 444b2fc9a129: Verifying Checksum 03:52:38 444b2fc9a129: Download complete 03:52:38 c9b1b535fdd9: Download complete 03:52:38 ea15f1150254: Verifying Checksum 03:52:38 ea15f1150254: Download complete 03:52:38 28c525ee5125: Verifying Checksum 03:52:38 28c525ee5125: Download complete 03:52:39 c9b1b535fdd9: Pull complete 03:52:39 756a868c4378: Download complete 03:52:39 2cc5ad85d9ab: Pull complete 03:52:39 138eaada9080: Verifying Checksum 03:52:39 138eaada9080: Download complete 03:52:39 0622d0fa9048: Verifying Checksum 03:52:39 0622d0fa9048: Download complete 03:52:39 094b1ea09ed8: Verifying Checksum 03:52:39 094b1ea09ed8: Download complete 03:52:39 41b27a9f41bf: Verifying Checksum 03:52:39 41b27a9f41bf: Download complete 03:52:42 756a868c4378: Pull complete 03:52:42 444b2fc9a129: Pull complete 03:52:43 ea15f1150254: Pull complete 03:52:46 41b27a9f41bf: Pull complete 03:52:46 28c525ee5125: Pull complete 03:52:48 094b1ea09ed8: Pull complete 03:52:50 138eaada9080: Pull complete 03:52:50 0622d0fa9048: Pull complete 03:52:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:52:50 prd-centos7-docker-4c-2g-7429 does not seem to be running inside a container 03:52:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:52:51 $ docker top b7b2cf00b273771d13df90ebff284fda5abedd96e58c3d9f64c79b9ea0c5f0c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:51 provisioning config files... 03:52:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3549915875583974087tmp [Pipeline] { [Pipeline] echo 03:52:51 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:52:51 ---> create-netrc.sh [Pipeline] echo 03:52:51 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:52:52 ---> logs-deploy.sh 03:52:52 + ARCHIVE_ARTIFACTS= 03:52:52 + LOGS_SERVER=https://logs.edgexfoundry.org 03:52:52 + '[' https://logs.edgexfoundry.org == None ']' 03:52:52 + NEXUS_URL=https://nexus.edgexfoundry.org 03:52:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/4 03:52:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/snyk/4/ 03:52:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/4 /w/workspace/dgexfoundry_ci-build-images_snyk 03:52:53 Archives upload complete. 03:52:53 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/snyk/4/