Pull request #154 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 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785+d827d8a7942ec005abe6f37d4a954436cd658b9a (d19cd62b17a2e9ac052bbce7df64fd893d5611a7) 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-154/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-154/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-10316 in /w/workspace/exfoundry_ci-build-images_PR-154 [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-154 # 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 d827d8a7942ec005abe6f37d4a954436cd658b9a into PR head commit 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 Merge succeeded, producing 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 Checking out Revision 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 (PR-154) > 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/154/head:refs/remotes/origin/PR-154 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 # 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 d827d8a7942ec005abe6f37d4a954436cd658b9a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 # timeout=10 Commit message: "feat: add snyk-to-html utility to generate html report" 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 [2020-11-02T18:54:53.307Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T18:54:53.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T18:54:53.836Z] ========================================================= [2020-11-02T18:54:53.836Z] EdgeX Global Pipelines Version Info [2020-11-02T18:54:53.836Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:54:56.520Z] ------------------- [2020-11-02T18:54:56.520Z] stable info: [2020-11-02T18:54:56.520Z] ------------------- [2020-11-02T18:54:56.520Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T18:54:56.520Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T18:54:56.520Z] Message: update stable to v1.0.152 [2020-11-02T18:54:57.520Z] ------------------- [2020-11-02T18:54:57.520Z] experimental info: [2020-11-02T18:54:57.520Z] ------------------- [2020-11-02T18:54:57.520Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T18:54:57.520Z] Commit SHA: a4834499a055e57d3c2bb779be3f851bfcb1687c [2020-11-02T18:54:57.520Z] Message: update experimental to v1.0.155 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T18:54:58.123Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-11-02T18:54:58.303Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2020-11-02T18:54:58.430Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-11-02T18:54:58.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T18:54:58.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T18:54:58.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2020-11-02T18:54:58.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-11-02T18:54:59.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-11-02T18:54:59.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-11-02T18:54:59.347Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T18:54:59.479Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-11-02T18:54:59.621Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2020-11-02T18:54:59.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T18:54:59.892Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2020-11-02T18:55:00.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo [2020-11-02T18:55:00.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-154 [Pipeline] echo [2020-11-02T18:55:00.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-154 [Pipeline] echo [2020-11-02T18:55:00.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-154 [Pipeline] echo [2020-11-02T18:55:00.657Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 [Pipeline] echo [2020-11-02T18:55:00.779Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4abfeb1 [Pipeline] echo [2020-11-02T18:55:00.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T18:55:07.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T18:55:07.415Z] + ls -al . [2020-11-02T18:55:07.416Z] total 8 [2020-11-02T18:55:07.416Z] drwxrwxr-x. 3 jenkins jenkins 55 Nov 2 18:54 . [2020-11-02T18:55:07.416Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 18:54 .. [2020-11-02T18:55:07.416Z] -rw-rw-r--. 1 jenkins jenkins 717 Nov 2 18:54 Dockerfile [2020-11-02T18:55:07.416Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 18:54 .git [2020-11-02T18:55:07.416Z] -rw-rw-r--. 1 jenkins jenkins 896 Nov 2 18:54 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-11-02T18:55:08.197Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 --label arch=amd64 . [2020-11-02T18:55:09.201Z] Sending build context to Docker daemon 363.5kB [2020-11-02T18:55:09.201Z] Step 1/12 : FROM golang:1.15-alpine [2020-11-02T18:55:09.486Z] 1.15-alpine: Pulling from library/golang [2020-11-02T18:55:09.791Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T18:55:09.791Z] 0ef7d3d256c8: Pulling fs layer [2020-11-02T18:55:09.791Z] de9db76c5a1d: Pulling fs layer [2020-11-02T18:55:09.791Z] 0eba1c9be4d2: Pulling fs layer [2020-11-02T18:55:09.791Z] 0d57e429df01: Pulling fs layer [2020-11-02T18:55:09.791Z] 0eba1c9be4d2: Waiting [2020-11-02T18:55:09.791Z] 0d57e429df01: Waiting [2020-11-02T18:55:10.107Z] de9db76c5a1d: Verifying Checksum [2020-11-02T18:55:10.107Z] de9db76c5a1d: Download complete [2020-11-02T18:55:10.107Z] 0ef7d3d256c8: Verifying Checksum [2020-11-02T18:55:10.107Z] 0ef7d3d256c8: Download complete [2020-11-02T18:55:10.107Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T18:55:10.107Z] 188c0c94c7c5: Download complete [2020-11-02T18:55:10.107Z] 0d57e429df01: Verifying Checksum [2020-11-02T18:55:10.107Z] 0d57e429df01: Download complete [2020-11-02T18:55:10.809Z] 188c0c94c7c5: Pull complete [2020-11-02T18:55:11.079Z] 0ef7d3d256c8: Pull complete [2020-11-02T18:55:11.371Z] de9db76c5a1d: Pull complete [2020-11-02T18:55:12.986Z] 0eba1c9be4d2: Verifying Checksum [2020-11-02T18:55:12.987Z] 0eba1c9be4d2: Download complete [2020-11-02T18:55:23.223Z] 0eba1c9be4d2: Pull complete [2020-11-02T18:55:23.223Z] 0d57e429df01: Pull complete [2020-11-02T18:55:23.223Z] Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c [2020-11-02T18:55:23.223Z] Status: Downloaded newer image for golang:1.15-alpine [2020-11-02T18:55:23.224Z] ---> d099254f5fc3 [2020-11-02T18:55:23.224Z] Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-02T18:55:24.710Z] ---> Running in 1f86e14aa405 [2020-11-02T18:55:24.710Z] Removing intermediate container 1f86e14aa405 [2020-11-02T18:55:24.710Z] ---> 6716fdb76384 [2020-11-02T18:55:24.710Z] Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T18:55:24.710Z] ---> Running in 0856d62a5218 [2020-11-02T18:55:26.204Z] Removing intermediate container 0856d62a5218 [2020-11-02T18:55:26.204Z] ---> b56f7c6ff635 [2020-11-02T18:55:26.204Z] Step 4/12 : ARG SNYK_VERSION=1.410.4 [2020-11-02T18:55:26.204Z] ---> Running in 942041682a15 [2020-11-02T18:55:26.484Z] Removing intermediate container 942041682a15 [2020-11-02T18:55:26.484Z] ---> 03aa790a5f3f [2020-11-02T18:55:26.484Z] Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} [2020-11-02T18:55:26.484Z] ---> Running in aa70c3cf19b4 [2020-11-02T18:55:26.762Z] Removing intermediate container aa70c3cf19b4 [2020-11-02T18:55:26.762Z] ---> bf519ac963af [2020-11-02T18:55:26.762Z] Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-11-02T18:55:27.074Z] latest: Pulling from library/docker [2020-11-02T18:55:27.458Z] 188c0c94c7c5: Already exists [2020-11-02T18:55:27.458Z] 0c7c675703d6: Pulling fs layer [2020-11-02T18:55:27.458Z] cc8c12a437cb: Pulling fs layer [2020-11-02T18:55:27.458Z] c5dafad2182a: Pulling fs layer [2020-11-02T18:55:27.458Z] 5aa711733414: Pulling fs layer [2020-11-02T18:55:27.458Z] 058f73b55e4b: Pulling fs layer [2020-11-02T18:55:27.458Z] 8c9c664faf12: Pulling fs layer [2020-11-02T18:55:27.458Z] 5aa711733414: Waiting [2020-11-02T18:55:27.458Z] 058f73b55e4b: Waiting [2020-11-02T18:55:27.458Z] 8c9c664faf12: Waiting [2020-11-02T18:55:27.855Z] cc8c12a437cb: Verifying Checksum [2020-11-02T18:55:27.855Z] cc8c12a437cb: Download complete [2020-11-02T18:55:28.172Z] 0c7c675703d6: Download complete [2020-11-02T18:55:28.172Z] 5aa711733414: Verifying Checksum [2020-11-02T18:55:28.172Z] 5aa711733414: Download complete [2020-11-02T18:55:28.172Z] 058f73b55e4b: Verifying Checksum [2020-11-02T18:55:28.172Z] 058f73b55e4b: Download complete [2020-11-02T18:55:28.547Z] 8c9c664faf12: Verifying Checksum [2020-11-02T18:55:28.547Z] 8c9c664faf12: Download complete [2020-11-02T18:55:28.936Z] 0c7c675703d6: Pull complete [2020-11-02T18:55:29.235Z] cc8c12a437cb: Pull complete [2020-11-02T18:55:29.536Z] c5dafad2182a: Verifying Checksum [2020-11-02T18:55:29.536Z] c5dafad2182a: Download complete [2020-11-02T18:55:35.056Z] c5dafad2182a: Pull complete [2020-11-02T18:55:35.056Z] 5aa711733414: Pull complete [2020-11-02T18:55:35.056Z] 058f73b55e4b: Pull complete [2020-11-02T18:55:35.056Z] 8c9c664faf12: Pull complete [2020-11-02T18:55:35.057Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-11-02T18:55:35.057Z] Status: Downloaded newer image for docker:latest [2020-11-02T18:55:38.497Z] ---> 72337db93263 [2020-11-02T18:55:38.497Z] Step 7/12 : RUN apk add --update --no-cache git gcc libc-dev expect nodejs npm && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk && npm i -g snyk-to-html [2020-11-02T18:55:38.497Z] ---> Running in 4c2f292b7d59 [2020-11-02T18:55:39.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T18:55:39.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T18:55:40.573Z] (1/25) Installing tcl (8.6.10-r0) [2020-11-02T18:55:41.159Z] (2/25) Installing expect (5.45.4-r0) [2020-11-02T18:55:41.160Z] (3/25) Installing libgcc (9.3.0-r2) [2020-11-02T18:55:41.160Z] (4/25) Installing libstdc++ (9.3.0-r2) [2020-11-02T18:55:41.440Z] (5/25) Installing binutils (2.34-r1) [2020-11-02T18:55:42.877Z] (6/25) Installing gmp (6.2.0-r0) [2020-11-02T18:55:42.877Z] (7/25) Installing isl (0.18-r0) [2020-11-02T18:55:43.143Z] (8/25) Installing libgomp (9.3.0-r2) [2020-11-02T18:55:43.143Z] (9/25) Installing libatomic (9.3.0-r2) [2020-11-02T18:55:43.427Z] (10/25) Installing libgphobos (9.3.0-r2) [2020-11-02T18:55:44.410Z] (11/25) Installing mpfr4 (4.0.2-r4) [2020-11-02T18:55:44.410Z] (12/25) Installing mpc1 (1.1.0-r1) [2020-11-02T18:55:44.715Z] (13/25) Installing gcc (9.3.0-r2) [2020-11-02T18:55:59.949Z] (14/25) Installing nghttp2-libs (1.41.0-r0) [2020-11-02T18:55:59.949Z] (15/25) Installing libcurl (7.69.1-r1) [2020-11-02T18:55:59.949Z] (16/25) Installing expat (2.2.9-r1) [2020-11-02T18:55:59.949Z] (17/25) Installing pcre2 (10.35-r0) [2020-11-02T18:55:59.949Z] (18/25) Installing git (2.26.2-r0) [2020-11-02T18:55:59.949Z] (19/25) Installing musl-dev (1.1.24-r9) [2020-11-02T18:56:00.938Z] (20/25) Installing libc-dev (0.7.2-r3) [2020-11-02T18:56:00.938Z] (21/25) Installing brotli-libs (1.0.9-r1) [2020-11-02T18:56:00.938Z] (22/25) Installing c-ares (1.16.1-r0) [2020-11-02T18:56:01.205Z] (23/25) Installing libuv (1.38.1-r0) [2020-11-02T18:56:01.205Z] (24/25) Installing nodejs (12.18.4-r0) [2020-11-02T18:56:04.689Z] (25/25) Installing npm (12.18.4-r0) [2020-11-02T18:56:07.396Z] Executing busybox-1.31.1-r19.trigger [2020-11-02T18:56:07.396Z] OK: 221 MiB in 40 packages [2020-11-02T18:56:07.396Z] Connecting to github.com (140.82.114.3:443) [2020-11-02T18:56:07.664Z] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.142.132:443) [2020-11-02T18:56:07.664Z] saving to '/usr/local/bin/snyk' [2020-11-02T18:56:08.277Z] snyk 12% |*** | 11.9M 0:00:07 ETA [2020-11-02T18:56:09.308Z] snyk 28% |********* | 28.0M 0:00:05 ETA [2020-11-02T18:56:10.354Z] snyk 44% |************** | 43.8M 0:00:03 ETA [2020-11-02T18:56:11.346Z] snyk 54% |***************** | 54.6M 0:00:03 ETA [2020-11-02T18:56:12.325Z] snyk 65% |******************** | 65.1M 0:00:02 ETA [2020-11-02T18:56:13.328Z] snyk 78% |************************* | 78.2M 0:00:01 ETA [2020-11-02T18:56:14.303Z] snyk 93% |***************************** | 93.0M 0:00:00 ETA [2020-11-02T18:56:14.604Z] snyk 100% |********************************| 99.4M 0:00:00 ETA [2020-11-02T18:56:14.871Z] '/usr/local/bin/snyk' saved [2020-11-02T18:56:20.256Z] /usr/bin/snyk-to-html -> /usr/lib/node_modules/snyk-to-html/dist/index.js [2020-11-02T18:56:20.256Z] + snyk-to-html@1.14.0 [2020-11-02T18:56:20.256Z] added 22 packages from 52 contributors in 4.223s [2020-11-02T18:56:38.675Z] Removing intermediate container 4c2f292b7d59 [2020-11-02T18:56:38.675Z] ---> 1928a76e9832 [2020-11-02T18:56:38.675Z] Step 8/12 : ENV GO111MODULE=on [2020-11-02T18:56:38.675Z] ---> Running in 2f75d096e3f2 [2020-11-02T18:56:38.675Z] Removing intermediate container 2f75d096e3f2 [2020-11-02T18:56:38.675Z] ---> 670fe9c5fd65 [2020-11-02T18:56:38.675Z] Step 9/12 : ENTRYPOINT [ "snyk" ] [2020-11-02T18:56:38.675Z] ---> Running in 961522bf1dd5 [2020-11-02T18:56:38.676Z] Removing intermediate container 961522bf1dd5 [2020-11-02T18:56:38.676Z] ---> 394b42dec977 [2020-11-02T18:56:38.676Z] Step 10/12 : CMD [ "monitor" ] [2020-11-02T18:56:38.676Z] ---> Running in debfbee2033b [2020-11-02T18:56:38.676Z] Removing intermediate container debfbee2033b [2020-11-02T18:56:38.676Z] ---> 2fdf8a1c4a72 [2020-11-02T18:56:38.676Z] Step 11/12 : LABEL arch=amd64 [2020-11-02T18:56:38.676Z] ---> Running in 6779da59a88b [2020-11-02T18:56:38.676Z] Removing intermediate container 6779da59a88b [2020-11-02T18:56:38.676Z] ---> 37d26fcd52d3 [2020-11-02T18:56:38.676Z] Step 12/12 : LABEL git_sha=4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 [2020-11-02T18:56:38.676Z] ---> Running in 27dd9e88f91e [2020-11-02T18:56:38.676Z] Removing intermediate container 27dd9e88f91e [2020-11-02T18:56:38.676Z] ---> 04bba529f0a9 [2020-11-02T18:56:38.676Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T18:56:38.676Z] Successfully built 04bba529f0a9 [2020-11-02T18:56:38.676Z] 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-11-02T18:56:42.914Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:56:43.636Z] ---> package-listing.sh [2020-11-02T18:56:43.636Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T18:56:43.636Z] ++ facter osfamily [2020-11-02T18:56:43.932Z] + OS_FAMILY=redhat [2020-11-02T18:56:43.932Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-154 [2020-11-02T18:56:43.932Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T18:56:43.932Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T18:56:43.932Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T18:56:43.932Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T18:56:43.932Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-154 ']' [2020-11-02T18:56:43.932Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T18:56:43.932Z] + case "${OS_FAMILY}" in [2020-11-02T18:56:43.932Z] + rpm -qa [2020-11-02T18:56:43.932Z] + sort [2020-11-02T18:56:48.207Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T18:56:48.207Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T18:56:48.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T18:56:48.207Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-154 ']' [2020-11-02T18:56:48.207Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-154/archives/ [2020-11-02T18:56:48.207Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-154/archives/ [Pipeline] echo [2020-11-02T18:56:48.242Z] 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-154/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T18:56:48.570Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T18:56:48.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T18:56:49.219Z] [2020-11-02T18:56:49.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T18:56:49.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T18:56:49.675Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T18:56:49.675Z] df20fa9351a1: Pulling fs layer [2020-11-02T18:56:49.675Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T18:56:49.675Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T18:56:49.675Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T18:56:49.675Z] 93b61091891f: Pulling fs layer [2020-11-02T18:56:49.675Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T18:56:49.675Z] 5e14af77c1be: Pulling fs layer [2020-11-02T18:56:49.675Z] 01666e4c0597: Pulling fs layer [2020-11-02T18:56:49.675Z] aa168da1d23b: Pulling fs layer [2020-11-02T18:56:49.675Z] 93b61091891f: Waiting [2020-11-02T18:56:49.675Z] 93b9cdb0e59b: Waiting [2020-11-02T18:56:49.675Z] 5e14af77c1be: Waiting [2020-11-02T18:56:49.675Z] 01666e4c0597: Waiting [2020-11-02T18:56:49.675Z] aa168da1d23b: Waiting [2020-11-02T18:56:49.675Z] 46f8f816bc3b: Waiting [2020-11-02T18:56:49.978Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T18:56:49.978Z] 36b3adc4ff6f: Download complete [2020-11-02T18:56:49.978Z] 46f8f816bc3b: Download complete [2020-11-02T18:56:49.978Z] df20fa9351a1: Verifying Checksum [2020-11-02T18:56:49.978Z] df20fa9351a1: Download complete [2020-11-02T18:56:49.978Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T18:56:49.978Z] 93b9cdb0e59b: Download complete [2020-11-02T18:56:49.978Z] 5e14af77c1be: Verifying Checksum [2020-11-02T18:56:49.978Z] 5e14af77c1be: Download complete [2020-11-02T18:56:49.978Z] 01666e4c0597: Verifying Checksum [2020-11-02T18:56:49.978Z] 01666e4c0597: Download complete [2020-11-02T18:56:50.269Z] 93b61091891f: Verifying Checksum [2020-11-02T18:56:50.269Z] 93b61091891f: Download complete [2020-11-02T18:56:50.864Z] df20fa9351a1: Pull complete [2020-11-02T18:56:50.864Z] 36b3adc4ff6f: Pull complete [2020-11-02T18:56:51.140Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T18:56:51.140Z] 8ad3a11d3b57: Download complete [2020-11-02T18:56:52.668Z] 8ad3a11d3b57: Pull complete [2020-11-02T18:56:52.668Z] 46f8f816bc3b: Pull complete [2020-11-02T18:56:53.770Z] 93b61091891f: Pull complete [2020-11-02T18:56:53.770Z] 93b9cdb0e59b: Pull complete [2020-11-02T18:56:54.400Z] 5e14af77c1be: Pull complete [2020-11-02T18:56:54.678Z] 01666e4c0597: Pull complete [2020-11-02T18:56:55.263Z] aa168da1d23b: Verifying Checksum [2020-11-02T18:56:55.263Z] aa168da1d23b: Download complete [2020-11-02T18:57:07.842Z] aa168da1d23b: Pull complete [2020-11-02T18:57:07.842Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T18:57:07.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T18:57:07.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T18:57:08.237Z] prd-centos7-docker-4c-2g-10316 does not seem to be running inside a container [2020-11-02T18:57:08.426Z] $ 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-154/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-154 -v /w/workspace/exfoundry_ci-build-images_PR-154:/w/workspace/exfoundry_ci-build-images_PR-154:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-154@tmp:/w/workspace/exfoundry_ci-build-images_PR-154@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-11-02T18:57:12.098Z] $ docker top 6e9192cae715ebf02cf4b0a7eb73c302f5b52da6741e2fe06ad62878101f5638 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T18:57:12.792Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T18:57:13.158Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T18:57:13.501Z] + ls /var/log/sa-host [2020-11-02T18:57:13.501Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T18:57:13.501Z] file_magic: OK [2020-11-02T18:57:13.501Z] HZ: Using current value: 100 [2020-11-02T18:57:13.501Z] file_header: OK [2020-11-02T18:57:13.501Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T18:57:13.501Z] Statistics: [2020-11-02T18:57:13.501Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T18:57:13.501Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T18:57:13.501Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T18:57:13.501Z] file_magic: OK [2020-11-02T18:57:13.501Z] HZ: Using current value: 100 [2020-11-02T18:57:13.501Z] file_header: OK [2020-11-02T18:57:13.501Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-02T18:57:13.501Z] Statistics: [2020-11-02T18:57:13.501Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T18:57:13.501Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T18:57:14.244Z] provisioning config files... [2020-11-02T18:57:14.278Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-154@tmp/config3501611153597108397tmp [Pipeline] { [Pipeline] echo [2020-11-02T18:57:14.451Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:57:14.964Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T18:57:15.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T18:57:15.153Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:57:15.561Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T18:57:15.593Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:57:15.983Z] ---> sudo-logs.sh [2020-11-02T18:57:15.983Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T18:57:16.023Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:57:16.724Z] ---> job-cost.sh [2020-11-02T18:57:16.724Z] lf-activate-venv: SKIPPING [2020-11-02T18:57:16.724Z] INFO: No Stack... [2020-11-02T18:57:17.686Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T18:57:17.951Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T18:57:17.994Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T18:57:18.372Z] ---> logs-deploy.sh [2020-11-02T18:57:18.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-154/1 [2020-11-02T18:57:18.638Z] INFO: archiving workspace using pattern(s): [2020-11-02T18:57:20.621Z] Archives upload complete. [2020-11-02T18:57:20.889Z] INFO: archiving logs to Nexus