Pull request #153 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 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea+f3dfea1e54b278c2e288d54bd30763ecc8ecb035 (fc0e8a115c1ccfa953479e4804c5ff9cee6a5990) 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 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 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-153/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 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 > 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-153/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 ‘prd-centos7-docker-4c-2g-9800’ is offline Running on prd-centos7-docker-4c-2g-9801 in /w/workspace/exfoundry_ci-build-images_PR-153 [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-153 # 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 Merging remotes/origin/snyk commit f3dfea1e54b278c2e288d54bd30763ecc8ecb035 into PR head commit 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea Merge succeeded, producing 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea Checking out Revision 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea # 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 f3dfea1e54b278c2e288d54bd30763ecc8ecb035 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea # timeout=10 Commit message: "downgrade to 1.410.4 due to snyk test with dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:38:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:38:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:38:24 ========================================================= 23:38:24 EdgeX Global Pipelines Version Info 23:38:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:38:25 ------------------- 23:38:25 stable info: 23:38:25 ------------------- 23:38:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:38:25 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 23:38:25 Message: update stable to v1.0.152 23:38:26 ------------------- 23:38:26 experimental info: 23:38:26 ------------------- 23:38:26 Commited By: **** collab-it+edgex@linuxfoundation.org 23:38:26 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 23:38:26 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 23:38:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 23:38:27 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 23:38:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 23:38:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:38:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:38:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:38:28 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 23:38:29 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo 23:38:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 23:38:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 23:38:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 23:38:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea [Pipeline] echo 23:38:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d64af3 [Pipeline] echo 23:38:29 [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 23:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:35 + ls -al . 23:38:35 total 8 23:38:35 drwxrwxr-x. 3 jenkins jenkins 55 Oct 30 23:38 . 23:38:35 drwxrwxr-x. 4 jenkins jenkins 112 Oct 30 23:38 .. 23:38:35 -rw-rw-r--. 1 jenkins jenkins 677 Oct 30 23:38 Dockerfile 23:38:35 drwxrwxr-x. 8 jenkins jenkins 179 Oct 30 23:38 .git 23:38:35 -rw-rw-r--. 1 jenkins jenkins 896 Oct 30 23:38 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 23:38:36 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea --label arch=amd64 . 23:38:36 Sending build context to Docker daemon 364kB 23:38:36 Step 1/12 : FROM golang:1.15-alpine 23:38:37 1.15-alpine: Pulling from library/golang 23:38:37 188c0c94c7c5: Pulling fs layer 23:38:37 0ef7d3d256c8: Pulling fs layer 23:38:37 de9db76c5a1d: Pulling fs layer 23:38:37 0eba1c9be4d2: Pulling fs layer 23:38:37 0d57e429df01: Pulling fs layer 23:38:37 0eba1c9be4d2: Waiting 23:38:37 0d57e429df01: Waiting 23:38:37 de9db76c5a1d: Verifying Checksum 23:38:37 de9db76c5a1d: Download complete 23:38:37 0ef7d3d256c8: Verifying Checksum 23:38:37 0ef7d3d256c8: Download complete 23:38:37 188c0c94c7c5: Verifying Checksum 23:38:37 188c0c94c7c5: Download complete 23:38:37 0d57e429df01: Verifying Checksum 23:38:37 0d57e429df01: Download complete 23:38:38 188c0c94c7c5: Pull complete 23:38:38 0ef7d3d256c8: Pull complete 23:38:38 de9db76c5a1d: Pull complete 23:38:39 0eba1c9be4d2: Verifying Checksum 23:38:39 0eba1c9be4d2: Download complete 23:38:44 0eba1c9be4d2: Pull complete 23:38:44 0d57e429df01: Pull complete 23:38:44 Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c 23:38:44 Status: Downloaded newer image for golang:1.15-alpine 23:38:44 ---> d099254f5fc3 23:38:44 Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:38:50 ---> Running in 9fef9e8b5c2b 23:38:50 Removing intermediate container 9fef9e8b5c2b 23:38:50 ---> 27e6a1c74af8 23:38:50 Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:38:50 ---> Running in 45eb7419c491 23:38:51 Removing intermediate container 45eb7419c491 23:38:51 ---> 699dbf5bdfd6 23:38:51 Step 4/12 : ARG SNYK_VERSION=1.410.4 23:38:51 ---> Running in f5714c2dbb63 23:38:51 Removing intermediate container f5714c2dbb63 23:38:51 ---> 51d15ed87e66 23:38:51 Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} 23:38:51 ---> Running in 6abafe296b48 23:38:51 Removing intermediate container 6abafe296b48 23:38:51 ---> 1fd58cd7b850 23:38:51 Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 23:38:52 latest: Pulling from library/docker 23:38:52 188c0c94c7c5: Already exists 23:38:52 0c7c675703d6: Pulling fs layer 23:38:52 cc8c12a437cb: Pulling fs layer 23:38:52 c5dafad2182a: Pulling fs layer 23:38:52 5aa711733414: Pulling fs layer 23:38:52 058f73b55e4b: Pulling fs layer 23:38:52 8c9c664faf12: Pulling fs layer 23:38:52 5aa711733414: Waiting 23:38:52 058f73b55e4b: Waiting 23:38:52 8c9c664faf12: Waiting 23:38:52 cc8c12a437cb: Verifying Checksum 23:38:52 cc8c12a437cb: Download complete 23:38:52 0c7c675703d6: Verifying Checksum 23:38:52 0c7c675703d6: Download complete 23:38:52 5aa711733414: Verifying Checksum 23:38:52 5aa711733414: Download complete 23:38:52 058f73b55e4b: Verifying Checksum 23:38:52 058f73b55e4b: Download complete 23:38:52 8c9c664faf12: Verifying Checksum 23:38:52 8c9c664faf12: Download complete 23:38:52 0c7c675703d6: Pull complete 23:38:52 cc8c12a437cb: Pull complete 23:38:53 c5dafad2182a: Verifying Checksum 23:38:53 c5dafad2182a: Download complete 23:38:56 c5dafad2182a: Pull complete 23:38:56 5aa711733414: Pull complete 23:38:56 058f73b55e4b: Pull complete 23:38:56 8c9c664faf12: Pull complete 23:38:56 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 23:38:56 Status: Downloaded newer image for docker:latest 23:38:57 ---> 5c9654857edf 23:38:57 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 23:38:58 ---> Running in 0fc95f3ffd91 23:38:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:38:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:38:59 (1/20) Installing tcl (8.6.10-r0) 23:39:00 (2/20) Installing expect (5.45.4-r0) 23:39:00 (3/20) Installing libgcc (9.3.0-r2) 23:39:00 (4/20) Installing libstdc++ (9.3.0-r2) 23:39:00 (5/20) Installing binutils (2.34-r1) 23:39:01 (6/20) Installing gmp (6.2.0-r0) 23:39:01 (7/20) Installing isl (0.18-r0) 23:39:01 (8/20) Installing libgomp (9.3.0-r2) 23:39:01 (9/20) Installing libatomic (9.3.0-r2) 23:39:01 (10/20) Installing libgphobos (9.3.0-r2) 23:39:02 (11/20) Installing mpfr4 (4.0.2-r4) 23:39:02 (12/20) Installing mpc1 (1.1.0-r1) 23:39:02 (13/20) Installing gcc (9.3.0-r2) 23:39:15 (14/20) Installing nghttp2-libs (1.41.0-r0) 23:39:15 (15/20) Installing libcurl (7.69.1-r1) 23:39:15 (16/20) Installing expat (2.2.9-r1) 23:39:15 (17/20) Installing pcre2 (10.35-r0) 23:39:15 (18/20) Installing git (2.26.2-r0) 23:39:15 (19/20) Installing musl-dev (1.1.24-r9) 23:39:16 (20/20) Installing libc-dev (0.7.2-r3) 23:39:16 Executing busybox-1.31.1-r19.trigger 23:39:16 OK: 165 MiB in 35 packages 23:39:16 Connecting to github.com (140.82.114.3:443) 23:39:16 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.0.24:443) 23:39:16 saving to '/usr/local/bin/snyk' 23:39:17 snyk 10% |*** | 10.7M 0:00:08 ETA 23:39:18 snyk 16% |***** | 16.7M 0:00:09 ETA 23:39:19 snyk 22% |******* | 22.1M 0:00:10 ETA 23:39:20 snyk 30% |********* | 30.6M 0:00:08 ETA 23:39:21 snyk 42% |************* | 42.4M 0:00:06 ETA 23:39:22 snyk 58% |****************** | 57.9M 0:00:04 ETA 23:39:23 snyk 76% |************************ | 75.8M 0:00:02 ETA 23:39:24 snyk 92% |***************************** | 91.6M 0:00:00 ETA 23:39:25 snyk 100% |********************************| 99.4M 0:00:00 ETA 23:39:25 '/usr/local/bin/snyk' saved 23:39:31 Removing intermediate container 0fc95f3ffd91 23:39:31 ---> a4545f02415e 23:39:31 Step 8/12 : ENV GO111MODULE=on 23:39:31 ---> Running in 2fff1910ba3b 23:39:31 Removing intermediate container 2fff1910ba3b 23:39:31 ---> 6cb37f793302 23:39:31 Step 9/12 : ENTRYPOINT [ "snyk" ] 23:39:31 ---> Running in f490538d18e1 23:39:32 Removing intermediate container f490538d18e1 23:39:32 ---> 87cae8dea6f7 23:39:32 Step 10/12 : CMD [ "monitor" ] 23:39:32 ---> Running in 2bb8a1acb341 23:39:32 Removing intermediate container 2bb8a1acb341 23:39:32 ---> 6024fbd66ef4 23:39:32 Step 11/12 : LABEL arch=amd64 23:39:32 ---> Running in bcabc3c2d7fe 23:39:32 Removing intermediate container bcabc3c2d7fe 23:39:32 ---> 306b42004b84 23:39:32 Step 12/12 : LABEL git_sha=9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea 23:39:32 ---> Running in 9aedd83b4651 23:39:32 Removing intermediate container 9aedd83b4651 23:39:32 ---> c546ecc574c5 23:39:32 [Warning] One or more build-args [ARCH] were not consumed 23:39:32 Successfully built c546ecc574c5 23:39:32 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 23:39:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:39:36 ---> package-listing.sh 23:39:36 ++ facter osfamily 23:39:36 ++ tr '[:upper:]' '[:lower:]' 23:39:36 + OS_FAMILY=redhat 23:39:36 + workspace=/w/workspace/exfoundry_ci-build-images_PR-153 23:39:36 + START_PACKAGES=/tmp/packages_start.txt 23:39:36 + END_PACKAGES=/tmp/packages_end.txt 23:39:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:39:36 + PACKAGES=/tmp/packages_start.txt 23:39:36 + '[' /w/workspace/exfoundry_ci-build-images_PR-153 ']' 23:39:36 + PACKAGES=/tmp/packages_end.txt 23:39:36 + case "${OS_FAMILY}" in 23:39:36 + rpm -qa 23:39:36 + sort 23:39:40 + '[' -f /tmp/packages_start.txt ']' 23:39:40 + '[' -f /tmp/packages_end.txt ']' 23:39:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:39:40 + '[' /w/workspace/exfoundry_ci-build-images_PR-153 ']' 23:39:40 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-153/archives/ 23:39:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-153/archives/ [Pipeline] echo 23:39:40 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:39:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:39:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:39:41 23:39:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:39:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:39:41 alpine: Pulling from edgex-lftools-log-publisher 23:39:41 df20fa9351a1: Pulling fs layer 23:39:41 36b3adc4ff6f: Pulling fs layer 23:39:41 8ad3a11d3b57: Pulling fs layer 23:39:41 46f8f816bc3b: Pulling fs layer 23:39:41 93b61091891f: Pulling fs layer 23:39:41 93b9cdb0e59b: Pulling fs layer 23:39:41 5e14af77c1be: Pulling fs layer 23:39:41 01666e4c0597: Pulling fs layer 23:39:41 aa168da1d23b: Pulling fs layer 23:39:41 93b61091891f: Waiting 23:39:41 93b9cdb0e59b: Waiting 23:39:41 5e14af77c1be: Waiting 23:39:41 01666e4c0597: Waiting 23:39:41 aa168da1d23b: Waiting 23:39:41 46f8f816bc3b: Waiting 23:39:41 36b3adc4ff6f: Verifying Checksum 23:39:41 36b3adc4ff6f: Download complete 23:39:41 46f8f816bc3b: Verifying Checksum 23:39:41 46f8f816bc3b: Download complete 23:39:42 df20fa9351a1: Download complete 23:39:42 93b61091891f: Verifying Checksum 23:39:42 93b61091891f: Download complete 23:39:42 93b9cdb0e59b: Verifying Checksum 23:39:42 93b9cdb0e59b: Download complete 23:39:42 5e14af77c1be: Verifying Checksum 23:39:42 5e14af77c1be: Download complete 23:39:42 01666e4c0597: Verifying Checksum 23:39:42 01666e4c0597: Download complete 23:39:42 8ad3a11d3b57: Verifying Checksum 23:39:42 8ad3a11d3b57: Download complete 23:39:42 df20fa9351a1: Pull complete 23:39:42 36b3adc4ff6f: Pull complete 23:39:43 8ad3a11d3b57: Pull complete 23:39:44 aa168da1d23b: Verifying Checksum 23:39:44 aa168da1d23b: Download complete 23:39:44 46f8f816bc3b: Pull complete 23:39:45 93b61091891f: Pull complete 23:39:45 93b9cdb0e59b: Pull complete 23:39:45 5e14af77c1be: Pull complete 23:39:45 01666e4c0597: Pull complete 23:39:52 aa168da1d23b: Pull complete 23:39:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:39:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:39:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:39:52 prd-centos7-docker-4c-2g-9801 does not seem to be running inside a container 23:39:52 $ 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-153/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-153 -v /w/workspace/exfoundry_ci-build-images_PR-153:/w/workspace/exfoundry_ci-build-images_PR-153:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-153@tmp:/w/workspace/exfoundry_ci-build-images_PR-153@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 23:39:56 $ docker top ca6fd235179a7352422b878b0b7afaba260878f8b9950c454ef1390f30b58aad -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:57 + touch /tmp/pre-build-complete [Pipeline] sh 23:39:57 + mkdir -p /var/log/sa [Pipeline] sh 23:39:57 + ls /var/log/sa-host 23:39:57 + sadf -c /var/log/sa-host/sa05 23:39:57 file_magic: OK 23:39:57 HZ: Using current value: 100 23:39:57 file_header: OK 23:39:57 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 23:39:57 Statistics: 23:39:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:39:57 File successfully converted to sysstat format version 12.2.1 23:39:57 + sadf -c /var/log/sa-host/sa30 23:39:57 file_magic: OK 23:39:57 HZ: Using current value: 100 23:39:57 file_header: OK 23:39:57 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 23:39:57 Statistics: 23:39:57 HRHnuu...uuuununununu...Hnuu...uuuununununu... 23:39:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:58 provisioning config files... 23:39:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-153@tmp/config6842946839825310345tmp [Pipeline] { [Pipeline] echo 23:39:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:39:58 ---> create-netrc.sh [Pipeline] } 23:39:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:39:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:39:59 ---> python-tools-install.sh [Pipeline] echo 23:39:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:39:59 ---> sudo-logs.sh 23:39:59 Archiving 'sudo' log.. [Pipeline] echo 23:39:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:39:59 ---> job-cost.sh 23:39:59 lf-activate-venv: SKIPPING 23:39:59 INFO: No Stack... 23:40:00 INFO: Retrieving Pricing Info for: v1-standard-2 23:40:02 INFO: Archiving Costs [Pipeline] echo 23:40:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:40:02 ---> logs-deploy.sh 23:40:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-153/1 23:40:02 INFO: archiving workspace using pattern(s): 23:40:03 Archives upload complete. 23:40:03 INFO: archiving logs to Nexus