Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d827d8a7942ec005abe6f37d4a954436cd658b9a Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > 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 shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 shared 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:[1.410.4], 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 DOCKER_PUSH_LATEST: true 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.410.4 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-10303 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 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 Checking out Revision d827d8a7942ec005abe6f37d4a954436cd658b9a (snyk) > git config core.sparsecheckout # timeout=10 > git checkout -f d827d8a7942ec005abe6f37d4a954436cd658b9a # timeout=10 Commit message: "Merge pull request #153 from ernestojeda/downgrade-snyk-cli" > git rev-list --no-walk f3dfea1e54b278c2e288d54bd30763ecc8ecb035 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-02T15:27:41.743Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T15:27:42.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T15:27:42.155Z] ========================================================= [2020-11-02T15:27:42.155Z] EdgeX Global Pipelines Version Info [2020-11-02T15:27:42.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:27:43.653Z] ------------------- [2020-11-02T15:27:43.653Z] stable info: [2020-11-02T15:27:43.653Z] ------------------- [2020-11-02T15:27:43.653Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T15:27:43.653Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T15:27:43.653Z] Message: update stable to v1.0.152 [2020-11-02T15:27:44.604Z] ------------------- [2020-11-02T15:27:44.604Z] experimental info: [2020-11-02T15:27:44.604Z] ------------------- [2020-11-02T15:27:44.604Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T15:27:44.604Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T15:27:44.604Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T15:27:44.996Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-11-02T15:27:45.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2020-11-02T15:27:45.188Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-11-02T15:27:45.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T15:27:45.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T15:27:45.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2020-11-02T15:27:45.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-11-02T15:27:45.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-11-02T15:27:45.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-11-02T15:27:45.920Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T15:27:46.022Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-11-02T15:27:46.116Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2020-11-02T15:27:46.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T15:27:46.314Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2020-11-02T15:27:46.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo [2020-11-02T15:27:46.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2020-11-02T15:27:46.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2020-11-02T15:27:46.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2020-11-02T15:27:46.796Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d827d8a7942ec005abe6f37d4a954436cd658b9a [Pipeline] echo [2020-11-02T15:27:46.888Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d827d8a [Pipeline] echo [2020-11-02T15:27:46.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [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 [2020-11-02T15:27:52.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T15:27:52.734Z] + ls -al . [2020-11-02T15:27:52.734Z] total 8 [2020-11-02T15:27:52.734Z] drwxrwxr-x. 3 jenkins jenkins 55 Nov 2 15:27 . [2020-11-02T15:27:52.734Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 15:27 .. [2020-11-02T15:27:52.734Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 2 15:27 Dockerfile [2020-11-02T15:27:52.734Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 2 15:27 .git [2020-11-02T15:27:52.734Z] -rw-rw-r--. 1 jenkins jenkins 896 Nov 2 15:27 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:27:53.364Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=d827d8a7942ec005abe6f37d4a954436cd658b9a --label arch=amd64 . [2020-11-02T15:27:53.939Z] Sending build context to Docker daemon 355.3kB [2020-11-02T15:27:53.939Z] Step 1/12 : FROM golang:1.15-alpine [2020-11-02T15:27:54.200Z] 1.15-alpine: Pulling from library/golang [2020-11-02T15:27:54.469Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T15:27:54.469Z] 0ef7d3d256c8: Pulling fs layer [2020-11-02T15:27:54.469Z] de9db76c5a1d: Pulling fs layer [2020-11-02T15:27:54.469Z] 0eba1c9be4d2: Pulling fs layer [2020-11-02T15:27:54.469Z] 0d57e429df01: Pulling fs layer [2020-11-02T15:27:54.469Z] 0eba1c9be4d2: Waiting [2020-11-02T15:27:54.469Z] 0d57e429df01: Waiting [2020-11-02T15:27:54.469Z] 0ef7d3d256c8: Verifying Checksum [2020-11-02T15:27:54.469Z] 0ef7d3d256c8: Download complete [2020-11-02T15:27:54.469Z] de9db76c5a1d: Verifying Checksum [2020-11-02T15:27:54.469Z] de9db76c5a1d: Download complete [2020-11-02T15:27:54.738Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T15:27:54.738Z] 188c0c94c7c5: Download complete [2020-11-02T15:27:54.738Z] 0d57e429df01: Verifying Checksum [2020-11-02T15:27:54.738Z] 0d57e429df01: Download complete [2020-11-02T15:27:55.002Z] 188c0c94c7c5: Pull complete [2020-11-02T15:27:55.002Z] 0ef7d3d256c8: Pull complete [2020-11-02T15:27:55.271Z] de9db76c5a1d: Pull complete [2020-11-02T15:27:56.222Z] 0eba1c9be4d2: Verifying Checksum [2020-11-02T15:27:56.222Z] 0eba1c9be4d2: Download complete [2020-11-02T15:28:01.532Z] 0eba1c9be4d2: Pull complete [2020-11-02T15:28:01.532Z] 0d57e429df01: Pull complete [2020-11-02T15:28:01.532Z] Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c [2020-11-02T15:28:01.532Z] Status: Downloaded newer image for golang:1.15-alpine [2020-11-02T15:28:01.532Z] ---> d099254f5fc3 [2020-11-02T15:28:01.532Z] Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T15:28:04.130Z] ---> Running in 34b8ce133615 [2020-11-02T15:28:04.130Z] Removing intermediate container 34b8ce133615 [2020-11-02T15:28:04.130Z] ---> 5cb07a7f0b45 [2020-11-02T15:28:04.130Z] Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T15:28:04.130Z] ---> Running in 5fc50098431c [2020-11-02T15:28:05.082Z] Removing intermediate container 5fc50098431c [2020-11-02T15:28:05.082Z] ---> 8fc0c77f24e3 [2020-11-02T15:28:05.082Z] Step 4/12 : ARG SNYK_VERSION=1.410.4 [2020-11-02T15:28:05.082Z] ---> Running in 0a789aa9f214 [2020-11-02T15:28:05.082Z] Removing intermediate container 0a789aa9f214 [2020-11-02T15:28:05.082Z] ---> 4a82e56f6c11 [2020-11-02T15:28:05.082Z] Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} [2020-11-02T15:28:05.345Z] ---> Running in 1d3e70e00d84 [2020-11-02T15:28:05.345Z] Removing intermediate container 1d3e70e00d84 [2020-11-02T15:28:05.345Z] ---> 87827d98202a [2020-11-02T15:28:05.345Z] Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-02T15:28:05.922Z] latest: Pulling from library/docker [2020-11-02T15:28:05.922Z] 188c0c94c7c5: Already exists [2020-11-02T15:28:05.922Z] 0c7c675703d6: Pulling fs layer [2020-11-02T15:28:05.922Z] cc8c12a437cb: Pulling fs layer [2020-11-02T15:28:05.922Z] c5dafad2182a: Pulling fs layer [2020-11-02T15:28:05.922Z] 5aa711733414: Pulling fs layer [2020-11-02T15:28:05.922Z] 058f73b55e4b: Pulling fs layer [2020-11-02T15:28:05.922Z] 8c9c664faf12: Pulling fs layer [2020-11-02T15:28:05.922Z] 5aa711733414: Waiting [2020-11-02T15:28:05.922Z] 058f73b55e4b: Waiting [2020-11-02T15:28:05.922Z] 8c9c664faf12: Waiting [2020-11-02T15:28:05.922Z] cc8c12a437cb: Verifying Checksum [2020-11-02T15:28:05.922Z] cc8c12a437cb: Download complete [2020-11-02T15:28:05.922Z] 0c7c675703d6: Verifying Checksum [2020-11-02T15:28:05.922Z] 0c7c675703d6: Download complete [2020-11-02T15:28:06.187Z] 5aa711733414: Verifying Checksum [2020-11-02T15:28:06.187Z] 5aa711733414: Download complete [2020-11-02T15:28:06.187Z] 058f73b55e4b: Verifying Checksum [2020-11-02T15:28:06.187Z] 058f73b55e4b: Download complete [2020-11-02T15:28:06.187Z] 8c9c664faf12: Verifying Checksum [2020-11-02T15:28:06.187Z] 8c9c664faf12: Download complete [2020-11-02T15:28:06.187Z] 0c7c675703d6: Pull complete [2020-11-02T15:28:06.453Z] cc8c12a437cb: Pull complete [2020-11-02T15:28:07.028Z] c5dafad2182a: Download complete [2020-11-02T15:28:09.620Z] c5dafad2182a: Pull complete [2020-11-02T15:28:09.620Z] 5aa711733414: Pull complete [2020-11-02T15:28:09.620Z] 058f73b55e4b: Pull complete [2020-11-02T15:28:09.620Z] 8c9c664faf12: Pull complete [2020-11-02T15:28:09.620Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-02T15:28:09.620Z] Status: Downloaded newer image for docker:latest [2020-11-02T15:28:11.558Z] ---> ac4a1f996f74 [2020-11-02T15:28:11.558Z] Step 7/12 : RUN apk add --update --no-cache git gcc libc-dev expect && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk [2020-11-02T15:28:11.558Z] ---> Running in 6620db39b748 [2020-11-02T15:28:11.826Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T15:28:12.776Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T15:28:13.040Z] (1/20) Installing tcl (8.6.10-r0) [2020-11-02T15:28:13.617Z] (2/20) Installing expect (5.45.4-r0) [2020-11-02T15:28:13.617Z] (3/20) Installing libgcc (9.3.0-r2) [2020-11-02T15:28:13.617Z] (4/20) Installing libstdc++ (9.3.0-r2) [2020-11-02T15:28:13.880Z] (5/20) Installing binutils (2.34-r1) [2020-11-02T15:28:14.832Z] (6/20) Installing gmp (6.2.0-r0) [2020-11-02T15:28:14.832Z] (7/20) Installing isl (0.18-r0) [2020-11-02T15:28:14.832Z] (8/20) Installing libgomp (9.3.0-r2) [2020-11-02T15:28:15.095Z] (9/20) Installing libatomic (9.3.0-r2) [2020-11-02T15:28:15.095Z] (10/20) Installing libgphobos (9.3.0-r2) [2020-11-02T15:28:15.674Z] (11/20) Installing mpfr4 (4.0.2-r4) [2020-11-02T15:28:15.937Z] (12/20) Installing mpc1 (1.1.0-r1) [2020-11-02T15:28:15.937Z] (13/20) Installing gcc (9.3.0-r2) [2020-11-02T15:28:28.206Z] (14/20) Installing nghttp2-libs (1.41.0-r0) [2020-11-02T15:28:28.206Z] (15/20) Installing libcurl (7.69.1-r1) [2020-11-02T15:28:28.206Z] (16/20) Installing expat (2.2.9-r1) [2020-11-02T15:28:28.206Z] (17/20) Installing pcre2 (10.35-r0) [2020-11-02T15:28:28.206Z] (18/20) Installing git (2.26.2-r0) [2020-11-02T15:28:29.598Z] (19/20) Installing musl-dev (1.1.24-r9) [2020-11-02T15:28:30.543Z] (20/20) Installing libc-dev (0.7.2-r3) [2020-11-02T15:28:30.805Z] Executing busybox-1.31.1-r19.trigger [2020-11-02T15:28:30.805Z] OK: 165 MiB in 35 packages [2020-11-02T15:28:30.805Z] Connecting to github.com (140.82.112.3:443) [2020-11-02T15:28:31.067Z] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.185.67:443) [2020-11-02T15:28:31.329Z] saving to '/usr/local/bin/snyk' [2020-11-02T15:28:31.905Z] snyk 13% |**** | 13.1M 0:00:06 ETA [2020-11-02T15:28:32.853Z] snyk 34% |*********** | 34.7M 0:00:03 ETA [2020-11-02T15:28:33.800Z] snyk 51% |**************** | 51.4M 0:00:02 ETA [2020-11-02T15:28:35.192Z] snyk 71% |*********************** | 71.5M 0:00:01 ETA [2020-11-02T15:28:36.140Z] snyk 98% |******************************* | 97.7M 0:00:00 ETA [2020-11-02T15:28:36.140Z] snyk 100% |********************************| 99.4M 0:00:00 ETA [2020-11-02T15:28:36.140Z] '/usr/local/bin/snyk' saved [2020-11-02T15:28:44.321Z] Removing intermediate container 6620db39b748 [2020-11-02T15:28:44.321Z] ---> 02be6a329aa5 [2020-11-02T15:28:44.321Z] Step 8/12 : ENV GO111MODULE=on [2020-11-02T15:28:44.321Z] ---> Running in fc05f152445d [2020-11-02T15:28:44.321Z] Removing intermediate container fc05f152445d [2020-11-02T15:28:44.321Z] ---> 39e86436f6b2 [2020-11-02T15:28:44.321Z] Step 9/12 : ENTRYPOINT [ "snyk" ] [2020-11-02T15:28:44.321Z] ---> Running in 0ca7de280ddc [2020-11-02T15:28:44.321Z] Removing intermediate container 0ca7de280ddc [2020-11-02T15:28:44.321Z] ---> 1ef85bc13c5d [2020-11-02T15:28:44.321Z] Step 10/12 : CMD [ "monitor" ] [2020-11-02T15:28:44.321Z] ---> Running in bd0e7b67b198 [2020-11-02T15:28:44.321Z] Removing intermediate container bd0e7b67b198 [2020-11-02T15:28:44.321Z] ---> e435835b743e [2020-11-02T15:28:44.321Z] Step 11/12 : LABEL arch=amd64 [2020-11-02T15:28:44.321Z] ---> Running in f3f59de0b2c5 [2020-11-02T15:28:44.321Z] Removing intermediate container f3f59de0b2c5 [2020-11-02T15:28:44.321Z] ---> d2936ef9851d [2020-11-02T15:28:44.321Z] Step 12/12 : LABEL git_sha=d827d8a7942ec005abe6f37d4a954436cd658b9a [2020-11-02T15:28:44.592Z] ---> Running in d7e212915341 [2020-11-02T15:28:44.592Z] Removing intermediate container d7e212915341 [2020-11-02T15:28:44.592Z] ---> 0518b6b2b077 [2020-11-02T15:28:44.592Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T15:28:44.592Z] Successfully built 0518b6b2b077 [2020-11-02T15:28:44.592Z] 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 [2020-11-02T15:28:45.112Z] provisioning config files... [2020-11-02T15:28:45.167Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config6269893210044254037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:28:45.545Z] ---> docker-login.sh [2020-11-02T15:28:45.545Z] nexus3.edgexfoundry.org:10001 [2020-11-02T15:28:45.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T15:28:45.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T15:28:45.809Z] Configure a credential helper to remove this warning. See [2020-11-02T15:28:45.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T15:28:45.810Z] [2020-11-02T15:28:45.810Z] Login Succeeded [2020-11-02T15:28:45.810Z] nexus3.edgexfoundry.org:10002 [2020-11-02T15:28:46.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T15:28:46.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T15:28:46.072Z] Configure a credential helper to remove this warning. See [2020-11-02T15:28:46.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T15:28:46.072Z] [2020-11-02T15:28:46.072Z] Login Succeeded [2020-11-02T15:28:46.072Z] nexus3.edgexfoundry.org:10003 [2020-11-02T15:28:46.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T15:28:46.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T15:28:46.335Z] Configure a credential helper to remove this warning. See [2020-11-02T15:28:46.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T15:28:46.335Z] [2020-11-02T15:28:46.335Z] Login Succeeded [2020-11-02T15:28:46.335Z] nexus3.edgexfoundry.org:10004 [2020-11-02T15:28:46.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T15:28:46.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T15:28:46.335Z] Configure a credential helper to remove this warning. See [2020-11-02T15:28:46.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T15:28:46.335Z] [2020-11-02T15:28:46.335Z] Login Succeeded [2020-11-02T15:28:46.335Z] docker.io [2020-11-02T15:28:46.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T15:28:46.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T15:28:46.859Z] Configure a credential helper to remove this warning. See [2020-11-02T15:28:46.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T15:28:46.859Z] [2020-11-02T15:28:46.859Z] Login Succeeded [2020-11-02T15:28:46.859Z] ---> docker-login.sh ends [Pipeline] } [2020-11-02T15:28:46.870Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-02T15:28:47.085Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2020-11-02T15:28:47.085Z] d827d8a7942ec005abe6f37d4a954436cd658b9a [2020-11-02T15:28:47.085Z] latest [2020-11-02T15:28:47.085Z] snyk [2020-11-02T15:28:47.085Z] 1.410.4 [2020-11-02T15:28:47.085Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:28:47.564Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d827d8a7942ec005abe6f37d4a954436cd658b9a [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:28:47.870Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d827d8a7942ec005abe6f37d4a954436cd658b9a [2020-11-02T15:28:47.870Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T15:28:47.870Z] df09f05a2cf3: Preparing [2020-11-02T15:28:47.870Z] e4e91c9133eb: Preparing [2020-11-02T15:28:47.870Z] 8b8101cf5416: Preparing [2020-11-02T15:28:47.870Z] b479241e0e6f: Preparing [2020-11-02T15:28:47.870Z] f6773636974f: Preparing [2020-11-02T15:28:47.870Z] 27fc4e020136: Preparing [2020-11-02T15:28:47.870Z] c07f8a820edc: Preparing [2020-11-02T15:28:47.870Z] ace0eda3e3be: Preparing [2020-11-02T15:28:47.870Z] 27fc4e020136: Waiting [2020-11-02T15:28:47.870Z] ace0eda3e3be: Waiting [2020-11-02T15:28:47.870Z] c07f8a820edc: Waiting [2020-11-02T15:28:48.139Z] 8b8101cf5416: Pushed [2020-11-02T15:28:48.139Z] b479241e0e6f: Pushed [2020-11-02T15:28:48.405Z] 27fc4e020136: Pushed [2020-11-02T15:28:48.679Z] c07f8a820edc: Pushed [2020-11-02T15:28:49.643Z] ace0eda3e3be: Pushed [2020-11-02T15:28:52.986Z] e4e91c9133eb: Pushed [2020-11-02T15:29:11.149Z] df09f05a2cf3: Pushed [2020-11-02T15:29:23.416Z] f6773636974f: Pushed [2020-11-02T15:29:23.416Z] d827d8a7942ec005abe6f37d4a954436cd658b9a: digest: sha256:598236175837a92bdc309d288d7c6a51809a491f0575dc449e1656321822a864 size: 1996 [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:23.740Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:24.045Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2020-11-02T15:29:24.045Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T15:29:24.045Z] df09f05a2cf3: Preparing [2020-11-02T15:29:24.045Z] e4e91c9133eb: Preparing [2020-11-02T15:29:24.045Z] 8b8101cf5416: Preparing [2020-11-02T15:29:24.045Z] b479241e0e6f: Preparing [2020-11-02T15:29:24.045Z] f6773636974f: Preparing [2020-11-02T15:29:24.045Z] 27fc4e020136: Preparing [2020-11-02T15:29:24.045Z] c07f8a820edc: Preparing [2020-11-02T15:29:24.045Z] ace0eda3e3be: Preparing [2020-11-02T15:29:24.045Z] 27fc4e020136: Waiting [2020-11-02T15:29:24.045Z] c07f8a820edc: Waiting [2020-11-02T15:29:24.045Z] ace0eda3e3be: Waiting [2020-11-02T15:29:24.045Z] e4e91c9133eb: Layer already exists [2020-11-02T15:29:24.045Z] 8b8101cf5416: Layer already exists [2020-11-02T15:29:24.045Z] df09f05a2cf3: Layer already exists [2020-11-02T15:29:24.045Z] b479241e0e6f: Layer already exists [2020-11-02T15:29:24.045Z] f6773636974f: Layer already exists [2020-11-02T15:29:24.045Z] 27fc4e020136: Layer already exists [2020-11-02T15:29:24.045Z] c07f8a820edc: Layer already exists [2020-11-02T15:29:24.045Z] ace0eda3e3be: Layer already exists [2020-11-02T15:29:24.310Z] latest: digest: sha256:598236175837a92bdc309d288d7c6a51809a491f0575dc449e1656321822a864 size: 1996 [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:24.619Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:24.922Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2020-11-02T15:29:24.922Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T15:29:24.922Z] df09f05a2cf3: Preparing [2020-11-02T15:29:24.922Z] e4e91c9133eb: Preparing [2020-11-02T15:29:24.922Z] 8b8101cf5416: Preparing [2020-11-02T15:29:24.922Z] b479241e0e6f: Preparing [2020-11-02T15:29:24.922Z] f6773636974f: Preparing [2020-11-02T15:29:24.922Z] 27fc4e020136: Preparing [2020-11-02T15:29:24.922Z] c07f8a820edc: Preparing [2020-11-02T15:29:24.922Z] ace0eda3e3be: Preparing [2020-11-02T15:29:24.922Z] 27fc4e020136: Waiting [2020-11-02T15:29:24.922Z] c07f8a820edc: Waiting [2020-11-02T15:29:24.922Z] ace0eda3e3be: Waiting [2020-11-02T15:29:24.922Z] df09f05a2cf3: Layer already exists [2020-11-02T15:29:24.922Z] f6773636974f: Layer already exists [2020-11-02T15:29:24.922Z] e4e91c9133eb: Layer already exists [2020-11-02T15:29:24.922Z] b479241e0e6f: Layer already exists [2020-11-02T15:29:24.922Z] 8b8101cf5416: Layer already exists [2020-11-02T15:29:24.922Z] c07f8a820edc: Layer already exists [2020-11-02T15:29:24.922Z] 27fc4e020136: Layer already exists [2020-11-02T15:29:24.922Z] ace0eda3e3be: Layer already exists [2020-11-02T15:29:25.184Z] snyk: digest: sha256:598236175837a92bdc309d288d7c6a51809a491f0575dc449e1656321822a864 size: 1996 [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:25.492Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:25.799Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-02T15:29:25.799Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T15:29:25.799Z] df09f05a2cf3: Preparing [2020-11-02T15:29:25.799Z] e4e91c9133eb: Preparing [2020-11-02T15:29:25.799Z] 8b8101cf5416: Preparing [2020-11-02T15:29:25.799Z] b479241e0e6f: Preparing [2020-11-02T15:29:25.799Z] f6773636974f: Preparing [2020-11-02T15:29:25.799Z] 27fc4e020136: Preparing [2020-11-02T15:29:25.799Z] c07f8a820edc: Preparing [2020-11-02T15:29:25.799Z] ace0eda3e3be: Preparing [2020-11-02T15:29:25.799Z] c07f8a820edc: Waiting [2020-11-02T15:29:25.799Z] ace0eda3e3be: Waiting [2020-11-02T15:29:25.799Z] 27fc4e020136: Waiting [2020-11-02T15:29:25.799Z] 8b8101cf5416: Layer already exists [2020-11-02T15:29:25.799Z] df09f05a2cf3: Layer already exists [2020-11-02T15:29:25.799Z] e4e91c9133eb: Layer already exists [2020-11-02T15:29:25.799Z] b479241e0e6f: Layer already exists [2020-11-02T15:29:25.799Z] f6773636974f: Layer already exists [2020-11-02T15:29:25.799Z] 27fc4e020136: Layer already exists [2020-11-02T15:29:25.799Z] c07f8a820edc: Layer already exists [2020-11-02T15:29:25.799Z] ace0eda3e3be: Layer already exists [2020-11-02T15:29:25.799Z] 1.410.4: digest: sha256:598236175837a92bdc309d288d7c6a51809a491f0575dc449e1656321822a864 size: 1996 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-02T15:29:26.010Z] ===================================================== [Pipeline] echo [2020-11-02T15:29:26.057Z] taggedImages: [2020-11-02T15:29:26.057Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d827d8a7942ec005abe6f37d4a954436cd658b9a [2020-11-02T15:29:26.057Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2020-11-02T15:29:26.057Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2020-11-02T15:29:26.057Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [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 [2020-11-02T15:29:27.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T15:29:27.781Z] [2020-11-02T15:29:27.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:28.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T15:29:28.126Z] latest: Pulling from edgex-devops/edgex-klar [2020-11-02T15:29:28.126Z] e7c96db7181b: Pulling fs layer [2020-11-02T15:29:28.126Z] 1868ca2cb446: Pulling fs layer [2020-11-02T15:29:28.126Z] 136be5d0fe8e: Pulling fs layer [2020-11-02T15:29:28.126Z] 894bfe63afcb: Pulling fs layer [2020-11-02T15:29:28.126Z] 894bfe63afcb: Waiting [2020-11-02T15:29:28.126Z] 1868ca2cb446: Verifying Checksum [2020-11-02T15:29:28.126Z] 1868ca2cb446: Download complete [2020-11-02T15:29:28.126Z] 136be5d0fe8e: Verifying Checksum [2020-11-02T15:29:28.126Z] 136be5d0fe8e: Download complete [2020-11-02T15:29:28.126Z] e7c96db7181b: Verifying Checksum [2020-11-02T15:29:28.126Z] e7c96db7181b: Download complete [2020-11-02T15:29:28.389Z] 894bfe63afcb: Verifying Checksum [2020-11-02T15:29:28.389Z] 894bfe63afcb: Download complete [2020-11-02T15:29:28.650Z] e7c96db7181b: Pull complete [2020-11-02T15:29:28.650Z] 1868ca2cb446: Pull complete [2020-11-02T15:29:28.915Z] 136be5d0fe8e: Pull complete [2020-11-02T15:29:29.177Z] 894bfe63afcb: Pull complete [2020-11-02T15:29:29.177Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-11-02T15:29:29.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T15:29:29.177Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-11-02T15:29:29.313Z] prd-centos7-docker-4c-2g-10303 does not seem to be running inside a container [2020-11-02T15:29:29.375Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-11-02T15:29:30.971Z] $ docker top 92ab1eea2b38155ab7302604fdf3aeb25aa2202419851c0525f95726dd2ed235 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T15:29:31.549Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d827d8a7942ec005abe6f37d4a954436cd658b9a [2020-11-02T15:29:31.549Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-11-02T15:29:46.905Z] $ docker stop --time=1 92ab1eea2b38155ab7302604fdf3aeb25aa2202419851c0525f95726dd2ed235 [2020-11-02T15:29:48.391Z] $ docker rm -f 92ab1eea2b38155ab7302604fdf3aeb25aa2202419851c0525f95726dd2ed235 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:29:48.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T15:29:48.892Z] . [Pipeline] withDockerContainer [2020-11-02T15:29:48.994Z] prd-centos7-docker-4c-2g-10303 does not seem to be running inside a container [2020-11-02T15:29:49.046Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-11-02T15:29:49.743Z] $ docker top 21361f7beb193ba4f3ad89f65bbe21b42f86e444a6b4aff8059605044aff83ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T15:29:50.243Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:d827d8a7942ec005abe6f37d4a954436cd658b9a [2020-11-02T15:29:50.243Z] + tee [2020-11-02T15:29:50.243Z] clair timeout 1m0s [2020-11-02T15:29:50.243Z] docker timeout: 1m0s [2020-11-02T15:29:50.243Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-11-02T15:29:51.286Z] $ docker stop --time=1 21361f7beb193ba4f3ad89f65bbe21b42f86e444a6b4aff8059605044aff83ff [2020-11-02T15:29:52.646Z] $ docker rm -f 21361f7beb193ba4f3ad89f65bbe21b42f86e444a6b4aff8059605044aff83ff [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T15:29:53.123Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo [2020-11-02T15:29:53.140Z] Generated HTML Table Report. Writing to /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports/clair_results_edgex-snyk-go_d827d8a7942ec005abe6f37d4a954436cd658b9a.html [Pipeline] writeFile [Pipeline] step [2020-11-02T15:29:53.305Z] 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 [2020-11-02T15:29:55.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:29:55.636Z] ---> package-listing.sh [2020-11-02T15:29:55.637Z] ++ facter osfamily [2020-11-02T15:29:55.637Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T15:29:55.637Z] + OS_FAMILY=redhat [2020-11-02T15:29:55.637Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2020-11-02T15:29:55.637Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T15:29:55.637Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T15:29:55.637Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T15:29:55.637Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T15:29:55.637Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2020-11-02T15:29:55.637Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T15:29:55.637Z] + case "${OS_FAMILY}" in [2020-11-02T15:29:55.637Z] + rpm -qa [2020-11-02T15:29:55.637Z] + sort [2020-11-02T15:29:59.863Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T15:29:59.863Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T15:29:59.863Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T15:29:59.863Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2020-11-02T15:29:59.863Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2020-11-02T15:29:59.863Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo [2020-11-02T15:29:59.877Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 [2020-11-02T15:30:00.170Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:30:00.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T15:30:00.476Z] [2020-11-02T15:30:00.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T15:30:00.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T15:30:00.826Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T15:30:00.826Z] df20fa9351a1: Pulling fs layer [2020-11-02T15:30:00.826Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T15:30:00.826Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T15:30:00.826Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T15:30:00.826Z] 93b61091891f: Pulling fs layer [2020-11-02T15:30:00.826Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T15:30:00.826Z] 5e14af77c1be: Pulling fs layer [2020-11-02T15:30:00.826Z] 01666e4c0597: Pulling fs layer [2020-11-02T15:30:00.826Z] aa168da1d23b: Pulling fs layer [2020-11-02T15:30:00.826Z] 93b9cdb0e59b: Waiting [2020-11-02T15:30:00.826Z] 5e14af77c1be: Waiting [2020-11-02T15:30:00.826Z] 01666e4c0597: Waiting [2020-11-02T15:30:00.826Z] aa168da1d23b: Waiting [2020-11-02T15:30:00.826Z] 46f8f816bc3b: Waiting [2020-11-02T15:30:00.826Z] 93b61091891f: Waiting [2020-11-02T15:30:00.826Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T15:30:00.826Z] 36b3adc4ff6f: Download complete [2020-11-02T15:30:00.826Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T15:30:00.826Z] 46f8f816bc3b: Download complete [2020-11-02T15:30:01.088Z] df20fa9351a1: Verifying Checksum [2020-11-02T15:30:01.088Z] df20fa9351a1: Download complete [2020-11-02T15:30:01.088Z] 93b61091891f: Verifying Checksum [2020-11-02T15:30:01.088Z] 93b61091891f: Download complete [2020-11-02T15:30:01.088Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T15:30:01.088Z] 93b9cdb0e59b: Download complete [2020-11-02T15:30:01.088Z] 5e14af77c1be: Verifying Checksum [2020-11-02T15:30:01.088Z] 5e14af77c1be: Download complete [2020-11-02T15:30:01.088Z] 01666e4c0597: Verifying Checksum [2020-11-02T15:30:01.088Z] 01666e4c0597: Download complete [2020-11-02T15:30:01.088Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T15:30:01.088Z] 8ad3a11d3b57: Download complete [2020-11-02T15:30:01.354Z] df20fa9351a1: Pull complete [2020-11-02T15:30:01.639Z] 36b3adc4ff6f: Pull complete [2020-11-02T15:30:02.226Z] 8ad3a11d3b57: Pull complete [2020-11-02T15:30:02.495Z] 46f8f816bc3b: Pull complete [2020-11-02T15:30:03.073Z] 93b61091891f: Pull complete [2020-11-02T15:30:03.073Z] aa168da1d23b: Verifying Checksum [2020-11-02T15:30:03.073Z] aa168da1d23b: Download complete [2020-11-02T15:30:03.335Z] 93b9cdb0e59b: Pull complete [2020-11-02T15:30:03.335Z] 5e14af77c1be: Pull complete [2020-11-02T15:30:03.335Z] 01666e4c0597: Pull complete [2020-11-02T15:30:09.973Z] aa168da1d23b: Pull complete [2020-11-02T15:30:09.973Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T15:30:09.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T15:30:09.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T15:30:10.138Z] prd-centos7-docker-4c-2g-10303 does not seem to be running inside a container [2020-11-02T15:30:10.195Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T15:30:13.506Z] $ docker top ac3459f8ae240000048f8ec691e0882b210f92c9c53b51e7abe14d5600badc6e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T15:30:14.051Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T15:30:14.350Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T15:30:14.644Z] + ls /var/log/sa-host [2020-11-02T15:30:14.644Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T15:30:14.644Z] file_magic: OK [2020-11-02T15:30:14.644Z] HZ: Using current value: 100 [2020-11-02T15:30:14.644Z] file_header: OK [2020-11-02T15:30:14.644Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T15:30:14.644Z] Statistics: [2020-11-02T15:30:14.644Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T15:30:14.644Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T15:30:14.644Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T15:30:14.644Z] file_magic: OK [2020-11-02T15:30:14.644Z] HZ: Using current value: 100 [2020-11-02T15:30:14.644Z] file_header: OK [2020-11-02T15:30:14.644Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T15:30:14.644Z] Statistics: [2020-11-02T15:30:14.644Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T15:30:14.644Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T15:30:15.284Z] provisioning config files... [2020-11-02T15:30:15.298Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config917529828324430930tmp [Pipeline] { [Pipeline] echo [2020-11-02T15:30:15.407Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:30:15.704Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T15:30:15.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T15:30:15.802Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:30:16.097Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T15:30:16.109Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:30:16.405Z] ---> sudo-logs.sh [2020-11-02T15:30:16.405Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T15:30:16.415Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:30:16.710Z] ---> job-cost.sh [2020-11-02T15:30:16.710Z] lf-activate-venv: SKIPPING [2020-11-02T15:30:16.710Z] INFO: No Stack... [2020-11-02T15:30:18.099Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T15:30:18.672Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T15:30:18.685Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T15:30:18.989Z] ---> logs-deploy.sh [2020-11-02T15:30:18.989Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/7 [2020-11-02T15:30:18.989Z] INFO: archiving workspace using pattern(s): [2020-11-02T15:30:20.918Z] Archives upload complete. [2020-11-02T15:30:20.918Z] INFO: archiving logs to Nexus