Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe725ecbe59fb01d26fc59a142f73164b49a3ace 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-ssh13559345473009124159.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3181903550130897755.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12350955299721177844.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12872002191537796258.key > 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-ssh2687447296698890514.key > 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-2253 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 > 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 fe725ecbe59fb01d26fc59a142f73164b49a3ace (snyk) Commit message: "Merge pull request #205 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 fe725ecbe59fb01d26fc59a142f73164b49a3ace # timeout=10 > git rev-list --no-walk 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:05:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:51 ========================================================= 18:05:51 EdgeX Global Pipelines Version Info 18:05:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:05:52 ------------------- 18:05:52 stable info: 18:05:52 ------------------- 18:05:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:05:52 Message: update stable to v1.0.245 18:06:04 ------------------- 18:06:04 experimental info: 18:06:04 ------------------- 18:06:04 Commited By: **** collab-it+edgex@linuxfoundation.org 18:06:04 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 18:06:04 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.1025.0 [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe725ecbe59fb01d26fc59a142f73164b49a3ace [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe725ec [Pipeline] echo 18:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:04 provisioning config files... 18:06:04 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config14843958884877351880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:05 ---> docker-login.sh 18:06:05 nexus3.edgexfoundry.org:10001 18:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:05 Configure a credential helper to remove this warning. See 18:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:05 18:06:05 Login Succeeded 18:06:05 nexus3.edgexfoundry.org:10002 18:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:05 Configure a credential helper to remove this warning. See 18:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:05 18:06:05 Login Succeeded 18:06:05 nexus3.edgexfoundry.org:10003 18:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:05 Configure a credential helper to remove this warning. See 18:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:05 18:06:05 Login Succeeded 18:06:05 nexus3.edgexfoundry.org:10004 18:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:05 Configure a credential helper to remove this warning. See 18:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:05 18:06:05 Login Succeeded 18:06:05 docker.io 18:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:06 Configure a credential helper to remove this warning. See 18:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:06 18:06:06 Login Succeeded 18:06:06 ---> docker-login.sh ends [Pipeline] } 18:06:06 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 18:06:06 provisioning config files... [Pipeline] // stage [Pipeline] } 18:06:06 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config12621375158100493562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:06 ---> docker-login.sh 18:06:06 nexus3.edgexfoundry.org:10001 18:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:06 Configure a credential helper to remove this warning. See 18:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:06 18:06:06 Login Succeeded 18:06:06 nexus3.edgexfoundry.org:10002 18:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:07 Configure a credential helper to remove this warning. See 18:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:07 18:06:07 Login Succeeded 18:06:07 nexus3.edgexfoundry.org:10003 18:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:07 Configure a credential helper to remove this warning. See 18:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:07 18:06:07 Login Succeeded 18:06:07 nexus3.edgexfoundry.org:10004 18:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:07 Configure a credential helper to remove this warning. See 18:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:07 18:06:07 Login Succeeded 18:06:07 docker.io 18:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:07 Configure a credential helper to remove this warning. See 18:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:07 18:06:07 Login Succeeded 18:06:07 ---> docker-login.sh ends [Pipeline] } 18:06:07 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 18:06:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:06:08 + ls -al . 18:06:08 total 20 18:06:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 18:05 . 18:06:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:05 .. 18:06:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 18:05 .git 18:06:08 -rw-rw-r-- 1 jenkins jenkins 642 Mar 15 18:05 Dockerfile 18:06:08 -rw-rw-r-- 1 jenkins jenkins 902 Mar 15 18:05 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:08 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=fe725ecbe59fb01d26fc59a142f73164b49a3ace --label arch=amd64 . 18:06:08 Sending build context to Docker daemon 444.9kB 18:06:08 Step 1/11 : FROM golang:1.20-alpine3.17 18:06:09 1.20-alpine3.17: Pulling from library/golang 18:06:09 63b65145d645: Pulling fs layer 18:06:09 a2d21d5440eb: Pulling fs layer 18:06:09 935e6c44a52c: Pulling fs layer 18:06:09 94cc34f8dd06: Pulling fs layer 18:06:09 94cc34f8dd06: Waiting 18:06:09 a2d21d5440eb: Download complete 18:06:09 63b65145d645: Download complete 18:06:09 94cc34f8dd06: Verifying Checksum 18:06:09 94cc34f8dd06: Download complete 18:06:09 63b65145d645: Pull complete 18:06:09 a2d21d5440eb: Pull complete 18:06:11 935e6c44a52c: Verifying Checksum 18:06:11 935e6c44a52c: Download complete 18:06:14 935e6c44a52c: Pull complete 18:06:14 94cc34f8dd06: Pull complete 18:06:14 Digest: sha256:1db127655b32aa559e32ed3754ed2ea735204d967a433e4b605aed1dd44c5084 18:06:14 Status: Downloaded newer image for golang:1.20-alpine3.17 18:06:14 ---> 898000b2160b 18:06:14 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' 18:06:17 ---> Running in c6242e540069 18:06:17 Removing intermediate container c6242e540069 18:06:17 ---> 2551f483bac3 18:06:17 Step 3/11 : ARG SNYK_VERSION=1.1025.0 18:06:17 ---> Running in a752fedeffc5 18:06:17 Removing intermediate container a752fedeffc5 18:06:17 ---> a84660ab8c22 18:06:17 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 18:06:17 ---> Running in 650cbdb6de20 18:06:17 Removing intermediate container 650cbdb6de20 18:06:17 ---> 7e1b6a60815a 18:06:17 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 18:06:17 latest: Pulling from library/docker 18:06:17 63b65145d645: Already exists 18:06:17 79632185ca8e: Pulling fs layer 18:06:17 96acd0207079: Pulling fs layer 18:06:17 cd9b23e3d659: Pulling fs layer 18:06:17 9b72c76fa520: Pulling fs layer 18:06:17 2a9913c6de88: Pulling fs layer 18:06:17 d82d65dfa3e2: Pulling fs layer 18:06:17 c870b0efe7bf: Pulling fs layer 18:06:17 3bd06c2449b9: Pulling fs layer 18:06:17 b8adaaee12a3: Pulling fs layer 18:06:17 32e31cd5a8e4: Pulling fs layer 18:06:17 cebae2ff9f88: Pulling fs layer 18:06:17 38a13f2f8392: Pulling fs layer 18:06:17 9b72c76fa520: Waiting 18:06:17 d82d65dfa3e2: Waiting 18:06:17 c870b0efe7bf: Waiting 18:06:17 b8adaaee12a3: Waiting 18:06:17 3bd06c2449b9: Waiting 18:06:17 32e31cd5a8e4: Waiting 18:06:17 38a13f2f8392: Waiting 18:06:17 79632185ca8e: Verifying Checksum 18:06:17 79632185ca8e: Download complete 18:06:18 cd9b23e3d659: Verifying Checksum 18:06:18 cd9b23e3d659: Download complete 18:06:18 96acd0207079: Verifying Checksum 18:06:18 96acd0207079: Download complete 18:06:18 79632185ca8e: Pull complete 18:06:18 2a9913c6de88: Verifying Checksum 18:06:18 2a9913c6de88: Download complete 18:06:18 d82d65dfa3e2: Verifying Checksum 18:06:18 d82d65dfa3e2: Download complete 18:06:18 9b72c76fa520: Verifying Checksum 18:06:18 9b72c76fa520: Download complete 18:06:18 c870b0efe7bf: Verifying Checksum 18:06:18 c870b0efe7bf: Download complete 18:06:18 b8adaaee12a3: Download complete 18:06:18 96acd0207079: Pull complete 18:06:18 3bd06c2449b9: Verifying Checksum 18:06:18 3bd06c2449b9: Download complete 18:06:18 cebae2ff9f88: Verifying Checksum 18:06:18 cebae2ff9f88: Download complete 18:06:18 38a13f2f8392: Verifying Checksum 18:06:18 38a13f2f8392: Download complete 18:06:18 cd9b23e3d659: Pull complete 18:06:18 32e31cd5a8e4: Verifying Checksum 18:06:18 32e31cd5a8e4: Download complete 18:06:19 9b72c76fa520: Pull complete 18:06:19 2a9913c6de88: Pull complete 18:06:19 d82d65dfa3e2: Pull complete 18:06:19 c870b0efe7bf: Pull complete 18:06:19 3bd06c2449b9: Pull complete 18:06:19 b8adaaee12a3: Pull complete 18:06:20 32e31cd5a8e4: Pull complete 18:06:20 cebae2ff9f88: Pull complete 18:06:20 38a13f2f8392: Pull complete 18:06:20 Digest: sha256:3a09aaa775e328ec0817cb9b060e68c94ccf135f290c70f8189fbf2128ecdd9c 18:06:20 Status: Downloaded newer image for docker:latest 18:06:23 ---> 2a9d9b1193cd 18:06:23 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 18:06:23 ---> Running in 06d8fdf782b9 18:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:06:23 (1/26) Installing tzdata (2022f-r1) 18:06:23 (2/26) Installing tcl (8.6.12-r1) 18:06:23 (3/26) Installing expect (5.45.4-r3) 18:06:23 (4/26) Installing libgcc (12.2.1_git20220924-r4) 18:06:23 (5/26) Installing libstdc++ (12.2.1_git20220924-r4) 18:06:23 (6/26) Installing binutils (2.39-r2) 18:06:23 (7/26) Installing libgomp (12.2.1_git20220924-r4) 18:06:23 (8/26) Installing libatomic (12.2.1_git20220924-r4) 18:06:23 (9/26) Installing gmp (6.2.1-r2) 18:06:23 (10/26) Installing isl25 (0.25-r0) 18:06:23 (11/26) Installing mpfr4 (4.1.0-r0) 18:06:23 (12/26) Installing mpc1 (1.2.1-r1) 18:06:23 (13/26) Installing gcc (12.2.1_git20220924-r4) 18:06:24 (14/26) Installing brotli-libs (1.0.9-r9) 18:06:24 (15/26) Installing nghttp2-libs (1.51.0-r0) 18:06:24 (16/26) Installing libcurl (7.88.1-r0) 18:06:24 (17/26) Installing libexpat (2.5.0-r0) 18:06:24 (18/26) Installing pcre2 (10.42-r0) 18:06:24 (19/26) Installing git (2.38.4-r1) 18:06:24 (20/26) Installing musl-dev (1.2.3-r4) 18:06:24 (21/26) Installing libc-dev (0.7.2-r3) 18:06:24 (22/26) Installing c-ares (1.18.1-r1) 18:06:24 (23/26) Installing icu-data-en (72.1-r1) 18:06:24 Executing icu-data-en-72.1-r1.post-install 18:06:24 * 18:06:24 * If you need ICU with non-English locales and legacy charset support, install 18:06:24 * package icu-data-full. 18:06:24 * 18:06:24 (24/26) Installing icu-libs (72.1-r1) 18:06:24 (25/26) Installing nodejs (18.14.2-r0) 18:06:25 (26/26) Installing npm (9.1.2-r0) 18:06:25 Executing busybox-1.35.0-r29.trigger 18:06:25 OK: 226 MiB in 42 packages 18:06:25 Connecting to github.com (140.82.113.3:443) 18:06:25 Connecting to github.com (140.82.113.3:443) 18:06:25 Connecting to objects.githubusercontent.com (185.199.110.133:443) 18:06:25 saving to '/usr/local/bin/snyk' 18:06:26 snyk 100% |********************************| 54.7M 0:00:00 ETA 18:06:26 '/usr/local/bin/snyk' saved 18:06:28  18:06:28 added 23 packages in 1s 18:06:28 18:06:28 1 package is looking for funding 18:06:28 run `npm fund` for details 18:06:34 Removing intermediate container 06d8fdf782b9 18:06:34 ---> dcbffbebb003 18:06:34 Step 7/11 : ENV GO111MODULE=on 18:06:34 ---> Running in d1bead601b6f 18:06:34 Removing intermediate container d1bead601b6f 18:06:34 ---> 543dd68f2c99 18:06:34 Step 8/11 : ENTRYPOINT [ "snyk" ] 18:06:34 ---> Running in 31bafd1a3e6b 18:06:34 Removing intermediate container 31bafd1a3e6b 18:06:34 ---> e27db1d46720 18:06:34 Step 9/11 : CMD [ "monitor" ] 18:06:34 ---> Running in 0c31d9f8f28a 18:06:34 Removing intermediate container 0c31d9f8f28a 18:06:34 ---> 75e3ba1f9a29 18:06:34 Step 10/11 : LABEL arch=amd64 18:06:34 ---> Running in f7f962158f7d 18:06:34 Removing intermediate container f7f962158f7d 18:06:34 ---> 07c53c4fc700 18:06:34 Step 11/11 : LABEL git_sha=fe725ecbe59fb01d26fc59a142f73164b49a3ace 18:06:34 ---> Running in eaa64eba6a4f 18:06:34 Removing intermediate container eaa64eba6a4f 18:06:34 ---> ee99733ee438 18:06:34 [Warning] One or more build-args [ARCH] were not consumed 18:06:34 Successfully built ee99733ee438 18:06:34 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 18:06:34 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 18:06:34 fe725ecbe59fb01d26fc59a142f73164b49a3ace 18:06:34 latest 18:06:34 snyk 18:06:34 1.1025.0 18:06:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:35 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fe725ecbe59fb01d26fc59a142f73164b49a3ace [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:35 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fe725ecbe59fb01d26fc59a142f73164b49a3ace 18:06:35 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 18:06:35 4defa7f22201: Preparing 18:06:35 87edc2f14006: Preparing 18:06:35 d63ee118692e: Preparing 18:06:35 8bcdc05896d3: Preparing 18:06:35 d270ab11cf6e: Preparing 18:06:35 7cd52847ad77: Preparing 18:06:35 d63ee118692e: Layer already exists 18:06:35 d270ab11cf6e: Layer already exists 18:06:35 8bcdc05896d3: Layer already exists 18:06:35 7cd52847ad77: Layer already exists 18:06:38 87edc2f14006: Pushed 18:07:05 4defa7f22201: Pushed 18:07:05 fe725ecbe59fb01d26fc59a142f73164b49a3ace: digest: sha256:2474498c763673bbe62cdaf13ee46e3967a1143364ed7707edf049be4e41fef9 size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:05 + 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 18:07:06 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 18:07:06 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 18:07:06 4defa7f22201: Preparing 18:07:06 87edc2f14006: Preparing 18:07:06 d63ee118692e: Preparing 18:07:06 8bcdc05896d3: Preparing 18:07:06 d270ab11cf6e: Preparing 18:07:06 7cd52847ad77: Preparing 18:07:06 7cd52847ad77: Waiting 18:07:06 8bcdc05896d3: Layer already exists 18:07:06 d270ab11cf6e: Layer already exists 18:07:06 87edc2f14006: Layer already exists 18:07:06 4defa7f22201: Layer already exists 18:07:06 d63ee118692e: Layer already exists 18:07:06 7cd52847ad77: Layer already exists 18:07:06 latest: digest: sha256:2474498c763673bbe62cdaf13ee46e3967a1143364ed7707edf049be4e41fef9 size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:06 + 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 18:07:06 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 18:07:06 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 18:07:06 4defa7f22201: Preparing 18:07:06 87edc2f14006: Preparing 18:07:06 d63ee118692e: Preparing 18:07:06 8bcdc05896d3: Preparing 18:07:06 d270ab11cf6e: Preparing 18:07:06 7cd52847ad77: Preparing 18:07:06 7cd52847ad77: Waiting 18:07:06 d63ee118692e: Layer already exists 18:07:06 87edc2f14006: Layer already exists 18:07:06 4defa7f22201: Layer already exists 18:07:06 8bcdc05896d3: Layer already exists 18:07:06 d270ab11cf6e: Layer already exists 18:07:06 7cd52847ad77: Layer already exists 18:07:06 snyk: digest: sha256:2474498c763673bbe62cdaf13ee46e3967a1143364ed7707edf049be4e41fef9 size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:06 + 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 18:07:07 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 18:07:07 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 18:07:07 4defa7f22201: Preparing 18:07:07 87edc2f14006: Preparing 18:07:07 d63ee118692e: Preparing 18:07:07 8bcdc05896d3: Preparing 18:07:07 d270ab11cf6e: Preparing 18:07:07 7cd52847ad77: Preparing 18:07:07 7cd52847ad77: Waiting 18:07:07 d270ab11cf6e: Layer already exists 18:07:07 4defa7f22201: Layer already exists 18:07:07 87edc2f14006: Layer already exists 18:07:07 d63ee118692e: Layer already exists 18:07:07 8bcdc05896d3: Layer already exists 18:07:07 7cd52847ad77: Layer already exists 18:07:07 1.1025.0: digest: sha256:2474498c763673bbe62cdaf13ee46e3967a1143364ed7707edf049be4e41fef9 size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:07:07 ===================================================== [Pipeline] echo 18:07:07 taggedImages: 18:07:07 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fe725ecbe59fb01d26fc59a142f73164b49a3ace 18:07:07 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 18:07:07 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 18:07:07 - 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 18:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:07 18:07:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:07 latest: Pulling from edgex-lftools-log-publisher 18:07:07 5eb5b503b376: Pulling fs layer 18:07:07 5c69ac0246d0: Pulling fs layer 18:07:07 ec43610c2a17: Pulling fs layer 18:07:07 3a2ae6a8a46f: Pulling fs layer 18:07:07 33b1e0a273af: Pulling fs layer 18:07:07 5d3b04190fa2: Pulling fs layer 18:07:07 2f39f015ded8: Pulling fs layer 18:07:07 3a2ae6a8a46f: Waiting 18:07:07 33b1e0a273af: Waiting 18:07:07 5d3b04190fa2: Waiting 18:07:07 5c69ac0246d0: Verifying Checksum 18:07:07 5c69ac0246d0: Download complete 18:07:07 3a2ae6a8a46f: Verifying Checksum 18:07:07 3a2ae6a8a46f: Download complete 18:07:07 33b1e0a273af: Verifying Checksum 18:07:07 33b1e0a273af: Download complete 18:07:07 ec43610c2a17: Verifying Checksum 18:07:07 ec43610c2a17: Download complete 18:07:08 5d3b04190fa2: Verifying Checksum 18:07:08 5d3b04190fa2: Download complete 18:07:08 5eb5b503b376: Verifying Checksum 18:07:08 5eb5b503b376: Download complete 18:07:08 2f39f015ded8: Download complete 18:07:09 5eb5b503b376: Pull complete 18:07:09 5c69ac0246d0: Pull complete 18:07:09 ec43610c2a17: Pull complete 18:07:09 3a2ae6a8a46f: Pull complete 18:07:09 33b1e0a273af: Pull complete 18:07:09 5d3b04190fa2: Pull complete 18:07:14 2f39f015ded8: Pull complete 18:07:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:07:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:14 prd-ubuntu20.04-docker-8c-8g-2253 does not seem to be running inside a container 18:07:14 $ 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 18:07:17 $ docker top 79f6217e30cbf15a0862377275561845632a151a242924e7f4ff547108f033be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:17 ---> job-cost.sh 18:07:17 lf-activate-venv: SKIPPING 18:07:17 INFO: No Stack... 18:07:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:18 INFO: Archiving Costs [Pipeline] sh 18:07:19 + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv 18:07:19 + cut -d, -f6 [Pipeline] lock 18:07:19 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-snyk-11-stack-cost] 18:07:19 Resource [jenkins-edgexfoundry-ci-build-images-snyk-11-stack-cost] did not exist. Created. 18:07:19 Lock acquired on [jenkins-edgexfoundry-ci-build-images-snyk-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:19 + echo total: 0.2199999988079071 [Pipeline] stash 18:07:19 Stashed 1 file(s) [Pipeline] } 18:07:19 Lock released on resource [jenkins-edgexfoundry-ci-build-images-snyk-11-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:19 $ docker stop --time=1 79f6217e30cbf15a0862377275561845632a151a242924e7f4ff547108f033be 18:07:20 $ docker rm -f --volumes 79f6217e30cbf15a0862377275561845632a151a242924e7f4ff547108f033be [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 18:07:21 + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] 18:07:21 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 18:07:21 total 16 18:07:21 drwxr-xr-x 3 root root 4096 Mar 15 18:07 . 18:07:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:07 .. 18:07:21 drwxr-xr-x 2 root root 4096 Mar 15 18:07 cost 18:07:21 -rw-r--r-- 1 root root 86 Mar 15 18:07 cost.csv 18:07:21 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives 18:07:21 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 18:07:21 total 16 18:07:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 18:07 . 18:07:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:07 .. 18:07:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 18:07 cost 18:07:21 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:07:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:07:22 ---> package-listing.sh 18:07:22 ++ facter osfamily 18:07:22 ++ tr '[:upper:]' '[:lower:]' 18:07:22 + OS_FAMILY=debian 18:07:22 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 18:07:22 + START_PACKAGES=/tmp/packages_start.txt 18:07:22 + END_PACKAGES=/tmp/packages_end.txt 18:07:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:07:22 + PACKAGES=/tmp/packages_start.txt 18:07:22 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 18:07:22 + PACKAGES=/tmp/packages_end.txt 18:07:22 + case "${OS_FAMILY}" in 18:07:22 + dpkg -l 18:07:22 + grep '^ii' 18:07:22 + '[' -f /tmp/packages_start.txt ']' 18:07:22 + '[' -f /tmp/packages_end.txt ']' 18:07:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:07:22 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 18:07:22 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 18:07:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 18:07:22 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 18:07:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:23 prd-ubuntu20.04-docker-8c-8g-2253 does not seem to be running inside a container 18:07:23 $ 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 18:07:23 $ docker top d64f5d4aafc2f1869dd1d5b3ce3fef0587c99e389e2563cb7cf0e2f5a448c60d -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:24 + touch /tmp/pre-build-complete [Pipeline] sh 18:07:24 + mkdir -p /var/log/sysstat [Pipeline] sh 18:07:24 + ls /var/log/sa-host 18:07:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:24 provisioning config files... 18:07:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config708051690343712164tmp [Pipeline] { [Pipeline] echo 18:07:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:07:25 ---> create-netrc.sh [Pipeline] } 18:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:07:25 ---> python-tools-install.sh [Pipeline] echo 18:07:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:07:25 ---> sudo-logs.sh 18:07:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:07:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:07:26 ---> job-cost.sh 18:07:26 lf-activate-venv: SKIPPING 18:07:26 DEBUG: total: 0.2199999988079071 18:07:26 INFO: Retrieving Stack Cost... 18:07:26 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:26 INFO: Archiving Costs [Pipeline] echo 18:07:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:07:26 ---> logs-deploy.sh 18:07:26 lf-activate-venv: SKIPPING 18:07:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/11 18:07:26 INFO: archiving workspace using pattern(s): 18:07:27 Archives upload complete. 18:07:27 INFO: archiving logs to Nexus 18:07:28 ---> uname -a: 18:07:28 Linux prd-ubuntu20-04-docker-8c-8g-2253 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:07:28 18:07:28 18:07:28 ---> lscpu: 18:07:28 Architecture: x86_64 18:07:28 CPU op-mode(s): 32-bit, 64-bit 18:07:28 Byte Order: Little Endian 18:07:28 Address sizes: 40 bits physical, 48 bits virtual 18:07:28 CPU(s): 8 18:07:28 On-line CPU(s) list: 0-7 18:07:28 Thread(s) per core: 1 18:07:28 Core(s) per socket: 1 18:07:28 Socket(s): 8 18:07:28 NUMA node(s): 1 18:07:28 Vendor ID: AuthenticAMD 18:07:28 CPU family: 23 18:07:28 Model: 49 18:07:28 Model name: AMD EPYC-Rome Processor 18:07:28 Stepping: 0 18:07:28 CPU MHz: 2799.998 18:07:28 BogoMIPS: 5599.99 18:07:28 Virtualization: AMD-V 18:07:28 Hypervisor vendor: KVM 18:07:28 Virtualization type: full 18:07:28 L1d cache: 256 KiB 18:07:28 L1i cache: 256 KiB 18:07:28 L2 cache: 4 MiB 18:07:28 L3 cache: 128 MiB 18:07:28 NUMA node0 CPU(s): 0-7 18:07:28 Vulnerability Itlb multihit: Not affected 18:07:28 Vulnerability L1tf: Not affected 18:07:28 Vulnerability Mds: Not affected 18:07:28 Vulnerability Meltdown: Not affected 18:07:28 Vulnerability Mmio stale data: Not affected 18:07:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:07:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:07:28 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:07:28 Vulnerability Srbds: Not affected 18:07:28 Vulnerability Tsx async abort: Not affected 18:07:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:07:28 18:07:28 18:07:28 ---> nproc: 18:07:28 8 18:07:28 18:07:28 18:07:28 ---> df -h: 18:07:28 Filesystem Size Used Avail Use% Mounted on 18:07:28 overlay 155G 11G 145G 7% / 18:07:28 tmpfs 64M 0 64M 0% /dev 18:07:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:07:28 shm 64M 0 64M 0% /dev/shm 18:07:28 /dev/vda1 155G 11G 145G 7% /facter-os 18:07:28 18:07:28