Pull request #151 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d+2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 (54cf7d59b610c5be9b9ad295d59e465082c5ea3a) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-151/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-151/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.419.1], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.419.1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-7537 in /w/workspace/exfoundry_ci-build-images_PR-151 [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/exfoundry_ci-build-images_PR-151 # 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/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 Merging remotes/origin/snyk commit 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 into PR head commit d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d Merge succeeded, producing d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d Checking out Revision d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d (PR-151) > git config core.sparsecheckout # timeout=10 > git checkout -f d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e6b6e13b01f141d23ac3f164fd9c50d19f7b0b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d # timeout=10 Commit message: "feat: upgrade to v1.419.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:24:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:24:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:24:23 ========================================================= 20:24:23 EdgeX Global Pipelines Version Info 20:24:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:24:24 ------------------- 20:24:24 stable info: 20:24:24 ------------------- 20:24:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:24:24 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 20:24:24 Message: update stable to v1.0.144 20:24:25 ------------------- 20:24:25 experimental info: 20:24:25 ------------------- 20:24:25 Commited By: **** collab-it+edgex@linuxfoundation.org 20:24:25 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 20:24:25 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:24:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 20:24:26 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 20:24:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 20:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:24:27 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.419.1 [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d79e060 [Pipeline] echo 20:24:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:35 + ls -al . 20:24:35 total 8 20:24:35 drwxrwxr-x. 3 jenkins jenkins 55 Oct 21 20:24 . 20:24:35 drwxrwxr-x. 4 jenkins jenkins 112 Oct 21 20:24 .. 20:24:35 -rw-rw-r--. 1 jenkins jenkins 667 Oct 21 20:24 Dockerfile 20:24:35 drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 20:24 .git 20:24:35 -rw-rw-r--. 1 jenkins jenkins 896 Oct 21 20:24 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 20:24:35 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d --label arch=amd64 . 20:24:36 Sending build context to Docker daemon 359.9kB 20:24:36 Step 1/13 : FROM golang:1.13-alpine 20:24:36 1.13-alpine: Pulling from library/golang 20:24:36 df20fa9351a1: Pulling fs layer 20:24:36 ed8968b2872e: Pulling fs layer 20:24:36 a92cc7c5fd73: Pulling fs layer 20:24:36 dd0b68742591: Pulling fs layer 20:24:36 fb4ae7ba1102: Pulling fs layer 20:24:36 dd0b68742591: Waiting 20:24:36 fb4ae7ba1102: Waiting 20:24:36 ed8968b2872e: Download complete 20:24:36 a92cc7c5fd73: Download complete 20:24:37 df20fa9351a1: Verifying Checksum 20:24:37 df20fa9351a1: Download complete 20:24:37 fb4ae7ba1102: Verifying Checksum 20:24:37 fb4ae7ba1102: Download complete 20:24:37 df20fa9351a1: Pull complete 20:24:37 ed8968b2872e: Pull complete 20:24:37 a92cc7c5fd73: Pull complete 20:24:40 dd0b68742591: Verifying Checksum 20:24:40 dd0b68742591: Download complete 20:24:45 dd0b68742591: Pull complete 20:24:45 fb4ae7ba1102: Pull complete 20:24:45 Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd 20:24:45 Status: Downloaded newer image for golang:1.13-alpine 20:24:45 ---> 5863598a981a 20:24:45 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:24:50 ---> Running in 1b3df513835a 20:24:50 Removing intermediate container 1b3df513835a 20:24:50 ---> 2a6ec9a24606 20:24:50 Step 3/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:24:50 ---> Running in a398c12ba71c 20:24:51 Removing intermediate container a398c12ba71c 20:24:51 ---> db88ec514e67 20:24:51 Step 4/13 : ARG SNYK_VERSION=1.419.1 20:24:51 ---> Running in bab5a9eae73a 20:24:51 Removing intermediate container bab5a9eae73a 20:24:51 ---> 52e84b78de55 20:24:51 Step 5/13 : ENV SNYK_VERSION=${SNYK_VERSION} 20:24:51 ---> Running in 1a4b41fa3c7c 20:24:51 Removing intermediate container 1a4b41fa3c7c 20:24:51 ---> 9dab061e8c69 20:24:51 Step 6/13 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 20:24:52 latest: Pulling from library/docker 20:24:52 df20fa9351a1: Already exists 20:24:52 25ad7478873d: Pulling fs layer 20:24:52 4684f6177b5d: Pulling fs layer 20:24:52 206f78d23536: Pulling fs layer 20:24:52 cee0542293f3: Pulling fs layer 20:24:52 d951dd9fd09f: Pulling fs layer 20:24:52 dce9c88c04bd: Pulling fs layer 20:24:52 cee0542293f3: Waiting 20:24:52 d951dd9fd09f: Waiting 20:24:52 dce9c88c04bd: Waiting 20:24:52 4684f6177b5d: Verifying Checksum 20:24:52 4684f6177b5d: Download complete 20:24:52 25ad7478873d: Verifying Checksum 20:24:52 25ad7478873d: Download complete 20:24:52 cee0542293f3: Download complete 20:24:52 d951dd9fd09f: Verifying Checksum 20:24:52 d951dd9fd09f: Download complete 20:24:52 dce9c88c04bd: Verifying Checksum 20:24:52 dce9c88c04bd: Download complete 20:24:52 25ad7478873d: Pull complete 20:24:52 4684f6177b5d: Pull complete 20:24:53 206f78d23536: Verifying Checksum 20:24:53 206f78d23536: Download complete 20:24:55 206f78d23536: Pull complete 20:24:55 cee0542293f3: Pull complete 20:24:55 d951dd9fd09f: Pull complete 20:24:55 dce9c88c04bd: Pull complete 20:24:55 Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 20:24:55 Status: Downloaded newer image for docker:latest 20:24:57 ---> 6b1e5c9c003d 20:24:57 Step 7/13 : RUN apk add --update --no-cache git gcc libc-dev 20:24:57 ---> Running in d2b83502bce7 20:24:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:24:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:24:59 (1/18) Installing libgcc (9.3.0-r2) 20:24:59 (2/18) Installing libstdc++ (9.3.0-r2) 20:25:00 (3/18) Installing binutils (2.34-r1) 20:25:00 (4/18) Installing gmp (6.2.0-r0) 20:25:00 (5/18) Installing isl (0.18-r0) 20:25:01 (6/18) Installing libgomp (9.3.0-r2) 20:25:01 (7/18) Installing libatomic (9.3.0-r2) 20:25:01 (8/18) Installing libgphobos (9.3.0-r2) 20:25:01 (9/18) Installing mpfr4 (4.0.2-r4) 20:25:01 (10/18) Installing mpc1 (1.1.0-r1) 20:25:02 (11/18) Installing gcc (9.3.0-r2) 20:25:12 (12/18) Installing nghttp2-libs (1.41.0-r0) 20:25:12 (13/18) Installing libcurl (7.69.1-r1) 20:25:12 (14/18) Installing expat (2.2.9-r1) 20:25:12 (15/18) Installing pcre2 (10.35-r0) 20:25:12 (16/18) Installing git (2.26.2-r0) 20:25:14 (17/18) Installing musl-dev (1.1.24-r9) 20:25:14 (18/18) Installing libc-dev (0.7.2-r3) 20:25:14 Executing busybox-1.31.1-r16.trigger 20:25:14 OK: 156 MiB in 33 packages 20:25:18 Removing intermediate container d2b83502bce7 20:25:18 ---> 030b09a576d8 20:25:18 Step 8/13 : RUN wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk 20:25:18 ---> Running in 78ab0453e52d 20:25:18 Connecting to github.com (140.82.113.4:443) 20:25:18 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.144.99:443) 20:25:18 saving to '/usr/local/bin/snyk' 20:25:19 snyk 5% |* | 5713k 0:00:16 ETA 20:25:20 snyk 31% |********* | 30.9M 0:00:04 ETA 20:25:21 snyk 40% |************* | 40.6M 0:00:04 ETA 20:25:22 snyk 44% |************** | 43.8M 0:00:05 ETA 20:25:23 snyk 49% |*************** | 49.1M 0:00:05 ETA 20:25:24 snyk 54% |***************** | 53.8M 0:00:05 ETA 20:25:25 snyk 56% |***************** | 55.8M 0:00:05 ETA 20:25:26 snyk 60% |******************* | 59.8M 0:00:05 ETA 20:25:27 snyk 64% |******************** | 64.6M 0:00:04 ETA 20:25:28 snyk 69% |********************** | 69.5M 0:00:04 ETA 20:25:29 snyk 75% |************************ | 75.6M 0:00:03 ETA 20:25:30 snyk 80% |************************* | 80.6M 0:00:02 ETA 20:25:31 snyk 87% |*************************** | 86.7M 0:00:01 ETA 20:25:32 snyk 96% |****************************** | 95.7M 0:00:00 ETA 20:25:32 snyk 100% |********************************| 99.5M 0:00:00 ETA 20:25:32 '/usr/local/bin/snyk' saved 20:25:34 Removing intermediate container 78ab0453e52d 20:25:34 ---> 6f346632c50f 20:25:34 Step 9/13 : ENV GO111MODULE=on 20:25:34 ---> Running in 0a3a22c6e04d 20:25:34 Removing intermediate container 0a3a22c6e04d 20:25:34 ---> 41f615aea99f 20:25:34 Step 10/13 : ENTRYPOINT [ "snyk" ] 20:25:34 ---> Running in 53ff87545efa 20:25:34 Removing intermediate container 53ff87545efa 20:25:34 ---> 08928c9f334b 20:25:34 Step 11/13 : CMD [ "monitor" ] 20:25:34 ---> Running in 21aada9c0c5b 20:25:34 Removing intermediate container 21aada9c0c5b 20:25:34 ---> 10547170ccb7 20:25:34 Step 12/13 : LABEL arch=amd64 20:25:34 ---> Running in 33ed8209e580 20:25:35 Removing intermediate container 33ed8209e580 20:25:35 ---> 5f53ece333fb 20:25:35 Step 13/13 : LABEL git_sha=d79e060c5ea1bf7ff740a6f3f35bc4ad7a4c588d 20:25:35 ---> Running in 123b6c6e340c 20:25:35 Removing intermediate container 123b6c6e340c 20:25:35 ---> 3b1fb76e19b8 20:25:35 [Warning] One or more build-args [ARCH] were not consumed 20:25:35 Successfully built 3b1fb76e19b8 20:25:35 Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:25:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:25:40 ---> package-listing.sh 20:25:40 ++ facter osfamily 20:25:40 ++ tr '[:upper:]' '[:lower:]' 20:25:40 + OS_FAMILY=redhat 20:25:40 + workspace=/w/workspace/exfoundry_ci-build-images_PR-151 20:25:40 + START_PACKAGES=/tmp/packages_start.txt 20:25:40 + END_PACKAGES=/tmp/packages_end.txt 20:25:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:25:40 + PACKAGES=/tmp/packages_start.txt 20:25:40 + '[' /w/workspace/exfoundry_ci-build-images_PR-151 ']' 20:25:40 + PACKAGES=/tmp/packages_end.txt 20:25:40 + case "${OS_FAMILY}" in 20:25:40 + rpm -qa 20:25:40 + sort 20:25:44 + '[' -f /tmp/packages_start.txt ']' 20:25:44 + '[' -f /tmp/packages_end.txt ']' 20:25:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:25:44 + '[' /w/workspace/exfoundry_ci-build-images_PR-151 ']' 20:25:44 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-151/archives/ 20:25:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-151/archives/ [Pipeline] echo 20:25:44 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/exfoundry_ci-build-images_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:25:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:25:45 20:25:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:25:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:25:45 alpine: Pulling from edgex-lftools-log-publisher 20:25:45 df20fa9351a1: Already exists 20:25:45 36b3adc4ff6f: Pulling fs layer 20:25:45 8ad3a11d3b57: Pulling fs layer 20:25:45 46f8f816bc3b: Pulling fs layer 20:25:45 93b61091891f: Pulling fs layer 20:25:45 93b9cdb0e59b: Pulling fs layer 20:25:45 5e14af77c1be: Pulling fs layer 20:25:45 01666e4c0597: Pulling fs layer 20:25:45 aa168da1d23b: Pulling fs layer 20:25:45 93b61091891f: Waiting 20:25:45 93b9cdb0e59b: Waiting 20:25:45 5e14af77c1be: Waiting 20:25:45 01666e4c0597: Waiting 20:25:45 aa168da1d23b: Waiting 20:25:45 46f8f816bc3b: Verifying Checksum 20:25:45 46f8f816bc3b: Download complete 20:25:45 36b3adc4ff6f: Verifying Checksum 20:25:45 36b3adc4ff6f: Download complete 20:25:45 93b9cdb0e59b: Verifying Checksum 20:25:45 93b9cdb0e59b: Download complete 20:25:45 5e14af77c1be: Verifying Checksum 20:25:45 5e14af77c1be: Download complete 20:25:45 01666e4c0597: Download complete 20:25:45 93b61091891f: Verifying Checksum 20:25:45 93b61091891f: Download complete 20:25:45 36b3adc4ff6f: Pull complete 20:25:46 8ad3a11d3b57: Download complete 20:25:47 8ad3a11d3b57: Pull complete 20:25:47 46f8f816bc3b: Pull complete 20:25:47 93b61091891f: Pull complete 20:25:48 93b9cdb0e59b: Pull complete 20:25:48 5e14af77c1be: Pull complete 20:25:48 aa168da1d23b: Verifying Checksum 20:25:48 aa168da1d23b: Download complete 20:25:48 01666e4c0597: Pull complete 20:25:54 aa168da1d23b: Pull complete 20:25:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:25:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:25:55 prd-centos7-docker-4c-2g-7537 does not seem to be running inside a container 20:25:55 $ 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/exfoundry_ci-build-images_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-151 -v /w/workspace/exfoundry_ci-build-images_PR-151:/w/workspace/exfoundry_ci-build-images_PR-151:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-151@tmp:/w/workspace/exfoundry_ci-build-images_PR-151@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:25:58 $ docker top 27d1cfb01dccce4286e2d3f1cb094e39d04f911b947bc36b11cb0d2c1a2bdb04 -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:59 + touch /tmp/pre-build-complete [Pipeline] sh 20:25:59 + mkdir -p /var/log/sa [Pipeline] sh 20:26:00 + ls /var/log/sa-host 20:26:00 + sadf -c /var/log/sa-host/sa05 20:26:00 file_magic: OK 20:26:00 HZ: Using current value: 100 20:26:00 file_header: OK 20:26:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:26:00 Statistics: 20:26:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:26:00 File successfully converted to sysstat format version 12.2.1 20:26:00 + sadf -c /var/log/sa-host/sa21 20:26:00 file_magic: OK 20:26:00 HZ: Using current value: 100 20:26:00 file_header: OK 20:26:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:26:00 Statistics: 20:26:00 HRHnuu...uuuununununu...Hnuu...uuuununununu... 20:26:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:00 provisioning config files... 20:26:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-151@tmp/config1964019710578953401tmp [Pipeline] { [Pipeline] echo 20:26:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:26:01 ---> create-netrc.sh [Pipeline] } 20:26:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:26:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:26:01 ---> python-tools-install.sh [Pipeline] echo 20:26:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:26:02 ---> sudo-logs.sh 20:26:02 Archiving 'sudo' log.. [Pipeline] echo 20:26:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:26:02 ---> job-cost.sh 20:26:02 lf-activate-venv: SKIPPING 20:26:02 INFO: No Stack... 20:26:04 INFO: Retrieving Pricing Info for: v1-standard-2 20:26:05 INFO: Archiving Costs [Pipeline] echo 20:26:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:26:05 ---> logs-deploy.sh 20:26:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-151/1 20:26:05 INFO: archiving workspace using pattern(s): 20:26:06 Archives upload complete. 20:26:06 INFO: archiving logs to Nexus 20:26:07 ---> uname -a: 20:26:07 Linux prd-centos7-docker-4c-2g-7537.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 20:26:07 20:26:07 20:26:07 ---> lscpu: 20:26:07 Architecture: x86_64 20:26:07 CPU op-mode(s): 32-bit, 64-bit 20:26:07 Byte Order: Little Endian 20:26:07 Address sizes: 40 bits physical, 48 bits virtual 20:26:07 CPU(s): 4 20:26:07 On-line CPU(s) list: 0-3 20:26:07 Thread(s) per core: 1 20:26:07 Core(s) per socket: 1 20:26:07 Socket(s): 4 20:26:07 NUMA node(s): 1 20:26:07 Vendor ID: GenuineIntel 20:26:07 CPU family: 6 20:26:07 Model: 44 20:26:07 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:26:07 Stepping: 1 20:26:07 CPU MHz: 2933.438 20:26:07 BogoMIPS: 5866.87 20:26:07 Virtualization: VT-x 20:26:07 Hypervisor vendor: KVM 20:26:07 Virtualization type: full 20:26:07 L1d cache: 128 KiB 20:26:07 L1i cache: 128 KiB 20:26:07 L2 cache: 16 MiB 20:26:07 L3 cache: 64 MiB 20:26:07 NUMA node0 CPU(s): 0-3 20:26:07 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:26:07 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:26:07 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:26:07 Vulnerability Meltdown: Mitigation; PTI 20:26:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:26:07 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:26:07 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:26:07 Vulnerability Tsx async abort: Not affected 20:26:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:26:07 20:26:07 20:26:07 ---> nproc: 20:26:07 4 20:26:07 20:26:07 20:26:07 ---> df -h: 20:26:07 Filesystem Size Used Available Use% Mounted on 20:26:07 overlay 50.0G 8.0G 42.0G 16% / 20:26:07 tmpfs 64.0M 0 64.0M 0% /dev 20:26:07 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:26:07 shm 64.0M 0 64.0M 0% /dev/shm 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /facter-os 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /etc/resolv.conf 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /etc/hostname 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /etc/hosts 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /w/workspace/exfoundry_ci-build-images_PR-151@tmp 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /var/log/sa-host 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /var/log/secure 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /var/log/auth.log 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /run/cloud-init/result.json 20:26:07 /dev/vda1 50.0G 8.0G 42.0G 16% /w/workspace/exfoundry_ci-build-images_PR-151 20:26:07 20:26:07 20:26:07 ---> free -m: 20:26:07 total used free shared buff/cache available 20:26:07 Mem: 1837 684 156 0 996 1055 20:26:07 Swap: 1023 1 1022 20:26:07 20:26:07 20:26:07 ---> ip addr: 20:26:07 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:26:07 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:26:07 inet 127.0.0.1/8 scope host lo 20:26:07 valid_lft forever preferred_lft forever 20:26:07 inet6 ::1/128 scope host 20:26:07 valid_lft forever preferred_lft forever 20:26:07 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:26:07 link/ether fa:16:3e:e2:6d:ae brd ff:ff:ff:ff:ff:ff 20:26:07 inet 10.30.122.239/23 brd 10.30.123.255 scope global dynamic eth0 20:26:07 valid_lft 86262sec preferred_lft 86262sec 20:26:07 inet6 fe80::f816:3eff:fee2:6dae/64 scope link 20:26:07 valid_lft forever preferred_lft forever 20:26:07 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:26:07 link/ether 02:42:d4:e6:76:3a brd ff:ff:ff:ff:ff:ff 20:26:07 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:26:07 valid_lft forever preferred_lft forever 20:26:07 inet6 fe80::42:d4ff:fee6:763a/64 scope link 20:26:07 valid_lft forever preferred_lft forever 20:26:07 20:26:07