Pull request #152 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 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e+19c1282fd942be570d79ff5a0a035d8e4c66d8d6 (0d9992e28b0fd5195aaf32aa389e56d371aa18e9) 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-152/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-152/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-7545 in /w/workspace/exfoundry_ci-build-images_PR-152 [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-152 # 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/152/head:refs/remotes/origin/PR-152 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 Merging remotes/origin/snyk commit 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 into PR head commit 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e Merge succeeded, producing 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e Checking out Revision 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e (PR-152) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e # 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 19c1282fd942be570d79ff5a0a035d8e4c66d8d6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e # timeout=10 Commit message: "feat: update go version and add expect package" 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 21:12:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:12:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:12:09 ========================================================= 21:12:09 EdgeX Global Pipelines Version Info 21:12:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:12:11 ------------------- 21:12:11 stable info: 21:12:11 ------------------- 21:12:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:12:11 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 21:12:11 Message: update stable to v1.0.144 21:12:12 ------------------- 21:12:12 experimental info: 21:12:12 ------------------- 21:12:12 Commited By: **** collab-it+edgex@linuxfoundation.org 21:12:12 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 21:12:12 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 21:12:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 21:12:12 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 21:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.419.1 [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo 21:12:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo 21:12:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo 21:12:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e [Pipeline] echo 21:12:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a3b4c3 [Pipeline] echo 21:12:15 [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 21:12:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:23 + ls -al . 21:12:23 total 8 21:12:23 drwxrwxr-x. 3 jenkins jenkins 55 Oct 21 21:12 . 21:12:23 drwxrwxr-x. 4 jenkins jenkins 112 Oct 21 21:12 .. 21:12:23 -rw-rw-r--. 1 jenkins jenkins 677 Oct 21 21:12 Dockerfile 21:12:23 drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 21:12 .git 21:12:23 -rw-rw-r--. 1 jenkins jenkins 896 Oct 21 21:12 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 21:12:24 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=6a3b4c3f6c6fe47761110775fda3ee9078f3f42e --label arch=amd64 . 21:12:25 Sending build context to Docker daemon 359.9kB 21:12:25 Step 1/12 : FROM golang:1.15-alpine 21:12:25 1.15-alpine: Pulling from library/golang 21:12:25 df20fa9351a1: Pulling fs layer 21:12:25 ed8968b2872e: Pulling fs layer 21:12:25 a92cc7c5fd73: Pulling fs layer 21:12:25 77c26f46e4e3: Pulling fs layer 21:12:25 a61f79ca4ca3: Pulling fs layer 21:12:25 77c26f46e4e3: Waiting 21:12:25 a61f79ca4ca3: Waiting 21:12:25 a92cc7c5fd73: Verifying Checksum 21:12:25 a92cc7c5fd73: Download complete 21:12:25 ed8968b2872e: Verifying Checksum 21:12:25 ed8968b2872e: Download complete 21:12:25 df20fa9351a1: Verifying Checksum 21:12:25 df20fa9351a1: Download complete 21:12:26 a61f79ca4ca3: Verifying Checksum 21:12:26 a61f79ca4ca3: Download complete 21:12:26 df20fa9351a1: Pull complete 21:12:26 ed8968b2872e: Pull complete 21:12:26 a92cc7c5fd73: Pull complete 21:12:27 77c26f46e4e3: Verifying Checksum 21:12:27 77c26f46e4e3: Download complete 21:12:34 77c26f46e4e3: Pull complete 21:12:34 a61f79ca4ca3: Pull complete 21:12:34 Digest: sha256:21f26b69753998119b8b5193a563e02794c8a7ceaa19316f0ece5021b0a5a6f6 21:12:34 Status: Downloaded newer image for golang:1.15-alpine 21:12:34 ---> 813e7bfc1890 21:12:34 Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:12:37 ---> Running in 3b77ee87d9cf 21:12:37 Removing intermediate container 3b77ee87d9cf 21:12:37 ---> efa450f72c09 21:12:37 Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:12:37 ---> Running in c22bbb5c0fc0 21:12:38 Removing intermediate container c22bbb5c0fc0 21:12:38 ---> 5bb6da089266 21:12:38 Step 4/12 : ARG SNYK_VERSION=1.419.1 21:12:38 ---> Running in 755debc30e90 21:12:38 Removing intermediate container 755debc30e90 21:12:38 ---> aebf16835236 21:12:38 Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} 21:12:38 ---> Running in b8a68b8ab7b4 21:12:38 Removing intermediate container b8a68b8ab7b4 21:12:38 ---> 94d63e08a9c9 21:12:38 Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 21:12:39 latest: Pulling from library/docker 21:12:39 df20fa9351a1: Already exists 21:12:39 25ad7478873d: Pulling fs layer 21:12:39 4684f6177b5d: Pulling fs layer 21:12:39 206f78d23536: Pulling fs layer 21:12:39 cee0542293f3: Pulling fs layer 21:12:39 d951dd9fd09f: Pulling fs layer 21:12:39 dce9c88c04bd: Pulling fs layer 21:12:39 d951dd9fd09f: Waiting 21:12:39 cee0542293f3: Waiting 21:12:39 dce9c88c04bd: Waiting 21:12:39 4684f6177b5d: Verifying Checksum 21:12:39 4684f6177b5d: Download complete 21:12:39 cee0542293f3: Download complete 21:12:39 25ad7478873d: Verifying Checksum 21:12:39 25ad7478873d: Download complete 21:12:39 d951dd9fd09f: Verifying Checksum 21:12:39 d951dd9fd09f: Download complete 21:12:39 dce9c88c04bd: Verifying Checksum 21:12:39 dce9c88c04bd: Download complete 21:12:39 25ad7478873d: Pull complete 21:12:40 4684f6177b5d: Pull complete 21:12:40 206f78d23536: Verifying Checksum 21:12:40 206f78d23536: Download complete 21:12:43 206f78d23536: Pull complete 21:12:43 cee0542293f3: Pull complete 21:12:43 d951dd9fd09f: Pull complete 21:12:43 dce9c88c04bd: Pull complete 21:12:43 Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 21:12:43 Status: Downloaded newer image for docker:latest 21:12:45 ---> 37efd4b1d8ef 21:12:45 Step 7/12 : RUN apk add --update --no-cache git gcc libc-dev expect && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk 21:12:45 ---> Running in e359ac49f1db 21:12:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:12:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:12:47 (1/20) Installing tcl (8.6.10-r0) 21:12:48 (2/20) Installing expect (5.45.4-r0) 21:12:48 (3/20) Installing libgcc (9.3.0-r2) 21:12:48 (4/20) Installing libstdc++ (9.3.0-r2) 21:12:48 (5/20) Installing binutils (2.34-r1) 21:12:49 (6/20) Installing gmp (6.2.0-r0) 21:12:49 (7/20) Installing isl (0.18-r0) 21:12:49 (8/20) Installing libgomp (9.3.0-r2) 21:12:49 (9/20) Installing libatomic (9.3.0-r2) 21:12:49 (10/20) Installing libgphobos (9.3.0-r2) 21:12:50 (11/20) Installing mpfr4 (4.0.2-r4) 21:12:50 (12/20) Installing mpc1 (1.1.0-r1) 21:12:50 (13/20) Installing gcc (9.3.0-r2) 21:13:00 (14/20) Installing nghttp2-libs (1.41.0-r0) 21:13:00 (15/20) Installing libcurl (7.69.1-r1) 21:13:00 (16/20) Installing expat (2.2.9-r1) 21:13:00 (17/20) Installing pcre2 (10.35-r0) 21:13:00 (18/20) Installing git (2.26.2-r0) 21:13:01 (19/20) Installing musl-dev (1.1.24-r9) 21:13:02 (20/20) Installing libc-dev (0.7.2-r3) 21:13:02 Executing busybox-1.31.1-r16.trigger 21:13:02 OK: 165 MiB in 35 packages 21:13:02 Connecting to github.com (140.82.112.4:443) 21:13:03 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.78.220:443) 21:13:03 saving to '/usr/local/bin/snyk' 21:13:03 snyk 3% |* | 3659k 0:00:26 ETA 21:13:04 snyk 8% |** | 8507k 0:00:21 ETA 21:13:05 snyk 16% |***** | 16.3M 0:00:15 ETA 21:13:06 snyk 27% |******** | 27.6M 0:00:10 ETA 21:13:07 snyk 40% |************ | 39.9M 0:00:07 ETA 21:13:08 snyk 53% |***************** | 53.1M 0:00:05 ETA 21:13:10 snyk 69% |********************** | 69.3M 0:00:03 ETA 21:13:10 snyk 89% |**************************** | 89.1M 0:00:00 ETA 21:13:11 snyk 100% |********************************| 99.5M 0:00:00 ETA 21:13:11 '/usr/local/bin/snyk' saved 21:13:18 Removing intermediate container e359ac49f1db 21:13:18 ---> 2f0972a72b55 21:13:18 Step 8/12 : ENV GO111MODULE=on 21:13:18 ---> Running in 4936f5f02ca5 21:13:18 Removing intermediate container 4936f5f02ca5 21:13:18 ---> 34965a7c0b75 21:13:18 Step 9/12 : ENTRYPOINT [ "snyk" ] 21:13:18 ---> Running in ab20c7dd1443 21:13:18 Removing intermediate container ab20c7dd1443 21:13:18 ---> 2b0ec504629e 21:13:18 Step 10/12 : CMD [ "monitor" ] 21:13:18 ---> Running in d2b014155112 21:13:18 Removing intermediate container d2b014155112 21:13:18 ---> 709cb90203fa 21:13:18 Step 11/12 : LABEL arch=amd64 21:13:18 ---> Running in 410fd78e601d 21:13:18 Removing intermediate container 410fd78e601d 21:13:18 ---> 59f0e3c9a59f 21:13:18 Step 12/12 : LABEL git_sha=6a3b4c3f6c6fe47761110775fda3ee9078f3f42e 21:13:18 ---> Running in d5c3d9c34292 21:13:18 Removing intermediate container d5c3d9c34292 21:13:18 ---> c317a6327bcc 21:13:18 [Warning] One or more build-args [ARCH] were not consumed 21:13:18 Successfully built c317a6327bcc 21:13:18 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 21:13:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:13:23 ---> package-listing.sh 21:13:23 ++ facter osfamily 21:13:23 ++ tr '[:upper:]' '[:lower:]' 21:13:23 + OS_FAMILY=redhat 21:13:23 + workspace=/w/workspace/exfoundry_ci-build-images_PR-152 21:13:23 + START_PACKAGES=/tmp/packages_start.txt 21:13:23 + END_PACKAGES=/tmp/packages_end.txt 21:13:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:13:23 + PACKAGES=/tmp/packages_start.txt 21:13:23 + '[' /w/workspace/exfoundry_ci-build-images_PR-152 ']' 21:13:23 + PACKAGES=/tmp/packages_end.txt 21:13:23 + case "${OS_FAMILY}" in 21:13:23 + rpm -qa 21:13:23 + sort 21:13:27 + '[' -f /tmp/packages_start.txt ']' 21:13:27 + '[' -f /tmp/packages_end.txt ']' 21:13:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:13:27 + '[' /w/workspace/exfoundry_ci-build-images_PR-152 ']' 21:13:27 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-152/archives/ 21:13:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-152/archives/ [Pipeline] echo 21:13:27 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:13:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:13:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:13:28 21:13:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:13:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:13:28 alpine: Pulling from edgex-lftools-log-publisher 21:13:28 df20fa9351a1: Already exists 21:13:28 36b3adc4ff6f: Pulling fs layer 21:13:28 8ad3a11d3b57: Pulling fs layer 21:13:28 46f8f816bc3b: Pulling fs layer 21:13:28 93b61091891f: Pulling fs layer 21:13:28 93b9cdb0e59b: Pulling fs layer 21:13:28 5e14af77c1be: Pulling fs layer 21:13:28 01666e4c0597: Pulling fs layer 21:13:28 aa168da1d23b: Pulling fs layer 21:13:28 93b9cdb0e59b: Waiting 21:13:28 5e14af77c1be: Waiting 21:13:28 aa168da1d23b: Waiting 21:13:28 01666e4c0597: Waiting 21:13:28 93b61091891f: Waiting 21:13:28 46f8f816bc3b: Verifying Checksum 21:13:28 46f8f816bc3b: Download complete 21:13:28 36b3adc4ff6f: Download complete 21:13:28 93b9cdb0e59b: Verifying Checksum 21:13:28 93b9cdb0e59b: Download complete 21:13:28 5e14af77c1be: Verifying Checksum 21:13:28 5e14af77c1be: Download complete 21:13:28 01666e4c0597: Verifying Checksum 21:13:28 01666e4c0597: Download complete 21:13:28 93b61091891f: Verifying Checksum 21:13:28 93b61091891f: Download complete 21:13:28 36b3adc4ff6f: Pull complete 21:13:29 8ad3a11d3b57: Verifying Checksum 21:13:29 8ad3a11d3b57: Download complete 21:13:30 8ad3a11d3b57: Pull complete 21:13:31 46f8f816bc3b: Pull complete 21:13:31 aa168da1d23b: Verifying Checksum 21:13:31 aa168da1d23b: Download complete 21:13:31 93b61091891f: Pull complete 21:13:31 93b9cdb0e59b: Pull complete 21:13:32 5e14af77c1be: Pull complete 21:13:32 01666e4c0597: Pull complete 21:13:38 aa168da1d23b: Pull complete 21:13:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:13:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:13:39 prd-centos7-docker-4c-2g-7545 does not seem to be running inside a container 21:13:39 $ 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-152/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-152 -v /w/workspace/exfoundry_ci-build-images_PR-152:/w/workspace/exfoundry_ci-build-images_PR-152:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-152@tmp:/w/workspace/exfoundry_ci-build-images_PR-152@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 21:13:43 $ docker top 91a2474bc1df5c7aab5c7b637a3e22be329ddd887625c4e608221a464251c01c -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:13:44 + mkdir -p /var/log/sa [Pipeline] sh 21:13:44 + ls /var/log/sa-host 21:13:44 + sadf -c /var/log/sa-host/sa05 21:13:44 file_magic: OK 21:13:44 HZ: Using current value: 100 21:13:44 file_header: OK 21:13:44 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 21:13:44 Statistics: 21:13:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:13:44 File successfully converted to sysstat format version 12.2.1 21:13:44 + sadf -c /var/log/sa-host/sa21 21:13:44 file_magic: OK 21:13:44 HZ: Using current value: 100 21:13:44 file_header: OK 21:13:44 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 21:13:44 Statistics: 21:13:44 HRHnuu...uuuununununu...Hnuu...uuuununununu... 21:13:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:45 provisioning config files... 21:13:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-152@tmp/config5121288992418659490tmp [Pipeline] { [Pipeline] echo 21:13:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:13:46 ---> create-netrc.sh [Pipeline] } 21:13:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:13:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:13:46 ---> python-tools-install.sh [Pipeline] echo 21:13:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:13:46 ---> sudo-logs.sh 21:13:46 Archiving 'sudo' log.. [Pipeline] echo 21:13:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:13:47 ---> job-cost.sh 21:13:47 lf-activate-venv: SKIPPING 21:13:47 INFO: No Stack... 21:13:48 INFO: Retrieving Pricing Info for: v1-standard-2 21:13:48 INFO: Archiving Costs [Pipeline] echo 21:13:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:13:48 ---> logs-deploy.sh 21:13:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-152/1 21:13:48 INFO: archiving workspace using pattern(s): 21:13:50 Archives upload complete. 21:13:50 INFO: archiving logs to Nexus