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 [2020-10-30T23:38:23.839Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-30T23:38:24.254Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-30T23:38:24.462Z] ========================================================= [2020-10-30T23:38:24.462Z] EdgeX Global Pipelines Version Info [2020-10-30T23:38:24.462Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:38:25.979Z] ------------------- [2020-10-30T23:38:25.979Z] stable info: [2020-10-30T23:38:25.979Z] ------------------- [2020-10-30T23:38:25.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-30T23:38:25.979Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-30T23:38:25.979Z] Message: update stable to v1.0.152 [2020-10-30T23:38:26.925Z] ------------------- [2020-10-30T23:38:26.925Z] experimental info: [2020-10-30T23:38:26.925Z] ------------------- [2020-10-30T23:38:26.925Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-30T23:38:26.925Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-10-30T23:38:26.925Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-30T23:38:27.396Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-10-30T23:38:27.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2020-10-30T23:38:27.618Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-10-30T23:38:27.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-30T23:38:27.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-30T23:38:27.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2020-10-30T23:38:28.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-10-30T23:38:28.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-10-30T23:38:28.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-10-30T23:38:28.437Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-30T23:38:28.553Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-10-30T23:38:28.674Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2020-10-30T23:38:28.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-30T23:38:28.985Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2020-10-30T23:38:29.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo [2020-10-30T23:38:29.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2020-10-30T23:38:29.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2020-10-30T23:38:29.555Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2020-10-30T23:38:29.713Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea [Pipeline] echo [2020-10-30T23:38:29.853Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d64af3 [Pipeline] echo [2020-10-30T23:38:29.989Z] [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-30T23:38:35.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-30T23:38:35.914Z] + ls -al . [2020-10-30T23:38:35.914Z] total 8 [2020-10-30T23:38:35.914Z] drwxrwxr-x. 3 jenkins jenkins 55 Oct 30 23:38 . [2020-10-30T23:38:35.914Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 30 23:38 .. [2020-10-30T23:38:35.914Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 30 23:38 Dockerfile [2020-10-30T23:38:35.914Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 30 23:38 .git [2020-10-30T23:38:35.914Z] -rw-rw-r--. 1 jenkins jenkins 896 Oct 30 23:38 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-10-30T23:38:36.338Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea --label arch=amd64 . [2020-10-30T23:38:36.916Z] Sending build context to Docker daemon 364kB [2020-10-30T23:38:36.916Z] Step 1/12 : FROM golang:1.15-alpine [2020-10-30T23:38:37.498Z] 1.15-alpine: Pulling from library/golang [2020-10-30T23:38:37.498Z] 188c0c94c7c5: Pulling fs layer [2020-10-30T23:38:37.498Z] 0ef7d3d256c8: Pulling fs layer [2020-10-30T23:38:37.498Z] de9db76c5a1d: Pulling fs layer [2020-10-30T23:38:37.498Z] 0eba1c9be4d2: Pulling fs layer [2020-10-30T23:38:37.498Z] 0d57e429df01: Pulling fs layer [2020-10-30T23:38:37.498Z] 0eba1c9be4d2: Waiting [2020-10-30T23:38:37.498Z] 0d57e429df01: Waiting [2020-10-30T23:38:37.498Z] de9db76c5a1d: Verifying Checksum [2020-10-30T23:38:37.498Z] de9db76c5a1d: Download complete [2020-10-30T23:38:37.761Z] 0ef7d3d256c8: Verifying Checksum [2020-10-30T23:38:37.761Z] 0ef7d3d256c8: Download complete [2020-10-30T23:38:37.761Z] 188c0c94c7c5: Verifying Checksum [2020-10-30T23:38:37.761Z] 188c0c94c7c5: Download complete [2020-10-30T23:38:37.761Z] 0d57e429df01: Verifying Checksum [2020-10-30T23:38:37.761Z] 0d57e429df01: Download complete [2020-10-30T23:38:38.027Z] 188c0c94c7c5: Pull complete [2020-10-30T23:38:38.293Z] 0ef7d3d256c8: Pull complete [2020-10-30T23:38:38.559Z] de9db76c5a1d: Pull complete [2020-10-30T23:38:39.512Z] 0eba1c9be4d2: Verifying Checksum [2020-10-30T23:38:39.512Z] 0eba1c9be4d2: Download complete [2020-10-30T23:38:44.836Z] 0eba1c9be4d2: Pull complete [2020-10-30T23:38:44.836Z] 0d57e429df01: Pull complete [2020-10-30T23:38:44.836Z] Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c [2020-10-30T23:38:44.836Z] Status: Downloaded newer image for golang:1.15-alpine [2020-10-30T23:38:44.836Z] ---> d099254f5fc3 [2020-10-30T23:38:44.836Z] Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-30T23:38:50.149Z] ---> Running in 9fef9e8b5c2b [2020-10-30T23:38:50.149Z] Removing intermediate container 9fef9e8b5c2b [2020-10-30T23:38:50.149Z] ---> 27e6a1c74af8 [2020-10-30T23:38:50.149Z] Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-30T23:38:50.412Z] ---> Running in 45eb7419c491 [2020-10-30T23:38:51.372Z] Removing intermediate container 45eb7419c491 [2020-10-30T23:38:51.372Z] ---> 699dbf5bdfd6 [2020-10-30T23:38:51.372Z] Step 4/12 : ARG SNYK_VERSION=1.410.4 [2020-10-30T23:38:51.372Z] ---> Running in f5714c2dbb63 [2020-10-30T23:38:51.637Z] Removing intermediate container f5714c2dbb63 [2020-10-30T23:38:51.637Z] ---> 51d15ed87e66 [2020-10-30T23:38:51.637Z] Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} [2020-10-30T23:38:51.637Z] ---> Running in 6abafe296b48 [2020-10-30T23:38:51.637Z] Removing intermediate container 6abafe296b48 [2020-10-30T23:38:51.637Z] ---> 1fd58cd7b850 [2020-10-30T23:38:51.637Z] Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-10-30T23:38:52.213Z] latest: Pulling from library/docker [2020-10-30T23:38:52.213Z] 188c0c94c7c5: Already exists [2020-10-30T23:38:52.213Z] 0c7c675703d6: Pulling fs layer [2020-10-30T23:38:52.213Z] cc8c12a437cb: Pulling fs layer [2020-10-30T23:38:52.213Z] c5dafad2182a: Pulling fs layer [2020-10-30T23:38:52.213Z] 5aa711733414: Pulling fs layer [2020-10-30T23:38:52.213Z] 058f73b55e4b: Pulling fs layer [2020-10-30T23:38:52.213Z] 8c9c664faf12: Pulling fs layer [2020-10-30T23:38:52.213Z] 5aa711733414: Waiting [2020-10-30T23:38:52.213Z] 058f73b55e4b: Waiting [2020-10-30T23:38:52.213Z] 8c9c664faf12: Waiting [2020-10-30T23:38:52.483Z] cc8c12a437cb: Verifying Checksum [2020-10-30T23:38:52.483Z] cc8c12a437cb: Download complete [2020-10-30T23:38:52.483Z] 0c7c675703d6: Verifying Checksum [2020-10-30T23:38:52.483Z] 0c7c675703d6: Download complete [2020-10-30T23:38:52.483Z] 5aa711733414: Verifying Checksum [2020-10-30T23:38:52.483Z] 5aa711733414: Download complete [2020-10-30T23:38:52.483Z] 058f73b55e4b: Verifying Checksum [2020-10-30T23:38:52.483Z] 058f73b55e4b: Download complete [2020-10-30T23:38:52.746Z] 8c9c664faf12: Verifying Checksum [2020-10-30T23:38:52.746Z] 8c9c664faf12: Download complete [2020-10-30T23:38:52.746Z] 0c7c675703d6: Pull complete [2020-10-30T23:38:52.746Z] cc8c12a437cb: Pull complete [2020-10-30T23:38:53.695Z] c5dafad2182a: Verifying Checksum [2020-10-30T23:38:53.695Z] c5dafad2182a: Download complete [2020-10-30T23:38:56.268Z] c5dafad2182a: Pull complete [2020-10-30T23:38:56.268Z] 5aa711733414: Pull complete [2020-10-30T23:38:56.268Z] 058f73b55e4b: Pull complete [2020-10-30T23:38:56.530Z] 8c9c664faf12: Pull complete [2020-10-30T23:38:56.530Z] Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 [2020-10-30T23:38:56.530Z] Status: Downloaded newer image for docker:latest [2020-10-30T23:38:57.924Z] ---> 5c9654857edf [2020-10-30T23:38:57.924Z] 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-30T23:38:58.191Z] ---> Running in 0fc95f3ffd91 [2020-10-30T23:38:58.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-30T23:38:59.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-30T23:38:59.921Z] (1/20) Installing tcl (8.6.10-r0) [2020-10-30T23:39:00.183Z] (2/20) Installing expect (5.45.4-r0) [2020-10-30T23:39:00.446Z] (3/20) Installing libgcc (9.3.0-r2) [2020-10-30T23:39:00.446Z] (4/20) Installing libstdc++ (9.3.0-r2) [2020-10-30T23:39:00.708Z] (5/20) Installing binutils (2.34-r1) [2020-10-30T23:39:01.284Z] (6/20) Installing gmp (6.2.0-r0) [2020-10-30T23:39:01.548Z] (7/20) Installing isl (0.18-r0) [2020-10-30T23:39:01.816Z] (8/20) Installing libgomp (9.3.0-r2) [2020-10-30T23:39:01.816Z] (9/20) Installing libatomic (9.3.0-r2) [2020-10-30T23:39:01.816Z] (10/20) Installing libgphobos (9.3.0-r2) [2020-10-30T23:39:02.400Z] (11/20) Installing mpfr4 (4.0.2-r4) [2020-10-30T23:39:02.664Z] (12/20) Installing mpc1 (1.1.0-r1) [2020-10-30T23:39:02.665Z] (13/20) Installing gcc (9.3.0-r2) [2020-10-30T23:39:15.021Z] (14/20) Installing nghttp2-libs (1.41.0-r0) [2020-10-30T23:39:15.021Z] (15/20) Installing libcurl (7.69.1-r1) [2020-10-30T23:39:15.021Z] (16/20) Installing expat (2.2.9-r1) [2020-10-30T23:39:15.021Z] (17/20) Installing pcre2 (10.35-r0) [2020-10-30T23:39:15.021Z] (18/20) Installing git (2.26.2-r0) [2020-10-30T23:39:15.294Z] (19/20) Installing musl-dev (1.1.24-r9) [2020-10-30T23:39:16.243Z] (20/20) Installing libc-dev (0.7.2-r3) [2020-10-30T23:39:16.243Z] Executing busybox-1.31.1-r19.trigger [2020-10-30T23:39:16.243Z] OK: 165 MiB in 35 packages [2020-10-30T23:39:16.243Z] Connecting to github.com (140.82.114.3:443) [2020-10-30T23:39:16.508Z] Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.0.24:443) [2020-10-30T23:39:16.774Z] saving to '/usr/local/bin/snyk' [2020-10-30T23:39:17.723Z] snyk 10% |*** | 10.7M 0:00:08 ETA [2020-10-30T23:39:18.670Z] snyk 16% |***** | 16.7M 0:00:09 ETA [2020-10-30T23:39:19.618Z] snyk 22% |******* | 22.1M 0:00:10 ETA [2020-10-30T23:39:20.563Z] snyk 30% |********* | 30.6M 0:00:08 ETA [2020-10-30T23:39:21.510Z] snyk 42% |************* | 42.4M 0:00:06 ETA [2020-10-30T23:39:22.902Z] snyk 58% |****************** | 57.9M 0:00:04 ETA [2020-10-30T23:39:23.484Z] snyk 76% |************************ | 75.8M 0:00:02 ETA [2020-10-30T23:39:24.884Z] snyk 92% |***************************** | 91.6M 0:00:00 ETA [2020-10-30T23:39:25.148Z] snyk 100% |********************************| 99.4M 0:00:00 ETA [2020-10-30T23:39:25.148Z] '/usr/local/bin/snyk' saved [2020-10-30T23:39:31.765Z] Removing intermediate container 0fc95f3ffd91 [2020-10-30T23:39:31.765Z] ---> a4545f02415e [2020-10-30T23:39:31.765Z] Step 8/12 : ENV GO111MODULE=on [2020-10-30T23:39:31.765Z] ---> Running in 2fff1910ba3b [2020-10-30T23:39:31.765Z] Removing intermediate container 2fff1910ba3b [2020-10-30T23:39:31.765Z] ---> 6cb37f793302 [2020-10-30T23:39:31.765Z] Step 9/12 : ENTRYPOINT [ "snyk" ] [2020-10-30T23:39:31.765Z] ---> Running in f490538d18e1 [2020-10-30T23:39:32.029Z] Removing intermediate container f490538d18e1 [2020-10-30T23:39:32.029Z] ---> 87cae8dea6f7 [2020-10-30T23:39:32.029Z] Step 10/12 : CMD [ "monitor" ] [2020-10-30T23:39:32.029Z] ---> Running in 2bb8a1acb341 [2020-10-30T23:39:32.294Z] Removing intermediate container 2bb8a1acb341 [2020-10-30T23:39:32.294Z] ---> 6024fbd66ef4 [2020-10-30T23:39:32.294Z] Step 11/12 : LABEL arch=amd64 [2020-10-30T23:39:32.294Z] ---> Running in bcabc3c2d7fe [2020-10-30T23:39:32.556Z] Removing intermediate container bcabc3c2d7fe [2020-10-30T23:39:32.556Z] ---> 306b42004b84 [2020-10-30T23:39:32.556Z] Step 12/12 : LABEL git_sha=9d64af38f64e684c5d8c18aa0d0a9c9e3fd49cea [2020-10-30T23:39:32.556Z] ---> Running in 9aedd83b4651 [2020-10-30T23:39:32.824Z] Removing intermediate container 9aedd83b4651 [2020-10-30T23:39:32.824Z] ---> c546ecc574c5 [2020-10-30T23:39:32.824Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-30T23:39:32.824Z] Successfully built c546ecc574c5 [2020-10-30T23:39:32.824Z] 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-30T23:39:36.051Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:39:36.658Z] ---> package-listing.sh [2020-10-30T23:39:36.658Z] ++ facter osfamily [2020-10-30T23:39:36.658Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-30T23:39:36.658Z] + OS_FAMILY=redhat [2020-10-30T23:39:36.658Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-153 [2020-10-30T23:39:36.658Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-30T23:39:36.658Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-30T23:39:36.658Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-30T23:39:36.658Z] + PACKAGES=/tmp/packages_start.txt [2020-10-30T23:39:36.658Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-153 ']' [2020-10-30T23:39:36.658Z] + PACKAGES=/tmp/packages_end.txt [2020-10-30T23:39:36.658Z] + case "${OS_FAMILY}" in [2020-10-30T23:39:36.658Z] + rpm -qa [2020-10-30T23:39:36.658Z] + sort [2020-10-30T23:39:40.876Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-30T23:39:40.876Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-30T23:39:40.876Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-30T23:39:40.876Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-153 ']' [2020-10-30T23:39:40.876Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-153/archives/ [2020-10-30T23:39:40.876Z] + 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 [2020-10-30T23:39:40.922Z] 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 [2020-10-30T23:39:41.232Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-30T23:39:41.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-30T23:39:41.573Z] [2020-10-30T23:39:41.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-30T23:39:41.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-30T23:39:41.966Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-30T23:39:41.966Z] df20fa9351a1: Pulling fs layer [2020-10-30T23:39:41.966Z] 36b3adc4ff6f: Pulling fs layer [2020-10-30T23:39:41.966Z] 8ad3a11d3b57: Pulling fs layer [2020-10-30T23:39:41.966Z] 46f8f816bc3b: Pulling fs layer [2020-10-30T23:39:41.966Z] 93b61091891f: Pulling fs layer [2020-10-30T23:39:41.966Z] 93b9cdb0e59b: Pulling fs layer [2020-10-30T23:39:41.966Z] 5e14af77c1be: Pulling fs layer [2020-10-30T23:39:41.966Z] 01666e4c0597: Pulling fs layer [2020-10-30T23:39:41.966Z] aa168da1d23b: Pulling fs layer [2020-10-30T23:39:41.966Z] 93b61091891f: Waiting [2020-10-30T23:39:41.966Z] 93b9cdb0e59b: Waiting [2020-10-30T23:39:41.966Z] 5e14af77c1be: Waiting [2020-10-30T23:39:41.966Z] 01666e4c0597: Waiting [2020-10-30T23:39:41.966Z] aa168da1d23b: Waiting [2020-10-30T23:39:41.966Z] 46f8f816bc3b: Waiting [2020-10-30T23:39:41.966Z] 36b3adc4ff6f: Verifying Checksum [2020-10-30T23:39:41.966Z] 36b3adc4ff6f: Download complete [2020-10-30T23:39:41.966Z] 46f8f816bc3b: Verifying Checksum [2020-10-30T23:39:41.966Z] 46f8f816bc3b: Download complete [2020-10-30T23:39:42.232Z] df20fa9351a1: Download complete [2020-10-30T23:39:42.232Z] 93b61091891f: Verifying Checksum [2020-10-30T23:39:42.232Z] 93b61091891f: Download complete [2020-10-30T23:39:42.232Z] 93b9cdb0e59b: Verifying Checksum [2020-10-30T23:39:42.232Z] 93b9cdb0e59b: Download complete [2020-10-30T23:39:42.232Z] 5e14af77c1be: Verifying Checksum [2020-10-30T23:39:42.232Z] 5e14af77c1be: Download complete [2020-10-30T23:39:42.232Z] 01666e4c0597: Verifying Checksum [2020-10-30T23:39:42.232Z] 01666e4c0597: Download complete [2020-10-30T23:39:42.232Z] 8ad3a11d3b57: Verifying Checksum [2020-10-30T23:39:42.232Z] 8ad3a11d3b57: Download complete [2020-10-30T23:39:42.499Z] df20fa9351a1: Pull complete [2020-10-30T23:39:42.499Z] 36b3adc4ff6f: Pull complete [2020-10-30T23:39:43.451Z] 8ad3a11d3b57: Pull complete [2020-10-30T23:39:44.407Z] aa168da1d23b: Verifying Checksum [2020-10-30T23:39:44.407Z] aa168da1d23b: Download complete [2020-10-30T23:39:44.673Z] 46f8f816bc3b: Pull complete [2020-10-30T23:39:45.246Z] 93b61091891f: Pull complete [2020-10-30T23:39:45.510Z] 93b9cdb0e59b: Pull complete [2020-10-30T23:39:45.511Z] 5e14af77c1be: Pull complete [2020-10-30T23:39:45.774Z] 01666e4c0597: Pull complete [2020-10-30T23:39:52.397Z] aa168da1d23b: Pull complete [2020-10-30T23:39:52.397Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-30T23:39:52.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-30T23:39:52.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-30T23:39:52.595Z] prd-centos7-docker-4c-2g-9801 does not seem to be running inside a container [2020-10-30T23:39:52.667Z] $ 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 [2020-10-30T23:39:56.590Z] $ docker top ca6fd235179a7352422b878b0b7afaba260878f8b9950c454ef1390f30b58aad -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-30T23:39:57.266Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-30T23:39:57.589Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-30T23:39:57.910Z] + ls /var/log/sa-host [2020-10-30T23:39:57.910Z] + sadf -c /var/log/sa-host/sa05 [2020-10-30T23:39:57.910Z] file_magic: OK [2020-10-30T23:39:57.910Z] HZ: Using current value: 100 [2020-10-30T23:39:57.910Z] file_header: OK [2020-10-30T23:39:57.910Z] 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-30T23:39:57.910Z] Statistics: [2020-10-30T23:39:57.910Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-30T23:39:57.910Z] File successfully converted to sysstat format version 12.2.1 [2020-10-30T23:39:57.910Z] + sadf -c /var/log/sa-host/sa30 [2020-10-30T23:39:57.910Z] file_magic: OK [2020-10-30T23:39:57.910Z] HZ: Using current value: 100 [2020-10-30T23:39:57.910Z] file_header: OK [2020-10-30T23:39:57.910Z] 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-30T23:39:57.910Z] Statistics: [2020-10-30T23:39:57.910Z] HRHnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-30T23:39:57.910Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-30T23:39:58.211Z] provisioning config files... [2020-10-30T23:39:58.230Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-153@tmp/config6842946839825310345tmp [Pipeline] { [Pipeline] echo [2020-10-30T23:39:58.346Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:39:58.678Z] ---> create-netrc.sh [Pipeline] } [2020-10-30T23:39:58.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-30T23:39:58.822Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:39:59.153Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-30T23:39:59.180Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:39:59.508Z] ---> sudo-logs.sh [2020-10-30T23:39:59.508Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-30T23:39:59.537Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:39:59.873Z] ---> job-cost.sh [2020-10-30T23:39:59.873Z] lf-activate-venv: SKIPPING [2020-10-30T23:39:59.873Z] INFO: No Stack... [2020-10-30T23:40:00.819Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-30T23:40:02.216Z] INFO: Archiving Costs [Pipeline] echo [2020-10-30T23:40:02.250Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-30T23:40:02.596Z] ---> logs-deploy.sh [2020-10-30T23:40:02.597Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-153/1 [2020-10-30T23:40:02.597Z] INFO: archiving workspace using pattern(s): [2020-10-30T23:40:03.988Z] Archives upload complete. [2020-10-30T23:40:03.988Z] INFO: archiving logs to Nexus