Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7539 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 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 (snyk) > git config core.sparsecheckout # timeout=10 > git checkout -f 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 # timeout=10 Commit message: "Merge pull request #151 from ernestojeda/update-snyk-version" > git rev-list --no-walk 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:36:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:36:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:36:19 ========================================================= 20:36:19 EdgeX Global Pipelines Version Info 20:36:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:36:20 ------------------- 20:36:20 stable info: 20:36:20 ------------------- 20:36:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:36:20 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 20:36:20 Message: update stable to v1.0.144 20:36:21 ------------------- 20:36:21 experimental info: 20:36:21 ------------------- 20:36:21 Commited By: **** collab-it+edgex@linuxfoundation.org 20:36:21 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 20:36:21 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.419.1 [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 [Pipeline] echo 20:36:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19c1282 [Pipeline] echo 20:36:24 [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 20:36:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:28 + ls -al . 20:36:28 total 8 20:36:28 drwxrwxr-x. 3 jenkins jenkins 55 Oct 21 20:36 . 20:36:28 drwxrwxr-x. 4 jenkins jenkins 112 Oct 21 20:36 .. 20:36:28 -rw-rw-r--. 1 jenkins jenkins 667 Oct 21 20:36 Dockerfile 20:36:28 drwxrwxr-x. 8 jenkins jenkins 162 Oct 21 20:36 .git 20:36:28 -rw-rw-r--. 1 jenkins jenkins 896 Oct 21 20:36 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 20:36:28 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=19c1282fd942be570d79ff5a0a035d8e4c66d8d6 --label arch=amd64 . 20:36:29 Sending build context to Docker daemon 351.7kB 20:36:29 Step 1/13 : FROM golang:1.13-alpine 20:36:29 1.13-alpine: Pulling from library/golang 20:36:29 df20fa9351a1: Pulling fs layer 20:36:29 ed8968b2872e: Pulling fs layer 20:36:29 a92cc7c5fd73: Pulling fs layer 20:36:29 dd0b68742591: Pulling fs layer 20:36:29 fb4ae7ba1102: Pulling fs layer 20:36:29 dd0b68742591: Waiting 20:36:29 fb4ae7ba1102: Waiting 20:36:29 a92cc7c5fd73: Verifying Checksum 20:36:29 a92cc7c5fd73: Download complete 20:36:29 ed8968b2872e: Verifying Checksum 20:36:29 ed8968b2872e: Download complete 20:36:29 df20fa9351a1: Download complete 20:36:30 fb4ae7ba1102: Verifying Checksum 20:36:30 fb4ae7ba1102: Download complete 20:36:30 df20fa9351a1: Pull complete 20:36:30 ed8968b2872e: Pull complete 20:36:30 a92cc7c5fd73: Pull complete 20:36:32 dd0b68742591: Verifying Checksum 20:36:32 dd0b68742591: Download complete 20:36:38 dd0b68742591: Pull complete 20:36:38 fb4ae7ba1102: Pull complete 20:36:38 Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd 20:36:38 Status: Downloaded newer image for golang:1.13-alpine 20:36:38 ---> 5863598a981a 20:36:38 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:36:40 ---> Running in cccd1ecfa9c5 20:36:40 Removing intermediate container cccd1ecfa9c5 20:36:40 ---> d2ec70160aca 20:36:40 Step 3/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:40 ---> Running in d92b36756158 20:36:41 Removing intermediate container d92b36756158 20:36:41 ---> 850499aa38d7 20:36:41 Step 4/13 : ARG SNYK_VERSION=1.419.1 20:36:41 ---> Running in 3b3b6a422ade 20:36:42 Removing intermediate container 3b3b6a422ade 20:36:42 ---> 1fe7a603f6aa 20:36:42 Step 5/13 : ENV SNYK_VERSION=${SNYK_VERSION} 20:36:42 ---> Running in f505cc0cfa5b 20:36:42 Removing intermediate container f505cc0cfa5b 20:36:42 ---> 70f17ff715af 20:36:42 Step 6/13 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:36:42 latest: Pulling from library/docker 20:36:42 df20fa9351a1: Already exists 20:36:42 25ad7478873d: Pulling fs layer 20:36:42 4684f6177b5d: Pulling fs layer 20:36:42 206f78d23536: Pulling fs layer 20:36:42 cee0542293f3: Pulling fs layer 20:36:42 d951dd9fd09f: Pulling fs layer 20:36:42 dce9c88c04bd: Pulling fs layer 20:36:42 cee0542293f3: Waiting 20:36:42 d951dd9fd09f: Waiting 20:36:42 dce9c88c04bd: Waiting 20:36:42 4684f6177b5d: Verifying Checksum 20:36:42 4684f6177b5d: Download complete 20:36:42 cee0542293f3: Verifying Checksum 20:36:42 cee0542293f3: Download complete 20:36:43 206f78d23536: Retrying in 5 seconds 20:36:43 d951dd9fd09f: Verifying Checksum 20:36:43 d951dd9fd09f: Download complete 20:36:43 dce9c88c04bd: Verifying Checksum 20:36:43 dce9c88c04bd: Download complete 20:36:43 25ad7478873d: Download complete 20:36:43 25ad7478873d: Pull complete 20:36:43 4684f6177b5d: Pull complete 20:36:44 206f78d23536: Retrying in 4 seconds 20:36:45 206f78d23536: Retrying in 3 seconds 20:36:46 206f78d23536: Retrying in 2 seconds 20:36:47 206f78d23536: Retrying in 1 second 20:36:49 206f78d23536: Verifying Checksum 20:36:49 206f78d23536: Download complete 20:36:51 206f78d23536: Pull complete 20:36:51 cee0542293f3: Pull complete 20:36:51 d951dd9fd09f: Pull complete 20:36:51 dce9c88c04bd: Pull complete 20:36:51 Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 20:36:51 Status: Downloaded newer image for docker:latest 20:36:52 ---> ba9c55840ac6 20:36:52 Step 7/13 : RUN apk add --update --no-cache git gcc libc-dev 20:36:53 ---> Running in 4adb1d192a90 20:36:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:36:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:36:54 (1/18) Installing libgcc (9.3.0-r2) 20:36:54 (2/18) Installing libstdc++ (9.3.0-r2) 20:36:54 (3/18) Installing binutils (2.34-r1) 20:36:55 (4/18) Installing gmp (6.2.0-r0) 20:36:55 (5/18) Installing isl (0.18-r0) 20:36:56 (6/18) Installing libgomp (9.3.0-r2) 20:36:56 (7/18) Installing libatomic (9.3.0-r2) 20:36:56 (8/18) Installing libgphobos (9.3.0-r2) 20:36:56 (9/18) Installing mpfr4 (4.0.2-r4) 20:36:56 (10/18) Installing mpc1 (1.1.0-r1) 20:36:56 (11/18) Installing gcc (9.3.0-r2) 20:37:06 (12/18) Installing nghttp2-libs (1.41.0-r0) 20:37:06 (13/18) Installing libcurl (7.69.1-r1) 20:37:06 (14/18) Installing expat (2.2.9-r1) 20:37:06 (15/18) Installing pcre2 (10.35-r0) 20:37:06 (16/18) Installing git (2.26.2-r0) 20:37:07 (17/18) Installing musl-dev (1.1.24-r9) 20:37:08 (18/18) Installing libc-dev (0.7.2-r3) 20:37:09 Executing busybox-1.31.1-r16.trigger 20:37:09 OK: 156 MiB in 33 packages 20:37:12 Removing intermediate container 4adb1d192a90 20:37:12 ---> 59abcb31cf70 20:37:12 Step 8/13 : RUN wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk 20:37:12 ---> Running in 9ac06e97635b 20:37:12 Connecting to github.com (140.82.114.3:443) 20:37:12 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.176.99:443) 20:37:12 saving to '/usr/local/bin/snyk' 20:37:12 snyk 0% | | 917k 0:01:50 ETA 20:37:14 snyk 5% |* | 5099k 0:00:37 ETA 20:37:15 snyk 11% |*** | 11.6M 0:00:22 ETA 20:37:16 snyk 20% |****** | 20.6M 0:00:15 ETA 20:37:17 snyk 28% |********* | 28.2M 0:00:12 ETA 20:37:18 snyk 34% |*********** | 34.8M 0:00:11 ETA 20:37:19 snyk 41% |************* | 41.5M 0:00:09 ETA 20:37:19 snyk 49% |*************** | 49.1M 0:00:08 ETA 20:37:20 snyk 56% |****************** | 56.4M 0:00:06 ETA 20:37:22 snyk 64% |******************** | 64.3M 0:00:05 ETA 20:37:23 snyk 71% |********************** | 71.0M 0:00:04 ETA 20:37:24 snyk 80% |************************* | 80.1M 0:00:02 ETA 20:37:25 snyk 86% |*************************** | 86.0M 0:00:02 ETA 20:37:26 snyk 92% |***************************** | 92.5M 0:00:01 ETA 20:37:27 snyk 99% |******************************* | 99.1M 0:00:00 ETA 20:37:27 snyk 100% |********************************| 99.5M 0:00:00 ETA 20:37:27 '/usr/local/bin/snyk' saved 20:37:29 Removing intermediate container 9ac06e97635b 20:37:29 ---> c83ba8c1377d 20:37:29 Step 9/13 : ENV GO111MODULE=on 20:37:29 ---> Running in f40cbf973cc9 20:37:29 Removing intermediate container f40cbf973cc9 20:37:29 ---> b068bebc816f 20:37:29 Step 10/13 : ENTRYPOINT [ "snyk" ] 20:37:29 ---> Running in 73aa63fb64ea 20:37:29 Removing intermediate container 73aa63fb64ea 20:37:29 ---> c44bd3f6e5e8 20:37:29 Step 11/13 : CMD [ "monitor" ] 20:37:29 ---> Running in 734c4cd409e7 20:37:29 Removing intermediate container 734c4cd409e7 20:37:29 ---> 6017b3f0937c 20:37:29 Step 12/13 : LABEL arch=amd64 20:37:29 ---> Running in 3a7fb1ea6acb 20:37:30 Removing intermediate container 3a7fb1ea6acb 20:37:30 ---> 3a9106d7d083 20:37:30 Step 13/13 : LABEL git_sha=19c1282fd942be570d79ff5a0a035d8e4c66d8d6 20:37:30 ---> Running in 3b865a966299 20:37:30 Removing intermediate container 3b865a966299 20:37:30 ---> be4620962db1 20:37:30 [Warning] One or more build-args [ARCH] were not consumed 20:37:30 Successfully built be4620962db1 20:37:30 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 20:37:30 provisioning config files... 20:37:30 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config2220896202286643063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:31 ---> docker-login.sh 20:37:31 nexus3.edgexfoundry.org:10001 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10002 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10003 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10004 20:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:32 Configure a credential helper to remove this warning. See 20:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:32 20:37:32 Login Succeeded 20:37:32 docker.io 20:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:32 Configure a credential helper to remove this warning. See 20:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:32 20:37:32 Login Succeeded 20:37:32 ---> docker-login.sh ends [Pipeline] } 20:37:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:37:32 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 20:37:32 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 20:37:32 latest 20:37:32 snyk 20:37:32 1.419.1 20:37:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:37:33 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:19c1282fd942be570d79ff5a0a035d8e4c66d8d6 [Pipeline] isUnix [Pipeline] sh 20:37:33 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:19c1282fd942be570d79ff5a0a035d8e4c66d8d6 20:37:33 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 20:37:33 c400518f63ac: Preparing 20:37:33 b9f0d3547816: Preparing 20:37:33 158e7b2ae894: Preparing 20:37:33 b73bd68c2c5d: Preparing 20:37:33 39c40114257b: Preparing 20:37:33 08161ff6b353: Preparing 20:37:33 1ba1431fe2ba: Preparing 20:37:33 0f7493e3a35b: Preparing 20:37:33 50644c29ef5a: Preparing 20:37:33 1ba1431fe2ba: Waiting 20:37:33 0f7493e3a35b: Waiting 20:37:33 50644c29ef5a: Waiting 20:37:33 08161ff6b353: Waiting 20:37:33 b73bd68c2c5d: Pushed 20:37:33 39c40114257b: Pushed 20:37:33 1ba1431fe2ba: Layer already exists 20:37:33 0f7493e3a35b: Layer already exists 20:37:34 50644c29ef5a: Layer already exists 20:37:38 158e7b2ae894: Pushed 20:37:42 c400518f63ac: Pushed 20:37:48 b9f0d3547816: Pushed 20:38:14 08161ff6b353: Pushed 20:38:14 19c1282fd942be570d79ff5a0a035d8e4c66d8d6: digest: sha256:b712ad972e04192cd2dfc71b0887ab2a9418e2a08428fa224304c0f7e56cd325 size: 2208 [Pipeline] isUnix [Pipeline] sh 20:38:15 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh 20:38:15 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 20:38:15 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 20:38:15 c400518f63ac: Preparing 20:38:15 b9f0d3547816: Preparing 20:38:15 158e7b2ae894: Preparing 20:38:15 b73bd68c2c5d: Preparing 20:38:15 39c40114257b: Preparing 20:38:15 08161ff6b353: Preparing 20:38:15 1ba1431fe2ba: Preparing 20:38:15 0f7493e3a35b: Preparing 20:38:15 50644c29ef5a: Preparing 20:38:15 1ba1431fe2ba: Waiting 20:38:15 0f7493e3a35b: Waiting 20:38:15 50644c29ef5a: Waiting 20:38:15 08161ff6b353: Waiting 20:38:15 158e7b2ae894: Layer already exists 20:38:15 39c40114257b: Layer already exists 20:38:15 c400518f63ac: Layer already exists 20:38:15 b73bd68c2c5d: Layer already exists 20:38:15 b9f0d3547816: Layer already exists 20:38:15 08161ff6b353: Layer already exists 20:38:15 1ba1431fe2ba: Layer already exists 20:38:15 0f7493e3a35b: Layer already exists 20:38:15 50644c29ef5a: Layer already exists 20:38:15 latest: digest: sha256:b712ad972e04192cd2dfc71b0887ab2a9418e2a08428fa224304c0f7e56cd325 size: 2208 [Pipeline] isUnix [Pipeline] sh 20:38:15 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh 20:38:16 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 20:38:16 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 20:38:16 c400518f63ac: Preparing 20:38:16 b9f0d3547816: Preparing 20:38:16 158e7b2ae894: Preparing 20:38:16 b73bd68c2c5d: Preparing 20:38:16 39c40114257b: Preparing 20:38:16 08161ff6b353: Preparing 20:38:16 1ba1431fe2ba: Preparing 20:38:16 0f7493e3a35b: Preparing 20:38:16 50644c29ef5a: Preparing 20:38:16 08161ff6b353: Waiting 20:38:16 1ba1431fe2ba: Waiting 20:38:16 0f7493e3a35b: Waiting 20:38:16 50644c29ef5a: Waiting 20:38:16 c400518f63ac: Layer already exists 20:38:16 39c40114257b: Layer already exists 20:38:16 158e7b2ae894: Layer already exists 20:38:16 b9f0d3547816: Layer already exists 20:38:16 b73bd68c2c5d: Layer already exists 20:38:16 08161ff6b353: Layer already exists 20:38:16 1ba1431fe2ba: Layer already exists 20:38:16 50644c29ef5a: Layer already exists 20:38:16 0f7493e3a35b: Layer already exists 20:38:16 snyk: digest: sha256:b712ad972e04192cd2dfc71b0887ab2a9418e2a08428fa224304c0f7e56cd325 size: 2208 [Pipeline] isUnix [Pipeline] sh 20:38:16 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.419.1 [Pipeline] isUnix [Pipeline] sh 20:38:16 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.419.1 20:38:16 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 20:38:16 c400518f63ac: Preparing 20:38:16 b9f0d3547816: Preparing 20:38:16 158e7b2ae894: Preparing 20:38:16 b73bd68c2c5d: Preparing 20:38:16 39c40114257b: Preparing 20:38:16 08161ff6b353: Preparing 20:38:16 1ba1431fe2ba: Preparing 20:38:16 0f7493e3a35b: Preparing 20:38:16 50644c29ef5a: Preparing 20:38:16 0f7493e3a35b: Waiting 20:38:16 50644c29ef5a: Waiting 20:38:16 08161ff6b353: Waiting 20:38:16 1ba1431fe2ba: Waiting 20:38:16 b9f0d3547816: Layer already exists 20:38:16 39c40114257b: Layer already exists 20:38:16 c400518f63ac: Layer already exists 20:38:16 b73bd68c2c5d: Layer already exists 20:38:16 158e7b2ae894: Layer already exists 20:38:16 08161ff6b353: Layer already exists 20:38:16 1ba1431fe2ba: Layer already exists 20:38:16 0f7493e3a35b: Layer already exists 20:38:16 50644c29ef5a: Layer already exists 20:38:17 1.419.1: digest: sha256:b712ad972e04192cd2dfc71b0887ab2a9418e2a08428fa224304c0f7e56cd325 size: 2208 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:38:17 ===================================================== [Pipeline] echo 20:38:17 taggedImages: 20:38:17 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:19c1282fd942be570d79ff5a0a035d8e4c66d8d6 20:38:17 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 20:38:17 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 20:38:17 - 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 20:38:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:38:19 20:38:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 20:38:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:38:19 latest: Pulling from edgex-devops/edgex-klar 20:38:19 e7c96db7181b: Pulling fs layer 20:38:19 1868ca2cb446: Pulling fs layer 20:38:19 136be5d0fe8e: Pulling fs layer 20:38:19 894bfe63afcb: Pulling fs layer 20:38:19 894bfe63afcb: Waiting 20:38:19 1868ca2cb446: Download complete 20:38:19 136be5d0fe8e: Download complete 20:38:20 e7c96db7181b: Verifying Checksum 20:38:20 e7c96db7181b: Download complete 20:38:20 894bfe63afcb: Verifying Checksum 20:38:20 894bfe63afcb: Download complete 20:38:20 e7c96db7181b: Pull complete 20:38:20 1868ca2cb446: Pull complete 20:38:20 136be5d0fe8e: Pull complete 20:38:21 894bfe63afcb: Pull complete 20:38:21 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 20:38:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:38:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 20:38:21 prd-centos7-docker-4c-2g-7539 does not seem to be running inside a container 20:38:21 $ 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 20:38:22 $ docker top 6e3d9e71f71ca3ea49fd5d739e470c6b5cbbb8f40aa80a1c9f08007e7a62309f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:22 + + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:19c1282fd942be570d79ff5a0a035d8e4c66d8d6tee 20:38:22 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:38:41 $ docker stop --time=1 6e3d9e71f71ca3ea49fd5d739e470c6b5cbbb8f40aa80a1c9f08007e7a62309f 20:38:42 $ docker rm -f 6e3d9e71f71ca3ea49fd5d739e470c6b5cbbb8f40aa80a1c9f08007e7a62309f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:38:43 . [Pipeline] withDockerContainer 20:38:43 prd-centos7-docker-4c-2g-7539 does not seem to be running inside a container 20:38:43 $ 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 20:38:44 $ docker top 3e7244796a8590665393425e04a9959e07a033e0d1bb31a97396ca4fb64b16b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:45 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:19c1282fd942be570d79ff5a0a035d8e4c66d8d6 20:38:45 + tee 20:38:45 clair timeout 1m0s 20:38:45 docker timeout: 1m0s 20:38:45 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:38:46 $ docker stop --time=1 3e7244796a8590665393425e04a9959e07a033e0d1bb31a97396ca4fb64b16b0 20:38:47 $ docker rm -f 3e7244796a8590665393425e04a9959e07a033e0d1bb31a97396ca4fb64b16b0 [Pipeline] // withDockerContainer [Pipeline] sh 20:38:48 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo 20:38:48 Generated HTML Table Report. Writing to /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports/clair_results_edgex-snyk-go_19c1282fd942be570d79ff5a0a035d8e4c66d8d6.html [Pipeline] writeFile [Pipeline] step 20:38:48 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 20:38:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:38:50 ---> package-listing.sh 20:38:50 ++ facter osfamily 20:38:50 ++ tr '[:upper:]' '[:lower:]' 20:38:50 + OS_FAMILY=redhat 20:38:50 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 20:38:50 + START_PACKAGES=/tmp/packages_start.txt 20:38:50 + END_PACKAGES=/tmp/packages_end.txt 20:38:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:38:50 + PACKAGES=/tmp/packages_start.txt 20:38:50 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 20:38:50 + PACKAGES=/tmp/packages_end.txt 20:38:50 + case "${OS_FAMILY}" in 20:38:50 + rpm -qa 20:38:50 + sort 20:38:54 + '[' -f /tmp/packages_start.txt ']' 20:38:54 + '[' -f /tmp/packages_end.txt ']' 20:38:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:38:54 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 20:38:54 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 20:38:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 20:38:54 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 20:38:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:38:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:38:54 20:38:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:38:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:38:55 alpine: Pulling from edgex-lftools-log-publisher 20:38:55 df20fa9351a1: Already exists 20:38:55 36b3adc4ff6f: Pulling fs layer 20:38:55 8ad3a11d3b57: Pulling fs layer 20:38:55 46f8f816bc3b: Pulling fs layer 20:38:55 93b61091891f: Pulling fs layer 20:38:55 93b9cdb0e59b: Pulling fs layer 20:38:55 5e14af77c1be: Pulling fs layer 20:38:55 01666e4c0597: Pulling fs layer 20:38:55 aa168da1d23b: Pulling fs layer 20:38:55 93b61091891f: Waiting 20:38:55 01666e4c0597: Waiting 20:38:55 93b9cdb0e59b: Waiting 20:38:55 5e14af77c1be: Waiting 20:38:55 aa168da1d23b: Waiting 20:38:55 46f8f816bc3b: Download complete 20:38:55 36b3adc4ff6f: Verifying Checksum 20:38:55 36b3adc4ff6f: Download complete 20:38:55 93b9cdb0e59b: Verifying Checksum 20:38:55 93b9cdb0e59b: Download complete 20:38:55 5e14af77c1be: Download complete 20:38:55 93b61091891f: Verifying Checksum 20:38:55 93b61091891f: Download complete 20:38:55 01666e4c0597: Verifying Checksum 20:38:55 01666e4c0597: Download complete 20:38:55 36b3adc4ff6f: Pull complete 20:38:56 8ad3a11d3b57: Verifying Checksum 20:38:56 8ad3a11d3b57: Download complete 20:38:57 8ad3a11d3b57: Pull complete 20:38:57 46f8f816bc3b: Pull complete 20:38:57 93b61091891f: Pull complete 20:38:57 93b9cdb0e59b: Pull complete 20:38:58 aa168da1d23b: Verifying Checksum 20:38:58 aa168da1d23b: Download complete 20:38:58 5e14af77c1be: Pull complete 20:38:58 01666e4c0597: Pull complete 20:39:07 aa168da1d23b: Pull complete 20:39:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:39:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:39:07 prd-centos7-docker-4c-2g-7539 does not seem to be running inside a container 20:39:07 $ 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 20:39:10 $ docker top a08a9ee6040cd6790393bf368087e783f9d2923a5eb1408753440bd0ab98228f -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:10 + touch /tmp/pre-build-complete [Pipeline] sh 20:39:11 + mkdir -p /var/log/sa [Pipeline] sh 20:39:11 + ls /var/log/sa-host 20:39:11 + sadf -c /var/log/sa-host/sa05 20:39:11 file_magic: OK 20:39:11 HZ: Using current value: 100 20:39:11 file_header: OK 20:39:11 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 20:39:11 Statistics: 20:39:11 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:39:11 File successfully converted to sysstat format version 12.2.1 20:39:11 + sadf -c /var/log/sa-host/sa21 20:39:11 file_magic: OK 20:39:11 HZ: Using current value: 100 20:39:11 file_header: OK 20:39:11 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 20:39:11 Statistics: 20:39:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:39:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:11 provisioning config files... 20:39:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config8770396443325167068tmp [Pipeline] { [Pipeline] echo 20:39:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:39:12 ---> create-netrc.sh [Pipeline] } 20:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:39:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:39:12 ---> python-tools-install.sh [Pipeline] echo 20:39:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:39:12 ---> sudo-logs.sh 20:39:12 Archiving 'sudo' log.. [Pipeline] echo 20:39:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:39:13 ---> job-cost.sh 20:39:13 lf-activate-venv: SKIPPING 20:39:13 INFO: No Stack... 20:39:15 INFO: Retrieving Pricing Info for: v1-standard-2 20:39:15 INFO: Archiving Costs [Pipeline] echo 20:39:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:39:15 ---> logs-deploy.sh 20:39:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/5 20:39:15 INFO: archiving workspace using pattern(s): 20:39:17 Archives upload complete. 20:39:17 INFO: archiving logs to Nexus 20:39:18 ---> uname -a: 20:39:18 Linux prd-centos7-docker-4c-2g-7539.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 20:39:18 20:39:18 20:39:18 ---> lscpu: 20:39:18 Architecture: x86_64 20:39:18 CPU op-mode(s): 32-bit, 64-bit 20:39:18 Byte Order: Little Endian 20:39:18 Address sizes: 40 bits physical, 48 bits virtual 20:39:18 CPU(s): 4 20:39:18 On-line CPU(s) list: 0-3 20:39:18 Thread(s) per core: 1 20:39:18 Core(s) per socket: 1 20:39:18 Socket(s): 4 20:39:18 NUMA node(s): 1 20:39:18 Vendor ID: GenuineIntel 20:39:18 CPU family: 6 20:39:18 Model: 44 20:39:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:39:18 Stepping: 1 20:39:18 CPU MHz: 2933.438 20:39:18 BogoMIPS: 5866.87 20:39:18 Virtualization: VT-x 20:39:18 Hypervisor vendor: KVM 20:39:18 Virtualization type: full 20:39:18 L1d cache: 128 KiB 20:39:18 L1i cache: 128 KiB 20:39:18 L2 cache: 16 MiB 20:39:18 L3 cache: 64 MiB 20:39:18 NUMA node0 CPU(s): 0-3 20:39:18 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:39:18 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:39:18 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:39:18 Vulnerability Meltdown: Mitigation; PTI 20:39:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:39:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:39:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:39:18 Vulnerability Tsx async abort: Not affected 20:39:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:39:18 20:39:18 20:39:18 ---> nproc: 20:39:18 4 20:39:18 20:39:18 20:39:18 ---> df -h: 20:39:18 Filesystem Size Used Available Use% Mounted on 20:39:18 overlay 50.0G 8.0G 42.0G 16% / 20:39:18 tmpfs 64.0M 0 64.0M 0% /dev 20:39:18 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:39:18 shm 64.0M 0 64.0M 0% /dev/shm 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /facter-os 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /etc/resolv.conf 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /etc/hostname 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /etc/hosts 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /w/workspace/dgexfoundry_ci-build-images_snyk@tmp 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /var/log/sa-host 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /var/log/secure 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /var/log/auth.log 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /run/cloud-init/result.json 20:39:18 /dev/vda1 50.0G 8.0G 42.0G 16% /w/workspace/dgexfoundry_ci-build-images_snyk 20:39:18 20:39:18 20:39:18 ---> free -m: 20:39:18 total used free shared buff/cache available 20:39:18 Mem: 1837 688 141 0 1006 1050 20:39:18 Swap: 1023 2 1021 20:39:18 20:39:18 20:39:18 ---> ip addr: 20:39:18 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:39:18 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:39:18 inet 127.0.0.1/8 scope host lo 20:39:18 valid_lft forever preferred_lft forever 20:39:18 inet6 ::1/128 scope host 20:39:18 valid_lft forever preferred_lft forever 20:39:18 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:39:18 link/ether fa:16:3e:0b:18:d6 brd ff:ff:ff:ff:ff:ff 20:39:18 inet 10.30.122.162/23 brd 10.30.123.255 scope global dynamic eth0 20:39:18 valid_lft 86190sec preferred_lft 86190sec 20:39:18 inet6 fe80::f816:3eff:fe0b:18d6/64 scope link 20:39:18 valid_lft forever preferred_lft forever 20:39:18 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:39:18 link/ether 02:42:53:f8:42:1b brd ff:ff:ff:ff:ff:ff 20:39:18 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:39:18 valid_lft forever preferred_lft forever 20:39:18 inet6 fe80::42:53ff:fef8:421b/64 scope link 20:39:18 valid_lft forever preferred_lft forever 20:39:18 20:39:18 20:39:18 ---> sar -b -r -n DEV: 20:39:18 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/21/20 _x86_64_ (4 CPU) 20:39:18 20:39:18 20:35:25 LINUX RESTART (4 CPU) 20:39:18 20:39:18 20:36:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:39:18 20:37:02 168.39 66.04 102.35 0.00 9506.82 33445.16 0.00 20:39:18 20:38:01 286.49 241.66 44.84 0.00 13571.16 17636.12 0.00 20:39:18 20:39:01 171.54 131.82 39.71 0.00 8052.57 7610.03 0.00 20:39:18 Average: 208.36 145.96 62.40 0.00 10358.55 19574.07 0.00 20:39:18 20:39:18 20:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:39:18 20:37:02 69332 0 610956 32.47 2620 1198648 1417944 48.39 492028 1130332 84452 20:39:18 20:38:01 78732 0 635616 33.78 2596 1164612 1316036 44.91 704924 909412 32 20:39:18 20:39:01 77328 0 700932 37.25 1500 1101796 1535368 52.40 768676 836672 105104 20:39:18 Average: 75131 0 649168 34.50 2239 1155019 1423116 48.57 655209 958805 63196 20:39:18 20:39:18 20:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:39:18 20:37:02 veth8e08514 68.37 87.10 4.55 513.14 0.00 0.00 0.00 0.00 20:39:18 20:37:02 eth0 997.72 585.22 4521.66 97.96 0.00 0.00 0.00 0.00 20:39:18 20:37:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:18 20:37:02 docker0 68.37 87.02 3.61 513.13 0.00 0.00 0.00 0.00 20:39:18 20:38:01 eth0 819.23 806.72 2278.78 4032.88 0.00 0.00 0.00 0.00 20:39:18 20:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:18 20:38:01 docker0 272.43 312.07 11.76 2208.46 0.00 0.00 0.00 0.00 20:39:18 20:39:01 eth0 288.24 257.43 2319.77 162.25 0.00 0.00 0.00 0.00 20:39:18 20:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:18 20:39:01 docker0 1.01 0.96 0.29 0.49 0.00 0.00 0.00 0.00 20:39:18 Average: eth0 701.04 548.31 3044.36 1416.16 0.00 0.00 0.00 0.00 20:39:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:18 Average: docker0 113.03 132.33 5.18 899.91 0.00 0.00 0.00 0.00 20:39:18 20:39:18 20:39:18 ---> sar -P ALL: 20:39:18 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/21/20 _x86_64_ (4 CPU) 20:39:18 20:39:18 20:35:25 LINUX RESTART (4 CPU) 20:39:18 20:39:18 20:36:01 CPU %user %nice %system %iowait %steal %idle 20:39:18 20:37:02 all 18.01 0.00 7.50 2.58 0.19 71.72 20:39:18 20:37:02 0 18.82 0.00 8.30 3.12 0.20 69.55 20:39:18 20:37:02 1 16.25 0.00 7.78 3.66 0.19 72.13 20:39:18 20:37:02 2 18.97 0.00 6.34 2.28 0.20 72.20 20:39:18 20:37:02 3 18.01 0.00 7.57 1.27 0.15 73.00 20:39:18 20:38:01 all 22.67 0.00 3.49 2.84 0.16 70.84 20:39:18 20:38:01 0 22.05 0.00 4.12 2.65 0.10 71.07 20:39:18 20:38:01 1 21.90 0.00 3.43 3.23 0.12 71.32 20:39:18 20:38:01 2 23.44 0.00 3.29 2.88 0.21 70.19 20:39:18 20:38:01 3 23.28 0.00 3.11 2.61 0.21 70.78 20:39:18 20:39:01 all 5.91 0.00 3.23 3.14 0.05 87.67 20:39:18 20:39:01 0 5.17 0.00 3.13 1.89 0.07 89.74 20:39:18 20:39:01 1 6.82 0.00 3.73 2.84 0.07 86.54 20:39:18 20:39:01 2 5.84 0.00 2.94 3.26 0.02 87.94 20:39:18 20:39:01 3 5.82 0.00 3.10 4.57 0.07 86.45 20:39:18 Average: all 15.47 0.00 4.74 2.86 0.13 76.80 20:39:18 Average: 0 15.27 0.00 5.18 2.55 0.13 76.87 20:39:18 Average: 1 14.94 0.00 4.98 3.24 0.12 76.71 20:39:18 Average: 2 16.03 0.00 4.19 2.81 0.14 76.82 20:39:18 Average: 3 15.65 0.00 4.60 2.82 0.14 76.79 20:39:18 20:39:18 20:39:18