Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d8fa4b72410a4c54a13d00e4aec7f53a0e462043 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.217.3], 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.217.3 [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-7427 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 Cloning repository git@github.com:edgexfoundry/ci-build-images.git Fetching without tags Checking out Revision d8fa4b72410a4c54a13d00e4aec7f53a0e462043 (snyk) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f d8fa4b72410a4c54a13d00e4aec7f53a0e462043 # timeout=10 Commit message: "Update to golang:1.13-alpine with latest version of Snyk CLI (1.317.0)" > git rev-list --no-walk 873ac36a3ee2d3ebe1f308f3ba8d62f49220c26b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:19:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:19:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:19:26 ========================================================= 02:19:26 EdgeX Global Pipelines Version Info 02:19:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:19:27 ------------------- 02:19:27 stable info: 02:19:27 ------------------- 02:19:27 Commited By: Emilio Reyes emilio.reyes@intel.com 02:19:27 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 02:19:27 Message: update stable to v1.0.87 02:19:28 ------------------- 02:19:28 experimental info: 02:19:28 ------------------- 02:19:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:19:28 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 02:19:28 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 02:19:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:19:32 + ls -al . 02:19:32 total 8 02:19:32 drwxrwxr-x. 3 jenkins jenkins 55 May 7 02:19 . 02:19:32 drwxrwxr-x. 4 jenkins jenkins 112 May 7 02:19 .. 02:19:32 -rw-rw-r--. 1 jenkins jenkins 667 May 7 02:19 Dockerfile 02:19:32 drwxrwxr-x. 8 jenkins jenkins 162 May 7 02:19 .git 02:19:32 -rw-rw-r--. 1 jenkins jenkins 896 May 7 02:19 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 02:19:32 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=d8fa4b72410a4c54a13d00e4aec7f53a0e462043 --label arch=amd64 . 02:19:32 Sending build context to Docker daemon 192kB 02:19:33 Step 1/13 : FROM golang:1.13-alpine 02:19:33 1.13-alpine: Pulling from library/golang 02:19:33 cbdbe7a5bc2a: Pulling fs layer 02:19:33 408f87550127: Pulling fs layer 02:19:33 fe522b08c979: Pulling fs layer 02:19:33 221eaa008020: Pulling fs layer 02:19:33 2a4607e5d6b9: Pulling fs layer 02:19:33 221eaa008020: Waiting 02:19:33 2a4607e5d6b9: Waiting 02:19:33 fe522b08c979: Verifying Checksum 02:19:33 fe522b08c979: Download complete 02:19:33 408f87550127: Download complete 02:19:33 cbdbe7a5bc2a: Verifying Checksum 02:19:33 cbdbe7a5bc2a: Download complete 02:19:33 2a4607e5d6b9: Verifying Checksum 02:19:33 2a4607e5d6b9: Download complete 02:19:33 cbdbe7a5bc2a: Pull complete 02:19:34 408f87550127: Pull complete 02:19:34 fe522b08c979: Pull complete 02:19:35 221eaa008020: Verifying Checksum 02:19:35 221eaa008020: Download complete 02:19:40 221eaa008020: Pull complete 02:19:40 2a4607e5d6b9: Pull complete 02:19:40 Digest: sha256:5d06737f0f56f4351f73f2a470888faec357f09281b637ac42b5010a3609aa41 02:19:40 Status: Downloaded newer image for golang:1.13-alpine 02:19:40 ---> 0e5426771795 02:19:40 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:19:40 ---> Running in 7fb238c7c137 02:19:40 Removing intermediate container 7fb238c7c137 02:19:40 ---> d15f526ab053 02:19:40 Step 3/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:19:40 ---> Running in 6a607be606e9 02:19:41 Removing intermediate container 6a607be606e9 02:19:41 ---> 94ea0c6ea55d 02:19:41 Step 4/13 : ARG SNYK_VERSION=1.317.0 02:19:41 ---> Running in 3ae8812fbd9b 02:19:41 Removing intermediate container 3ae8812fbd9b 02:19:41 ---> 0c14f5db510b 02:19:41 Step 5/13 : ENV SNYK_VERSION=${SNYK_VERSION} 02:19:41 ---> Running in e10040ec2adf 02:19:42 Removing intermediate container e10040ec2adf 02:19:42 ---> 7479445210b8 02:19:42 Step 6/13 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 02:19:42 latest: Pulling from library/docker 02:19:42 cbdbe7a5bc2a: Already exists 02:19:42 6f4c731d6eb3: Pulling fs layer 02:19:42 5d79d4ac3cd0: Pulling fs layer 02:19:42 65de10866d6a: Pulling fs layer 02:19:42 ffd69ed7f17f: Pulling fs layer 02:19:42 07ba9e5a2fa6: Pulling fs layer 02:19:42 75478c283dd2: Pulling fs layer 02:19:42 ffd69ed7f17f: Waiting 02:19:42 07ba9e5a2fa6: Waiting 02:19:42 75478c283dd2: Waiting 02:19:42 5d79d4ac3cd0: Download complete 02:19:43 6f4c731d6eb3: Verifying Checksum 02:19:43 6f4c731d6eb3: Download complete 02:19:43 ffd69ed7f17f: Verifying Checksum 02:19:43 ffd69ed7f17f: Download complete 02:19:43 07ba9e5a2fa6: Verifying Checksum 02:19:43 07ba9e5a2fa6: Download complete 02:19:43 75478c283dd2: Verifying Checksum 02:19:43 75478c283dd2: Download complete 02:19:43 6f4c731d6eb3: Pull complete 02:19:43 65de10866d6a: Verifying Checksum 02:19:43 65de10866d6a: Download complete 02:19:44 5d79d4ac3cd0: Pull complete 02:19:47 65de10866d6a: Pull complete 02:19:47 ffd69ed7f17f: Pull complete 02:19:47 07ba9e5a2fa6: Pull complete 02:19:47 75478c283dd2: Pull complete 02:19:47 Digest: sha256:8c119115801ae96e1f55b2ccb69cc84537c79eea057a00f363df0196f3d09fd4 02:19:47 Status: Downloaded newer image for docker:latest 02:19:49 ---> 193a02856452 02:19:49 Step 7/13 : RUN apk add --update --no-cache git gcc libc-dev 02:19:49 ---> Running in 3d01826d56bd 02:19:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:19:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:19:51 (1/17) Installing libgcc (9.2.0-r4) 02:19:51 (2/17) Installing libstdc++ (9.2.0-r4) 02:19:52 (3/17) Installing binutils (2.33.1-r0) 02:19:53 (4/17) Installing gmp (6.1.2-r1) 02:19:53 (5/17) Installing isl (0.18-r0) 02:19:54 (6/17) Installing libgomp (9.2.0-r4) 02:19:54 (7/17) Installing libatomic (9.2.0-r4) 02:19:54 (8/17) Installing mpfr4 (4.0.2-r1) 02:19:54 (9/17) Installing mpc1 (1.1.0-r1) 02:19:54 (10/17) Installing gcc (9.2.0-r4) 02:21:02 (11/17) Installing nghttp2-libs (1.40.0-r0) 02:21:02 (12/17) Installing libcurl (7.67.0-r0) 02:21:02 (13/17) Installing expat (2.2.9-r1) 02:21:02 (14/17) Installing pcre2 (10.34-r1) 02:21:02 (15/17) Installing git (2.24.3-r0) 02:21:17 (16/17) Installing musl-dev (1.1.24-r2) 02:21:29 (17/17) Installing libc-dev (0.7.2-r0) 02:21:29 Executing busybox-1.31.1-r9.trigger 02:21:29 OK: 128 MiB in 32 packages 02:21:31 Removing intermediate container 3d01826d56bd 02:21:31 ---> 3566c5250cef 02:21:31 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 02:21:31 ---> Running in 9213550255f3 02:21:32 Connecting to github.com (140.82.112.3:443) 02:21:32 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.217.46.148:443) 02:21:32 saving to '/usr/local/bin/snyk' 02:21:33 snyk 1% | | 1087k 0:01:32 ETA 02:21:33 snyk 5% |* | 5830k 0:00:33 ETA 02:21:34 snyk 8% |** | 8771k 0:00:31 ETA 02:21:35 snyk 10% |*** | 10.7M 0:00:33 ETA 02:21:37 snyk 12% |*** | 12.3M 0:00:35 ETA 02:21:38 snyk 14% |**** | 14.3M 0:00:35 ETA 02:21:39 snyk 16% |***** | 16.0M 0:00:36 ETA 02:21:40 snyk 18% |***** | 18.0M 0:00:36 ETA 02:21:40 snyk 20% |****** | 20.0M 0:00:35 ETA 02:21:41 snyk 21% |****** | 21.4M 0:00:36 ETA 02:21:42 snyk 22% |******* | 22.8M 0:00:37 ETA 02:21:44 snyk 24% |******* | 24.4M 0:00:36 ETA 02:21:45 snyk 27% |******** | 27.5M 0:00:33 ETA 02:21:46 snyk 31% |********* | 30.9M 0:00:31 ETA 02:21:47 snyk 35% |*********** | 35.7M 0:00:26 ETA 02:21:47 snyk 40% |************* | 40.8M 0:00:23 ETA 02:21:48 snyk 44% |************** | 44.3M 0:00:21 ETA 02:21:49 snyk 47% |*************** | 47.5M 0:00:19 ETA 02:21:51 snyk 51% |**************** | 51.0M 0:00:18 ETA 02:21:52 snyk 55% |***************** | 55.1M 0:00:16 ETA 02:21:53 snyk 61% |******************* | 60.9M 0:00:13 ETA 02:21:54 snyk 68% |********************* | 68.1M 0:00:10 ETA 02:21:55 snyk 76% |************************ | 76.1M 0:00:07 ETA 02:21:55 snyk 84% |************************** | 84.0M 0:00:04 ETA 02:21:56 snyk 89% |**************************** | 89.7M 0:00:02 ETA 02:21:58 snyk 96% |****************************** | 96.1M 0:00:00 ETA 02:21:58 snyk 100% |********************************| 99.7M 0:00:00 ETA 02:21:58 '/usr/local/bin/snyk' saved 02:22:00 Removing intermediate container 9213550255f3 02:22:00 ---> 3c3f4cefa42e 02:22:00 Step 9/13 : ENV GO111MODULE=on 02:22:00 ---> Running in 5968e1b4669f 02:22:00 Removing intermediate container 5968e1b4669f 02:22:00 ---> bb20268145b0 02:22:00 Step 10/13 : ENTRYPOINT [ "snyk" ] 02:22:00 ---> Running in e54e116472fc 02:22:00 Removing intermediate container e54e116472fc 02:22:00 ---> 862266ef6f25 02:22:00 Step 11/13 : CMD [ "monitor" ] 02:22:00 ---> Running in 428a4ec0fc56 02:22:00 Removing intermediate container 428a4ec0fc56 02:22:00 ---> ef7a5ae0ce42 02:22:00 Step 12/13 : LABEL arch=amd64 02:22:00 ---> Running in d9076b3ceea6 02:22:00 Removing intermediate container d9076b3ceea6 02:22:00 ---> 858589925a91 02:22:00 Step 13/13 : LABEL git_sha=d8fa4b72410a4c54a13d00e4aec7f53a0e462043 02:22:00 ---> Running in fd9a67541b1f 02:22:01 Removing intermediate container fd9a67541b1f 02:22:01 ---> 2ca2dd70c30d 02:22:01 [Warning] One or more build-args [ARCH] were not consumed 02:22:01 Successfully built 2ca2dd70c30d 02:22:01 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 02:22:01 provisioning config files... 02:22:01 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3194210990705431723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:01 nexus3.edgexfoundry.org:10001 02:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:02 Configure a credential helper to remove this warning. See 02:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:02 02:22:02 Login Succeeded 02:22:02 nexus3.edgexfoundry.org:10002 02:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:02 Configure a credential helper to remove this warning. See 02:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:02 02:22:02 Login Succeeded 02:22:02 nexus3.edgexfoundry.org:10003 02:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:02 Configure a credential helper to remove this warning. See 02:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:02 02:22:02 Login Succeeded 02:22:02 nexus3.edgexfoundry.org:10004 02:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:02 Configure a credential helper to remove this warning. See 02:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:02 02:22:02 Login Succeeded 02:22:02 docker.io 02:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:22:03 Configure a credential helper to remove this warning. See 02:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:22:03 02:22:03 Login Succeeded [Pipeline] } 02:22:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:22:03 [edgeXDocker.push] Tagging docker image edgex-devops/edgex-snyk-go with the following tags: 02:22:03 d8fa4b72410a4c54a13d00e4aec7f53a0e462043 02:22:03 latest 02:22:03 snyk 02:22:03 1.217.3 02:22:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:22:04 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d8fa4b72410a4c54a13d00e4aec7f53a0e462043 [Pipeline] isUnix [Pipeline] sh 02:22:04 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d8fa4b72410a4c54a13d00e4aec7f53a0e462043 02:22:04 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:22:04 4767ac9fb4cf: Preparing 02:22:04 5868e83d75ed: Preparing 02:22:04 7996aae67fd7: Preparing 02:22:04 f080f2d64d80: Preparing 02:22:04 026222dba50d: Preparing 02:22:04 785882824c69: Preparing 02:22:04 465d6105798b: Preparing 02:22:04 11f5a35b14de: Preparing 02:22:04 3e207b409db3: Preparing 02:22:04 465d6105798b: Waiting 02:22:04 11f5a35b14de: Waiting 02:22:04 3e207b409db3: Waiting 02:22:04 785882824c69: Waiting 02:22:05 026222dba50d: Pushed 02:22:05 f080f2d64d80: Pushed 02:22:05 465d6105798b: Pushed 02:22:07 11f5a35b14de: Pushed 02:22:09 3e207b409db3: Pushed 02:22:09 7996aae67fd7: Pushed 02:22:13 4767ac9fb4cf: Pushed 02:22:15 5868e83d75ed: Pushed 02:22:47 785882824c69: Pushed 02:22:47 d8fa4b72410a4c54a13d00e4aec7f53a0e462043: digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b size: 2208 [Pipeline] isUnix [Pipeline] sh 02:22:47 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh 02:22:47 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:22:47 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:22:47 4767ac9fb4cf: Preparing 02:22:47 5868e83d75ed: Preparing 02:22:47 7996aae67fd7: Preparing 02:22:47 f080f2d64d80: Preparing 02:22:47 026222dba50d: Preparing 02:22:47 785882824c69: Preparing 02:22:47 465d6105798b: Preparing 02:22:47 11f5a35b14de: Preparing 02:22:47 3e207b409db3: Preparing 02:22:47 465d6105798b: Waiting 02:22:47 11f5a35b14de: Waiting 02:22:47 3e207b409db3: Waiting 02:22:47 785882824c69: Waiting 02:22:47 5868e83d75ed: Layer already exists 02:22:47 4767ac9fb4cf: Layer already exists 02:22:47 026222dba50d: Layer already exists 02:22:47 7996aae67fd7: Layer already exists 02:22:47 f080f2d64d80: Layer already exists 02:22:47 785882824c69: Layer already exists 02:22:47 465d6105798b: Layer already exists 02:22:47 11f5a35b14de: Layer already exists 02:22:47 3e207b409db3: Layer already exists 02:22:47 latest: digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b size: 2208 [Pipeline] isUnix [Pipeline] sh 02:22:47 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh 02:22:48 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 02:22:48 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:22:48 4767ac9fb4cf: Preparing 02:22:48 5868e83d75ed: Preparing 02:22:48 7996aae67fd7: Preparing 02:22:48 f080f2d64d80: Preparing 02:22:48 026222dba50d: Preparing 02:22:48 785882824c69: Preparing 02:22:48 465d6105798b: Preparing 02:22:48 11f5a35b14de: Preparing 02:22:48 3e207b409db3: Preparing 02:22:48 465d6105798b: Waiting 02:22:48 785882824c69: Waiting 02:22:48 11f5a35b14de: Waiting 02:22:48 3e207b409db3: Waiting 02:22:48 026222dba50d: Layer already exists 02:22:48 5868e83d75ed: Layer already exists 02:22:48 4767ac9fb4cf: Layer already exists 02:22:48 7996aae67fd7: Layer already exists 02:22:48 f080f2d64d80: Layer already exists 02:22:48 465d6105798b: Layer already exists 02:22:48 785882824c69: Layer already exists 02:22:48 11f5a35b14de: Layer already exists 02:22:48 3e207b409db3: Layer already exists 02:22:48 snyk: digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b size: 2208 [Pipeline] isUnix [Pipeline] sh 02:22:48 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 02:22:49 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 02:22:49 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:22:49 4767ac9fb4cf: Preparing 02:22:49 5868e83d75ed: Preparing 02:22:49 7996aae67fd7: Preparing 02:22:49 f080f2d64d80: Preparing 02:22:49 026222dba50d: Preparing 02:22:49 785882824c69: Preparing 02:22:49 465d6105798b: Preparing 02:22:49 11f5a35b14de: Preparing 02:22:49 3e207b409db3: Preparing 02:22:49 785882824c69: Waiting 02:22:49 465d6105798b: Waiting 02:22:49 3e207b409db3: Waiting 02:22:49 11f5a35b14de: Waiting 02:22:49 4767ac9fb4cf: Layer already exists 02:22:49 026222dba50d: Layer already exists 02:22:49 5868e83d75ed: Layer already exists 02:22:49 7996aae67fd7: Layer already exists 02:22:49 f080f2d64d80: Layer already exists 02:22:49 11f5a35b14de: Layer already exists 02:22:49 465d6105798b: Layer already exists 02:22:49 3e207b409db3: Layer already exists 02:22:49 785882824c69: Layer already exists 02:22:49 1.217.3: digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b 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 02:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:22:50 02:22:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 02:22:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:22:50 latest: Pulling from edgex-devops/edgex-klar 02:22:50 e7c96db7181b: Pulling fs layer 02:22:50 1868ca2cb446: Pulling fs layer 02:22:50 136be5d0fe8e: Pulling fs layer 02:22:50 894bfe63afcb: Pulling fs layer 02:22:50 894bfe63afcb: Waiting 02:22:50 1868ca2cb446: Verifying Checksum 02:22:50 1868ca2cb446: Download complete 02:22:50 136be5d0fe8e: Verifying Checksum 02:22:50 136be5d0fe8e: Download complete 02:22:50 e7c96db7181b: Verifying Checksum 02:22:50 e7c96db7181b: Download complete 02:22:50 894bfe63afcb: Verifying Checksum 02:22:50 894bfe63afcb: Download complete 02:22:50 e7c96db7181b: Pull complete 02:22:51 1868ca2cb446: Pull complete 02:22:51 136be5d0fe8e: Pull complete 02:22:51 894bfe63afcb: Pull complete 02:22:51 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 02:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 02:22:51 prd-centos7-docker-4c-2g-7427 does not seem to be running inside a container 02:22:51 $ 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 02:22:52 $ docker top b1bd35f7b662d73c16189bf1b4dce342554e5cfecd5a0b92cf34778ee955ab0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:52 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d8fa4b72410a4c54a13d00e4aec7f53a0e462043 02:22:52 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:23:11 $ docker stop --time=1 b1bd35f7b662d73c16189bf1b4dce342554e5cfecd5a0b92cf34778ee955ab0b 02:23:12 $ docker rm -f b1bd35f7b662d73c16189bf1b4dce342554e5cfecd5a0b92cf34778ee955ab0b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 02:23:13 . [Pipeline] withDockerContainer 02:23:13 prd-centos7-docker-4c-2g-7427 does not seem to be running inside a container 02:23:13 $ 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 02:23:13 $ docker top 148a34b24cb726b5a0997bf41a3ed25b81e8a9de69f3235eeee1a9c320242c3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:14 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d8fa4b72410a4c54a13d00e4aec7f53a0e462043 02:23:14 + tee 02:23:14 clair timeout 1m0s 02:23:14 docker timeout: 1m0s 02:23:14 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:23:15 $ docker stop --time=1 148a34b24cb726b5a0997bf41a3ed25b81e8a9de69f3235eeee1a9c320242c3e 02:23:16 $ docker rm -f 148a34b24cb726b5a0997bf41a3ed25b81e8a9de69f3235eeee1a9c320242c3e [Pipeline] // withDockerContainer [Pipeline] sh 02:23:17 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo 02:23:17 Generated HTML Table Report. Writing to /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports/clair_results_edgex-snyk-go_d8fa4b72410a4c54a13d00e4aec7f53a0e462043.html [Pipeline] writeFile [Pipeline] step 02:23:17 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 02:23:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:23:18 ---> package-listing.sh 02:23:18 ++ tr '[:upper:]' '[:lower:]' 02:23:18 ++ facter osfamily 02:23:18 + OS_FAMILY=redhat 02:23:18 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 02:23:18 + START_PACKAGES=/tmp/packages_start.txt 02:23:18 + END_PACKAGES=/tmp/packages_end.txt 02:23:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:23:18 + PACKAGES=/tmp/packages_start.txt 02:23:18 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 02:23:18 + PACKAGES=/tmp/packages_end.txt 02:23:18 + case "${OS_FAMILY}" in 02:23:18 + rpm -qa 02:23:18 + sort 02:23:22 + '[' -f /tmp/packages_start.txt ']' 02:23:22 + '[' -f /tmp/packages_end.txt ']' 02:23:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:23:22 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 02:23:22 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 02:23:22 + 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 02:23:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:23:23 02:23:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:23:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:23:23 alpine: Pulling from edgex-lftools-log-publisher 02:23:23 c9b1b535fdd9: Pulling fs layer 02:23:23 2cc5ad85d9ab: Pulling fs layer 02:23:23 756a868c4378: Pulling fs layer 02:23:23 444b2fc9a129: Pulling fs layer 02:23:23 ea15f1150254: Pulling fs layer 02:23:23 41b27a9f41bf: Pulling fs layer 02:23:23 28c525ee5125: Pulling fs layer 02:23:23 094b1ea09ed8: Pulling fs layer 02:23:23 138eaada9080: Pulling fs layer 02:23:23 0622d0fa9048: Pulling fs layer 02:23:23 41b27a9f41bf: Waiting 02:23:23 0622d0fa9048: Waiting 02:23:23 28c525ee5125: Waiting 02:23:23 094b1ea09ed8: Waiting 02:23:23 ea15f1150254: Waiting 02:23:23 444b2fc9a129: Waiting 02:23:23 138eaada9080: Waiting 02:23:23 2cc5ad85d9ab: Verifying Checksum 02:23:23 2cc5ad85d9ab: Download complete 02:23:23 c9b1b535fdd9: Verifying Checksum 02:23:23 444b2fc9a129: Verifying Checksum 02:23:23 444b2fc9a129: Download complete 02:23:23 ea15f1150254: Verifying Checksum 02:23:23 ea15f1150254: Download complete 02:23:23 28c525ee5125: Verifying Checksum 02:23:23 28c525ee5125: Download complete 02:23:24 c9b1b535fdd9: Pull complete 02:23:24 756a868c4378: Verifying Checksum 02:23:24 756a868c4378: Download complete 02:23:24 138eaada9080: Verifying Checksum 02:23:24 138eaada9080: Download complete 02:23:24 2cc5ad85d9ab: Pull complete 02:23:24 0622d0fa9048: Verifying Checksum 02:23:24 0622d0fa9048: Download complete 02:23:24 094b1ea09ed8: Verifying Checksum 02:23:24 094b1ea09ed8: Download complete 02:23:24 41b27a9f41bf: Verifying Checksum 02:23:24 41b27a9f41bf: Download complete 02:23:25 756a868c4378: Pull complete 02:23:25 444b2fc9a129: Pull complete 02:23:26 ea15f1150254: Pull complete 02:23:30 41b27a9f41bf: Pull complete 02:23:30 28c525ee5125: Pull complete 02:23:31 094b1ea09ed8: Pull complete 02:23:31 138eaada9080: Pull complete 02:23:31 0622d0fa9048: Pull complete 02:23:31 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:23:32 prd-centos7-docker-4c-2g-7427 does not seem to be running inside a container 02:23:32 $ 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 02:23:32 $ docker top 3eaed4c78de5f90ffdd65d7d34f1e687a12d90a653f274b58c5ba576af69cdc7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:32 provisioning config files... 02:23:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config624450089159046076tmp [Pipeline] { [Pipeline] echo 02:23:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:23:33 ---> create-netrc.sh [Pipeline] echo 02:23:33 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:23:33 ---> logs-deploy.sh 02:23:33 + ARCHIVE_ARTIFACTS= 02:23:33 + LOGS_SERVER=https://logs.edgexfoundry.org 02:23:33 + '[' https://logs.edgexfoundry.org == None ']' 02:23:33 + NEXUS_URL=https://nexus.edgexfoundry.org 02:23:33 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/3 02:23:33 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/snyk/3/ 02:23:33 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/3 /w/workspace/dgexfoundry_ci-build-images_snyk 02:23:34 Archives upload complete. 02:23:34 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/snyk/3/