Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13435544306258596310.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2323492515273767937.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15661115091067938575.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4791448275191040176.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11317426731609799602.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.1025.0], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.1025.0 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7574 in /w/workspace/dgexfoundry_ci-build-images_snyk [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/dgexfoundry_ci-build-images_snyk # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 (snyk) Commit message: "Merge pull request #198 from ernestojeda/snyk" > 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 core.sparsecheckout # timeout=10 > git checkout -f 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 # timeout=10 > git rev-list --no-walk 241e441a21bb95dbc212e152a9be218cfbd779fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:19:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:19:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:19:37 ========================================================= 19:19:37 EdgeX Global Pipelines Version Info 19:19:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:19:37 ------------------- 19:19:37 stable info: 19:19:37 ------------------- 19:19:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:19:37 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:19:37 Message: update stable to v1.0.239 19:19:38 ------------------- 19:19:38 experimental info: 19:19:38 ------------------- 19:19:38 Commited By: **** collab-it+edgex@linuxfoundation.org 19:19:38 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:19:38 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.1025.0 [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 887d6b3 [Pipeline] echo 19:19:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:38 provisioning config files... 19:19:38 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config14162072612831655380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:39 ---> docker-login.sh 19:19:39 nexus3.edgexfoundry.org:10001 19:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:39 Configure a credential helper to remove this warning. See 19:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:39 19:19:39 Login Succeeded 19:19:39 nexus3.edgexfoundry.org:10002 19:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:39 Configure a credential helper to remove this warning. See 19:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:39 19:19:39 Login Succeeded 19:19:39 nexus3.edgexfoundry.org:10003 19:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:39 Configure a credential helper to remove this warning. See 19:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:39 19:19:39 Login Succeeded 19:19:39 nexus3.edgexfoundry.org:10004 19:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:39 Configure a credential helper to remove this warning. See 19:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:39 19:19:39 Login Succeeded 19:19:39 docker.io 19:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:40 Configure a credential helper to remove this warning. See 19:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:40 19:19:40 Login Succeeded 19:19:40 ---> docker-login.sh ends [Pipeline] } 19:19:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:40 provisioning config files... [Pipeline] // stage [Pipeline] } 19:19:40 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config5799475672713584979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:40 ---> docker-login.sh 19:19:40 nexus3.edgexfoundry.org:10001 19:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:40 Configure a credential helper to remove this warning. See 19:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:40 19:19:40 Login Succeeded 19:19:40 nexus3.edgexfoundry.org:10002 19:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:40 Configure a credential helper to remove this warning. See 19:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:40 19:19:40 Login Succeeded 19:19:40 nexus3.edgexfoundry.org:10003 19:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:40 Configure a credential helper to remove this warning. See 19:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:40 19:19:40 Login Succeeded 19:19:40 nexus3.edgexfoundry.org:10004 19:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:40 Configure a credential helper to remove this warning. See 19:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:40 19:19:40 Login Succeeded 19:19:40 docker.io 19:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:41 Configure a credential helper to remove this warning. See 19:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:41 19:19:41 Login Succeeded 19:19:41 ---> docker-login.sh ends [Pipeline] } 19:19:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:19:42 + ls -al . 19:19:42 total 20 19:19:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:19 . 19:19:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:19 .. 19:19:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:19 .git 19:19:42 -rw-rw-r-- 1 jenkins jenkins 642 Oct 10 19:19 Dockerfile 19:19:42 -rw-rw-r-- 1 jenkins jenkins 902 Oct 10 19:19 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:42 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 --label arch=amd64 . 19:19:42 Sending build context to Docker daemon 432.6kB 19:19:42 Step 1/11 : FROM golang:1.18-alpine3.16 19:19:43 1.18-alpine3.16: Pulling from library/golang 19:19:43 213ec9aee27d: Pulling fs layer 19:19:43 4583459ba037: Pulling fs layer 19:19:43 93c1e223e6f2: Pulling fs layer 19:19:43 53926ce57604: Pulling fs layer 19:19:43 21b2b0c7a3f4: Pulling fs layer 19:19:43 53926ce57604: Waiting 19:19:43 21b2b0c7a3f4: Waiting 19:19:43 93c1e223e6f2: Verifying Checksum 19:19:43 93c1e223e6f2: Download complete 19:19:43 4583459ba037: Download complete 19:19:43 213ec9aee27d: Verifying Checksum 19:19:43 213ec9aee27d: Download complete 19:19:43 21b2b0c7a3f4: Verifying Checksum 19:19:43 21b2b0c7a3f4: Download complete 19:19:43 213ec9aee27d: Pull complete 19:19:43 4583459ba037: Pull complete 19:19:43 93c1e223e6f2: Pull complete 19:19:45 53926ce57604: Verifying Checksum 19:19:45 53926ce57604: Download complete 19:19:48 53926ce57604: Pull complete 19:19:48 21b2b0c7a3f4: Pull complete 19:19:48 Digest: sha256:7dc3de187ac994ac6d95a2e55fe87e962db391dddb4e28a0fdf0be4cd5962bbe 19:19:48 Status: Downloaded newer image for golang:1.18-alpine3.16 19:19:48 ---> ccb02b8b7a62 19:19:48 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' 19:19:49 ---> Running in af0a509754c0 19:19:49 Removing intermediate container af0a509754c0 19:19:49 ---> 4b4c5e36a459 19:19:49 Step 3/11 : ARG SNYK_VERSION=1.1025.0 19:19:49 ---> Running in b1a4ecd3210a 19:19:49 Removing intermediate container b1a4ecd3210a 19:19:49 ---> 107491c0cea7 19:19:49 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 19:19:49 ---> Running in 3ee5933f64eb 19:19:49 Removing intermediate container 3ee5933f64eb 19:19:49 ---> 4e709d5912d2 19:19:49 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 19:19:51 latest: Pulling from library/docker 19:19:51 213ec9aee27d: Already exists 19:19:51 7b0dd730a5c3: Pulling fs layer 19:19:51 4b90f8029a36: Pulling fs layer 19:19:51 b2204c289e68: Pulling fs layer 19:19:51 a75dcb107a37: Pulling fs layer 19:19:51 3a173a06c313: Pulling fs layer 19:19:51 44f3a1cb7a3f: Pulling fs layer 19:19:51 a7d2f4b1d0b5: Pulling fs layer 19:19:51 cd2ccc3f5575: Pulling fs layer 19:19:51 44f3a1cb7a3f: Waiting 19:19:51 a7d2f4b1d0b5: Waiting 19:19:51 cd2ccc3f5575: Waiting 19:19:51 3a173a06c313: Waiting 19:19:51 a75dcb107a37: Waiting 19:19:51 4b90f8029a36: Verifying Checksum 19:19:51 4b90f8029a36: Download complete 19:19:51 7b0dd730a5c3: Verifying Checksum 19:19:51 7b0dd730a5c3: Download complete 19:19:51 b2204c289e68: Verifying Checksum 19:19:51 b2204c289e68: Download complete 19:19:51 7b0dd730a5c3: Pull complete 19:19:51 4b90f8029a36: Pull complete 19:19:52 3a173a06c313: Verifying Checksum 19:19:52 3a173a06c313: Download complete 19:19:52 44f3a1cb7a3f: Download complete 19:19:52 a75dcb107a37: Verifying Checksum 19:19:52 a75dcb107a37: Download complete 19:19:52 a7d2f4b1d0b5: Verifying Checksum 19:19:52 a7d2f4b1d0b5: Download complete 19:19:52 cd2ccc3f5575: Verifying Checksum 19:19:52 cd2ccc3f5575: Download complete 19:19:52 b2204c289e68: Pull complete 19:19:52 a75dcb107a37: Pull complete 19:19:53 3a173a06c313: Pull complete 19:19:53 44f3a1cb7a3f: Pull complete 19:19:53 a7d2f4b1d0b5: Pull complete 19:19:53 cd2ccc3f5575: Pull complete 19:19:53 Digest: sha256:b2343859b009730168704bf04dd705291539db39df5ccf840a91b647b72009fe 19:19:53 Status: Downloaded newer image for docker:latest 19:19:54 ---> 08910cb5f9da 19:19:54 Step 6/11 : 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 19:19:54 ---> Running in 8e8fb5a36475 19:19:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:19:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:19:55 (1/25) Installing tcl (8.6.12-r1) 19:19:55 (2/25) Installing expect (5.45.4-r2) 19:19:55 (3/25) Installing libgcc (11.2.1_git20220219-r2) 19:19:55 (4/25) Installing libstdc++ (11.2.1_git20220219-r2) 19:19:55 (5/25) Installing binutils (2.38-r3) 19:19:55 (6/25) Installing libgomp (11.2.1_git20220219-r2) 19:19:55 (7/25) Installing libatomic (11.2.1_git20220219-r2) 19:19:55 (8/25) Installing gmp (6.2.1-r2) 19:19:55 (9/25) Installing isl22 (0.22-r0) 19:19:55 (10/25) Installing mpfr4 (4.1.0-r0) 19:19:55 (11/25) Installing mpc1 (1.2.1-r0) 19:19:55 (12/25) Installing gcc (11.2.1_git20220219-r2) 19:19:56 (13/25) Installing brotli-libs (1.0.9-r6) 19:19:56 (14/25) Installing nghttp2-libs (1.47.0-r0) 19:19:56 (15/25) Installing libcurl (7.83.1-r3) 19:19:56 (16/25) Installing expat (2.4.9-r0) 19:19:56 (17/25) Installing pcre2 (10.40-r0) 19:19:56 (18/25) Installing git (2.36.2-r0) 19:19:56 (19/25) Installing musl-dev (1.2.3-r0) 19:19:56 (20/25) Installing libc-dev (0.7.2-r3) 19:19:56 (21/25) Installing c-ares (1.18.1-r0) 19:19:56 (22/25) Installing icu-data-en (71.1-r2) 19:19:56 Executing icu-data-en-71.1-r2.post-install 19:19:56 * 19:19:56 * If you need ICU with non-English locales and legacy charset support, install 19:19:56 * package icu-data-full. 19:19:56 * 19:19:56 (23/25) Installing icu-libs (71.1-r2) 19:19:56 (24/25) Installing nodejs (16.17.1-r0) 19:19:56 (25/25) Installing npm (8.10.0-r0) 19:19:56 Executing busybox-1.35.0-r17.trigger 19:19:56 OK: 191 MiB in 40 packages 19:19:56 Connecting to github.com (140.82.114.3:443) 19:19:56 Connecting to github.com (140.82.114.3:443) 19:19:57 Connecting to objects.githubusercontent.com (185.199.110.133:443) 19:19:57 saving to '/usr/local/bin/snyk' 19:19:58 snyk 100% |********************************| 54.7M 0:00:00 ETA 19:19:58 '/usr/local/bin/snyk' saved 19:20:00  19:20:00 added 23 packages, and audited 24 packages in 2s 19:20:00 19:20:00 found 0 vulnerabilities 19:20:03 Removing intermediate container 8e8fb5a36475 19:20:03 ---> d0d661710ddd 19:20:03 Step 7/11 : ENV GO111MODULE=on 19:20:03 ---> Running in eb0a286ab27b 19:20:04 Removing intermediate container eb0a286ab27b 19:20:04 ---> cd0162e13d03 19:20:04 Step 8/11 : ENTRYPOINT [ "snyk" ] 19:20:04 ---> Running in bfe0780bcf2d 19:20:04 Removing intermediate container bfe0780bcf2d 19:20:04 ---> 1ddde9b2ab43 19:20:04 Step 9/11 : CMD [ "monitor" ] 19:20:04 ---> Running in f20f5af8f466 19:20:04 Removing intermediate container f20f5af8f466 19:20:04 ---> df553370a679 19:20:04 Step 10/11 : LABEL arch=amd64 19:20:04 ---> Running in 8ec83b7299e6 19:20:04 Removing intermediate container 8ec83b7299e6 19:20:04 ---> e27cfa557cdb 19:20:04 Step 11/11 : LABEL git_sha=887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 19:20:04 ---> Running in 913f21d133dc 19:20:04 Removing intermediate container 913f21d133dc 19:20:04 ---> ef4f1c1abf31 19:20:04 [Warning] One or more build-args [ARCH] were not consumed 19:20:04 Successfully built ef4f1c1abf31 19:20:04 Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo 19:20:04 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 19:20:04 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 19:20:04 latest 19:20:04 snyk 19:20:04 1.1025.0 19:20:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:05 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:05 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 19:20:05 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:20:05 0f31df924a0d: Preparing 19:20:05 18f2001debae: Preparing 19:20:05 3ee95762e3e4: Preparing 19:20:05 6f70ac22a8c3: Preparing 19:20:05 371bfe23aea5: Preparing 19:20:05 0a884882e8e9: Preparing 19:20:05 994393dc58e7: Preparing 19:20:05 994393dc58e7: Waiting 19:20:05 0a884882e8e9: Waiting 19:20:05 371bfe23aea5: Pushed 19:20:05 3ee95762e3e4: Pushed 19:20:05 994393dc58e7: Layer already exists 19:20:05 0a884882e8e9: Pushed 19:20:09 18f2001debae: Pushed 19:20:31 0f31df924a0d: Pushed 19:20:34 6f70ac22a8c3: Pushed 19:20:34 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:34 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:34 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 19:20:34 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:20:34 0f31df924a0d: Preparing 19:20:34 18f2001debae: Preparing 19:20:34 3ee95762e3e4: Preparing 19:20:34 6f70ac22a8c3: Preparing 19:20:34 371bfe23aea5: Preparing 19:20:34 0a884882e8e9: Preparing 19:20:34 994393dc58e7: Preparing 19:20:34 994393dc58e7: Waiting 19:20:34 0a884882e8e9: Waiting 19:20:34 18f2001debae: Layer already exists 19:20:34 0f31df924a0d: Layer already exists 19:20:34 371bfe23aea5: Layer already exists 19:20:34 3ee95762e3e4: Layer already exists 19:20:34 6f70ac22a8c3: Layer already exists 19:20:34 0a884882e8e9: Layer already exists 19:20:34 994393dc58e7: Layer already exists 19:20:34 latest: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:35 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:35 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 19:20:35 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:20:35 0f31df924a0d: Preparing 19:20:35 18f2001debae: Preparing 19:20:35 3ee95762e3e4: Preparing 19:20:35 6f70ac22a8c3: Preparing 19:20:35 371bfe23aea5: Preparing 19:20:35 0a884882e8e9: Preparing 19:20:35 994393dc58e7: Preparing 19:20:35 0a884882e8e9: Waiting 19:20:35 994393dc58e7: Waiting 19:20:35 18f2001debae: Layer already exists 19:20:35 371bfe23aea5: Layer already exists 19:20:35 3ee95762e3e4: Layer already exists 19:20:35 6f70ac22a8c3: Layer already exists 19:20:35 0f31df924a0d: Layer already exists 19:20:35 0a884882e8e9: Layer already exists 19:20:35 994393dc58e7: Layer already exists 19:20:35 snyk: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:35 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:36 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 19:20:36 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 19:20:36 0f31df924a0d: Preparing 19:20:36 18f2001debae: Preparing 19:20:36 3ee95762e3e4: Preparing 19:20:36 6f70ac22a8c3: Preparing 19:20:36 371bfe23aea5: Preparing 19:20:36 0a884882e8e9: Preparing 19:20:36 994393dc58e7: Preparing 19:20:36 0a884882e8e9: Waiting 19:20:36 994393dc58e7: Waiting 19:20:36 6f70ac22a8c3: Layer already exists 19:20:36 371bfe23aea5: Layer already exists 19:20:36 0f31df924a0d: Layer already exists 19:20:36 3ee95762e3e4: Layer already exists 19:20:36 18f2001debae: Layer already exists 19:20:36 0a884882e8e9: Layer already exists 19:20:36 994393dc58e7: Layer already exists 19:20:36 1.1025.0: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:20:36 ===================================================== [Pipeline] echo 19:20:36 taggedImages: 19:20:36 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 19:20:36 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 19:20:36 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 19:20:36 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:36 19:20:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:36 latest: Pulling from edgex-lftools-log-publisher 19:20:36 5eb5b503b376: Pulling fs layer 19:20:36 5c69ac0246d0: Pulling fs layer 19:20:36 ec43610c2a17: Pulling fs layer 19:20:36 3a2ae6a8a46f: Pulling fs layer 19:20:36 33b1e0a273af: Pulling fs layer 19:20:36 5d3b04190fa2: Pulling fs layer 19:20:36 2f39f015ded8: Pulling fs layer 19:20:36 3a2ae6a8a46f: Waiting 19:20:36 33b1e0a273af: Waiting 19:20:36 5d3b04190fa2: Waiting 19:20:36 2f39f015ded8: Waiting 19:20:36 5c69ac0246d0: Download complete 19:20:36 3a2ae6a8a46f: Verifying Checksum 19:20:36 3a2ae6a8a46f: Download complete 19:20:36 33b1e0a273af: Verifying Checksum 19:20:36 33b1e0a273af: Download complete 19:20:36 ec43610c2a17: Verifying Checksum 19:20:36 ec43610c2a17: Download complete 19:20:36 5d3b04190fa2: Download complete 19:20:36 5eb5b503b376: Verifying Checksum 19:20:36 5eb5b503b376: Download complete 19:20:37 2f39f015ded8: Download complete 19:20:38 5eb5b503b376: Pull complete 19:20:38 5c69ac0246d0: Pull complete 19:20:38 ec43610c2a17: Pull complete 19:20:38 3a2ae6a8a46f: Pull complete 19:20:38 33b1e0a273af: Pull complete 19:20:39 5d3b04190fa2: Pull complete 19:20:43 2f39f015ded8: Pull complete 19:20:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:20:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:43 prd-ubuntu20.04-docker-8c-8g-7574 does not seem to be running inside a container 19:20:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:20:44 $ docker top 698ffebc66e3c4a90592ee0d4c2d65a9afe606661483295363412f9d9ab86efd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:45 ---> job-cost.sh 19:20:45 lf-activate-venv: SKIPPING 19:20:45 INFO: No Stack... 19:20:45 INFO: Retrieving Pricing Info for: v3-standard-8 19:20:46 INFO: Archiving Costs [Pipeline] sh 19:20:46 + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv 19:20:46 + cut -d, -f6 [Pipeline] lock 19:20:46 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] 19:20:46 Resource [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] did not exist. Created. 19:20:46 Lock acquired on [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:20:46 + echo total: 0.2199999988079071 [Pipeline] stash 19:20:46 Stashed 1 file(s) [Pipeline] } 19:20:46 Lock released on resource [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] [Pipeline] // lock [Pipeline] } 19:20:46 $ docker stop --time=1 698ffebc66e3c4a90592ee0d4c2d65a9afe606661483295363412f9d9ab86efd 19:20:48 $ docker rm -f 698ffebc66e3c4a90592ee0d4c2d65a9afe606661483295363412f9d9ab86efd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [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] sh 19:20:48 + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] 19:20:48 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 19:20:48 total 16 19:20:48 drwxr-xr-x 3 root root 4096 Oct 10 19:20 . 19:20:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:20 .. 19:20:48 drwxr-xr-x 2 root root 4096 Oct 10 19:20 cost 19:20:48 -rw-r--r-- 1 root root 86 Oct 10 19:20 cost.csv 19:20:48 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives 19:20:48 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 19:20:48 total 16 19:20:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:20 . 19:20:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:20 .. 19:20:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 19:20 cost 19:20:48 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 19:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:20:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:20:49 ---> package-listing.sh 19:20:49 ++ facter osfamily 19:20:49 ++ tr '[:upper:]' '[:lower:]' 19:20:49 + OS_FAMILY=debian 19:20:49 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 19:20:49 + START_PACKAGES=/tmp/packages_start.txt 19:20:49 + END_PACKAGES=/tmp/packages_end.txt 19:20:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:20:49 + PACKAGES=/tmp/packages_start.txt 19:20:49 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 19:20:49 + PACKAGES=/tmp/packages_end.txt 19:20:49 + case "${OS_FAMILY}" in 19:20:49 + dpkg -l 19:20:49 + grep '^ii' 19:20:49 + '[' -f /tmp/packages_start.txt ']' 19:20:49 + '[' -f /tmp/packages_end.txt ']' 19:20:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:20:49 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 19:20:49 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 19:20:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 19:20:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:20:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:50 prd-ubuntu20.04-docker-8c-8g-7574 does not seem to be running inside a container 19:20:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:20:51 $ docker top 852f3c02042c38f2023ede17d21deb94432326d0ee1d1ed41c8edb33226e9c9d -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:51 + touch /tmp/pre-build-complete [Pipeline] sh 19:20:51 + mkdir -p /var/log/sysstat [Pipeline] sh 19:20:52 + ls /var/log/sa-host 19:20:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:52 provisioning config files... 19:20:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config17356987617052686033tmp [Pipeline] { [Pipeline] echo 19:20:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:20:52 ---> create-netrc.sh [Pipeline] } 19:20:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:20:52 ---> python-tools-install.sh [Pipeline] echo 19:20:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:20:53 ---> sudo-logs.sh 19:20:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:20:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:20:53 ---> job-cost.sh 19:20:53 lf-activate-venv: SKIPPING 19:20:53 DEBUG: total: 0.2199999988079071 19:20:53 INFO: Retrieving Stack Cost... 19:20:53 INFO: Retrieving Pricing Info for: v3-standard-8 19:20:53 INFO: Archiving Costs [Pipeline] echo 19:20:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:20:53 ---> logs-deploy.sh 19:20:53 lf-activate-venv: SKIPPING 19:20:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/10 19:20:53 INFO: archiving workspace using pattern(s): 19:20:54 Archives upload complete. 19:20:54 INFO: archiving logs to Nexus