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 [2020-11-02T19:11:43.170Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T19:11:43.500Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T19:11:43.605Z] ========================================================= [2020-11-02T19:11:43.605Z] EdgeX Global Pipelines Version Info [2020-11-02T19:11:43.605Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:11:45.128Z] ------------------- [2020-11-02T19:11:45.128Z] stable info: [2020-11-02T19:11:45.128Z] ------------------- [2020-11-02T19:11:45.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T19:11:45.128Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T19:11:45.128Z] Message: update stable to v1.0.152 [2020-11-02T19:11:46.077Z] ------------------- [2020-11-02T19:11:46.077Z] experimental info: [2020-11-02T19:11:46.077Z] ------------------- [2020-11-02T19:11:46.077Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T19:11:46.077Z] Commit SHA: a4834499a055e57d3c2bb779be3f851bfcb1687c [2020-11-02T19:11:46.077Z] Message: update experimental to v1.0.155 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T19:11:46.574Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-11-02T19:11:46.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2020-11-02T19:11:46.787Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-11-02T19:11:46.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T19:11:46.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T19:11:47.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2020-11-02T19:11:47.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-11-02T19:11:47.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-11-02T19:11:47.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-11-02T19:11:47.527Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T19:11:47.622Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-11-02T19:11:47.718Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2020-11-02T19:11:47.814Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T19:11:47.906Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2020-11-02T19:11:47.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo [2020-11-02T19:11:48.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2020-11-02T19:11:48.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2020-11-02T19:11:48.239Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2020-11-02T19:11:48.333Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c441fc6225a9a6c983e209cd6613717029e7c043 [Pipeline] echo [2020-11-02T19:11:48.429Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c441fc6 [Pipeline] echo [2020-11-02T19:11:48.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T19:11:53.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T19:11:54.012Z] + ls -al . [2020-11-02T19:11:54.012Z] total 8 [2020-11-02T19:11:54.012Z] drwxrwxr-x. 3 jenkins jenkins 55 Nov 2 19:11 . [2020-11-02T19:11:54.012Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 19:11 .. [2020-11-02T19:11:54.012Z] -rw-rw-r--. 1 jenkins jenkins 717 Nov 2 19:11 Dockerfile [2020-11-02T19:11:54.012Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 2 19:11 .git [2020-11-02T19:11:54.012Z] -rw-rw-r--. 1 jenkins jenkins 896 Nov 2 19:11 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:11:54.680Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=c441fc6225a9a6c983e209cd6613717029e7c043 --label arch=amd64 . [2020-11-02T19:11:54.945Z] Sending build context to Docker daemon 356.9kB [2020-11-02T19:11:55.207Z] Step 1/12 : FROM golang:1.15-alpine [2020-11-02T19:11:55.472Z] 1.15-alpine: Pulling from library/golang [2020-11-02T19:11:55.737Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T19:11:55.737Z] 0ef7d3d256c8: Pulling fs layer [2020-11-02T19:11:55.737Z] de9db76c5a1d: Pulling fs layer [2020-11-02T19:11:55.737Z] 0eba1c9be4d2: Pulling fs layer [2020-11-02T19:11:55.737Z] 0d57e429df01: Pulling fs layer [2020-11-02T19:11:55.737Z] 0eba1c9be4d2: Waiting [2020-11-02T19:11:55.737Z] 0d57e429df01: Waiting [2020-11-02T19:11:55.737Z] de9db76c5a1d: Verifying Checksum [2020-11-02T19:11:55.737Z] de9db76c5a1d: Download complete [2020-11-02T19:11:55.737Z] 0ef7d3d256c8: Verifying Checksum [2020-11-02T19:11:55.737Z] 0ef7d3d256c8: Download complete [2020-11-02T19:11:55.737Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T19:11:55.737Z] 188c0c94c7c5: Download complete [2020-11-02T19:11:56.004Z] 0d57e429df01: Verifying Checksum [2020-11-02T19:11:56.004Z] 0d57e429df01: Download complete [2020-11-02T19:11:56.004Z] 188c0c94c7c5: Pull complete [2020-11-02T19:11:56.272Z] 0ef7d3d256c8: Pull complete [2020-11-02T19:11:56.272Z] de9db76c5a1d: Pull complete [2020-11-02T19:11:57.228Z] 0eba1c9be4d2: Verifying Checksum [2020-11-02T19:11:57.228Z] 0eba1c9be4d2: Download complete [2020-11-02T19:12:03.868Z] 0eba1c9be4d2: Pull complete [2020-11-02T19:12:03.868Z] 0d57e429df01: Pull complete [2020-11-02T19:12:03.868Z] Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c [2020-11-02T19:12:03.868Z] Status: Downloaded newer image for golang:1.15-alpine [2020-11-02T19:12:03.868Z] ---> d099254f5fc3 [2020-11-02T19:12:03.868Z] Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T19:12:06.472Z] ---> Running in a92fa69a0d22 [2020-11-02T19:12:06.472Z] Removing intermediate container a92fa69a0d22 [2020-11-02T19:12:06.472Z] ---> 96c2881b5fb2 [2020-11-02T19:12:06.472Z] Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T19:12:06.472Z] ---> Running in 08bd941540e1 [2020-11-02T19:12:07.427Z] Removing intermediate container 08bd941540e1 [2020-11-02T19:12:07.427Z] ---> 2483f01fe1d1 [2020-11-02T19:12:07.427Z] Step 4/12 : ARG SNYK_VERSION=1.410.4 [2020-11-02T19:12:07.427Z] ---> Running in 961694d214fa [2020-11-02T19:12:07.692Z] Removing intermediate container 961694d214fa [2020-11-02T19:12:07.692Z] ---> 5844cc57f6ba [2020-11-02T19:12:07.692Z] Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} [2020-11-02T19:12:07.692Z] ---> Running in c7c3e5505ad0 [2020-11-02T19:12:07.955Z] Removing intermediate container c7c3e5505ad0 [2020-11-02T19:12:07.955Z] ---> 23964005f086 [2020-11-02T19:12:07.955Z] Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-02T19:12:08.218Z] latest: Pulling from library/docker [2020-11-02T19:12:08.218Z] 188c0c94c7c5: Already exists [2020-11-02T19:12:08.487Z] 0c7c675703d6: Pulling fs layer [2020-11-02T19:12:08.487Z] cc8c12a437cb: Pulling fs layer [2020-11-02T19:12:08.487Z] c5dafad2182a: Pulling fs layer [2020-11-02T19:12:08.487Z] 5aa711733414: Pulling fs layer [2020-11-02T19:12:08.487Z] 058f73b55e4b: Pulling fs layer [2020-11-02T19:12:08.487Z] 8c9c664faf12: Pulling fs layer [2020-11-02T19:12:08.487Z] 5aa711733414: Waiting [2020-11-02T19:12:08.487Z] 058f73b55e4b: Waiting [2020-11-02T19:12:08.487Z] 8c9c664faf12: Waiting [2020-11-02T19:12:08.487Z] cc8c12a437cb: Verifying Checksum [2020-11-02T19:12:08.487Z] cc8c12a437cb: Download complete [2020-11-02T19:12:08.487Z] 0c7c675703d6: Verifying Checksum [2020-11-02T19:12:08.487Z] 0c7c675703d6: Download complete [2020-11-02T19:12:08.487Z] 5aa711733414: Download complete [2020-11-02T19:12:08.487Z] 058f73b55e4b: Verifying Checksum [2020-11-02T19:12:08.487Z] 058f73b55e4b: Download complete [2020-11-02T19:12:08.754Z] 8c9c664faf12: Verifying Checksum [2020-11-02T19:12:08.754Z] 8c9c664faf12: Download complete [2020-11-02T19:12:08.754Z] 0c7c675703d6: Pull complete [2020-11-02T19:12:09.017Z] cc8c12a437cb: Pull complete [2020-11-02T19:12:09.284Z] c5dafad2182a: Verifying Checksum [2020-11-02T19:12:09.284Z] c5dafad2182a: Download complete [2020-11-02T19:12:11.891Z] c5dafad2182a: Pull complete [2020-11-02T19:12:11.891Z] 5aa711733414: Pull complete [2020-11-02T19:12:11.891Z] 058f73b55e4b: Pull complete [2020-11-02T19:12:11.891Z] 8c9c664faf12: Pull complete [2020-11-02T19:12:11.892Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-02T19:12:12.154Z] Status: Downloaded newer image for docker:latest [2020-11-02T19:12:13.554Z] ---> dc1f7a99ff49 [2020-11-02T19:12:13.554Z] 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 [2020-11-02T19:12:13.554Z] ---> Running in 113cd93bb179 [2020-11-02T19:12:14.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T19:12:14.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T19:12:15.286Z] (1/25) Installing tcl (8.6.10-r0) [2020-11-02T19:12:15.549Z] (2/25) Installing expect (5.45.4-r0) [2020-11-02T19:12:15.815Z] (3/25) Installing libgcc (9.3.0-r2) [2020-11-02T19:12:15.815Z] (4/25) Installing libstdc++ (9.3.0-r2) [2020-11-02T19:12:16.395Z] (5/25) Installing binutils (2.34-r1) [2020-11-02T19:12:17.345Z] (6/25) Installing gmp (6.2.0-r0) [2020-11-02T19:12:17.345Z] (7/25) Installing isl (0.18-r0) [2020-11-02T19:12:17.607Z] (8/25) Installing libgomp (9.3.0-r2) [2020-11-02T19:12:17.607Z] (9/25) Installing libatomic (9.3.0-r2) [2020-11-02T19:12:17.871Z] (10/25) Installing libgphobos (9.3.0-r2) [2020-11-02T19:12:18.447Z] (11/25) Installing mpfr4 (4.0.2-r4) [2020-11-02T19:12:18.447Z] (12/25) Installing mpc1 (1.1.0-r1) [2020-11-02T19:12:18.447Z] (13/25) Installing gcc (9.3.0-r2) [2020-11-02T19:12:28.486Z] (14/25) Installing nghttp2-libs (1.41.0-r0) [2020-11-02T19:12:28.486Z] (15/25) Installing libcurl (7.69.1-r1) [2020-11-02T19:12:28.749Z] (16/25) Installing expat (2.2.9-r1) [2020-11-02T19:12:28.749Z] (17/25) Installing pcre2 (10.35-r0) [2020-11-02T19:12:28.749Z] (18/25) Installing git (2.26.2-r0) [2020-11-02T19:12:31.311Z] (19/25) Installing musl-dev (1.1.24-r9) [2020-11-02T19:12:31.886Z] (20/25) Installing libc-dev (0.7.2-r3) [2020-11-02T19:12:32.460Z] (21/25) Installing brotli-libs (1.0.9-r1) [2020-11-02T19:12:32.460Z] (22/25) Installing c-ares (1.16.1-r0) [2020-11-02T19:12:32.722Z] (23/25) Installing libuv (1.38.1-r0) [2020-11-02T19:12:32.722Z] (24/25) Installing nodejs (12.18.4-r0) [2020-11-02T19:12:36.037Z] (25/25) Installing npm (12.18.4-r0) [2020-11-02T19:12:37.432Z] Executing busybox-1.31.1-r19.trigger [2020-11-02T19:12:37.432Z] OK: 221 MiB in 40 packages [2020-11-02T19:12:37.432Z] Connecting to github.com (140.82.112.3:443) [2020-11-02T19:12:37.695Z] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.239.163:443) [2020-11-02T19:12:37.695Z] saving to '/usr/local/bin/snyk' [2020-11-02T19:12:39.091Z] snyk 9% |*** | 9.8M 0:00:09 ETA [2020-11-02T19:12:40.048Z] snyk 22% |******* | 22.7M 0:00:06 ETA [2020-11-02T19:12:40.994Z] snyk 39% |************ | 38.9M 0:00:04 ETA [2020-11-02T19:12:41.940Z] snyk 58% |****************** | 58.1M 0:00:02 ETA [2020-11-02T19:12:42.888Z] snyk 80% |************************* | 80.4M 0:00:01 ETA [2020-11-02T19:12:43.468Z] snyk 100% |********************************| 99.4M 0:00:00 ETA [2020-11-02T19:12:45.397Z] '/usr/local/bin/snyk' saved [2020-11-02T19:12:49.624Z] /usr/bin/snyk-to-html -> /usr/lib/node_modules/snyk-to-html/dist/index.js [2020-11-02T19:12:49.624Z] + snyk-to-html@1.14.0 [2020-11-02T19:12:49.624Z] added 22 packages from 52 contributors in 2.716s [2020-11-02T19:13:01.901Z] Removing intermediate container 113cd93bb179 [2020-11-02T19:13:01.901Z] ---> 1e7181c7eac6 [2020-11-02T19:13:01.901Z] Step 8/12 : ENV GO111MODULE=on [2020-11-02T19:13:01.901Z] ---> Running in bb66333ccfb6 [2020-11-02T19:13:01.901Z] Removing intermediate container bb66333ccfb6 [2020-11-02T19:13:01.901Z] ---> fd858a048aed [2020-11-02T19:13:01.901Z] Step 9/12 : ENTRYPOINT [ "snyk" ] [2020-11-02T19:13:01.901Z] ---> Running in ffcac0edcaed [2020-11-02T19:13:01.901Z] Removing intermediate container ffcac0edcaed [2020-11-02T19:13:01.901Z] ---> 0622ad5b1d25 [2020-11-02T19:13:01.901Z] Step 10/12 : CMD [ "monitor" ] [2020-11-02T19:13:01.901Z] ---> Running in 3b565b754645 [2020-11-02T19:13:01.901Z] Removing intermediate container 3b565b754645 [2020-11-02T19:13:01.901Z] ---> aa16a7f9b48b [2020-11-02T19:13:01.901Z] Step 11/12 : LABEL arch=amd64 [2020-11-02T19:13:01.901Z] ---> Running in 69573e9b6a4c [2020-11-02T19:13:01.901Z] Removing intermediate container 69573e9b6a4c [2020-11-02T19:13:01.901Z] ---> 00d5d67c60d3 [2020-11-02T19:13:01.901Z] Step 12/12 : LABEL git_sha=c441fc6225a9a6c983e209cd6613717029e7c043 [2020-11-02T19:13:01.901Z] ---> Running in 11e9e126c92d [2020-11-02T19:13:01.901Z] Removing intermediate container 11e9e126c92d [2020-11-02T19:13:01.901Z] ---> e52d9b94a435 [2020-11-02T19:13:01.901Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T19:13:01.901Z] Successfully built e52d9b94a435 [2020-11-02T19:13:01.901Z] Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-02T19:13:02.564Z] provisioning config files... [2020-11-02T19:13:02.613Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3064192135168306588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:13:03.004Z] ---> docker-login.sh [2020-11-02T19:13:03.004Z] nexus3.edgexfoundry.org:10001 [2020-11-02T19:13:03.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T19:13:03.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T19:13:03.267Z] Configure a credential helper to remove this warning. See [2020-11-02T19:13:03.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T19:13:03.267Z] [2020-11-02T19:13:03.267Z] Login Succeeded [2020-11-02T19:13:03.267Z] nexus3.edgexfoundry.org:10002 [2020-11-02T19:13:03.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T19:13:03.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T19:13:03.538Z] Configure a credential helper to remove this warning. See [2020-11-02T19:13:03.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T19:13:03.538Z] [2020-11-02T19:13:03.538Z] Login Succeeded [2020-11-02T19:13:03.538Z] nexus3.edgexfoundry.org:10003 [2020-11-02T19:13:03.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T19:13:03.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T19:13:03.801Z] Configure a credential helper to remove this warning. See [2020-11-02T19:13:03.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T19:13:03.802Z] [2020-11-02T19:13:03.802Z] Login Succeeded [2020-11-02T19:13:03.802Z] nexus3.edgexfoundry.org:10004 [2020-11-02T19:13:03.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T19:13:04.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T19:13:04.065Z] Configure a credential helper to remove this warning. See [2020-11-02T19:13:04.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T19:13:04.065Z] [2020-11-02T19:13:04.065Z] Login Succeeded [2020-11-02T19:13:04.065Z] docker.io [2020-11-02T19:13:04.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-02T19:13:04.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-02T19:13:04.329Z] Configure a credential helper to remove this warning. See [2020-11-02T19:13:04.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-02T19:13:04.329Z] [2020-11-02T19:13:04.329Z] Login Succeeded [2020-11-02T19:13:04.329Z] ---> docker-login.sh ends [Pipeline] } [2020-11-02T19:13:04.341Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-02T19:13:04.557Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2020-11-02T19:13:04.557Z] c441fc6225a9a6c983e209cd6613717029e7c043 [2020-11-02T19:13:04.557Z] latest [2020-11-02T19:13:04.557Z] snyk [2020-11-02T19:13:04.557Z] 1.410.4 [2020-11-02T19:13:04.557Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:05.093Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:05.398Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 [2020-11-02T19:13:05.398Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T19:13:05.398Z] efc79c766d66: Preparing [2020-11-02T19:13:05.398Z] 61782e91ea9a: Preparing [2020-11-02T19:13:05.398Z] 94943d4431f8: Preparing [2020-11-02T19:13:05.398Z] b479241e0e6f: Preparing [2020-11-02T19:13:05.398Z] f6773636974f: Preparing [2020-11-02T19:13:05.398Z] 27fc4e020136: Preparing [2020-11-02T19:13:05.398Z] c07f8a820edc: Preparing [2020-11-02T19:13:05.398Z] ace0eda3e3be: Preparing [2020-11-02T19:13:05.398Z] 27fc4e020136: Waiting [2020-11-02T19:13:05.398Z] c07f8a820edc: Waiting [2020-11-02T19:13:05.398Z] ace0eda3e3be: Waiting [2020-11-02T19:13:05.398Z] f6773636974f: Layer already exists [2020-11-02T19:13:05.398Z] b479241e0e6f: Layer already exists [2020-11-02T19:13:05.398Z] 27fc4e020136: Layer already exists [2020-11-02T19:13:05.398Z] c07f8a820edc: Layer already exists [2020-11-02T19:13:05.665Z] ace0eda3e3be: Layer already exists [2020-11-02T19:13:05.665Z] 94943d4431f8: Pushed [2020-11-02T19:13:10.974Z] 61782e91ea9a: Pushed [2020-11-02T19:13:32.978Z] efc79c766d66: Pushed [2020-11-02T19:13:32.978Z] c441fc6225a9a6c983e209cd6613717029e7c043: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:33.292Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:33.598Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2020-11-02T19:13:33.598Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T19:13:33.598Z] efc79c766d66: Preparing [2020-11-02T19:13:33.598Z] 61782e91ea9a: Preparing [2020-11-02T19:13:33.598Z] 94943d4431f8: Preparing [2020-11-02T19:13:33.598Z] b479241e0e6f: Preparing [2020-11-02T19:13:33.598Z] f6773636974f: Preparing [2020-11-02T19:13:33.598Z] 27fc4e020136: Preparing [2020-11-02T19:13:33.598Z] c07f8a820edc: Preparing [2020-11-02T19:13:33.598Z] ace0eda3e3be: Preparing [2020-11-02T19:13:33.598Z] 27fc4e020136: Waiting [2020-11-02T19:13:33.598Z] c07f8a820edc: Waiting [2020-11-02T19:13:33.598Z] ace0eda3e3be: Waiting [2020-11-02T19:13:33.598Z] b479241e0e6f: Layer already exists [2020-11-02T19:13:33.598Z] 94943d4431f8: Layer already exists [2020-11-02T19:13:33.598Z] efc79c766d66: Layer already exists [2020-11-02T19:13:33.598Z] f6773636974f: Layer already exists [2020-11-02T19:13:33.598Z] 61782e91ea9a: Layer already exists [2020-11-02T19:13:33.598Z] c07f8a820edc: Layer already exists [2020-11-02T19:13:33.598Z] ace0eda3e3be: Layer already exists [2020-11-02T19:13:33.598Z] 27fc4e020136: Layer already exists [2020-11-02T19:13:33.598Z] latest: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:33.913Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:34.218Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2020-11-02T19:13:34.218Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T19:13:34.218Z] efc79c766d66: Preparing [2020-11-02T19:13:34.218Z] 61782e91ea9a: Preparing [2020-11-02T19:13:34.218Z] 94943d4431f8: Preparing [2020-11-02T19:13:34.218Z] b479241e0e6f: Preparing [2020-11-02T19:13:34.218Z] f6773636974f: Preparing [2020-11-02T19:13:34.218Z] 27fc4e020136: Preparing [2020-11-02T19:13:34.218Z] c07f8a820edc: Preparing [2020-11-02T19:13:34.218Z] ace0eda3e3be: Preparing [2020-11-02T19:13:34.218Z] 27fc4e020136: Waiting [2020-11-02T19:13:34.218Z] c07f8a820edc: Waiting [2020-11-02T19:13:34.218Z] ace0eda3e3be: Waiting [2020-11-02T19:13:34.218Z] f6773636974f: Layer already exists [2020-11-02T19:13:34.218Z] 94943d4431f8: Layer already exists [2020-11-02T19:13:34.218Z] 61782e91ea9a: Layer already exists [2020-11-02T19:13:34.218Z] b479241e0e6f: Layer already exists [2020-11-02T19:13:34.218Z] efc79c766d66: Layer already exists [2020-11-02T19:13:34.218Z] 27fc4e020136: Layer already exists [2020-11-02T19:13:34.218Z] c07f8a820edc: Layer already exists [2020-11-02T19:13:34.218Z] ace0eda3e3be: Layer already exists [2020-11-02T19:13:34.218Z] snyk: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:34.533Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:34.835Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-02T19:13:34.835Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2020-11-02T19:13:34.835Z] efc79c766d66: Preparing [2020-11-02T19:13:34.835Z] 61782e91ea9a: Preparing [2020-11-02T19:13:34.835Z] 94943d4431f8: Preparing [2020-11-02T19:13:34.835Z] b479241e0e6f: Preparing [2020-11-02T19:13:34.835Z] f6773636974f: Preparing [2020-11-02T19:13:34.835Z] 27fc4e020136: Preparing [2020-11-02T19:13:34.835Z] c07f8a820edc: Preparing [2020-11-02T19:13:34.835Z] ace0eda3e3be: Preparing [2020-11-02T19:13:34.835Z] ace0eda3e3be: Waiting [2020-11-02T19:13:34.835Z] 27fc4e020136: Waiting [2020-11-02T19:13:34.835Z] c07f8a820edc: Waiting [2020-11-02T19:13:34.835Z] efc79c766d66: Layer already exists [2020-11-02T19:13:34.835Z] 61782e91ea9a: Layer already exists [2020-11-02T19:13:34.835Z] f6773636974f: Layer already exists [2020-11-02T19:13:34.835Z] b479241e0e6f: Layer already exists [2020-11-02T19:13:34.835Z] 94943d4431f8: Layer already exists [2020-11-02T19:13:34.835Z] c07f8a820edc: Layer already exists [2020-11-02T19:13:34.835Z] 27fc4e020136: Layer already exists [2020-11-02T19:13:34.835Z] ace0eda3e3be: Layer already exists [2020-11-02T19:13:34.835Z] 1.410.4: digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 size: 1997 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-02T19:13:35.118Z] ===================================================== [Pipeline] echo [2020-11-02T19:13:35.169Z] taggedImages: [2020-11-02T19:13:35.169Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 [2020-11-02T19:13:35.169Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2020-11-02T19:13:35.169Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2020-11-02T19:13:35.169Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:37.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T19:13:37.060Z] [2020-11-02T19:13:37.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:37.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T19:13:37.412Z] latest: Pulling from edgex-devops/edgex-klar [2020-11-02T19:13:37.412Z] e7c96db7181b: Pulling fs layer [2020-11-02T19:13:37.412Z] 1868ca2cb446: Pulling fs layer [2020-11-02T19:13:37.412Z] 136be5d0fe8e: Pulling fs layer [2020-11-02T19:13:37.412Z] 894bfe63afcb: Pulling fs layer [2020-11-02T19:13:37.412Z] 894bfe63afcb: Waiting [2020-11-02T19:13:37.412Z] 1868ca2cb446: Verifying Checksum [2020-11-02T19:13:37.412Z] 1868ca2cb446: Download complete [2020-11-02T19:13:37.412Z] 136be5d0fe8e: Download complete [2020-11-02T19:13:37.412Z] e7c96db7181b: Verifying Checksum [2020-11-02T19:13:37.412Z] e7c96db7181b: Download complete [2020-11-02T19:13:37.674Z] 894bfe63afcb: Verifying Checksum [2020-11-02T19:13:37.674Z] 894bfe63afcb: Download complete [2020-11-02T19:13:37.674Z] e7c96db7181b: Pull complete [2020-11-02T19:13:37.950Z] 1868ca2cb446: Pull complete [2020-11-02T19:13:37.950Z] 136be5d0fe8e: Pull complete [2020-11-02T19:13:38.212Z] 894bfe63afcb: Pull complete [2020-11-02T19:13:38.475Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-11-02T19:13:38.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T19:13:38.475Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-11-02T19:13:38.624Z] prd-centos7-docker-4c-2g-10318 does not seem to be running inside a container [2020-11-02T19:13:38.679Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-11-02T19:13:40.095Z] $ docker top 481a5780a6466d0592931c04ab88fbdbf1e8394d956eec5fffc0c8c7b9bfb026 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T19:13:40.792Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 [2020-11-02T19:13:40.793Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-11-02T19:13:56.133Z] $ docker stop --time=1 481a5780a6466d0592931c04ab88fbdbf1e8394d956eec5fffc0c8c7b9bfb026 [2020-11-02T19:13:57.560Z] $ docker rm -f 481a5780a6466d0592931c04ab88fbdbf1e8394d956eec5fffc0c8c7b9bfb026 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:13:58.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-11-02T19:13:58.142Z] . [Pipeline] withDockerContainer [2020-11-02T19:13:58.251Z] prd-centos7-docker-4c-2g-10318 does not seem to be running inside a container [2020-11-02T19:13:58.309Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-11-02T19:13:59.003Z] $ docker top f19f76c26616928bc25c09ccff1c4de55c2c701cfd34922fd4dc4dcf8614526d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-02T19:13:59.560Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:c441fc6225a9a6c983e209cd6613717029e7c043 [2020-11-02T19:13:59.560Z] + tee [2020-11-02T19:13:59.560Z] clair timeout 1m0s [2020-11-02T19:13:59.560Z] docker timeout: 1m0s [2020-11-02T19:13:59.560Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-11-02T19:14:00.608Z] $ docker stop --time=1 f19f76c26616928bc25c09ccff1c4de55c2c701cfd34922fd4dc4dcf8614526d [2020-11-02T19:14:02.004Z] $ docker rm -f f19f76c26616928bc25c09ccff1c4de55c2c701cfd34922fd4dc4dcf8614526d [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T19:14:02.543Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/clair-reports [Pipeline] echo [2020-11-02T19:14:02.558Z] 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 [2020-11-02T19:14:02.611Z] Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:04.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:04.857Z] ---> package-listing.sh [2020-11-02T19:14:04.857Z] ++ facter osfamily [2020-11-02T19:14:04.857Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T19:14:04.857Z] + OS_FAMILY=redhat [2020-11-02T19:14:04.857Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2020-11-02T19:14:04.857Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T19:14:04.857Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T19:14:04.857Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T19:14:04.857Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T19:14:04.857Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2020-11-02T19:14:04.857Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T19:14:04.857Z] + case "${OS_FAMILY}" in [2020-11-02T19:14:04.857Z] + rpm -qa [2020-11-02T19:14:04.857Z] + sort [2020-11-02T19:14:09.083Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T19:14:09.083Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T19:14:09.083Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T19:14:09.083Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2020-11-02T19:14:09.083Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2020-11-02T19:14:09.083Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo [2020-11-02T19:14:09.096Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T19:14:09.394Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:14:09.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T19:14:09.704Z] [2020-11-02T19:14:09.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T19:14:10.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T19:14:10.053Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T19:14:10.053Z] df20fa9351a1: Pulling fs layer [2020-11-02T19:14:10.053Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T19:14:10.053Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T19:14:10.053Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T19:14:10.053Z] 93b61091891f: Pulling fs layer [2020-11-02T19:14:10.053Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T19:14:10.053Z] 5e14af77c1be: Pulling fs layer [2020-11-02T19:14:10.053Z] 01666e4c0597: Pulling fs layer [2020-11-02T19:14:10.053Z] aa168da1d23b: Pulling fs layer [2020-11-02T19:14:10.053Z] 93b9cdb0e59b: Waiting [2020-11-02T19:14:10.053Z] 5e14af77c1be: Waiting [2020-11-02T19:14:10.053Z] 01666e4c0597: Waiting [2020-11-02T19:14:10.053Z] aa168da1d23b: Waiting [2020-11-02T19:14:10.053Z] 46f8f816bc3b: Waiting [2020-11-02T19:14:10.053Z] 93b61091891f: Waiting [2020-11-02T19:14:10.053Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T19:14:10.053Z] 36b3adc4ff6f: Download complete [2020-11-02T19:14:10.053Z] 46f8f816bc3b: Download complete [2020-11-02T19:14:10.053Z] df20fa9351a1: Verifying Checksum [2020-11-02T19:14:10.053Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T19:14:10.053Z] 93b9cdb0e59b: Download complete [2020-11-02T19:14:10.053Z] 5e14af77c1be: Download complete [2020-11-02T19:14:10.318Z] 01666e4c0597: Verifying Checksum [2020-11-02T19:14:10.318Z] 01666e4c0597: Download complete [2020-11-02T19:14:10.318Z] 93b61091891f: Verifying Checksum [2020-11-02T19:14:10.318Z] 93b61091891f: Download complete [2020-11-02T19:14:10.318Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T19:14:10.318Z] 8ad3a11d3b57: Download complete [2020-11-02T19:14:10.582Z] df20fa9351a1: Pull complete [2020-11-02T19:14:10.582Z] 36b3adc4ff6f: Pull complete [2020-11-02T19:14:11.984Z] 8ad3a11d3b57: Pull complete [2020-11-02T19:14:12.253Z] aa168da1d23b: Verifying Checksum [2020-11-02T19:14:12.253Z] aa168da1d23b: Download complete [2020-11-02T19:14:12.253Z] 46f8f816bc3b: Pull complete [2020-11-02T19:14:12.516Z] 93b61091891f: Pull complete [2020-11-02T19:14:12.780Z] 93b9cdb0e59b: Pull complete [2020-11-02T19:14:12.780Z] 5e14af77c1be: Pull complete [2020-11-02T19:14:13.044Z] 01666e4c0597: Pull complete [2020-11-02T19:14:21.237Z] aa168da1d23b: Pull complete [2020-11-02T19:14:21.237Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T19:14:21.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T19:14:21.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T19:14:21.423Z] prd-centos7-docker-4c-2g-10318 does not seem to be running inside a container [2020-11-02T19:14:21.480Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T19:14:24.029Z] $ docker top 74e72bfb260abfd5e99a48c4e09fe473ad288cf26647852e930382e62765d52d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T19:14:24.583Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T19:14:24.884Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T19:14:25.183Z] + ls /var/log/sa-host [2020-11-02T19:14:25.183Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T19:14:25.183Z] file_magic: OK [2020-11-02T19:14:25.183Z] HZ: Using current value: 100 [2020-11-02T19:14:25.183Z] file_header: OK [2020-11-02T19:14:25.183Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T19:14:25.183Z] Statistics: [2020-11-02T19:14:25.183Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T19:14:25.183Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T19:14:25.183Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T19:14:25.183Z] file_magic: OK [2020-11-02T19:14:25.183Z] HZ: Using current value: 100 [2020-11-02T19:14:25.183Z] file_header: OK [2020-11-02T19:14:25.183Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T19:14:25.183Z] Statistics: [2020-11-02T19:14:25.183Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T19:14:25.183Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T19:14:25.838Z] provisioning config files... [2020-11-02T19:14:25.851Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config6770845874911075030tmp [Pipeline] { [Pipeline] echo [2020-11-02T19:14:25.920Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:26.222Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T19:14:26.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T19:14:26.323Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:26.621Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T19:14:26.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:26.928Z] ---> sudo-logs.sh [2020-11-02T19:14:26.929Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T19:14:26.939Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:27.229Z] ---> job-cost.sh [2020-11-02T19:14:27.229Z] lf-activate-venv: SKIPPING [2020-11-02T19:14:27.229Z] INFO: No Stack... [2020-11-02T19:14:27.805Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T19:14:28.377Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T19:14:28.390Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T19:14:28.680Z] ---> logs-deploy.sh [2020-11-02T19:14:28.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/8 [2020-11-02T19:14:28.680Z] INFO: archiving workspace using pattern(s): [2020-11-02T19:14:30.604Z] Archives upload complete. [2020-11-02T19:14:30.604Z] INFO: archiving logs to Nexus