Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c441fc6225a9a6c983e209cd6613717029e7c043 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.410.4], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.410.4 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-10318 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 c441fc6225a9a6c983e209cd6613717029e7c043 (snyk) > git config core.sparsecheckout # timeout=10 > git checkout -f c441fc6225a9a6c983e209cd6613717029e7c043 # timeout=10 Commit message: "Merge pull request #154 from ernestojeda/add-snyk-html" > git rev-list --no-walk d827d8a7942ec005abe6f37d4a954436cd658b9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:11:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:11:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:11:43 ========================================================= 19:11:43 EdgeX Global Pipelines Version Info 19:11:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:11:45 ------------------- 19:11:45 stable info: 19:11:45 ------------------- 19:11:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:11:45 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 19:11:45 Message: update stable to v1.0.152 19:11:46 ------------------- 19:11:46 experimental info: 19:11:46 ------------------- 19:11:46 Commited By: **** collab-it+edgex@linuxfoundation.org 19:11:46 Commit SHA: a4834499a055e57d3c2bb779be3f851bfcb1687c 19:11:46 Message: update experimental to v1.0.155 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:11:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 19:11:46 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 19:11:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 19:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 19:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo 19:11:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 19:11:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 19:11:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 19:11:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c441fc6225a9a6c983e209cd6613717029e7c043 [Pipeline] echo 19:11:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c441fc6 [Pipeline] echo 19:11:48 [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 19:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:11:54 + ls -al . 19:11:54 total 8 19:11:54 drwxrwxr-x. 3 jenkins jenkins 55 Nov 2 19:11 . 19:11:54 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 19:11 .. 19:11:54 -rw-rw-r--. 1 jenkins jenkins 717 Nov 2 19:11 Dockerfile 19:11:54 drwxrwxr-x. 8 jenkins jenkins 162 Nov 2 19:11 .git 19:11:54 -rw-rw-r--. 1 jenkins jenkins 896 Nov 2 19:11 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 19:11:54 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=c441fc6225a9a6c983e209cd6613717029e7c043 --label arch=amd64 . 19:11:54 Sending build context to Docker daemon 356.9kB 19:11:55 Step 1/12 : FROM golang:1.15-alpine 19:11:55 1.15-alpine: Pulling from library/golang 19:11:55 188c0c94c7c5: Pulling fs layer 19:11:55 0ef7d3d256c8: Pulling fs layer 19:11:55 de9db76c5a1d: Pulling fs layer 19:11:55 0eba1c9be4d2: Pulling fs layer 19:11:55 0d57e429df01: Pulling fs layer 19:11:55 0eba1c9be4d2: Waiting 19:11:55 0d57e429df01: Waiting 19:11:55 de9db76c5a1d: Verifying Checksum 19:11:55 de9db76c5a1d: Download complete 19:11:55 0ef7d3d256c8: Verifying Checksum 19:11:55 0ef7d3d256c8: Download complete 19:11:55 188c0c94c7c5: Verifying Checksum 19:11:55 188c0c94c7c5: Download complete 19:11:56 0d57e429df01: Verifying Checksum 19:11:56 0d57e429df01: Download complete 19:11:56 188c0c94c7c5: Pull complete 19:11:56 0ef7d3d256c8: Pull complete 19:11:56 de9db76c5a1d: Pull complete 19:11:57 0eba1c9be4d2: Verifying Checksum 19:11:57 0eba1c9be4d2: Download complete 19:12:03 0eba1c9be4d2: Pull complete 19:12:03 0d57e429df01: Pull complete 19:12:03 Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c 19:12:03 Status: Downloaded newer image for golang:1.15-alpine 19:12:03 ---> d099254f5fc3 19:12:03 Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:12:06 ---> Running in a92fa69a0d22 19:12:06 Removing intermediate container a92fa69a0d22 19:12:06 ---> 96c2881b5fb2 19:12:06 Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:12:06 ---> Running in 08bd941540e1 19:12:07 Removing intermediate container 08bd941540e1 19:12:07 ---> 2483f01fe1d1 19:12:07 Step 4/12 : ARG SNYK_VERSION=1.410.4 19:12:07 ---> Running in 961694d214fa 19:12:07 Removing intermediate container 961694d214fa 19:12:07 ---> 5844cc57f6ba 19:12:07 Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} 19:12:07 ---> Running in c7c3e5505ad0 19:12:07 Removing intermediate container c7c3e5505ad0 19:12:07 ---> 23964005f086 19:12:07 Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 19:12:08 latest: Pulling from library/docker 19:12:08 188c0c94c7c5: Already exists 19:12:08 0c7c675703d6: Pulling fs layer 19:12:08 cc8c12a437cb: Pulling fs layer 19:12:08 c5dafad2182a: Pulling fs layer 19:12:08 5aa711733414: Pulling fs layer 19:12:08 058f73b55e4b: Pulling fs layer 19:12:08 8c9c664faf12: Pulling fs layer 19:12:08 5aa711733414: Waiting 19:12:08 058f73b55e4b: Waiting 19:12:08 8c9c664faf12: Waiting 19:12:08 cc8c12a437cb: Verifying Checksum 19:12:08 cc8c12a437cb: Download complete 19:12:08 0c7c675703d6: Verifying Checksum 19:12:08 0c7c675703d6: Download complete 19:12:08 5aa711733414: Download complete 19:12:08 058f73b55e4b: Verifying Checksum 19:12:08 058f73b55e4b: Download complete 19:12:08 8c9c664faf12: Verifying Checksum 19:12:08 8c9c664faf12: Download complete 19:12:08 0c7c675703d6: Pull complete 19:12:09 cc8c12a437cb: Pull complete 19:12:09 c5dafad2182a: Verifying Checksum 19:12:09 c5dafad2182a: Download complete 19:12:11 c5dafad2182a: Pull complete 19:12:11 5aa711733414: Pull complete 19:12:11 058f73b55e4b: Pull complete 19:12:11 8c9c664faf12: Pull complete 19:12:11 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 19:12:12 Status: Downloaded newer image for docker:latest 19:12:13 ---> dc1f7a99ff49 19:12:13 Step 7/12 : RUN apk add --update --no-cache git gcc libc-dev expect nodejs npm && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk && npm i -g snyk-to-html 19:12:13 ---> Running in 113cd93bb179 19:12:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:12:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:12:15 (1/25) Installing tcl (8.6.10-r0) 19:12:15 (2/25) Installing expect (5.45.4-r0) 19:12:15 (3/25) Installing libgcc (9.3.0-r2) 19:12:15 (4/25) Installing libstdc++ (9.3.0-r2) 19:12:16 (5/25) Installing binutils (2.34-r1) 19:12:17 (6/25) Installing gmp (6.2.0-r0) 19:12:17 (7/25) Installing isl (0.18-r0) 19:12:17 (8/25) Installing libgomp (9.3.0-r2) 19:12:17 (9/25) Installing libatomic (9.3.0-r2) 19:12:17 (10/25) Installing libgphobos (9.3.0-r2) 19:12:18 (11/25) Installing mpfr4 (4.0.2-r4) 19:12:18 (12/25) Installing mpc1 (1.1.0-r1) 19:12:18 (13/25) Installing gcc (9.3.0-r2) 19:12:28 (14/25) Installing nghttp2-libs (1.41.0-r0) 19:12:28 (15/25) Installing libcurl (7.69.1-r1) 19:12:28 (16/25) Installing expat (2.2.9-r1) 19:12:28 (17/25) Installing pcre2 (10.35-r0) 19:12:28 (18/25) Installing git (2.26.2-r0) 19:12:31 (19/25) Installing musl-dev (1.1.24-r9) 19:12:31 (20/25) Installing libc-dev (0.7.2-r3) 19:12:32 (21/25) Installing brotli-libs (1.0.9-r1) 19:12:32 (22/25) Installing c-ares (1.16.1-r0) 19:12:32 (23/25) Installing libuv (1.38.1-r0) 19:12:32 (24/25) Installing nodejs (12.18.4-r0) 19:12:36 (25/25) Installing npm (12.18.4-r0) 19:12:37 Executing busybox-1.31.1-r19.trigger 19:12:37 OK: 221 MiB in 40 packages 19:12:37 Connecting to github.com (140.82.112.3:443) 19:12:37 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.239.163:443) 19:12:37 saving to '/usr/local/bin/snyk' 19:12:39 snyk 9% |*** | 9.8M 0:00:09 ETA 19:12:40 snyk 22% |******* | 22.7M 0:00:06 ETA 19:12:40 snyk 39% |************ | 38.9M 0:00:04 ETA 19:12:41 snyk 58% |****************** | 58.1M 0:00:02 ETA 19:12:42 snyk 80% |************************* | 80.4M 0:00:01 ETA 19:12:43 snyk 100% |********************************| 99.4M 0:00:00 ETA 19:12:45 '/usr/local/bin/snyk' saved 19:12:49 /usr/bin/snyk-to-html -> /usr/lib/node_modules/snyk-to-html/dist/index.js 19:12:49 + snyk-to-html@1.14.0 19:12:49 added 22 packages from 52 contributors in 2.716s 19:13:01 Removing intermediate container 113cd93bb179 19:13:01 ---> 1e7181c7eac6 19:13:01 Step 8/12 : ENV GO111MODULE=on 19:13:01 ---> Running in bb66333ccfb6 19:13:01 Removing intermediate container bb66333ccfb6 19:13:01 ---> fd858a048aed 19:13:01 Step 9/12 : ENTRYPOINT [ "snyk" ] 19:13:01 ---> Running in ffcac0edcaed 19:13:01 Removing intermediate container ffcac0edcaed 19:13:01 ---> 0622ad5b1d25 19:13:01 Step 10/12 : CMD [ "monitor" ] 19:13:01 ---> Running in 3b565b754645 19:13:01 Removing intermediate container 3b565b754645 19:13:01 ---> aa16a7f9b48b 19:13:01 Step 11/12 : LABEL arch=amd64 19:13:01 ---> Running in 69573e9b6a4c 19:13:01 Removing intermediate container 69573e9b6a4c 19:13:01 ---> 00d5d67c60d3 19:13:01 Step 12/12 : LABEL git_sha=c441fc6225a9a6c983e209cd6613717029e7c043 19:13:01 ---> Running in 11e9e126c92d 19:13:01 Removing intermediate container 11e9e126c92d 19:13:01 ---> e52d9b94a435 19:13:01 [Warning] One or more build-args [ARCH] were not consumed 19:13:01 Successfully built e52d9b94a435 19:13:01 Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:13:02 provisioning config files... 19:13:02 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3064192135168306588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:03 ---> docker-login.sh 19:13:03 nexus3.edgexfoundry.org:10001 19:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:03 Configure a credential helper to remove this warning. See 19:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:03 19:13:03 Login Succeeded 19:13:03 nexus3.edgexfoundry.org:10002 19:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:03 Configure a credential helper to remove this warning. See 19:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:03 19:13:03 Login Succeeded 19:13:03 nexus3.edgexfoundry.org:10003 19:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:03 Configure a credential helper to remove this warning. See 19:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:03 19:13:03 Login Succeeded 19:13:03 nexus3.edgexfoundry.org:10004 19:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:04 Configure a credential helper to remove this warning. See 19:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:04 19:13:04 Login Succeeded 19:13:04 docker.io 19:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:04 Configure a credential helper to remove this warning. See 19:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:04 19:13:04 Login Succeeded 19:13:04 ---> docker-login.sh ends [Pipeline] } 19:13:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:13:04 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 19:13:04 c441fc6225a9a6c983e209cd6613717029e7c043 19:13:04 latest 19:13:04 snyk 19:13:04 1.410.4 19:13:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:13:05 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 [Pipeline] isUnix [Pipeline] sh 19:13:05 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 19:13:05 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:13:05 efc79c766d66: Preparing 19:13:05 61782e91ea9a: Preparing 19:13:05 94943d4431f8: Preparing 19:13:05 b479241e0e6f: Preparing 19:13:05 f6773636974f: Preparing 19:13:05 27fc4e020136: Preparing 19:13:05 c07f8a820edc: Preparing 19:13:05 ace0eda3e3be: Preparing 19:13:05 27fc4e020136: Waiting 19:13:05 c07f8a820edc: Waiting 19:13:05 ace0eda3e3be: Waiting 19:13:05 f6773636974f: Layer already exists 19:13:05 b479241e0e6f: Layer already exists 19:13:05 27fc4e020136: Layer already exists 19:13:05 c07f8a820edc: Layer already exists 19:13:05 ace0eda3e3be: Layer already exists 19:13:05 94943d4431f8: Pushed 19:13:10 61782e91ea9a: Pushed 19:13:32 efc79c766d66: Pushed 19:13:32 c441fc6225a9a6c983e209cd6613717029e7c043: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] isUnix [Pipeline] sh 19:13:33 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh 19:13:33 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 19:13:33 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:13:33 efc79c766d66: Preparing 19:13:33 61782e91ea9a: Preparing 19:13:33 94943d4431f8: Preparing 19:13:33 b479241e0e6f: Preparing 19:13:33 f6773636974f: Preparing 19:13:33 27fc4e020136: Preparing 19:13:33 c07f8a820edc: Preparing 19:13:33 ace0eda3e3be: Preparing 19:13:33 27fc4e020136: Waiting 19:13:33 c07f8a820edc: Waiting 19:13:33 ace0eda3e3be: Waiting 19:13:33 b479241e0e6f: Layer already exists 19:13:33 94943d4431f8: Layer already exists 19:13:33 efc79c766d66: Layer already exists 19:13:33 f6773636974f: Layer already exists 19:13:33 61782e91ea9a: Layer already exists 19:13:33 c07f8a820edc: Layer already exists 19:13:33 ace0eda3e3be: Layer already exists 19:13:33 27fc4e020136: Layer already exists 19:13:33 latest: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] isUnix [Pipeline] sh 19:13:33 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh 19:13:34 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 19:13:34 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:13:34 efc79c766d66: Preparing 19:13:34 61782e91ea9a: Preparing 19:13:34 94943d4431f8: Preparing 19:13:34 b479241e0e6f: Preparing 19:13:34 f6773636974f: Preparing 19:13:34 27fc4e020136: Preparing 19:13:34 c07f8a820edc: Preparing 19:13:34 ace0eda3e3be: Preparing 19:13:34 27fc4e020136: Waiting 19:13:34 c07f8a820edc: Waiting 19:13:34 ace0eda3e3be: Waiting 19:13:34 f6773636974f: Layer already exists 19:13:34 94943d4431f8: Layer already exists 19:13:34 61782e91ea9a: Layer already exists 19:13:34 b479241e0e6f: Layer already exists 19:13:34 efc79c766d66: Layer already exists 19:13:34 27fc4e020136: Layer already exists 19:13:34 c07f8a820edc: Layer already exists 19:13:34 ace0eda3e3be: Layer already exists 19:13:34 snyk: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] isUnix [Pipeline] sh 19:13:34 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:13:34 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:13:34 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:13:34 efc79c766d66: Preparing 19:13:34 61782e91ea9a: Preparing 19:13:34 94943d4431f8: Preparing 19:13:34 b479241e0e6f: Preparing 19:13:34 f6773636974f: Preparing 19:13:34 27fc4e020136: Preparing 19:13:34 c07f8a820edc: Preparing 19:13:34 ace0eda3e3be: Preparing 19:13:34 ace0eda3e3be: Waiting 19:13:34 27fc4e020136: Waiting 19:13:34 c07f8a820edc: Waiting 19:13:34 efc79c766d66: Layer already exists 19:13:34 61782e91ea9a: Layer already exists 19:13:34 f6773636974f: Layer already exists 19:13:34 b479241e0e6f: Layer already exists 19:13:34 94943d4431f8: Layer already exists 19:13:34 c07f8a820edc: Layer already exists 19:13:34 27fc4e020136: Layer already exists 19:13:34 ace0eda3e3be: Layer already exists 19:13:34 1.410.4: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:13:35 ===================================================== [Pipeline] echo 19:13:35 taggedImages: 19:13:35 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 19:13:35 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 19:13:35 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 19:13:35 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:13:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:13:37 19:13:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 19:13:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:13:37 latest: Pulling from edgex-devops/edgex-klar 19:13:37 e7c96db7181b: Pulling fs layer 19:13:37 1868ca2cb446: Pulling fs layer 19:13:37 136be5d0fe8e: Pulling fs layer 19:13:37 894bfe63afcb: Pulling fs layer 19:13:37 894bfe63afcb: Waiting 19:13:37 1868ca2cb446: Verifying Checksum 19:13:37 1868ca2cb446: Download complete 19:13:37 136be5d0fe8e: Download complete 19:13:37 e7c96db7181b: Verifying Checksum 19:13:37 e7c96db7181b: Download complete 19:13:37 894bfe63afcb: Verifying Checksum 19:13:37 894bfe63afcb: Download complete 19:13:37 e7c96db7181b: Pull complete 19:13:37 1868ca2cb446: Pull complete 19:13:37 136be5d0fe8e: Pull complete 19:13:38 894bfe63afcb: Pull complete 19:13:38 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 19:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:13:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 19:13:38 prd-centos7-docker-4c-2g-10318 does not seem to be running inside a container 19:13:38 $ 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 19:13:40 $ docker top 481a5780a6466d0592931c04ab88fbdbf1e8394d956eec5fffc0c8c7b9bfb026 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:40 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 19:13:40 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:13:56 $ docker stop --time=1 481a5780a6466d0592931c04ab88fbdbf1e8394d956eec5fffc0c8c7b9bfb026 19:13:57 $ docker rm -f 481a5780a6466d0592931c04ab88fbdbf1e8394d956eec5fffc0c8c7b9bfb026 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:13:58 . [Pipeline] withDockerContainer 19:13:58 prd-centos7-docker-4c-2g-10318 does not seem to be running inside a container 19:13:58 $ 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 19:13:59 $ docker top f19f76c26616928bc25c09ccff1c4de55c2c701cfd34922fd4dc4dcf8614526d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:59 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 19:13:59 + tee 19:13:59 clair timeout 1m0s 19:13:59 docker timeout: 1m0s 19:13:59 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:14:00 $ docker stop --time=1 f19f76c26616928bc25c09ccff1c4de55c2c701cfd34922fd4dc4dcf8614526d 19:14:02 $ docker rm -f f19f76c26616928bc25c09ccff1c4de55c2c701cfd34922fd4dc4dcf8614526d [Pipeline] // withDockerContainer [Pipeline] sh 19:14:02 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo 19:14:02 Generated HTML Table Report. Writing to /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports/clair_results_edgex-snyk-go_c441fc6225a9a6c983e209cd6613717029e7c043.html [Pipeline] writeFile [Pipeline] step 19:14:02 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 19:14:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:14:04 ---> package-listing.sh 19:14:04 ++ facter osfamily 19:14:04 ++ tr '[:upper:]' '[:lower:]' 19:14:04 + OS_FAMILY=redhat 19:14:04 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 19:14:04 + START_PACKAGES=/tmp/packages_start.txt 19:14:04 + END_PACKAGES=/tmp/packages_end.txt 19:14:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:14:04 + PACKAGES=/tmp/packages_start.txt 19:14:04 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 19:14:04 + PACKAGES=/tmp/packages_end.txt 19:14:04 + case "${OS_FAMILY}" in 19:14:04 + rpm -qa 19:14:04 + sort 19:14:09 + '[' -f /tmp/packages_start.txt ']' 19:14:09 + '[' -f /tmp/packages_end.txt ']' 19:14:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:14:09 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 19:14:09 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 19:14:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 19:14:09 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 19:14:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:14:09 19:14:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:14:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:14:10 alpine: Pulling from edgex-lftools-log-publisher 19:14:10 df20fa9351a1: Pulling fs layer 19:14:10 36b3adc4ff6f: Pulling fs layer 19:14:10 8ad3a11d3b57: Pulling fs layer 19:14:10 46f8f816bc3b: Pulling fs layer 19:14:10 93b61091891f: Pulling fs layer 19:14:10 93b9cdb0e59b: Pulling fs layer 19:14:10 5e14af77c1be: Pulling fs layer 19:14:10 01666e4c0597: Pulling fs layer 19:14:10 aa168da1d23b: Pulling fs layer 19:14:10 93b9cdb0e59b: Waiting 19:14:10 5e14af77c1be: Waiting 19:14:10 01666e4c0597: Waiting 19:14:10 aa168da1d23b: Waiting 19:14:10 46f8f816bc3b: Waiting 19:14:10 93b61091891f: Waiting 19:14:10 36b3adc4ff6f: Verifying Checksum 19:14:10 36b3adc4ff6f: Download complete 19:14:10 46f8f816bc3b: Download complete 19:14:10 df20fa9351a1: Verifying Checksum 19:14:10 93b9cdb0e59b: Verifying Checksum 19:14:10 93b9cdb0e59b: Download complete 19:14:10 5e14af77c1be: Download complete 19:14:10 01666e4c0597: Verifying Checksum 19:14:10 01666e4c0597: Download complete 19:14:10 93b61091891f: Verifying Checksum 19:14:10 93b61091891f: Download complete 19:14:10 8ad3a11d3b57: Verifying Checksum 19:14:10 8ad3a11d3b57: Download complete 19:14:10 df20fa9351a1: Pull complete 19:14:10 36b3adc4ff6f: Pull complete 19:14:11 8ad3a11d3b57: Pull complete 19:14:12 aa168da1d23b: Verifying Checksum 19:14:12 aa168da1d23b: Download complete 19:14:12 46f8f816bc3b: Pull complete 19:14:12 93b61091891f: Pull complete 19:14:12 93b9cdb0e59b: Pull complete 19:14:12 5e14af77c1be: Pull complete 19:14:13 01666e4c0597: Pull complete 19:14:21 aa168da1d23b: Pull complete 19:14:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:14:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:14:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:14:21 prd-centos7-docker-4c-2g-10318 does not seem to be running inside a container 19:14:21 $ 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 19:14:24 $ docker top 74e72bfb260abfd5e99a48c4e09fe473ad288cf26647852e930382e62765d52d -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:24 + touch /tmp/pre-build-complete [Pipeline] sh 19:14:24 + mkdir -p /var/log/sa [Pipeline] sh 19:14:25 + ls /var/log/sa-host 19:14:25 + sadf -c /var/log/sa-host/sa02 19:14:25 file_magic: OK 19:14:25 HZ: Using current value: 100 19:14:25 file_header: OK 19:14:25 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 19:14:25 Statistics: 19:14:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:14:25 File successfully converted to sysstat format version 12.2.1 19:14:25 + sadf -c /var/log/sa-host/sa05 19:14:25 file_magic: OK 19:14:25 HZ: Using current value: 100 19:14:25 file_header: OK 19:14:25 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 19:14:25 Statistics: 19:14:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:14:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:25 provisioning config files... 19:14:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config6770845874911075030tmp [Pipeline] { [Pipeline] echo 19:14:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:14:26 ---> create-netrc.sh [Pipeline] } 19:14:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:14:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:14:26 ---> python-tools-install.sh [Pipeline] echo 19:14:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:14:26 ---> sudo-logs.sh 19:14:26 Archiving 'sudo' log.. [Pipeline] echo 19:14:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:14:27 ---> job-cost.sh 19:14:27 lf-activate-venv: SKIPPING 19:14:27 INFO: No Stack... 19:14:27 INFO: Retrieving Pricing Info for: v1-standard-2 19:14:28 INFO: Archiving Costs [Pipeline] echo 19:14:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:14:28 ---> logs-deploy.sh 19:14:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/8 19:14:28 INFO: archiving workspace using pattern(s): 19:14:30 Archives upload complete. 19:14:30 INFO: archiving logs to Nexus 19:14:31 ---> uname -a: 19:14:31 Linux prd-centos7-docker-4c-2g-10318.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 19:14:31 19:14:31 19:14:31 ---> lscpu: 19:14:31 Architecture: x86_64 19:14:31 CPU op-mode(s): 32-bit, 64-bit 19:14:31 Byte Order: Little Endian 19:14:31 Address sizes: 40 bits physical, 48 bits virtual 19:14:31 CPU(s): 4 19:14:31 On-line CPU(s) list: 0-3 19:14:31 Thread(s) per core: 1 19:14:31 Core(s) per socket: 1 19:14:31 Socket(s): 4 19:14:31 NUMA node(s): 1 19:14:31 Vendor ID: GenuineIntel 19:14:31 CPU family: 6 19:14:31 Model: 44 19:14:31 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:14:31 Stepping: 1 19:14:31 CPU MHz: 2933.438 19:14:31 BogoMIPS: 5866.87 19:14:31 Virtualization: VT-x 19:14:31 Hypervisor vendor: KVM 19:14:31 Virtualization type: full 19:14:31 L1d cache: 128 KiB 19:14:31 L1i cache: 128 KiB 19:14:31 L2 cache: 16 MiB 19:14:31 L3 cache: 64 MiB 19:14:31 NUMA node0 CPU(s): 0-3 19:14:31 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:14:31 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:14:31 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:14:31 Vulnerability Meltdown: Mitigation; PTI 19:14:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:14:31 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:14:31 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:14:31 Vulnerability Tsx async abort: Not affected 19:14:31 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 19:14:31 19:14:31 19:14:31 ---> nproc: 19:14:31 4 19:14:31 19:14:31 19:14:31 ---> df -h: 19:14:31 Filesystem Size Used Available Use% Mounted on 19:14:31 overlay 50.0G 8.1G 41.9G 16% / 19:14:31 tmpfs 64.0M 0 64.0M 0% /dev 19:14:31 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:14:31 shm 64.0M 0 64.0M 0% /dev/shm 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /facter-os 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /etc/resolv.conf 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /etc/hostname 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /etc/hosts 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /w/workspace/dgexfoundry_ci-build-images_snyk 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /w/workspace/dgexfoundry_ci-build-images_snyk@tmp 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /var/log/sa-host 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /var/log/secure 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /var/log/auth.log 19:14:31 /dev/vda1 50.0G 8.1G 41.9G 16% /run/cloud-init/result.json 19:14:31 19:14:31 19:14:31 ---> free -m: 19:14:31 total used free shared buff/cache available 19:14:31 Mem: 1837 701 112 0 1024 1041 19:14:31 Swap: 1023 1 1022 19:14:31 19:14:31 19:14:31 ---> ip addr: 19:14:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:14:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:14:31 inet 127.0.0.1/8 scope host lo 19:14:31 valid_lft forever preferred_lft forever 19:14:31 inet6 ::1/128 scope host 19:14:31 valid_lft forever preferred_lft forever 19:14:31 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:14:31 link/ether fa:16:3e:52:ae:e2 brd ff:ff:ff:ff:ff:ff 19:14:31 inet 10.30.122.220/23 brd 10.30.123.255 scope global dynamic eth0 19:14:31 valid_lft 86196sec preferred_lft 86196sec 19:14:31 inet6 fe80::f816:3eff:fe52:aee2/64 scope link 19:14:31 valid_lft forever preferred_lft forever 19:14:31 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:14:31 link/ether 02:42:3c:a9:c7:09 brd ff:ff:ff:ff:ff:ff 19:14:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:14:31 valid_lft forever preferred_lft forever 19:14:31 inet6 fe80::42:3cff:fea9:c709/64 scope link 19:14:31 valid_lft forever preferred_lft forever 19:14:31 19:14:31 19:14:31 ---> sar -b -r -n DEV: 19:14:31 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/02/20 _x86_64_ (4 CPU) 19:14:31 19:14:31 19:10:51 LINUX RESTART (4 CPU) 19:14:31 19:14:31 19:12:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:14:31 19:13:01 217.31 88.24 129.07 0.00 8742.73 41104.38 0.00 19:14:31 19:14:01 73.11 55.54 17.58 0.00 4457.47 1023.72 0.00 19:14:31 Average: 144.62 71.75 72.87 0.00 6582.48 20899.24 0.00 19:14:31 19:14:31 19:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:14:31 19:13:01 421780 0 641012 34.07 2364 816400 1330344 45.40 491880 758876 0 19:14:31 19:14:01 254620 0 655320 34.83 2364 969252 1409092 48.09 904132 524924 60 19:14:31 Average: 338200 0 648166 34.45 2364 892826 1369718 46.75 698006 641900 30 19:14:31 19:14:31 19:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:14:31 19:13:01 eth0 579.71 362.90 4203.45 36.96 0.00 0.00 0.00 0.00 19:14:31 19:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:14:31 19:13:01 docker0 283.77 415.96 13.54 3077.51 0.00 0.00 0.00 0.00 19:14:31 19:14:01 vetha687734 0.48 0.48 0.14 0.23 0.00 0.00 0.00 0.00 19:14:31 19:14:01 eth0 324.14 364.82 221.50 2362.36 0.00 0.00 0.00 0.00 19:14:31 19:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:14:31 19:14:01 docker0 0.98 0.92 0.27 0.46 0.00 0.00 0.00 0.00 19:14:31 Average: vetha687734 0.24 0.24 0.07 0.12 0.00 0.00 0.00 0.00 19:14:31 Average: eth0 450.87 363.87 2196.10 1209.22 0.00 0.00 0.00 0.00 19:14:31 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:14:31 Average: docker0 141.21 206.73 6.85 1526.33 0.00 0.00 0.00 0.00 19:14:31 19:14:31 19:14:31 ---> sar -P ALL: 19:14:31 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/02/20 _x86_64_ (4 CPU) 19:14:31 19:14:31 19:10:51 LINUX RESTART (4 CPU) 19:14:31 19:14:31 19:12:02 CPU %user %nice %system %iowait %steal %idle 19:14:31 19:13:01 all 7.80 0.00 6.47 3.97 0.05 81.70 19:14:31 19:13:01 0 7.59 0.00 6.07 3.94 0.05 82.35 19:14:31 19:13:01 1 7.88 0.00 6.06 4.83 0.05 81.18 19:14:31 19:13:01 2 8.50 0.00 7.69 4.48 0.07 79.26 19:14:31 19:13:01 3 7.23 0.00 6.07 2.63 0.03 84.03 19:14:31 19:14:01 all 14.43 0.00 2.89 0.41 0.10 82.18 19:14:31 19:14:01 0 15.23 0.00 2.94 0.29 0.10 81.44 19:14:31 19:14:01 1 13.93 0.00 2.81 0.17 0.12 82.97 19:14:31 19:14:01 2 14.43 0.00 3.08 0.81 0.07 81.62 19:14:31 19:14:01 3 14.12 0.00 2.72 0.39 0.10 82.67 19:14:31 Average: all 11.15 0.00 4.66 2.17 0.07 81.94 19:14:31 Average: 0 11.46 0.00 4.48 2.09 0.08 81.89 19:14:31 Average: 1 10.93 0.00 4.42 2.48 0.08 82.09 19:14:31 Average: 2 11.50 0.00 5.36 2.62 0.07 80.45 19:14:31 Average: 3 10.71 0.00 4.38 1.50 0.07 83.34 19:14:31 19:14:31 19:14:31