Pull request #70 closed Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 116fb03dc70c3e3b0b8554a57d1df2b373118b39 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-ssh1187182980508850295.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh3910261224151708233.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git 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/git-semver/branches/snyk-fix-1.972o147rp.e38e4192e47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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 [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/git-semver/branches/snyk-fix-1.972o147rp.e38e4192e47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1429017154084551206.key > 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 [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/git-semver/branches/snyk-fix-1.972o147rp.e38e4192e47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10430538973727295896.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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 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-ssh7895463276938910910.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 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/git-semver/branches/snyk-fix-1.972o147rp.e38e4192e47/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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 [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/git-semver/branches/snyk-fix-1.972o147rp.e38e4192e47/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16974669719293221881.key > 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 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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:py-git-semver, mavenSettings:git-semver-settings, dockerImageName:py-git-semver, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[0.1.4], releaseBranchOverride:python] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: git-semver-settings PROJECT: py-git-semver USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: py-git-semver DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: py-git-semver-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: python DOCKER_CUSTOM_TAGS: 0.1.4 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1845’ Running on prd-ubuntu20.04-docker-8c-8g-1847 in /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 [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/git-semver.git > git init /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.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/git-semver.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 116fb03dc70c3e3b0b8554a57d1df2b373118b39 (snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47) Commit message: "fix: Dockerfile to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > git config core.sparsecheckout # timeout=10 > git checkout -f 116fb03dc70c3e3b0b8554a57d1df2b373118b39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:34:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:34:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:34:14 ========================================================= 06:34:14 EdgeX Global Pipelines Version Info 06:34:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:34:15 ------------------- 06:34:15 stable info: 06:34:15 ------------------- 06:34:15 Commited By: Ginny Guan ginny@iotechsys.com 06:34:15 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 06:34:15 Message: update stable to v1.0.274 06:34:15 ------------------- 06:34:15 experimental info: 06:34:15 ------------------- 06:34:15 Commited By: Ginny Guan ginny@iotechsys.com 06:34:15 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 06:34:15 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = git-semver-settings [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar PROJECT = py-git-semver [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = py-git-semver [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = py-git-semver-archive.tar.gz [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = python [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 0.1.4 [Pipeline] echo 06:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47 [Pipeline] echo 06:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47 [Pipeline] echo 06:34:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47 [Pipeline] echo 06:34:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 116fb03dc70c3e3b0b8554a57d1df2b373118b39 [Pipeline] echo 06:34:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 116fb03 [Pipeline] echo 06:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:17 provisioning config files... 06:34:17 copy managed file [git-semver-settings] to file:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp/config18320318616729262262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:17 ---> ****-login.sh 06:34:17 nexus3.edgexfoundry.org:10001 06:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:18 Configure a credential helper to remove this warning. See 06:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:18 06:34:18 Login Succeeded 06:34:18 nexus3.edgexfoundry.org:10002 06:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:18 Configure a credential helper to remove this warning. See 06:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:18 06:34:18 Login Succeeded 06:34:18 nexus3.edgexfoundry.org:10003 06:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:18 Configure a credential helper to remove this warning. See 06:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:18 06:34:18 Login Succeeded 06:34:18 nexus3.edgexfoundry.org:10004 06:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:18 Configure a credential helper to remove this warning. See 06:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:18 06:34:18 Login Succeeded 06:34:18 ****.io 06:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:18 Configure a credential helper to remove this warning. See 06:34:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:18 06:34:18 Login Succeeded 06:34:18 ---> ****-login.sh ends [Pipeline] } 06:34:18 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] getContext [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) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:19 provisioning config files... 06:34:19 copy managed file [git-semver-settings] to file:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp/config15280524248542235357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:19 ---> ****-login.sh 06:34:19 nexus3.edgexfoundry.org:10001 06:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:19 Configure a credential helper to remove this warning. See 06:34:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:19 06:34:19 Login Succeeded 06:34:19 nexus3.edgexfoundry.org:10002 06:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:19 Configure a credential helper to remove this warning. See 06:34:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:19 06:34:19 Login Succeeded 06:34:19 nexus3.edgexfoundry.org:10003 06:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:20 Configure a credential helper to remove this warning. See 06:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:20 06:34:20 Login Succeeded 06:34:20 nexus3.edgexfoundry.org:10004 06:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:20 Configure a credential helper to remove this warning. See 06:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:20 06:34:20 Login Succeeded 06:34:20 ****.io 06:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:34:20 Configure a credential helper to remove this warning. See 06:34:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:34:20 06:34:20 Login Succeeded 06:34:20 ---> ****-login.sh ends [Pipeline] } 06:34:20 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 06:34:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:21 + ls -al . 06:34:21 total 64 06:34:21 drwxrwxr-x 6 jenkins jenkins 4096 May 20 06:34 . 06:34:21 drwxrwxr-x 4 jenkins jenkins 4096 May 20 06:34 .. 06:34:21 drwxrwxr-x 8 jenkins jenkins 4096 May 20 06:34 .git 06:34:21 drwxrwxr-x 2 jenkins jenkins 4096 May 20 06:34 .github 06:34:21 -rw-rw-r-- 1 jenkins jenkins 1056 May 20 06:34 .gitignore 06:34:21 -rw-rw-r-- 1 jenkins jenkins 1222 May 20 06:34 Dockerfile 06:34:21 -rw-rw-r-- 1 jenkins jenkins 869 May 20 06:34 Jenkinsfile 06:34:21 -rw-rw-r-- 1 jenkins jenkins 5651 May 20 06:34 README.md 06:34:21 -rw-rw-r-- 1 jenkins jenkins 2488 May 20 06:34 build.py 06:34:21 drwxrwxr-x 3 jenkins jenkins 4096 May 20 06:34 docs 06:34:21 -rw-rw-r-- 1 jenkins jenkins 275 May 20 06:34 entrypoint.sh 06:34:21 -rw-rw-r-- 1 jenkins jenkins 83 May 20 06:34 pyproject.toml 06:34:21 -rw-rw-r-- 1 jenkins jenkins 32 May 20 06:34 requirements.txt 06:34:21 -rw-rw-r-- 1 jenkins jenkins 2628 May 20 06:34 setup.py 06:34:21 drwxrwxr-x 4 jenkins jenkins 4096 May 20 06:34 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:21 + docker build -t edgex-devops/py-git-semver -f Dockerfile --build-arg ARCH=amd64 --label git_sha=116fb03dc70c3e3b0b8554a57d1df2b373118b39 --label arch=amd64 . 06:34:21 Sending build context to Docker daemon 447.5kB 06:34:21 Step 1/20 : FROM python:3.13.3-slim AS build-image 06:34:22 3.13.3-slim: Pulling from library/python 06:34:22 254e724d7786: Pulling fs layer 06:34:22 f778d6c4f6e9: Pulling fs layer 06:34:22 d2f62848b12d: Pulling fs layer 06:34:22 997762e48473: Pulling fs layer 06:34:22 997762e48473: Waiting 06:34:22 f778d6c4f6e9: Verifying Checksum 06:34:22 f778d6c4f6e9: Download complete 06:34:22 d2f62848b12d: Verifying Checksum 06:34:22 d2f62848b12d: Download complete 06:34:22 997762e48473: Verifying Checksum 06:34:22 254e724d7786: Verifying Checksum 06:34:22 254e724d7786: Download complete 06:34:23 254e724d7786: Pull complete 06:34:23 f778d6c4f6e9: Pull complete 06:34:24 d2f62848b12d: Pull complete 06:34:24 997762e48473: Pull complete 06:34:24 Digest: sha256:914bf5c12ea40a97a78b2bff97fbdb766cc36ec903bfb4358faf2b74d73b555b 06:34:24 Status: Downloaded newer image for python:3.13.3-slim 06:34:24 ---> 2cd5426fce28 06:34:24 Step 2/20 : ENV PYTHONDONTWRITEBYTECODE 1 06:34:24 ---> Running in 81553d1f8f9b 06:34:24 Removing intermediate container 81553d1f8f9b 06:34:24 ---> 37b6472b7708 06:34:24 Step 3/20 : ENV GIT_PYTHON_TRACE 1 06:34:24 ---> Running in 8e3bcb288fb0 06:34:24 Removing intermediate container 8e3bcb288fb0 06:34:24 ---> 2bc5a6a10911 06:34:24 Step 4/20 : WORKDIR /code 06:34:25 ---> Running in 38821e8a0ecc 06:34:25 Removing intermediate container 38821e8a0ecc 06:34:25 ---> f83c9ef8b055 06:34:25 Step 5/20 : COPY . /code/ 06:34:25 ---> bfe8263dddb4 06:34:25 Step 6/20 : RUN apt-get update && apt-get install -y ssh netcat git 06:34:25 ---> Running in f9a3dcaccda1 06:34:25 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 06:34:25 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 06:34:25 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 06:34:26 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8793 kB] 06:34:26 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [512 B] 06:34:26 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [259 kB] 06:34:26 Fetched 9307 kB in 1s (8053 kB/s) 06:34:27 Reading package lists... 06:34:28 Reading package lists... 06:34:28 Building dependency tree... 06:34:28 Reading state information... 06:34:28 Package netcat is a virtual package provided by: 06:34:28 netcat-openbsd 1.219-1 06:34:28 netcat-traditional 1.10-47 06:34:28 06:34:28 E: Package 'netcat' has no installation candidate 06:34:28 The command '/bin/sh -c apt-get update && apt-get install -y ssh netcat git' returned a non-zero code: 100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:29 06:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:29 latest: Pulling from edgex-lftools-log-publisher 06:34:29 5eb5b503b376: Pulling fs layer 06:34:29 5c69ac0246d0: Pulling fs layer 06:34:29 ec43610c2a17: Pulling fs layer 06:34:29 3a2ae6a8a46f: Pulling fs layer 06:34:29 33b1e0a273af: Pulling fs layer 06:34:29 5d3b04190fa2: Pulling fs layer 06:34:29 2f39f015ded8: Pulling fs layer 06:34:29 3a2ae6a8a46f: Waiting 06:34:29 33b1e0a273af: Waiting 06:34:29 5d3b04190fa2: Waiting 06:34:29 2f39f015ded8: Waiting 06:34:29 5c69ac0246d0: Verifying Checksum 06:34:29 5c69ac0246d0: Download complete 06:34:29 3a2ae6a8a46f: Verifying Checksum 06:34:29 3a2ae6a8a46f: Download complete 06:34:30 ec43610c2a17: Verifying Checksum 06:34:30 ec43610c2a17: Download complete 06:34:30 33b1e0a273af: Verifying Checksum 06:34:30 33b1e0a273af: Download complete 06:34:30 5d3b04190fa2: Download complete 06:34:30 5eb5b503b376: Verifying Checksum 06:34:30 5eb5b503b376: Download complete 06:34:31 5eb5b503b376: Pull complete 06:34:31 5c69ac0246d0: Pull complete 06:34:32 ec43610c2a17: Pull complete 06:34:32 3a2ae6a8a46f: Pull complete 06:34:32 33b1e0a273af: Pull complete 06:34:32 5d3b04190fa2: Pull complete 06:34:34 Still waiting to schedule task 06:34:34 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1848’ is offline 06:34:35 2f39f015ded8: Pull complete 06:34:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:36 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 06:34:36 $ 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/12ad1a15cd21e51f4b0dce38e4192e47 -v /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47:rw,z -v /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:34:37 $ docker top 2cabf1f8b3a9160e496e90a001fb4d55f25f9a78748d69eebd67d3fba0538dfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:38 ---> job-cost.sh 06:34:38 lf-activate-venv: SKIPPING 06:34:38 INFO: No Stack... 06:34:38 INFO: Retrieving Pricing Info for: v3-standard-8 06:34:38 INFO: Archiving Costs [Pipeline] sh 06:34:39 + cat /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives/cost.csv 06:34:39 + cut -d, -f6 [Pipeline] lock 06:34:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] 06:34:39 Resource [jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] did not exist. Created. 06:34:39 Lock acquired on [Resource: jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:34:39 + echo total: 0.2199999988079071 [Pipeline] stash 06:34:39 Stashed 1 file(s) [Pipeline] } 06:34:39 Lock released on resource [Resource: jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:34:40 $ docker stop --time=1 2cabf1f8b3a9160e496e90a001fb4d55f25f9a78748d69eebd67d3fba0538dfd 06:34:41 $ docker rm -f --volumes 2cabf1f8b3a9160e496e90a001fb4d55f25f9a78748d69eebd67d3fba0538dfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:41 Failed in branch amd64 06:37:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1855 in /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 [Pipeline] { [Pipeline] checkout 06:37:06 Selected Git installation does not exist. Using Default 06:37:06 The recommended git tool is: NONE 06:37:11 using credential edgex-jenkins-ssh 06:37:11 Cloning the remote Git repository 06:37:11 Cloning repository git@github.com:edgexfoundry/git-semver.git 06:37:11 > git init /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 # timeout=10 06:37:12 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git 06:37:12 > git --version # timeout=10 06:37:12 > git --version # 'git version 2.25.1' 06:37:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:13 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 06:37:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:14 Avoid second fetch 06:37:14 Checking out Revision 116fb03dc70c3e3b0b8554a57d1df2b373118b39 (snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47) 06:37:14 Commit message: "fix: Dockerfile to reduce vulnerabilities" 06:37:14 > git --version # timeout=10 06:37:14 > git --version # 'git version 2.25.1' 06:37:14 fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 06:37:14 > git config core.sparsecheckout # timeout=10 06:37:14 > git checkout -f 116fb03dc70c3e3b0b8554a57d1df2b373118b39 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:37:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:19 Dload Upload Total Spent Left Speed 06:37:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 06:37:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:37:20 + sudo tee /etc/docker/daemon.new 06:37:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:37:20 { 06:37:20 "registry-mirrors": [ 06:37:20 "https://nexus3.edgexfoundry.org:10001" 06:37:20 ], 06:37:20 "bip": "10.250.0.254/24", 06:37:20 "hosts": [ 06:37:20 "tcp://0.0.0.0:5555", 06:37:20 "unix:///var/run/docker.sock" 06:37:20 ], 06:37:20 "mtu": 1458, 06:37:20 "selinux-enabled": true, 06:37:20 "seccomp-profile": "/etc/docker/seccomp.json" 06:37:20 } [Pipeline] sh 06:37:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:37:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:39 provisioning config files... 06:37:39 copy managed file [git-semver-settings] to file:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp/config3805209210409059142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:40 ---> ****-login.sh 06:37:40 nexus3.edgexfoundry.org:10001 06:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:37:40 Configure a credential helper to remove this warning. See 06:37:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:37:40 06:37:40 Login Succeeded 06:37:40 nexus3.edgexfoundry.org:10002 06:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:37:41 Configure a credential helper to remove this warning. See 06:37:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:37:41 06:37:41 Login Succeeded 06:37:41 nexus3.edgexfoundry.org:10003 06:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:37:41 Configure a credential helper to remove this warning. See 06:37:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:37:41 06:37:41 Login Succeeded 06:37:41 nexus3.edgexfoundry.org:10004 06:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:37:42 Configure a credential helper to remove this warning. See 06:37:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:37:42 06:37:42 Login Succeeded 06:37:42 ****.io 06:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:37:42 Configure a credential helper to remove this warning. See 06:37:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:37:42 06:37:42 Login Succeeded 06:37:42 ---> ****-login.sh ends [Pipeline] } 06:37:42 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 06:37:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:37:43 + ls -al . 06:37:43 total 64 06:37:43 drwxrwxr-x 6 jenkins jenkins 4096 May 20 06:37 . 06:37:43 drwxrwxr-x 4 jenkins jenkins 4096 May 20 06:37 .. 06:37:43 drwxrwxr-x 8 jenkins jenkins 4096 May 20 06:37 .git 06:37:43 drwxrwxr-x 2 jenkins jenkins 4096 May 20 06:37 .github 06:37:43 -rw-rw-r-- 1 jenkins jenkins 1056 May 20 06:37 .gitignore 06:37:43 -rw-rw-r-- 1 jenkins jenkins 1222 May 20 06:37 Dockerfile 06:37:43 -rw-rw-r-- 1 jenkins jenkins 869 May 20 06:37 Jenkinsfile 06:37:43 -rw-rw-r-- 1 jenkins jenkins 5651 May 20 06:37 README.md 06:37:43 -rw-rw-r-- 1 jenkins jenkins 2488 May 20 06:37 build.py 06:37:43 drwxrwxr-x 3 jenkins jenkins 4096 May 20 06:37 docs 06:37:43 -rw-rw-r-- 1 jenkins jenkins 275 May 20 06:37 entrypoint.sh 06:37:43 -rw-rw-r-- 1 jenkins jenkins 83 May 20 06:37 pyproject.toml 06:37:43 -rw-rw-r-- 1 jenkins jenkins 32 May 20 06:37 requirements.txt 06:37:43 -rw-rw-r-- 1 jenkins jenkins 2628 May 20 06:37 setup.py 06:37:43 drwxrwxr-x 4 jenkins jenkins 4096 May 20 06:37 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:44 + docker build -t edgex-devops/py-git-semver-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=116fb03dc70c3e3b0b8554a57d1df2b373118b39 --label arch=arm64 . 06:37:44 Sending build context to Docker daemon 447.5kB 06:37:44 Step 1/20 : FROM python:3.13.3-slim AS build-image 06:37:45 3.13.3-slim: Pulling from library/python 06:37:45 943331d8a9a9: Pulling fs layer 06:37:45 e2cbf253efde: Pulling fs layer 06:37:45 7190e4956f30: Pulling fs layer 06:37:45 867244661c52: Pulling fs layer 06:37:45 867244661c52: Waiting 06:37:45 e2cbf253efde: Verifying Checksum 06:37:45 e2cbf253efde: Download complete 06:37:45 867244661c52: Verifying Checksum 06:37:45 867244661c52: Download complete 06:37:45 7190e4956f30: Verifying Checksum 06:37:45 7190e4956f30: Download complete 06:37:46 943331d8a9a9: Verifying Checksum 06:37:46 943331d8a9a9: Download complete 06:37:51 943331d8a9a9: Pull complete 06:37:51 e2cbf253efde: Pull complete 06:37:54 7190e4956f30: Pull complete 06:37:54 867244661c52: Pull complete 06:37:54 Digest: sha256:914bf5c12ea40a97a78b2bff97fbdb766cc36ec903bfb4358faf2b74d73b555b 06:37:54 Status: Downloaded newer image for python:3.13.3-slim 06:37:54 ---> f46ee18793e5 06:37:54 Step 2/20 : ENV PYTHONDONTWRITEBYTECODE 1 06:37:55 ---> Running in 2299bed5a331 06:37:56 Removing intermediate container 2299bed5a331 06:37:56 ---> d181df4f9950 06:37:56 Step 3/20 : ENV GIT_PYTHON_TRACE 1 06:37:56 ---> Running in 7854d5c323d1 06:37:56 Removing intermediate container 7854d5c323d1 06:37:56 ---> b2d98cbbd150 06:37:56 Step 4/20 : WORKDIR /code 06:37:56 ---> Running in cac46289c248 06:37:57 Removing intermediate container cac46289c248 06:37:57 ---> 0eba9e744e52 06:37:57 Step 5/20 : COPY . /code/ 06:37:57 ---> 329e603929d1 06:37:57 Step 6/20 : RUN apt-get update && apt-get install -y ssh netcat git 06:37:58 ---> Running in 3a9167824a79 06:37:59 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 06:37:59 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 06:37:59 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 06:37:59 Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8693 kB] 06:38:00 Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [512 B] 06:38:00 Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [254 kB] 06:38:03 Fetched 9203 kB in 4s (2220 kB/s) 06:38:08 Reading package lists... 06:38:11 Reading package lists... 06:38:12 Building dependency tree... 06:38:12 Reading state information... 06:38:12 Package netcat is a virtual package provided by: 06:38:12 netcat-openbsd 1.219-1 06:38:12 netcat-traditional 1.10-47 06:38:12 06:38:12 E: Package 'netcat' has no installation candidate 06:38:12 The command '/bin/sh -c apt-get update && apt-get install -y ssh netcat git' returned a non-zero code: 100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:13 06:38:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:14 arm64: Pulling from edgex-lftools-log-publisher 06:38:14 8998bd30e6a1: Pulling fs layer 06:38:14 04944245beec: Pulling fs layer 06:38:14 699f458cf7ca: Pulling fs layer 06:38:14 765212b225bb: Pulling fs layer 06:38:14 f23df028b6ca: Pulling fs layer 06:38:14 d65c8cfc05b1: Pulling fs layer 06:38:14 2437ff75d9bd: Pulling fs layer 06:38:14 765212b225bb: Waiting 06:38:14 d65c8cfc05b1: Waiting 06:38:14 2437ff75d9bd: Waiting 06:38:14 f23df028b6ca: Waiting 06:38:14 04944245beec: Verifying Checksum 06:38:14 04944245beec: Download complete 06:38:14 765212b225bb: Verifying Checksum 06:38:14 765212b225bb: Download complete 06:38:14 f23df028b6ca: Verifying Checksum 06:38:14 f23df028b6ca: Download complete 06:38:14 d65c8cfc05b1: Verifying Checksum 06:38:14 d65c8cfc05b1: Download complete 06:38:14 699f458cf7ca: Verifying Checksum 06:38:14 699f458cf7ca: Download complete 06:38:15 8998bd30e6a1: Verifying Checksum 06:38:15 8998bd30e6a1: Download complete 06:38:17 2437ff75d9bd: Verifying Checksum 06:38:17 2437ff75d9bd: Download complete 06:38:20 8998bd30e6a1: Pull complete 06:38:20 04944245beec: Pull complete 06:38:22 699f458cf7ca: Pull complete 06:38:22 765212b225bb: Pull complete 06:38:22 f23df028b6ca: Pull complete 06:38:23 d65c8cfc05b1: Pull complete 06:38:38 2437ff75d9bd: Pull complete 06:38:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:38 prd-ubuntu20.04-docker-arm64-4c-16g-1855 does not seem to be running inside a container 06:38:38 $ 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/12ad1a15cd21e51f4b0dce38e4192e47 -v /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47:rw,z -v /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:38:41 $ docker top 8595220bdcc81ac88bd47ffa4c30e011f093bff9dfdc848e5880390c320eae01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:41 ---> job-cost.sh 06:38:42 lf-activate-venv: SKIPPING 06:38:42 INFO: No Stack... 06:38:42 INFO: Retrieving Pricing Info for: v3-standard-4 06:38:43 INFO: Archiving Costs [Pipeline] sh 06:38:44 + cat /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives/cost.csv 06:38:44 + cut -d, -f6 [Pipeline] lock 06:38:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] 06:38:44 Resource [jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] did not exist. Created. 06:38:44 Lock acquired on [Resource: jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:38:45 /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp/durable-559d804a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:38:45 + echo total: 0.10999999940395355 [Pipeline] stash 06:38:45 Warning: overwriting stash ‘stack-cost’ 06:38:46 Stashed 1 file(s) [Pipeline] } 06:38:46 Lock released on resource [Resource: jenkins-edgexfoundry-git-semver-snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:38:46 $ docker stop --time=1 8595220bdcc81ac88bd47ffa4c30e011f093bff9dfdc848e5880390c320eae01 06:38:48 $ docker rm -f --volumes 8595220bdcc81ac88bd47ffa4c30e011f093bff9dfdc848e5880390c320eae01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:38:48 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:38:49 + [ -d /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives ] 06:38:49 + ls -al /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives 06:38:49 total 16 06:38:49 drwxr-xr-x 3 root root 4096 May 20 06:34 . 06:38:49 drwxrwxr-x 7 jenkins jenkins 4096 May 20 06:34 .. 06:38:49 drwxr-xr-x 2 root root 4096 May 20 06:34 cost 06:38:49 -rw-r--r-- 1 root root 116 May 20 06:34 cost.csv 06:38:49 + sudo chown -R jenkins:jenkins /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives 06:38:49 + ls -al /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives 06:38:49 total 16 06:38:49 drwxr-xr-x 3 jenkins jenkins 4096 May 20 06:34 . 06:38:49 drwxrwxr-x 7 jenkins jenkins 4096 May 20 06:34 .. 06:38:49 drwxr-xr-x 2 jenkins jenkins 4096 May 20 06:34 cost 06:38:49 -rw-r--r-- 1 jenkins jenkins 116 May 20 06:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:38:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:38:51 ---> package-listing.sh 06:38:51 ++ facter osfamily 06:38:51 ++ tr '[:upper:]' '[:lower:]' 06:38:51 + OS_FAMILY=debian 06:38:51 + workspace=/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 06:38:51 + START_PACKAGES=/tmp/packages_start.txt 06:38:51 + END_PACKAGES=/tmp/packages_end.txt 06:38:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:38:51 + PACKAGES=/tmp/packages_start.txt 06:38:51 + '[' /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 ']' 06:38:51 + PACKAGES=/tmp/packages_end.txt 06:38:51 + case "${OS_FAMILY}" in 06:38:51 + dpkg -l 06:38:51 + grep '^ii' 06:38:51 + '[' -f /tmp/packages_start.txt ']' 06:38:51 + '[' -f /tmp/packages_end.txt ']' 06:38:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:38:51 + '[' /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 ']' 06:38:51 + mkdir -p /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives/ 06:38:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47/archives/ [Pipeline] echo 06:38:51 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/12ad1a15cd21e51f4b0dce38e4192e47/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:38:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:52 prd-ubuntu20.04-docker-8c-8g-1847 does not seem to be running inside a container 06:38:52 $ 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/12ad1a15cd21e51f4b0dce38e4192e47/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47 -v /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47:rw,z -v /w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:38:52 $ docker top b5b486a6d3ab3fb0ef60f512323553d5b124d19244470d55224a6570b6ae4bba -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:53 + touch /tmp/pre-build-complete [Pipeline] sh 06:38:53 + mkdir -p /var/log/sysstat [Pipeline] sh 06:38:53 + ls /var/log/sa-host 06:38:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:54 provisioning config files... 06:38:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/12ad1a15cd21e51f4b0dce38e4192e47@tmp/config14642979174718484707tmp [Pipeline] { [Pipeline] echo 06:38:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:38:54 ---> create-netrc.sh [Pipeline] } 06:38:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:38:54 ---> python-tools-install.sh [Pipeline] echo 06:38:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:38:55 ---> sudo-logs.sh 06:38:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:38:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:38:55 ---> job-cost.sh 06:38:55 lf-activate-venv: SKIPPING 06:38:55 DEBUG: total: 0.2199999988079071 06:38:55 INFO: Retrieving Stack Cost... 06:38:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:38:56 INFO: Archiving Costs [Pipeline] echo 06:38:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:38:56 ---> logs-deploy.sh 06:38:56 lf-activate-venv: SKIPPING 06:38:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/git-semver/snyk-fix-12ad1a15cd21e51f4b0dce38e4192e47/1 06:38:56 INFO: archiving workspace using pattern(s): 06:38:57 Archives upload complete. 06:38:57 INFO: archiving logs to Nexus