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 18:54:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:54:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:54:53 ========================================================= 18:54:53 EdgeX Global Pipelines Version Info 18:54:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:54:56 ------------------- 18:54:56 stable info: 18:54:56 ------------------- 18:54:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:54:56 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 18:54:56 Message: update stable to v1.0.152 18:54:57 ------------------- 18:54:57 experimental info: 18:54:57 ------------------- 18:54:57 Commited By: **** collab-it+edgex@linuxfoundation.org 18:54:57 Commit SHA: a4834499a055e57d3c2bb779be3f851bfcb1687c 18:54:57 Message: update experimental to v1.0.155 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:54:59 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 18:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo 18:55:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-154 [Pipeline] echo 18:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-154 [Pipeline] echo 18:55:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-154 [Pipeline] echo 18:55:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 [Pipeline] echo 18:55:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4abfeb1 [Pipeline] echo 18:55:00 [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 18:55:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:07 + ls -al . 18:55:07 total 8 18:55:07 drwxrwxr-x. 3 jenkins jenkins 55 Nov 2 18:54 . 18:55:07 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 18:54 .. 18:55:07 -rw-rw-r--. 1 jenkins jenkins 717 Nov 2 18:54 Dockerfile 18:55:07 drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 18:54 .git 18:55:07 -rw-rw-r--. 1 jenkins jenkins 896 Nov 2 18:54 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 18:55:08 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 --label arch=amd64 . 18:55:09 Sending build context to Docker daemon 363.5kB 18:55:09 Step 1/12 : FROM golang:1.15-alpine 18:55:09 1.15-alpine: Pulling from library/golang 18:55:09 188c0c94c7c5: Pulling fs layer 18:55:09 0ef7d3d256c8: Pulling fs layer 18:55:09 de9db76c5a1d: Pulling fs layer 18:55:09 0eba1c9be4d2: Pulling fs layer 18:55:09 0d57e429df01: Pulling fs layer 18:55:09 0eba1c9be4d2: Waiting 18:55:09 0d57e429df01: Waiting 18:55:10 de9db76c5a1d: Verifying Checksum 18:55:10 de9db76c5a1d: Download complete 18:55:10 0ef7d3d256c8: Verifying Checksum 18:55:10 0ef7d3d256c8: Download complete 18:55:10 188c0c94c7c5: Verifying Checksum 18:55:10 188c0c94c7c5: Download complete 18:55:10 0d57e429df01: Verifying Checksum 18:55:10 0d57e429df01: Download complete 18:55:10 188c0c94c7c5: Pull complete 18:55:11 0ef7d3d256c8: Pull complete 18:55:11 de9db76c5a1d: Pull complete 18:55:12 0eba1c9be4d2: Verifying Checksum 18:55:12 0eba1c9be4d2: Download complete 18:55:23 0eba1c9be4d2: Pull complete 18:55:23 0d57e429df01: Pull complete 18:55:23 Digest: sha256:df0119b970c8e5e9f0f5c40f6b55edddf616bab2b911927ebc3b361c469ea29c 18:55:23 Status: Downloaded newer image for golang:1.15-alpine 18:55:23 ---> d099254f5fc3 18:55:23 Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:55:24 ---> Running in 1f86e14aa405 18:55:24 Removing intermediate container 1f86e14aa405 18:55:24 ---> 6716fdb76384 18:55:24 Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:55:24 ---> Running in 0856d62a5218 18:55:26 Removing intermediate container 0856d62a5218 18:55:26 ---> b56f7c6ff635 18:55:26 Step 4/12 : ARG SNYK_VERSION=1.410.4 18:55:26 ---> Running in 942041682a15 18:55:26 Removing intermediate container 942041682a15 18:55:26 ---> 03aa790a5f3f 18:55:26 Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} 18:55:26 ---> Running in aa70c3cf19b4 18:55:26 Removing intermediate container aa70c3cf19b4 18:55:26 ---> bf519ac963af 18:55:26 Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 18:55:27 latest: Pulling from library/docker 18:55:27 188c0c94c7c5: Already exists 18:55:27 0c7c675703d6: Pulling fs layer 18:55:27 cc8c12a437cb: Pulling fs layer 18:55:27 c5dafad2182a: Pulling fs layer 18:55:27 5aa711733414: Pulling fs layer 18:55:27 058f73b55e4b: Pulling fs layer 18:55:27 8c9c664faf12: Pulling fs layer 18:55:27 5aa711733414: Waiting 18:55:27 058f73b55e4b: Waiting 18:55:27 8c9c664faf12: Waiting 18:55:27 cc8c12a437cb: Verifying Checksum 18:55:27 cc8c12a437cb: Download complete 18:55:28 0c7c675703d6: Download complete 18:55:28 5aa711733414: Verifying Checksum 18:55:28 5aa711733414: Download complete 18:55:28 058f73b55e4b: Verifying Checksum 18:55:28 058f73b55e4b: Download complete 18:55:28 8c9c664faf12: Verifying Checksum 18:55:28 8c9c664faf12: Download complete 18:55:28 0c7c675703d6: Pull complete 18:55:29 cc8c12a437cb: Pull complete 18:55:29 c5dafad2182a: Verifying Checksum 18:55:29 c5dafad2182a: Download complete 18:55:35 c5dafad2182a: Pull complete 18:55:35 5aa711733414: Pull complete 18:55:35 058f73b55e4b: Pull complete 18:55:35 8c9c664faf12: Pull complete 18:55:35 Digest: sha256:9170b902404a630a982a2a6473442d3e2cc2342b66345f7a9cf148f8affcf5d3 18:55:35 Status: Downloaded newer image for docker:latest 18:55:38 ---> 72337db93263 18:55:38 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 18:55:38 ---> Running in 4c2f292b7d59 18:55:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:55:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:55:40 (1/25) Installing tcl (8.6.10-r0) 18:55:41 (2/25) Installing expect (5.45.4-r0) 18:55:41 (3/25) Installing libgcc (9.3.0-r2) 18:55:41 (4/25) Installing libstdc++ (9.3.0-r2) 18:55:41 (5/25) Installing binutils (2.34-r1) 18:55:42 (6/25) Installing gmp (6.2.0-r0) 18:55:42 (7/25) Installing isl (0.18-r0) 18:55:43 (8/25) Installing libgomp (9.3.0-r2) 18:55:43 (9/25) Installing libatomic (9.3.0-r2) 18:55:43 (10/25) Installing libgphobos (9.3.0-r2) 18:55:44 (11/25) Installing mpfr4 (4.0.2-r4) 18:55:44 (12/25) Installing mpc1 (1.1.0-r1) 18:55:44 (13/25) Installing gcc (9.3.0-r2) 18:55:59 (14/25) Installing nghttp2-libs (1.41.0-r0) 18:55:59 (15/25) Installing libcurl (7.69.1-r1) 18:55:59 (16/25) Installing expat (2.2.9-r1) 18:55:59 (17/25) Installing pcre2 (10.35-r0) 18:55:59 (18/25) Installing git (2.26.2-r0) 18:55:59 (19/25) Installing musl-dev (1.1.24-r9) 18:56:00 (20/25) Installing libc-dev (0.7.2-r3) 18:56:00 (21/25) Installing brotli-libs (1.0.9-r1) 18:56:00 (22/25) Installing c-ares (1.16.1-r0) 18:56:01 (23/25) Installing libuv (1.38.1-r0) 18:56:01 (24/25) Installing nodejs (12.18.4-r0) 18:56:04 (25/25) Installing npm (12.18.4-r0) 18:56:07 Executing busybox-1.31.1-r19.trigger 18:56:07 OK: 221 MiB in 40 packages 18:56:07 Connecting to github.com (140.82.114.3:443) 18:56:07 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.142.132:443) 18:56:07 saving to '/usr/local/bin/snyk' 18:56:08 snyk 12% |*** | 11.9M 0:00:07 ETA 18:56:09 snyk 28% |********* | 28.0M 0:00:05 ETA 18:56:10 snyk 44% |************** | 43.8M 0:00:03 ETA 18:56:11 snyk 54% |***************** | 54.6M 0:00:03 ETA 18:56:12 snyk 65% |******************** | 65.1M 0:00:02 ETA 18:56:13 snyk 78% |************************* | 78.2M 0:00:01 ETA 18:56:14 snyk 93% |***************************** | 93.0M 0:00:00 ETA 18:56:14 snyk 100% |********************************| 99.4M 0:00:00 ETA 18:56:14 '/usr/local/bin/snyk' saved 18:56:20 /usr/bin/snyk-to-html -> /usr/lib/node_modules/snyk-to-html/dist/index.js 18:56:20 + snyk-to-html@1.14.0 18:56:20 added 22 packages from 52 contributors in 4.223s 18:56:38 Removing intermediate container 4c2f292b7d59 18:56:38 ---> 1928a76e9832 18:56:38 Step 8/12 : ENV GO111MODULE=on 18:56:38 ---> Running in 2f75d096e3f2 18:56:38 Removing intermediate container 2f75d096e3f2 18:56:38 ---> 670fe9c5fd65 18:56:38 Step 9/12 : ENTRYPOINT [ "snyk" ] 18:56:38 ---> Running in 961522bf1dd5 18:56:38 Removing intermediate container 961522bf1dd5 18:56:38 ---> 394b42dec977 18:56:38 Step 10/12 : CMD [ "monitor" ] 18:56:38 ---> Running in debfbee2033b 18:56:38 Removing intermediate container debfbee2033b 18:56:38 ---> 2fdf8a1c4a72 18:56:38 Step 11/12 : LABEL arch=amd64 18:56:38 ---> Running in 6779da59a88b 18:56:38 Removing intermediate container 6779da59a88b 18:56:38 ---> 37d26fcd52d3 18:56:38 Step 12/12 : LABEL git_sha=4abfeb1561ab3890dc7ff943bc042dc8d3bf3785 18:56:38 ---> Running in 27dd9e88f91e 18:56:38 Removing intermediate container 27dd9e88f91e 18:56:38 ---> 04bba529f0a9 18:56:38 [Warning] One or more build-args [ARCH] were not consumed 18:56:38 Successfully built 04bba529f0a9 18:56:38 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 18:56:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:43 ---> package-listing.sh 18:56:43 ++ tr '[:upper:]' '[:lower:]' 18:56:43 ++ facter osfamily 18:56:43 + OS_FAMILY=redhat 18:56:43 + workspace=/w/workspace/exfoundry_ci-build-images_PR-154 18:56:43 + START_PACKAGES=/tmp/packages_start.txt 18:56:43 + END_PACKAGES=/tmp/packages_end.txt 18:56:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:43 + PACKAGES=/tmp/packages_start.txt 18:56:43 + '[' /w/workspace/exfoundry_ci-build-images_PR-154 ']' 18:56:43 + PACKAGES=/tmp/packages_end.txt 18:56:43 + case "${OS_FAMILY}" in 18:56:43 + rpm -qa 18:56:43 + sort 18:56:48 + '[' -f /tmp/packages_start.txt ']' 18:56:48 + '[' -f /tmp/packages_end.txt ']' 18:56:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:48 + '[' /w/workspace/exfoundry_ci-build-images_PR-154 ']' 18:56:48 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-154/archives/ 18:56:48 + 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 18:56:48 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 18:56:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:56:49 18:56:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:56:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:56:49 alpine: Pulling from edgex-lftools-log-publisher 18:56:49 df20fa9351a1: Pulling fs layer 18:56:49 36b3adc4ff6f: Pulling fs layer 18:56:49 8ad3a11d3b57: Pulling fs layer 18:56:49 46f8f816bc3b: Pulling fs layer 18:56:49 93b61091891f: Pulling fs layer 18:56:49 93b9cdb0e59b: Pulling fs layer 18:56:49 5e14af77c1be: Pulling fs layer 18:56:49 01666e4c0597: Pulling fs layer 18:56:49 aa168da1d23b: Pulling fs layer 18:56:49 93b61091891f: Waiting 18:56:49 93b9cdb0e59b: Waiting 18:56:49 5e14af77c1be: Waiting 18:56:49 01666e4c0597: Waiting 18:56:49 aa168da1d23b: Waiting 18:56:49 46f8f816bc3b: Waiting 18:56:49 36b3adc4ff6f: Verifying Checksum 18:56:49 36b3adc4ff6f: Download complete 18:56:49 46f8f816bc3b: Download complete 18:56:49 df20fa9351a1: Verifying Checksum 18:56:49 df20fa9351a1: Download complete 18:56:49 93b9cdb0e59b: Verifying Checksum 18:56:49 93b9cdb0e59b: Download complete 18:56:49 5e14af77c1be: Verifying Checksum 18:56:49 5e14af77c1be: Download complete 18:56:49 01666e4c0597: Verifying Checksum 18:56:49 01666e4c0597: Download complete 18:56:50 93b61091891f: Verifying Checksum 18:56:50 93b61091891f: Download complete 18:56:50 df20fa9351a1: Pull complete 18:56:50 36b3adc4ff6f: Pull complete 18:56:51 8ad3a11d3b57: Verifying Checksum 18:56:51 8ad3a11d3b57: Download complete 18:56:52 8ad3a11d3b57: Pull complete 18:56:52 46f8f816bc3b: Pull complete 18:56:53 93b61091891f: Pull complete 18:56:53 93b9cdb0e59b: Pull complete 18:56:54 5e14af77c1be: Pull complete 18:56:54 01666e4c0597: Pull complete 18:56:55 aa168da1d23b: Verifying Checksum 18:56:55 aa168da1d23b: Download complete 18:57:07 aa168da1d23b: Pull complete 18:57:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:57:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:57:08 prd-centos7-docker-4c-2g-10316 does not seem to be running inside a container 18:57:08 $ 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 18:57:12 $ docker top 6e9192cae715ebf02cf4b0a7eb73c302f5b52da6741e2fe06ad62878101f5638 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:12 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:13 + mkdir -p /var/log/sa [Pipeline] sh 18:57:13 + ls /var/log/sa-host 18:57:13 + sadf -c /var/log/sa-host/sa02 18:57:13 file_magic: OK 18:57:13 HZ: Using current value: 100 18:57:13 file_header: OK 18:57:13 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 18:57:13 Statistics: 18:57:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:57:13 File successfully converted to sysstat format version 12.2.1 18:57:13 + sadf -c /var/log/sa-host/sa05 18:57:13 file_magic: OK 18:57:13 HZ: Using current value: 100 18:57:13 file_header: OK 18:57:13 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 18:57:13 Statistics: 18:57:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:57:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:14 provisioning config files... 18:57:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-154@tmp/config3501611153597108397tmp [Pipeline] { [Pipeline] echo 18:57:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:14 ---> create-netrc.sh [Pipeline] } 18:57:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:57:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:57:15 ---> python-tools-install.sh [Pipeline] echo 18:57:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:15 ---> sudo-logs.sh 18:57:15 Archiving 'sudo' log.. [Pipeline] echo 18:57:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> job-cost.sh 18:57:16 lf-activate-venv: SKIPPING 18:57:16 INFO: No Stack... 18:57:17 INFO: Retrieving Pricing Info for: v1-standard-2 18:57:17 INFO: Archiving Costs [Pipeline] echo 18:57:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:18 ---> logs-deploy.sh 18:57:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-154/1 18:57:18 INFO: archiving workspace using pattern(s): 18:57:20 Archives upload complete. 18:57:20 INFO: archiving logs to Nexus