Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f3dfea1e54b278c2e288d54bd30763ecc8ecb035 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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.419.1], 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.419.1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-7550 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 Checking out Revision f3dfea1e54b278c2e288d54bd30763ecc8ecb035 (snyk) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f f3dfea1e54b278c2e288d54bd30763ecc8ecb035 # timeout=10 Commit message: "Merge pull request #152 from ernestojeda/add-package-to-snyk" > git rev-list --no-walk 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-21T21:22:04.170Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-21T21:22:04.449Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-21T21:22:04.579Z] ========================================================= [2020-10-21T21:22:04.579Z] EdgeX Global Pipelines Version Info [2020-10-21T21:22:04.579Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:22:06.821Z] ------------------- [2020-10-21T21:22:06.821Z] stable info: [2020-10-21T21:22:06.821Z] ------------------- [2020-10-21T21:22:06.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-21T21:22:06.821Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-21T21:22:06.821Z] Message: update stable to v1.0.144 [2020-10-21T21:22:07.396Z] ------------------- [2020-10-21T21:22:07.396Z] experimental info: [2020-10-21T21:22:07.396Z] ------------------- [2020-10-21T21:22:07.396Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-21T21:22:07.396Z] Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 [2020-10-21T21:22:07.396Z] Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-21T21:22:07.756Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-10-21T21:22:07.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2020-10-21T21:22:07.993Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-10-21T21:22:08.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-21T21:22:08.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-21T21:22:08.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2020-10-21T21:22:08.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-10-21T21:22:08.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-10-21T21:22:08.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-10-21T21:22:08.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-21T21:22:08.764Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-10-21T21:22:08.875Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2020-10-21T21:22:08.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-21T21:22:09.052Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2020-10-21T21:22:09.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.419.1 [Pipeline] echo [2020-10-21T21:22:09.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2020-10-21T21:22:09.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2020-10-21T21:22:09.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2020-10-21T21:22:09.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [Pipeline] echo [2020-10-21T21:22:09.596Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3dfea1 [Pipeline] echo [2020-10-21T21:22:09.690Z] [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-10-21T21:22:12.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T21:22:12.901Z] + ls -al . [2020-10-21T21:22:12.901Z] total 8 [2020-10-21T21:22:12.901Z] drwxrwxr-x. 3 jenkins jenkins 55 Oct 21 21:21 . [2020-10-21T21:22:12.901Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 21 21:21 .. [2020-10-21T21:22:12.901Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 21 21:21 Dockerfile [2020-10-21T21:22:12.901Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 21 21:22 .git [2020-10-21T21:22:12.901Z] -rw-rw-r--. 1 jenkins jenkins 896 Oct 21 21:21 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:22:13.331Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=f3dfea1e54b278c2e288d54bd30763ecc8ecb035 --label arch=amd64 . [2020-10-21T21:22:13.596Z] Sending build context to Docker daemon 353.8kB [2020-10-21T21:22:13.596Z] Step 1/12 : FROM golang:1.15-alpine [2020-10-21T21:22:13.858Z] 1.15-alpine: Pulling from library/golang [2020-10-21T21:22:14.124Z] df20fa9351a1: Pulling fs layer [2020-10-21T21:22:14.124Z] ed8968b2872e: Pulling fs layer [2020-10-21T21:22:14.124Z] a92cc7c5fd73: Pulling fs layer [2020-10-21T21:22:14.124Z] 77c26f46e4e3: Pulling fs layer [2020-10-21T21:22:14.124Z] a61f79ca4ca3: Pulling fs layer [2020-10-21T21:22:14.124Z] a61f79ca4ca3: Waiting [2020-10-21T21:22:14.124Z] 77c26f46e4e3: Waiting [2020-10-21T21:22:14.124Z] ed8968b2872e: Download complete [2020-10-21T21:22:14.124Z] a92cc7c5fd73: Download complete [2020-10-21T21:22:14.390Z] df20fa9351a1: Verifying Checksum [2020-10-21T21:22:14.390Z] df20fa9351a1: Download complete [2020-10-21T21:22:14.390Z] a61f79ca4ca3: Verifying Checksum [2020-10-21T21:22:14.390Z] a61f79ca4ca3: Download complete [2020-10-21T21:22:14.657Z] df20fa9351a1: Pull complete [2020-10-21T21:22:14.657Z] ed8968b2872e: Pull complete [2020-10-21T21:22:14.925Z] a92cc7c5fd73: Pull complete [2020-10-21T21:22:16.333Z] 77c26f46e4e3: Download complete [2020-10-21T21:22:23.019Z] 77c26f46e4e3: Pull complete [2020-10-21T21:22:23.019Z] a61f79ca4ca3: Pull complete [2020-10-21T21:22:23.019Z] Digest: sha256:21f26b69753998119b8b5193a563e02794c8a7ceaa19316f0ece5021b0a5a6f6 [2020-10-21T21:22:23.019Z] Status: Downloaded newer image for golang:1.15-alpine [2020-10-21T21:22:23.019Z] ---> 813e7bfc1890 [2020-10-21T21:22:23.019Z] Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-21T21:22:25.622Z] ---> Running in aa16ea710be4 [2020-10-21T21:22:25.622Z] Removing intermediate container aa16ea710be4 [2020-10-21T21:22:25.622Z] ---> 4b74fd184d66 [2020-10-21T21:22:25.622Z] Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T21:22:25.622Z] ---> Running in ae8823903b22 [2020-10-21T21:22:26.581Z] Removing intermediate container ae8823903b22 [2020-10-21T21:22:26.581Z] ---> c6c8857a3932 [2020-10-21T21:22:26.581Z] Step 4/12 : ARG SNYK_VERSION=1.419.1 [2020-10-21T21:22:26.581Z] ---> Running in b1d90e985fa2 [2020-10-21T21:22:26.850Z] Removing intermediate container b1d90e985fa2 [2020-10-21T21:22:26.850Z] ---> 5199a3393987 [2020-10-21T21:22:26.850Z] Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} [2020-10-21T21:22:26.850Z] ---> Running in 8a07e120c087 [2020-10-21T21:22:27.113Z] Removing intermediate container 8a07e120c087 [2020-10-21T21:22:27.113Z] ---> 60fa7a98f2f0 [2020-10-21T21:22:27.113Z] Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-10-21T21:22:27.692Z] latest: Pulling from library/docker [2020-10-21T21:22:27.692Z] df20fa9351a1: Already exists [2020-10-21T21:22:27.692Z] 25ad7478873d: Pulling fs layer [2020-10-21T21:22:27.692Z] 4684f6177b5d: Pulling fs layer [2020-10-21T21:22:27.692Z] 206f78d23536: Pulling fs layer [2020-10-21T21:22:27.692Z] cee0542293f3: Pulling fs layer [2020-10-21T21:22:27.692Z] d951dd9fd09f: Pulling fs layer [2020-10-21T21:22:27.692Z] dce9c88c04bd: Pulling fs layer [2020-10-21T21:22:27.692Z] cee0542293f3: Waiting [2020-10-21T21:22:27.692Z] d951dd9fd09f: Waiting [2020-10-21T21:22:27.692Z] dce9c88c04bd: Waiting [2020-10-21T21:22:27.692Z] 4684f6177b5d: Verifying Checksum [2020-10-21T21:22:27.692Z] 4684f6177b5d: Download complete [2020-10-21T21:22:27.960Z] 25ad7478873d: Verifying Checksum [2020-10-21T21:22:27.960Z] 25ad7478873d: Download complete [2020-10-21T21:22:27.960Z] cee0542293f3: Verifying Checksum [2020-10-21T21:22:27.960Z] cee0542293f3: Download complete [2020-10-21T21:22:27.960Z] dce9c88c04bd: Verifying Checksum [2020-10-21T21:22:27.960Z] dce9c88c04bd: Download complete [2020-10-21T21:22:28.229Z] 25ad7478873d: Pull complete [2020-10-21T21:22:28.229Z] 4684f6177b5d: Pull complete [2020-10-21T21:22:28.809Z] 206f78d23536: Verifying Checksum [2020-10-21T21:22:28.809Z] 206f78d23536: Download complete [2020-10-21T21:22:29.080Z] d951dd9fd09f: Verifying Checksum [2020-10-21T21:22:29.080Z] d951dd9fd09f: Download complete [2020-10-21T21:22:31.672Z] 206f78d23536: Pull complete [2020-10-21T21:22:31.672Z] cee0542293f3: Pull complete [2020-10-21T21:22:31.672Z] d951dd9fd09f: Pull complete [2020-10-21T21:22:31.937Z] dce9c88c04bd: Pull complete [2020-10-21T21:22:31.937Z] Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 [2020-10-21T21:22:31.937Z] Status: Downloaded newer image for docker:latest [2020-10-21T21:22:33.344Z] ---> 4beca3478d89 [2020-10-21T21:22:33.344Z] 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-10-21T21:22:33.608Z] ---> Running in b874669d68ad [2020-10-21T21:22:34.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T21:22:34.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T21:22:35.036Z] (1/20) Installing tcl (8.6.10-r0) [2020-10-21T21:22:35.615Z] (2/20) Installing expect (5.45.4-r0) [2020-10-21T21:22:35.878Z] (3/20) Installing libgcc (9.3.0-r2) [2020-10-21T21:22:35.878Z] (4/20) Installing libstdc++ (9.3.0-r2) [2020-10-21T21:22:36.146Z] (5/20) Installing binutils (2.34-r1) [2020-10-21T21:22:36.735Z] (6/20) Installing gmp (6.2.0-r0) [2020-10-21T21:22:36.735Z] (7/20) Installing isl (0.18-r0) [2020-10-21T21:22:36.999Z] (8/20) Installing libgomp (9.3.0-r2) [2020-10-21T21:22:37.263Z] (9/20) Installing libatomic (9.3.0-r2) [2020-10-21T21:22:37.263Z] (10/20) Installing libgphobos (9.3.0-r2) [2020-10-21T21:22:37.853Z] (11/20) Installing mpfr4 (4.0.2-r4) [2020-10-21T21:22:37.853Z] (12/20) Installing mpc1 (1.1.0-r1) [2020-10-21T21:22:38.117Z] (13/20) Installing gcc (9.3.0-r2) [2020-10-21T21:22:53.068Z] (14/20) Installing nghttp2-libs (1.41.0-r0) [2020-10-21T21:22:53.068Z] (15/20) Installing libcurl (7.69.1-r1) [2020-10-21T21:22:53.068Z] (16/20) Installing expat (2.2.9-r1) [2020-10-21T21:22:53.068Z] (17/20) Installing pcre2 (10.35-r0) [2020-10-21T21:22:53.334Z] (18/20) Installing git (2.26.2-r0) [2020-10-21T21:22:56.104Z] (19/20) Installing musl-dev (1.1.24-r9) [2020-10-21T21:22:57.505Z] (20/20) Installing libc-dev (0.7.2-r3) [2020-10-21T21:22:57.768Z] Executing busybox-1.31.1-r16.trigger [2020-10-21T21:22:57.768Z] OK: 165 MiB in 35 packages [2020-10-21T21:22:57.768Z] Connecting to github.com (140.82.113.3:443) [2020-10-21T21:22:58.031Z] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.80.72:443) [2020-10-21T21:22:58.031Z] saving to '/usr/local/bin/snyk' [2020-10-21T21:22:58.989Z] snyk 7% |** | 7410k 0:00:12 ETA [2020-10-21T21:22:59.967Z] snyk 14% |**** | 14.8M 0:00:11 ETA [2020-10-21T21:23:00.919Z] snyk 25% |******** | 25.7M 0:00:08 ETA [2020-10-21T21:23:01.888Z] snyk 40% |************ | 40.2M 0:00:05 ETA [2020-10-21T21:23:03.288Z] snyk 58% |****************** | 58.0M 0:00:03 ETA [2020-10-21T21:23:04.239Z] snyk 79% |************************* | 79.1M 0:00:01 ETA [2020-10-21T21:23:04.819Z] snyk 100% |********************************| 99.5M 0:00:00 ETA [2020-10-21T21:23:04.819Z] '/usr/local/bin/snyk' saved [2020-10-21T21:23:11.462Z] Removing intermediate container b874669d68ad [2020-10-21T21:23:11.462Z] ---> 76b4256d0155 [2020-10-21T21:23:11.462Z] Step 8/12 : ENV GO111MODULE=on [2020-10-21T21:23:11.735Z] ---> Running in 1cc16ec4b942 [2020-10-21T21:23:11.735Z] Removing intermediate container 1cc16ec4b942 [2020-10-21T21:23:11.735Z] ---> ce288ae5e90f [2020-10-21T21:23:11.735Z] Step 9/12 : ENTRYPOINT [ "snyk" ] [2020-10-21T21:23:11.999Z] ---> Running in 873b277b5319 [2020-10-21T21:23:11.999Z] Removing intermediate container 873b277b5319 [2020-10-21T21:23:11.999Z] ---> e86df45e474c [2020-10-21T21:23:11.999Z] Step 10/12 : CMD [ "monitor" ] [2020-10-21T21:23:11.999Z] ---> Running in b1086f3b4a7f [2020-10-21T21:23:12.264Z] Removing intermediate container b1086f3b4a7f [2020-10-21T21:23:12.264Z] ---> 0acc0402dd0d [2020-10-21T21:23:12.264Z] Step 11/12 : LABEL arch=amd64 [2020-10-21T21:23:12.264Z] ---> Running in 05a29cd6bcc8 [2020-10-21T21:23:12.529Z] Removing intermediate container 05a29cd6bcc8 [2020-10-21T21:23:12.529Z] ---> d9bf1ff7be42 [2020-10-21T21:23:12.529Z] Step 12/12 : LABEL git_sha=f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [2020-10-21T21:23:12.529Z] ---> Running in 64d48b838335 [2020-10-21T21:23:12.793Z] Removing intermediate container 64d48b838335 [2020-10-21T21:23:12.793Z] ---> 0c2f47f61213 [2020-10-21T21:23:12.793Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T21:23:12.793Z] Successfully built 0c2f47f61213 [2020-10-21T21:23:12.793Z] 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-10-21T21:23:13.265Z] provisioning config files... [2020-10-21T21:23:13.308Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3184804294988502276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:23:13.702Z] ---> docker-login.sh [2020-10-21T21:23:13.702Z] nexus3.edgexfoundry.org:10001 [2020-10-21T21:23:13.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-21T21:23:13.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-21T21:23:13.967Z] Configure a credential helper to remove this warning. See [2020-10-21T21:23:13.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-21T21:23:13.967Z] [2020-10-21T21:23:13.967Z] Login Succeeded [2020-10-21T21:23:13.967Z] nexus3.edgexfoundry.org:10002 [2020-10-21T21:23:14.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-21T21:23:14.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-21T21:23:14.231Z] Configure a credential helper to remove this warning. See [2020-10-21T21:23:14.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-21T21:23:14.231Z] [2020-10-21T21:23:14.231Z] Login Succeeded [2020-10-21T21:23:14.231Z] nexus3.edgexfoundry.org:10003 [2020-10-21T21:23:14.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-21T21:23:14.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-21T21:23:14.495Z] Configure a credential helper to remove this warning. See [2020-10-21T21:23:14.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-21T21:23:14.495Z] [2020-10-21T21:23:14.495Z] Login Succeeded [2020-10-21T21:23:14.495Z] nexus3.edgexfoundry.org:10004 [2020-10-21T21:23:14.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-21T21:23:14.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-21T21:23:14.495Z] Configure a credential helper to remove this warning. See [2020-10-21T21:23:14.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-21T21:23:14.495Z] [2020-10-21T21:23:14.495Z] Login Succeeded [2020-10-21T21:23:14.495Z] docker.io [2020-10-21T21:23:14.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-21T21:23:15.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-21T21:23:15.022Z] Configure a credential helper to remove this warning. See [2020-10-21T21:23:15.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-21T21:23:15.022Z] [2020-10-21T21:23:15.022Z] Login Succeeded [2020-10-21T21:23:15.022Z] ---> docker-login.sh ends [Pipeline] } [2020-10-21T21:23:15.033Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-21T21:23:15.300Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2020-10-21T21:23:15.300Z] f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [2020-10-21T21:23:15.300Z] latest [2020-10-21T21:23:15.300Z] snyk [2020-10-21T21:23:15.300Z] 1.419.1 [2020-10-21T21:23:15.300Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:15.848Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:16.199Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [2020-10-21T21:23:16.199Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-10-21T21:23:16.199Z] d4040ca4b1a0: Preparing [2020-10-21T21:23:16.199Z] e95b07443dcd: Preparing [2020-10-21T21:23:16.199Z] 66e621a158ab: Preparing [2020-10-21T21:23:16.199Z] 7b0e12157fc0: Preparing [2020-10-21T21:23:16.199Z] b028d3fea814: Preparing [2020-10-21T21:23:16.199Z] 1ba1431fe2ba: Preparing [2020-10-21T21:23:16.199Z] 0f7493e3a35b: Preparing [2020-10-21T21:23:16.199Z] 50644c29ef5a: Preparing [2020-10-21T21:23:16.199Z] 0f7493e3a35b: Waiting [2020-10-21T21:23:16.199Z] 50644c29ef5a: Waiting [2020-10-21T21:23:16.199Z] 1ba1431fe2ba: Waiting [2020-10-21T21:23:16.490Z] 66e621a158ab: Pushed [2020-10-21T21:23:16.490Z] 1ba1431fe2ba: Layer already exists [2020-10-21T21:23:16.490Z] 7b0e12157fc0: Pushed [2020-10-21T21:23:16.490Z] 0f7493e3a35b: Layer already exists [2020-10-21T21:23:16.490Z] 50644c29ef5a: Layer already exists [2020-10-21T21:23:21.992Z] e95b07443dcd: Pushed [2020-10-21T21:23:40.380Z] d4040ca4b1a0: Pushed [2020-10-21T21:23:50.451Z] b028d3fea814: Pushed [2020-10-21T21:23:50.451Z] f3dfea1e54b278c2e288d54bd30763ecc8ecb035: digest: sha256:a2731ff7e3b3f21fafd725d770fd18b5cbb798bb14fe6c81a5b9d6e7dcf2a2a3 size: 1996 [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:50.799Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:51.121Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2020-10-21T21:23:51.121Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-10-21T21:23:51.121Z] d4040ca4b1a0: Preparing [2020-10-21T21:23:51.121Z] e95b07443dcd: Preparing [2020-10-21T21:23:51.121Z] 66e621a158ab: Preparing [2020-10-21T21:23:51.121Z] 7b0e12157fc0: Preparing [2020-10-21T21:23:51.121Z] b028d3fea814: Preparing [2020-10-21T21:23:51.121Z] 1ba1431fe2ba: Preparing [2020-10-21T21:23:51.121Z] 0f7493e3a35b: Preparing [2020-10-21T21:23:51.121Z] 50644c29ef5a: Preparing [2020-10-21T21:23:51.121Z] 0f7493e3a35b: Waiting [2020-10-21T21:23:51.121Z] 50644c29ef5a: Waiting [2020-10-21T21:23:51.121Z] 1ba1431fe2ba: Waiting [2020-10-21T21:23:51.121Z] 7b0e12157fc0: Layer already exists [2020-10-21T21:23:51.121Z] d4040ca4b1a0: Layer already exists [2020-10-21T21:23:51.121Z] 66e621a158ab: Layer already exists [2020-10-21T21:23:51.121Z] b028d3fea814: Layer already exists [2020-10-21T21:23:51.121Z] e95b07443dcd: Layer already exists [2020-10-21T21:23:51.121Z] 1ba1431fe2ba: Layer already exists [2020-10-21T21:23:51.121Z] 50644c29ef5a: Layer already exists [2020-10-21T21:23:51.121Z] 0f7493e3a35b: Layer already exists [2020-10-21T21:23:51.121Z] latest: digest: sha256:a2731ff7e3b3f21fafd725d770fd18b5cbb798bb14fe6c81a5b9d6e7dcf2a2a3 size: 1996 [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:51.487Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:51.828Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2020-10-21T21:23:51.828Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-10-21T21:23:51.828Z] d4040ca4b1a0: Preparing [2020-10-21T21:23:51.828Z] e95b07443dcd: Preparing [2020-10-21T21:23:51.828Z] 66e621a158ab: Preparing [2020-10-21T21:23:51.828Z] 7b0e12157fc0: Preparing [2020-10-21T21:23:51.828Z] b028d3fea814: Preparing [2020-10-21T21:23:51.828Z] 1ba1431fe2ba: Preparing [2020-10-21T21:23:51.828Z] 0f7493e3a35b: Preparing [2020-10-21T21:23:51.828Z] 50644c29ef5a: Preparing [2020-10-21T21:23:51.828Z] 0f7493e3a35b: Waiting [2020-10-21T21:23:51.828Z] 1ba1431fe2ba: Waiting [2020-10-21T21:23:51.828Z] 50644c29ef5a: Waiting [2020-10-21T21:23:51.828Z] 66e621a158ab: Layer already exists [2020-10-21T21:23:51.828Z] d4040ca4b1a0: Layer already exists [2020-10-21T21:23:51.828Z] b028d3fea814: Layer already exists [2020-10-21T21:23:51.828Z] e95b07443dcd: Layer already exists [2020-10-21T21:23:51.828Z] 7b0e12157fc0: Layer already exists [2020-10-21T21:23:51.828Z] 50644c29ef5a: Layer already exists [2020-10-21T21:23:51.828Z] 1ba1431fe2ba: Layer already exists [2020-10-21T21:23:51.828Z] 0f7493e3a35b: Layer already exists [2020-10-21T21:23:51.828Z] snyk: digest: sha256:a2731ff7e3b3f21fafd725d770fd18b5cbb798bb14fe6c81a5b9d6e7dcf2a2a3 size: 1996 [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:52.461Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.419.1 [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:52.809Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.419.1 [2020-10-21T21:23:52.809Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-10-21T21:23:52.810Z] d4040ca4b1a0: Preparing [2020-10-21T21:23:52.810Z] e95b07443dcd: Preparing [2020-10-21T21:23:52.810Z] 66e621a158ab: Preparing [2020-10-21T21:23:52.810Z] 7b0e12157fc0: Preparing [2020-10-21T21:23:52.810Z] b028d3fea814: Preparing [2020-10-21T21:23:52.810Z] 1ba1431fe2ba: Preparing [2020-10-21T21:23:52.810Z] 0f7493e3a35b: Preparing [2020-10-21T21:23:52.810Z] 50644c29ef5a: Preparing [2020-10-21T21:23:52.810Z] 0f7493e3a35b: Waiting [2020-10-21T21:23:52.810Z] 1ba1431fe2ba: Waiting [2020-10-21T21:23:52.810Z] 50644c29ef5a: Waiting [2020-10-21T21:23:52.810Z] b028d3fea814: Layer already exists [2020-10-21T21:23:52.810Z] 7b0e12157fc0: Layer already exists [2020-10-21T21:23:52.810Z] e95b07443dcd: Layer already exists [2020-10-21T21:23:52.810Z] d4040ca4b1a0: Layer already exists [2020-10-21T21:23:52.810Z] 66e621a158ab: Layer already exists [2020-10-21T21:23:52.810Z] 0f7493e3a35b: Layer already exists [2020-10-21T21:23:52.810Z] 1ba1431fe2ba: Layer already exists [2020-10-21T21:23:52.810Z] 50644c29ef5a: Layer already exists [2020-10-21T21:23:53.076Z] 1.419.1: digest: sha256:a2731ff7e3b3f21fafd725d770fd18b5cbb798bb14fe6c81a5b9d6e7dcf2a2a3 size: 1996 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-21T21:23:53.261Z] ===================================================== [Pipeline] echo [2020-10-21T21:23:53.341Z] taggedImages: [2020-10-21T21:23:53.341Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [2020-10-21T21:23:53.341Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2020-10-21T21:23:53.341Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2020-10-21T21:23:53.341Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.419.1 [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-10-21T21:23:54.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-21T21:23:54.982Z] [2020-10-21T21:23:54.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:23:55.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-21T21:23:55.387Z] latest: Pulling from edgex-devops/edgex-klar [2020-10-21T21:23:55.387Z] e7c96db7181b: Pulling fs layer [2020-10-21T21:23:55.387Z] 1868ca2cb446: Pulling fs layer [2020-10-21T21:23:55.387Z] 136be5d0fe8e: Pulling fs layer [2020-10-21T21:23:55.387Z] 894bfe63afcb: Pulling fs layer [2020-10-21T21:23:55.387Z] 894bfe63afcb: Waiting [2020-10-21T21:23:55.387Z] 1868ca2cb446: Verifying Checksum [2020-10-21T21:23:55.387Z] 1868ca2cb446: Download complete [2020-10-21T21:23:55.387Z] 136be5d0fe8e: Verifying Checksum [2020-10-21T21:23:55.387Z] 136be5d0fe8e: Download complete [2020-10-21T21:23:55.665Z] e7c96db7181b: Verifying Checksum [2020-10-21T21:23:55.665Z] e7c96db7181b: Download complete [2020-10-21T21:23:55.665Z] 894bfe63afcb: Verifying Checksum [2020-10-21T21:23:55.665Z] 894bfe63afcb: Download complete [2020-10-21T21:23:55.934Z] e7c96db7181b: Pull complete [2020-10-21T21:23:55.934Z] 1868ca2cb446: Pull complete [2020-10-21T21:23:56.211Z] 136be5d0fe8e: Pull complete [2020-10-21T21:23:56.490Z] 894bfe63afcb: Pull complete [2020-10-21T21:23:56.490Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-10-21T21:23:56.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-21T21:23:56.490Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-10-21T21:23:56.685Z] prd-centos7-docker-4c-2g-7550 does not seem to be running inside a container [2020-10-21T21:23:56.774Z] $ 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-10-21T21:23:57.866Z] $ docker top 4f69fc278005ab405877d38286e7d4e725c69eef41c9a66d84ba568a5b96d0a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-21T21:23:58.452Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [2020-10-21T21:23:58.452Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-21T21:24:14.107Z] $ docker stop --time=1 4f69fc278005ab405877d38286e7d4e725c69eef41c9a66d84ba568a5b96d0a7 [2020-10-21T21:24:15.673Z] $ docker rm -f 4f69fc278005ab405877d38286e7d4e725c69eef41c9a66d84ba568a5b96d0a7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:24:16.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-21T21:24:16.250Z] . [Pipeline] withDockerContainer [2020-10-21T21:24:16.388Z] prd-centos7-docker-4c-2g-7550 does not seem to be running inside a container [2020-10-21T21:24:16.459Z] $ 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-10-21T21:24:17.369Z] $ docker top 98e05d77722ece535ed6a45951bfa326f6b92f9e4f76c8d512c198c280672e24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-21T21:24:17.932Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:f3dfea1e54b278c2e288d54bd30763ecc8ecb035 [2020-10-21T21:24:17.932Z] + tee [2020-10-21T21:24:17.932Z] clair timeout 1m0s [2020-10-21T21:24:17.932Z] docker timeout: 1m0s [2020-10-21T21:24:17.932Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-21T21:24:18.994Z] $ docker stop --time=1 98e05d77722ece535ed6a45951bfa326f6b92f9e4f76c8d512c198c280672e24 [2020-10-21T21:24:20.402Z] $ docker rm -f 98e05d77722ece535ed6a45951bfa326f6b92f9e4f76c8d512c198c280672e24 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-21T21:24:20.897Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo [2020-10-21T21:24:20.911Z] Generated HTML Table Report. Writing to /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports/clair_results_edgex-snyk-go_f3dfea1e54b278c2e288d54bd30763ecc8ecb035.html [Pipeline] writeFile [Pipeline] step [2020-10-21T21:24:20.979Z] 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-10-21T21:24:22.750Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:24:23.326Z] ---> package-listing.sh [2020-10-21T21:24:23.326Z] ++ facter osfamily [2020-10-21T21:24:23.326Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-21T21:24:23.326Z] + OS_FAMILY=redhat [2020-10-21T21:24:23.326Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2020-10-21T21:24:23.326Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-21T21:24:23.326Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-21T21:24:23.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-21T21:24:23.326Z] + PACKAGES=/tmp/packages_start.txt [2020-10-21T21:24:23.326Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2020-10-21T21:24:23.326Z] + PACKAGES=/tmp/packages_end.txt [2020-10-21T21:24:23.326Z] + case "${OS_FAMILY}" in [2020-10-21T21:24:23.326Z] + rpm -qa [2020-10-21T21:24:23.326Z] + sort [2020-10-21T21:24:26.663Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-21T21:24:26.663Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-21T21:24:26.663Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-21T21:24:26.663Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2020-10-21T21:24:26.663Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2020-10-21T21:24:26.663Z] + 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-10-21T21:24:26.678Z] 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-10-21T21:24:26.973Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:24:27.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T21:24:27.290Z] [2020-10-21T21:24:27.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:24:27.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T21:24:27.646Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-21T21:24:27.646Z] df20fa9351a1: Already exists [2020-10-21T21:24:27.646Z] 36b3adc4ff6f: Pulling fs layer [2020-10-21T21:24:27.646Z] 8ad3a11d3b57: Pulling fs layer [2020-10-21T21:24:27.646Z] 46f8f816bc3b: Pulling fs layer [2020-10-21T21:24:27.646Z] 93b61091891f: Pulling fs layer [2020-10-21T21:24:27.646Z] 93b9cdb0e59b: Pulling fs layer [2020-10-21T21:24:27.646Z] 5e14af77c1be: Pulling fs layer [2020-10-21T21:24:27.646Z] 01666e4c0597: Pulling fs layer [2020-10-21T21:24:27.646Z] aa168da1d23b: Pulling fs layer [2020-10-21T21:24:27.646Z] 93b61091891f: Waiting [2020-10-21T21:24:27.646Z] 93b9cdb0e59b: Waiting [2020-10-21T21:24:27.646Z] 5e14af77c1be: Waiting [2020-10-21T21:24:27.646Z] 01666e4c0597: Waiting [2020-10-21T21:24:27.646Z] aa168da1d23b: Waiting [2020-10-21T21:24:27.646Z] 46f8f816bc3b: Verifying Checksum [2020-10-21T21:24:27.646Z] 46f8f816bc3b: Download complete [2020-10-21T21:24:27.646Z] 36b3adc4ff6f: Download complete [2020-10-21T21:24:27.646Z] 93b9cdb0e59b: Verifying Checksum [2020-10-21T21:24:27.646Z] 93b9cdb0e59b: Download complete [2020-10-21T21:24:27.916Z] 5e14af77c1be: Download complete [2020-10-21T21:24:27.916Z] 93b61091891f: Download complete [2020-10-21T21:24:27.916Z] 01666e4c0597: Verifying Checksum [2020-10-21T21:24:27.916Z] 01666e4c0597: Download complete [2020-10-21T21:24:27.916Z] 36b3adc4ff6f: Pull complete [2020-10-21T21:24:28.179Z] 8ad3a11d3b57: Verifying Checksum [2020-10-21T21:24:28.179Z] 8ad3a11d3b57: Download complete [2020-10-21T21:24:29.132Z] 8ad3a11d3b57: Pull complete [2020-10-21T21:24:29.132Z] 46f8f816bc3b: Pull complete [2020-10-21T21:24:29.397Z] 93b61091891f: Pull complete [2020-10-21T21:24:30.350Z] aa168da1d23b: Download complete [2020-10-21T21:24:30.618Z] 93b9cdb0e59b: Pull complete [2020-10-21T21:24:30.885Z] 5e14af77c1be: Pull complete [2020-10-21T21:24:31.148Z] 01666e4c0597: Pull complete [2020-10-21T21:24:39.393Z] aa168da1d23b: Pull complete [2020-10-21T21:24:39.393Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-21T21:24:39.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T21:24:39.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-21T21:24:39.573Z] prd-centos7-docker-4c-2g-7550 does not seem to be running inside a container [2020-10-21T21:24:39.639Z] $ 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-10-21T21:24:42.472Z] $ docker top 96012744ea350aaa4f21f9f740cc659f5a621d229ddf0f180242036059915edd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T21:24:43.049Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-21T21:24:43.395Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-21T21:24:43.697Z] + ls /var/log/sa-host [2020-10-21T21:24:43.697Z] + sadf -c /var/log/sa-host/sa05 [2020-10-21T21:24:43.697Z] file_magic: OK [2020-10-21T21:24:43.697Z] HZ: Using current value: 100 [2020-10-21T21:24:43.697Z] file_header: OK [2020-10-21T21:24:43.697Z] 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-10-21T21:24:43.697Z] Statistics: [2020-10-21T21:24:43.697Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T21:24:43.697Z] File successfully converted to sysstat format version 12.2.1 [2020-10-21T21:24:43.697Z] + sadf -c /var/log/sa-host/sa21 [2020-10-21T21:24:43.697Z] file_magic: OK [2020-10-21T21:24:43.697Z] HZ: Using current value: 100 [2020-10-21T21:24:43.697Z] file_header: OK [2020-10-21T21:24:43.697Z] 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-10-21T21:24:43.697Z] Statistics: [2020-10-21T21:24:43.697Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T21:24:43.697Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-21T21:24:43.896Z] provisioning config files... [2020-10-21T21:24:43.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config9015618153903171602tmp [Pipeline] { [Pipeline] echo [2020-10-21T21:24:43.991Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:24:44.315Z] ---> create-netrc.sh [Pipeline] } [2020-10-21T21:24:44.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-21T21:24:44.467Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:24:44.798Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-21T21:24:44.815Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:24:45.130Z] ---> sudo-logs.sh [2020-10-21T21:24:45.130Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-21T21:24:45.141Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:24:45.440Z] ---> job-cost.sh [2020-10-21T21:24:45.440Z] lf-activate-venv: SKIPPING [2020-10-21T21:24:45.440Z] INFO: No Stack... [2020-10-21T21:24:46.835Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-21T21:24:47.097Z] INFO: Archiving Costs [Pipeline] echo [2020-10-21T21:24:47.111Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:24:47.414Z] ---> logs-deploy.sh [2020-10-21T21:24:47.414Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/6 [2020-10-21T21:24:47.414Z] INFO: archiving workspace using pattern(s): [2020-10-21T21:24:49.348Z] Archives upload complete. [2020-10-21T21:24:49.348Z] INFO: archiving logs to Nexus