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 [2020-10-21T21:12:09.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-21T21:12:09.477Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-21T21:12:09.687Z] ========================================================= [2020-10-21T21:12:09.687Z] EdgeX Global Pipelines Version Info [2020-10-21T21:12:09.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:12:11.208Z] ------------------- [2020-10-21T21:12:11.208Z] stable info: [2020-10-21T21:12:11.208Z] ------------------- [2020-10-21T21:12:11.208Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-21T21:12:11.208Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-21T21:12:11.208Z] Message: update stable to v1.0.144 [2020-10-21T21:12:12.154Z] ------------------- [2020-10-21T21:12:12.154Z] experimental info: [2020-10-21T21:12:12.154Z] ------------------- [2020-10-21T21:12:12.154Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-21T21:12:12.154Z] Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 [2020-10-21T21:12:12.154Z] Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-21T21:12:12.758Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-10-21T21:12:12.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2020-10-21T21:12:13.027Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-10-21T21:12:13.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-21T21:12:13.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-21T21:12:13.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2020-10-21T21:12:13.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-10-21T21:12:13.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-10-21T21:12:13.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-10-21T21:12:14.015Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-21T21:12:14.139Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-10-21T21:12:14.274Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2020-10-21T21:12:14.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-21T21:12:14.547Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2020-10-21T21:12:14.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.419.1 [Pipeline] echo [2020-10-21T21:12:14.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2020-10-21T21:12:14.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2020-10-21T21:12:15.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2020-10-21T21:12:15.214Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a3b4c3f6c6fe47761110775fda3ee9078f3f42e [Pipeline] echo [2020-10-21T21:12:15.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a3b4c3 [Pipeline] echo [2020-10-21T21:12:15.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T21:12:23.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T21:12:23.989Z] + ls -al . [2020-10-21T21:12:23.989Z] total 8 [2020-10-21T21:12:23.989Z] drwxrwxr-x. 3 jenkins jenkins 55 Oct 21 21:12 . [2020-10-21T21:12:23.989Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 21 21:12 .. [2020-10-21T21:12:23.989Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 21 21:12 Dockerfile [2020-10-21T21:12:23.989Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 21:12 .git [2020-10-21T21:12:23.989Z] -rw-rw-r--. 1 jenkins jenkins 896 Oct 21 21:12 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:12:24.878Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=6a3b4c3f6c6fe47761110775fda3ee9078f3f42e --label arch=amd64 . [2020-10-21T21:12:25.165Z] Sending build context to Docker daemon 359.9kB [2020-10-21T21:12:25.165Z] Step 1/12 : FROM golang:1.15-alpine [2020-10-21T21:12:25.776Z] 1.15-alpine: Pulling from library/golang [2020-10-21T21:12:25.776Z] df20fa9351a1: Pulling fs layer [2020-10-21T21:12:25.776Z] ed8968b2872e: Pulling fs layer [2020-10-21T21:12:25.776Z] a92cc7c5fd73: Pulling fs layer [2020-10-21T21:12:25.776Z] 77c26f46e4e3: Pulling fs layer [2020-10-21T21:12:25.776Z] a61f79ca4ca3: Pulling fs layer [2020-10-21T21:12:25.776Z] 77c26f46e4e3: Waiting [2020-10-21T21:12:25.776Z] a61f79ca4ca3: Waiting [2020-10-21T21:12:25.776Z] a92cc7c5fd73: Verifying Checksum [2020-10-21T21:12:25.776Z] a92cc7c5fd73: Download complete [2020-10-21T21:12:25.776Z] ed8968b2872e: Verifying Checksum [2020-10-21T21:12:25.776Z] ed8968b2872e: Download complete [2020-10-21T21:12:25.776Z] df20fa9351a1: Verifying Checksum [2020-10-21T21:12:25.776Z] df20fa9351a1: Download complete [2020-10-21T21:12:26.063Z] a61f79ca4ca3: Verifying Checksum [2020-10-21T21:12:26.063Z] a61f79ca4ca3: Download complete [2020-10-21T21:12:26.063Z] df20fa9351a1: Pull complete [2020-10-21T21:12:26.342Z] ed8968b2872e: Pull complete [2020-10-21T21:12:26.845Z] a92cc7c5fd73: Pull complete [2020-10-21T21:12:27.806Z] 77c26f46e4e3: Verifying Checksum [2020-10-21T21:12:27.806Z] 77c26f46e4e3: Download complete [2020-10-21T21:12:34.454Z] 77c26f46e4e3: Pull complete [2020-10-21T21:12:34.454Z] a61f79ca4ca3: Pull complete [2020-10-21T21:12:34.454Z] Digest: sha256:21f26b69753998119b8b5193a563e02794c8a7ceaa19316f0ece5021b0a5a6f6 [2020-10-21T21:12:34.454Z] Status: Downloaded newer image for golang:1.15-alpine [2020-10-21T21:12:34.454Z] ---> 813e7bfc1890 [2020-10-21T21:12:34.454Z] Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-21T21:12:37.152Z] ---> Running in 3b77ee87d9cf [2020-10-21T21:12:37.152Z] Removing intermediate container 3b77ee87d9cf [2020-10-21T21:12:37.152Z] ---> efa450f72c09 [2020-10-21T21:12:37.152Z] Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T21:12:37.152Z] ---> Running in c22bbb5c0fc0 [2020-10-21T21:12:38.105Z] Removing intermediate container c22bbb5c0fc0 [2020-10-21T21:12:38.105Z] ---> 5bb6da089266 [2020-10-21T21:12:38.105Z] Step 4/12 : ARG SNYK_VERSION=1.419.1 [2020-10-21T21:12:38.105Z] ---> Running in 755debc30e90 [2020-10-21T21:12:38.369Z] Removing intermediate container 755debc30e90 [2020-10-21T21:12:38.369Z] ---> aebf16835236 [2020-10-21T21:12:38.369Z] Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} [2020-10-21T21:12:38.369Z] ---> Running in b8a68b8ab7b4 [2020-10-21T21:12:38.631Z] Removing intermediate container b8a68b8ab7b4 [2020-10-21T21:12:38.631Z] ---> 94d63e08a9c9 [2020-10-21T21:12:38.631Z] Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-10-21T21:12:39.206Z] latest: Pulling from library/docker [2020-10-21T21:12:39.471Z] df20fa9351a1: Already exists [2020-10-21T21:12:39.471Z] 25ad7478873d: Pulling fs layer [2020-10-21T21:12:39.471Z] 4684f6177b5d: Pulling fs layer [2020-10-21T21:12:39.471Z] 206f78d23536: Pulling fs layer [2020-10-21T21:12:39.471Z] cee0542293f3: Pulling fs layer [2020-10-21T21:12:39.471Z] d951dd9fd09f: Pulling fs layer [2020-10-21T21:12:39.471Z] dce9c88c04bd: Pulling fs layer [2020-10-21T21:12:39.471Z] d951dd9fd09f: Waiting [2020-10-21T21:12:39.471Z] cee0542293f3: Waiting [2020-10-21T21:12:39.471Z] dce9c88c04bd: Waiting [2020-10-21T21:12:39.471Z] 4684f6177b5d: Verifying Checksum [2020-10-21T21:12:39.471Z] 4684f6177b5d: Download complete [2020-10-21T21:12:39.471Z] cee0542293f3: Download complete [2020-10-21T21:12:39.471Z] 25ad7478873d: Verifying Checksum [2020-10-21T21:12:39.471Z] 25ad7478873d: Download complete [2020-10-21T21:12:39.744Z] d951dd9fd09f: Verifying Checksum [2020-10-21T21:12:39.744Z] d951dd9fd09f: Download complete [2020-10-21T21:12:39.744Z] dce9c88c04bd: Verifying Checksum [2020-10-21T21:12:39.744Z] dce9c88c04bd: Download complete [2020-10-21T21:12:39.744Z] 25ad7478873d: Pull complete [2020-10-21T21:12:40.008Z] 4684f6177b5d: Pull complete [2020-10-21T21:12:40.584Z] 206f78d23536: Verifying Checksum [2020-10-21T21:12:40.584Z] 206f78d23536: Download complete [2020-10-21T21:12:43.932Z] 206f78d23536: Pull complete [2020-10-21T21:12:43.932Z] cee0542293f3: Pull complete [2020-10-21T21:12:43.932Z] d951dd9fd09f: Pull complete [2020-10-21T21:12:43.932Z] dce9c88c04bd: Pull complete [2020-10-21T21:12:43.932Z] Digest: sha256:e3be13e8d7d9673c6ee307c2b7d0736eb823f5013707a8de59b33aecb31827b1 [2020-10-21T21:12:43.932Z] Status: Downloaded newer image for docker:latest [2020-10-21T21:12:45.863Z] ---> 37efd4b1d8ef [2020-10-21T21:12:45.863Z] 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 [2020-10-21T21:12:45.863Z] ---> Running in e359ac49f1db [2020-10-21T21:12:46.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T21:12:47.085Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T21:12:47.695Z] (1/20) Installing tcl (8.6.10-r0) [2020-10-21T21:12:48.289Z] (2/20) Installing expect (5.45.4-r0) [2020-10-21T21:12:48.565Z] (3/20) Installing libgcc (9.3.0-r2) [2020-10-21T21:12:48.565Z] (4/20) Installing libstdc++ (9.3.0-r2) [2020-10-21T21:12:48.836Z] (5/20) Installing binutils (2.34-r1) [2020-10-21T21:12:49.412Z] (6/20) Installing gmp (6.2.0-r0) [2020-10-21T21:12:49.412Z] (7/20) Installing isl (0.18-r0) [2020-10-21T21:12:49.988Z] (8/20) Installing libgomp (9.3.0-r2) [2020-10-21T21:12:49.988Z] (9/20) Installing libatomic (9.3.0-r2) [2020-10-21T21:12:49.988Z] (10/20) Installing libgphobos (9.3.0-r2) [2020-10-21T21:12:50.567Z] (11/20) Installing mpfr4 (4.0.2-r4) [2020-10-21T21:12:50.567Z] (12/20) Installing mpc1 (1.1.0-r1) [2020-10-21T21:12:50.829Z] (13/20) Installing gcc (9.3.0-r2) [2020-10-21T21:13:00.873Z] (14/20) Installing nghttp2-libs (1.41.0-r0) [2020-10-21T21:13:00.873Z] (15/20) Installing libcurl (7.69.1-r1) [2020-10-21T21:13:00.873Z] (16/20) Installing expat (2.2.9-r1) [2020-10-21T21:13:00.873Z] (17/20) Installing pcre2 (10.35-r0) [2020-10-21T21:13:00.873Z] (18/20) Installing git (2.26.2-r0) [2020-10-21T21:13:01.831Z] (19/20) Installing musl-dev (1.1.24-r9) [2020-10-21T21:13:02.784Z] (20/20) Installing libc-dev (0.7.2-r3) [2020-10-21T21:13:02.784Z] Executing busybox-1.31.1-r16.trigger [2020-10-21T21:13:02.784Z] OK: 165 MiB in 35 packages [2020-10-21T21:13:02.784Z] Connecting to github.com (140.82.112.4:443) [2020-10-21T21:13:03.050Z] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.78.220:443) [2020-10-21T21:13:03.313Z] saving to '/usr/local/bin/snyk' [2020-10-21T21:13:03.890Z] snyk 3% |* | 3659k 0:00:26 ETA [2020-10-21T21:13:04.839Z] snyk 8% |** | 8507k 0:00:21 ETA [2020-10-21T21:13:05.788Z] snyk 16% |***** | 16.3M 0:00:15 ETA [2020-10-21T21:13:06.736Z] snyk 27% |******** | 27.6M 0:00:10 ETA [2020-10-21T21:13:07.683Z] snyk 40% |************ | 39.9M 0:00:07 ETA [2020-10-21T21:13:08.634Z] snyk 53% |***************** | 53.1M 0:00:05 ETA [2020-10-21T21:13:10.025Z] snyk 69% |********************** | 69.3M 0:00:03 ETA [2020-10-21T21:13:10.604Z] snyk 89% |**************************** | 89.1M 0:00:00 ETA [2020-10-21T21:13:11.182Z] snyk 100% |********************************| 99.5M 0:00:00 ETA [2020-10-21T21:13:11.447Z] '/usr/local/bin/snyk' saved [2020-10-21T21:13:18.082Z] Removing intermediate container e359ac49f1db [2020-10-21T21:13:18.082Z] ---> 2f0972a72b55 [2020-10-21T21:13:18.082Z] Step 8/12 : ENV GO111MODULE=on [2020-10-21T21:13:18.082Z] ---> Running in 4936f5f02ca5 [2020-10-21T21:13:18.082Z] Removing intermediate container 4936f5f02ca5 [2020-10-21T21:13:18.082Z] ---> 34965a7c0b75 [2020-10-21T21:13:18.082Z] Step 9/12 : ENTRYPOINT [ "snyk" ] [2020-10-21T21:13:18.082Z] ---> Running in ab20c7dd1443 [2020-10-21T21:13:18.082Z] Removing intermediate container ab20c7dd1443 [2020-10-21T21:13:18.082Z] ---> 2b0ec504629e [2020-10-21T21:13:18.082Z] Step 10/12 : CMD [ "monitor" ] [2020-10-21T21:13:18.082Z] ---> Running in d2b014155112 [2020-10-21T21:13:18.346Z] Removing intermediate container d2b014155112 [2020-10-21T21:13:18.346Z] ---> 709cb90203fa [2020-10-21T21:13:18.346Z] Step 11/12 : LABEL arch=amd64 [2020-10-21T21:13:18.346Z] ---> Running in 410fd78e601d [2020-10-21T21:13:18.610Z] Removing intermediate container 410fd78e601d [2020-10-21T21:13:18.610Z] ---> 59f0e3c9a59f [2020-10-21T21:13:18.610Z] Step 12/12 : LABEL git_sha=6a3b4c3f6c6fe47761110775fda3ee9078f3f42e [2020-10-21T21:13:18.610Z] ---> Running in d5c3d9c34292 [2020-10-21T21:13:18.610Z] Removing intermediate container d5c3d9c34292 [2020-10-21T21:13:18.610Z] ---> c317a6327bcc [2020-10-21T21:13:18.610Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T21:13:18.610Z] Successfully built c317a6327bcc [2020-10-21T21:13:18.881Z] 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 [2020-10-21T21:13:22.652Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:13:23.270Z] ---> package-listing.sh [2020-10-21T21:13:23.270Z] ++ facter osfamily [2020-10-21T21:13:23.270Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-21T21:13:23.270Z] + OS_FAMILY=redhat [2020-10-21T21:13:23.270Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-152 [2020-10-21T21:13:23.270Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-21T21:13:23.270Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-21T21:13:23.270Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-21T21:13:23.270Z] + PACKAGES=/tmp/packages_start.txt [2020-10-21T21:13:23.270Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-152 ']' [2020-10-21T21:13:23.270Z] + PACKAGES=/tmp/packages_end.txt [2020-10-21T21:13:23.270Z] + case "${OS_FAMILY}" in [2020-10-21T21:13:23.270Z] + rpm -qa [2020-10-21T21:13:23.270Z] + sort [2020-10-21T21:13:27.516Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-21T21:13:27.516Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-21T21:13:27.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-21T21:13:27.516Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-152 ']' [2020-10-21T21:13:27.516Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-152/archives/ [2020-10-21T21:13:27.516Z] + 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 [2020-10-21T21:13:27.552Z] 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 [2020-10-21T21:13:27.863Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:13:28.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T21:13:28.211Z] [2020-10-21T21:13:28.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-21T21:13:28.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T21:13:28.623Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-21T21:13:28.623Z] df20fa9351a1: Already exists [2020-10-21T21:13:28.623Z] 36b3adc4ff6f: Pulling fs layer [2020-10-21T21:13:28.623Z] 8ad3a11d3b57: Pulling fs layer [2020-10-21T21:13:28.623Z] 46f8f816bc3b: Pulling fs layer [2020-10-21T21:13:28.623Z] 93b61091891f: Pulling fs layer [2020-10-21T21:13:28.623Z] 93b9cdb0e59b: Pulling fs layer [2020-10-21T21:13:28.623Z] 5e14af77c1be: Pulling fs layer [2020-10-21T21:13:28.623Z] 01666e4c0597: Pulling fs layer [2020-10-21T21:13:28.623Z] aa168da1d23b: Pulling fs layer [2020-10-21T21:13:28.623Z] 93b9cdb0e59b: Waiting [2020-10-21T21:13:28.623Z] 5e14af77c1be: Waiting [2020-10-21T21:13:28.623Z] aa168da1d23b: Waiting [2020-10-21T21:13:28.623Z] 01666e4c0597: Waiting [2020-10-21T21:13:28.623Z] 93b61091891f: Waiting [2020-10-21T21:13:28.623Z] 46f8f816bc3b: Verifying Checksum [2020-10-21T21:13:28.623Z] 46f8f816bc3b: Download complete [2020-10-21T21:13:28.623Z] 36b3adc4ff6f: Download complete [2020-10-21T21:13:28.623Z] 93b9cdb0e59b: Verifying Checksum [2020-10-21T21:13:28.623Z] 93b9cdb0e59b: Download complete [2020-10-21T21:13:28.623Z] 5e14af77c1be: Verifying Checksum [2020-10-21T21:13:28.623Z] 5e14af77c1be: Download complete [2020-10-21T21:13:28.884Z] 01666e4c0597: Verifying Checksum [2020-10-21T21:13:28.884Z] 01666e4c0597: Download complete [2020-10-21T21:13:28.884Z] 93b61091891f: Verifying Checksum [2020-10-21T21:13:28.884Z] 93b61091891f: Download complete [2020-10-21T21:13:28.884Z] 36b3adc4ff6f: Pull complete [2020-10-21T21:13:29.839Z] 8ad3a11d3b57: Verifying Checksum [2020-10-21T21:13:29.839Z] 8ad3a11d3b57: Download complete [2020-10-21T21:13:30.792Z] 8ad3a11d3b57: Pull complete [2020-10-21T21:13:31.059Z] 46f8f816bc3b: Pull complete [2020-10-21T21:13:31.636Z] aa168da1d23b: Verifying Checksum [2020-10-21T21:13:31.636Z] aa168da1d23b: Download complete [2020-10-21T21:13:31.636Z] 93b61091891f: Pull complete [2020-10-21T21:13:31.901Z] 93b9cdb0e59b: Pull complete [2020-10-21T21:13:32.165Z] 5e14af77c1be: Pull complete [2020-10-21T21:13:32.165Z] 01666e4c0597: Pull complete [2020-10-21T21:13:38.860Z] aa168da1d23b: Pull complete [2020-10-21T21:13:38.860Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-21T21:13:38.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T21:13:38.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-21T21:13:39.071Z] prd-centos7-docker-4c-2g-7545 does not seem to be running inside a container [2020-10-21T21:13:39.134Z] $ 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 [2020-10-21T21:13:43.347Z] $ docker top 91a2474bc1df5c7aab5c7b637a3e22be329ddd887625c4e608221a464251c01c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T21:13:43.991Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-21T21:13:44.384Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-21T21:13:44.786Z] + ls /var/log/sa-host [2020-10-21T21:13:44.787Z] + sadf -c /var/log/sa-host/sa05 [2020-10-21T21:13:44.787Z] file_magic: OK [2020-10-21T21:13:44.787Z] HZ: Using current value: 100 [2020-10-21T21:13:44.787Z] file_header: OK [2020-10-21T21:13:44.787Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-21T21:13:44.787Z] Statistics: [2020-10-21T21:13:44.787Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T21:13:44.787Z] File successfully converted to sysstat format version 12.2.1 [2020-10-21T21:13:44.787Z] + sadf -c /var/log/sa-host/sa21 [2020-10-21T21:13:44.787Z] file_magic: OK [2020-10-21T21:13:44.787Z] HZ: Using current value: 100 [2020-10-21T21:13:44.787Z] file_header: OK [2020-10-21T21:13:44.787Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-21T21:13:44.787Z] Statistics: [2020-10-21T21:13:44.787Z] HRHnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T21:13:44.787Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-21T21:13:45.551Z] provisioning config files... [2020-10-21T21:13:45.610Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-152@tmp/config5121288992418659490tmp [Pipeline] { [Pipeline] echo [2020-10-21T21:13:45.701Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:13:46.039Z] ---> create-netrc.sh [Pipeline] } [2020-10-21T21:13:46.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-21T21:13:46.204Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:13:46.534Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-21T21:13:46.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:13:46.892Z] ---> sudo-logs.sh [2020-10-21T21:13:46.892Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-21T21:13:46.935Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:13:47.269Z] ---> job-cost.sh [2020-10-21T21:13:47.269Z] lf-activate-venv: SKIPPING [2020-10-21T21:13:47.269Z] INFO: No Stack... [2020-10-21T21:13:48.217Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-21T21:13:48.480Z] INFO: Archiving Costs [Pipeline] echo [2020-10-21T21:13:48.518Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T21:13:48.850Z] ---> logs-deploy.sh [2020-10-21T21:13:48.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-152/1 [2020-10-21T21:13:48.850Z] INFO: archiving workspace using pattern(s): [2020-10-21T21:13:50.243Z] Archives upload complete. [2020-10-21T21:13:50.243Z] INFO: archiving logs to Nexus