Pull request #22 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5bfaa68aaba21787f1049c4bf4ac65f61789ab0+f58e8642700982be8554d9f031b2fff0d14b416f (ec55c8faf8189cccfa37976cbaac21325b9c63d7) 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-ssh10831177742781471440.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh10103600750390944293.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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/device-can/branches/PR-22/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/device-can/branches/PR-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1248109342034359946.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/device-can/branches/PR-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11913716463022898687.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh165792811826615748.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/device-can/branches/PR-22/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/device-can/branches/PR-22/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2324700675334538527.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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 ========================================================= [edgeXBuildCApp] RAW Config: [project:device-can, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine] ========================================================= [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 ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-can-settings PROJECT: device-can USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-can DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-773633 in /w/workspace/edgexfoundry_device-can_PR-22 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-can.git > git init /w/workspace/edgexfoundry_device-can_PR-22 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.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/device-can.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f58e8642700982be8554d9f031b2fff0d14b416f into PR head commit a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 Merge succeeded, producing a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 Checking out Revision a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 (PR-22) > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-can.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f58e8642700982be8554d9f031b2fff0d14b416f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 # timeout=10 Commit message: "fix: scripts/Dockerfile.alpine-base to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:07:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:07:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:07:27 ========================================================= 04:07:27 EdgeX Global Pipelines Version Info 04:07:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:07:28 ------------------- 04:07:28 stable info: 04:07:28 ------------------- 04:07:28 Commited By: Cherry Wang cherry@iotechsys.com 04:07:28 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 04:07:28 Message: update stable to v1.0.278 04:07:28 ------------------- 04:07:28 experimental info: 04:07:28 ------------------- 04:07:28 Commited By: **** collab-it+edgex@linuxfoundation.org 04:07:28 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 04:07:28 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:07:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo 04:07:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo 04:07:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo 04:07:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [Pipeline] echo 04:07:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5bfaa6 [Pipeline] echo 04:07:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:30 provisioning config files... 04:07:30 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-22@tmp/config17562453453586330538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:30 ---> ****-login.sh 04:07:30 nexus3.edgexfoundry.org:10001 04:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:31 04:07:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 04:07:31 Configure a credential helper to remove this warning. See 04:07:31 https://docs.****.com/go/credential-store/ 04:07:31 04:07:31 Login Succeeded 04:07:31 nexus3.edgexfoundry.org:10002 04:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:31 04:07:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 04:07:31 Configure a credential helper to remove this warning. See 04:07:31 https://docs.****.com/go/credential-store/ 04:07:31 04:07:31 Login Succeeded 04:07:31 nexus3.edgexfoundry.org:10003 04:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:31 04:07:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 04:07:31 Configure a credential helper to remove this warning. See 04:07:31 https://docs.****.com/go/credential-store/ 04:07:31 04:07:31 Login Succeeded 04:07:31 nexus3.edgexfoundry.org:10004 04:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:31 04:07:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 04:07:31 Configure a credential helper to remove this warning. See 04:07:31 https://docs.****.com/go/credential-store/ 04:07:31 04:07:31 Login Succeeded 04:07:31 ****.io 04:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:31 04:07:31 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 04:07:31 Configure a credential helper to remove this warning. See 04:07:31 https://docs.****.com/go/credential-store/ 04:07:31 04:07:31 Login Succeeded 04:07:31 ---> ****-login.sh ends [Pipeline] } 04:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 04:07:32 + git rev-list -1 --merges a5bfaa68aaba21787f1049c4bf4ac65f61789ab0~1..a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [Pipeline] echo 04:07:32 -----------> git rev-list -1 --merges a5bfaa68aaba21787f1049c4bf4ac65f61789ab0~1..a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [false] [Pipeline] sh 04:07:32 + git log --format=format:%s -1 a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [Pipeline] echo 04:07:32 ========================================================= 04:07:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:07:32 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:07:33 + git rev-list -1 --merges a5bfaa68aaba21787f1049c4bf4ac65f61789ab0~1..a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [Pipeline] echo 04:07:33 -----------> git rev-list -1 --merges a5bfaa68aaba21787f1049c4bf4ac65f61789ab0~1..a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [false] [Pipeline] sh 04:07:33 + git log --format=format:%s -1 a5bfaa68aaba21787f1049c4bf4ac65f61789ab0 [Pipeline] echo 04:07:33 ========================================================= 04:07:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:07:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 04:07:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:34 + grep -v github /etc/ssh/ssh_known_hosts 04:07:34 + [ -e /tmp/ssh_known_hosts ] 04:07:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:07:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:07:34 + sudo tee -a /etc/ssh/ssh_known_hosts 04:07:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:34 04:07:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:35 0.1.4: Pulling from edgex-devops/py-git-semver 04:07:35 3dae71ba6b94: Pulling fs layer 04:07:35 6bf1a483ea7c: Pulling fs layer 04:07:35 f5dfc541a4d3: Pulling fs layer 04:07:35 461d9e800cba: Pulling fs layer 04:07:35 80192f66455f: Pulling fs layer 04:07:35 2e8e34ca0e6c: Pulling fs layer 04:07:35 a29436f7fd5d: Pulling fs layer 04:07:35 923cac83aea3: Pulling fs layer 04:07:35 25ad8b0a4227: Pulling fs layer 04:07:35 db01528c6b51: Pulling fs layer 04:07:35 28988de357af: Pulling fs layer 04:07:35 461d9e800cba: Waiting 04:07:35 80192f66455f: Waiting 04:07:35 2e8e34ca0e6c: Waiting 04:07:35 923cac83aea3: Waiting 04:07:35 28988de357af: Waiting 04:07:35 25ad8b0a4227: Waiting 04:07:35 a29436f7fd5d: Waiting 04:07:35 6bf1a483ea7c: Verifying Checksum 04:07:35 6bf1a483ea7c: Download complete 04:07:35 461d9e800cba: Verifying Checksum 04:07:35 461d9e800cba: Download complete 04:07:35 80192f66455f: Download complete 04:07:35 f5dfc541a4d3: Verifying Checksum 04:07:35 f5dfc541a4d3: Download complete 04:07:35 3dae71ba6b94: Verifying Checksum 04:07:35 3dae71ba6b94: Download complete 04:07:35 923cac83aea3: Verifying Checksum 04:07:35 923cac83aea3: Download complete 04:07:35 25ad8b0a4227: Verifying Checksum 04:07:35 25ad8b0a4227: Download complete 04:07:35 db01528c6b51: Download complete 04:07:35 28988de357af: Verifying Checksum 04:07:35 28988de357af: Download complete 04:07:35 a29436f7fd5d: Verifying Checksum 04:07:35 a29436f7fd5d: Download complete 04:07:36 2e8e34ca0e6c: Verifying Checksum 04:07:36 2e8e34ca0e6c: Download complete 04:07:36 3dae71ba6b94: Pull complete 04:07:37 6bf1a483ea7c: Pull complete 04:07:38 f5dfc541a4d3: Pull complete 04:07:38 461d9e800cba: Pull complete 04:07:38 80192f66455f: Pull complete 04:07:42 2e8e34ca0e6c: Pull complete 04:07:42 a29436f7fd5d: Pull complete 04:07:42 923cac83aea3: Pull complete 04:07:43 25ad8b0a4227: Pull complete 04:07:43 db01528c6b51: Pull complete 04:07:43 28988de357af: Pull complete 04:07:43 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 04:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:43 prd-ubuntu20.04-docker-8c-8g-773633 does not seem to be running inside a container 04:07:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-can_PR-22 -v /w/workspace/edgexfoundry_device-can_PR-22:/w/workspace/edgexfoundry_device-can_PR-22:rw,z -v /w/workspace/edgexfoundry_device-can_PR-22@tmp:/w/workspace/edgexfoundry_device-can_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:45 $ docker top b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d -eo pid,comm 04:07:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:07:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:45 [ssh-agent] Looking for ssh-agent implementation... 04:07:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:45 $ docker exec b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d ssh-agent 04:07:45 SSH_AUTH_SOCK=/tmp/ssh-I1NWueb3lnht/agent.33 04:07:45 SSH_AGENT_PID=39 04:07:45 Running ssh-add (command line suppressed) 04:07:45 Identity added: /w/workspace/edgexfoundry_device-can_PR-22@tmp/private_key_12257180178979978289.key (/w/workspace/edgexfoundry_device-can_PR-22@tmp/private_key_12257180178979978289.key) 04:07:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-can_PR-22 [Pipeline] sh 04:07:46 + git tag --points-at HEAD [Pipeline] } 04:07:46 $ docker exec --env ******** --env ******** b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d ssh-agent -k 04:07:46 unset SSH_AUTH_SOCK; 04:07:46 unset SSH_AGENT_PID; 04:07:46 echo Agent pid 39 killed; 04:07:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:46 [ssh-agent] Looking for ssh-agent implementation... 04:07:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:47 $ docker exec b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d ssh-agent 04:07:47 SSH_AUTH_SOCK=/tmp/ssh-AeJryFyYrOxJ/agent.86 04:07:47 SSH_AGENT_PID=92 04:07:47 Running ssh-add (command line suppressed) 04:07:47 Identity added: /w/workspace/edgexfoundry_device-can_PR-22@tmp/private_key_18123890557186906471.key (/w/workspace/edgexfoundry_device-can_PR-22@tmp/private_key_18123890557186906471.key) 04:07:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:47 + git semver init 04:07:48 2025-11-23 04:07:47,858 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 04:07:48 2025-11-23 04:07:47,863 [run_init] DEBUG init version:0.0.0 force:False 04:07:48 2025-11-23 04:07:47,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-22/.semver 04:07:48 2025-11-23 04:07:47,864 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-22/.semver 04:07:48 2025-11-23 04:07:47,864 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-can.git', '/w/workspace/edgexfoundry_device-can_PR-22/.semver'], cwd=/w/workspace/edgexfoundry_device-can_PR-22, stdin=None, shell=False, universal_newlines=False) 04:07:48 2025-11-23 04:07:48,492 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-22/.git/info/exclude 04:07:48 2025-11-23 04:07:48,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-22/.semver/PR-22 with force:False 04:07:48 2025-11-23 04:07:48,492 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-22/.semver/PR-22 04:07:48 2025-11-23 04:07:48,497 [execute] INFO git cat-file --batch-check 04:07:48 2025-11-23 04:07:48,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-22/.semver, stdin=, shell=False, universal_newlines=False) 04:07:48 2025-11-23 04:07:48,501 [execute] INFO git cat-file --batch 04:07:48 2025-11-23 04:07:48,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-22/.semver, stdin=, shell=False, universal_newlines=False) 04:07:48 2025-11-23 04:07:48,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-22/.semver/PR-22 04:07:48 0.0.0 [Pipeline] } 04:07:48 $ docker exec --env ******** --env ******** b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d ssh-agent -k 04:07:48 unset SSH_AUTH_SOCK; 04:07:48 unset SSH_AGENT_PID; 04:07:48 echo Agent pid 92 killed; 04:07:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:49 + git semver [Pipeline] } 04:07:49 $ docker stop --time=1 b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d 04:07:50 $ docker rm -f --volumes b2958cef5c688a05a7132dbba388baacf5a3ce17cc9a1d03491e9fe2c48d4f8d [Pipeline] // withDockerContainer [Pipeline] sh 04:07:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:51 Stashed 1 file(s) [Pipeline] echo 04:07:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:52 provisioning config files... 04:07:52 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-22@tmp/config7164739976116573462tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 04:07:53 ---> ****-login.sh 04:07:53 nexus3.edgexfoundry.org:10001 04:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:53 Login Succeeded 04:07:53 nexus3.edgexfoundry.org:10002 04:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:53 Login Succeeded 04:07:53 nexus3.edgexfoundry.org:10003 04:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:53 Login Succeeded 04:07:53 nexus3.edgexfoundry.org:10004 04:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:53 Login Succeeded 04:07:53 ****.io 04:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:53 Login Succeeded 04:07:53 ---> ****-login.sh ends [Pipeline] } 04:07:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 04:07:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 04:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 04:07:54 ========================================================= 04:07:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 04:07:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:54 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 04:07:55 #0 building with "default" instance using docker driver 04:07:55 04:07:55 #1 [internal] load build definition from Dockerfile.alpine-base 04:07:55 #1 transferring dockerfile: 1.88kB done 04:07:55 #1 DONE 0.0s 04:07:55 04:07:55 #2 [internal] load metadata for docker.io/library/alpine:3.21.5 04:07:55 #2 DONE 0.6s 04:07:55 04:07:55 #3 [internal] load .dockerignore 04:07:55 #3 transferring context: 2B done 04:07:55 #3 DONE 0.0s 04:07:55 04:07:55 #4 [internal] load build context 04:07:55 #4 transferring context: 23.10kB done 04:07:55 #4 DONE 0.0s 04:07:55 04:07:55 #5 [ 1/11] FROM docker.io/library/alpine:3.21.5@sha256:5405e8f36ce1878720f71217d664aa3dea32e5e5df11acbf07fc78ef5661465b 04:07:55 #5 resolve docker.io/library/alpine:3.21.5@sha256:5405e8f36ce1878720f71217d664aa3dea32e5e5df11acbf07fc78ef5661465b 0.0s done 04:07:55 #5 sha256:5405e8f36ce1878720f71217d664aa3dea32e5e5df11acbf07fc78ef5661465b 9.22kB / 9.22kB done 04:07:55 #5 sha256:41c81533144786e0beb2b148667355a6c7659aa99a14ed837ff15a98ca9d71f3 1.02kB / 1.02kB done 04:07:55 #5 sha256:39477eca89b9487d1bd082f9715f30c40f9152aa71941f2e459b841854f5ff2e 581B / 581B done 04:07:55 #5 sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 3.64MB / 3.64MB 0.1s 04:07:56 #5 sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 3.64MB / 3.64MB 0.1s done 04:07:56 #5 extracting sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 0.1s 04:07:56 #5 extracting sha256:f637881d1138581d892d9eb942c56e0ccc7758fe3bdc0f1e6cd66059fdfd8185 0.1s done 04:07:56 #5 DONE 0.3s 04:07:56 04:07:56 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 04:07:56 #6 0.284 Connecting to iotech.jfrog.io (34.246.139.145:443) 04:07:56 #6 0.708 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:07:56 #6 0.708 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:07:56 #6 0.708 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:07:57 #6 DONE 0.8s 04:07:57 04:07:57 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:07:57 #7 DONE 0.3s 04:07:57 04:07:57 #8 [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 04:07:57 #8 0.250 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz 04:07:57 #8 0.432 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz 04:07:57 #8 0.668 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:58 #8 1.103 WARNING: fetching https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 04:07:58 #8 1.238 ERROR: unable to select packages: 04:07:58 #8 1.238 iotech-iot-1.5-dev (no such package): 04:07:58 #8 1.238 required by: world[iotech-iot-1.5-dev] 04:07:58 #8 1.238 iotech-paho-mqtt-c-dev-1.3 (no such package): 04:07:58 #8 1.238 required by: world[iotech-paho-mqtt-c-dev-1.3] 04:07:58 #8 1.238 libexecinfo-dev (no such package): 04:07:58 #8 1.238 required by: world[libexecinfo-dev] 04:07:58 #8 ERROR: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 3 04:07:58 ------ 04:07:58 > [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev: 04:07:58 0.432 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz 04:07:58 0.668 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:58 1.103 WARNING: fetching https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 04:07:58 1.238 ERROR: unable to select packages: 04:07:58 1.238 iotech-iot-1.5-dev (no such package): 04:07:58 1.238 required by: world[iotech-iot-1.5-dev] 04:07:58 1.238 iotech-paho-mqtt-c-dev-1.3 (no such package): 04:07:58 1.238 required by: world[iotech-paho-mqtt-c-dev-1.3] 04:07:58 1.238 libexecinfo-dev (no such package): 04:07:58 1.238 required by: world[libexecinfo-dev] 04:07:58 ------ 04:07:58 Dockerfile.alpine-base:26 04:07:58 -------------------- 04:07:58 24 | RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:07:58 25 | 04:07:58 26 | >>> RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 04:07:58 27 | # Ensure using latest versions of all installed packages to avoid any recent CVEs 04:07:58 28 | RUN apk --no-cache upgrade 04:07:58 -------------------- 04:07:58 ERROR: failed to solve: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 3 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [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] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:00 04:08:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:00 latest: Pulling from edgex-lftools-log-publisher 04:08:00 5eb5b503b376: Pulling fs layer 04:08:00 5c69ac0246d0: Pulling fs layer 04:08:00 ec43610c2a17: Pulling fs layer 04:08:00 3a2ae6a8a46f: Pulling fs layer 04:08:00 33b1e0a273af: Pulling fs layer 04:08:00 5d3b04190fa2: Pulling fs layer 04:08:00 2f39f015ded8: Pulling fs layer 04:08:00 3a2ae6a8a46f: Waiting 04:08:00 33b1e0a273af: Waiting 04:08:00 5d3b04190fa2: Waiting 04:08:00 2f39f015ded8: Waiting 04:08:00 5c69ac0246d0: Verifying Checksum 04:08:00 5c69ac0246d0: Download complete 04:08:00 3a2ae6a8a46f: Verifying Checksum 04:08:00 3a2ae6a8a46f: Download complete 04:08:00 33b1e0a273af: Verifying Checksum 04:08:00 33b1e0a273af: Download complete 04:08:00 5d3b04190fa2: Verifying Checksum 04:08:00 5d3b04190fa2: Download complete 04:08:00 ec43610c2a17: Verifying Checksum 04:08:00 ec43610c2a17: Download complete 04:08:00 5eb5b503b376: Verifying Checksum 04:08:00 5eb5b503b376: Download complete 04:08:01 2f39f015ded8: Download complete 04:08:02 5eb5b503b376: Pull complete 04:08:02 5c69ac0246d0: Pull complete 04:08:03 ec43610c2a17: Pull complete 04:08:03 3a2ae6a8a46f: Pull complete 04:08:03 33b1e0a273af: Pull complete 04:08:03 5d3b04190fa2: Pull complete 04:08:09 2f39f015ded8: Pull complete 04:08:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:09 prd-ubuntu20.04-docker-8c-8g-773633 does not seem to be running inside a container 04:08:09 $ 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/edgexfoundry_device-can_PR-22 -v /w/workspace/edgexfoundry_device-can_PR-22:/w/workspace/edgexfoundry_device-can_PR-22:rw,z -v /w/workspace/edgexfoundry_device-can_PR-22@tmp:/w/workspace/edgexfoundry_device-can_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:10 $ docker top 15bdc8811325c7b377433ad682d158d0a4f4f501f17cfe9ae1ac0ae578a5241e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:11 ---> job-cost.sh 04:08:11 lf-activate-venv: SKIPPING 04:08:11 INFO: No Stack... 04:08:11 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:11 INFO: Archiving Costs [Pipeline] sh 04:08:12 + cat /w/workspace/edgexfoundry_device-can_PR-22/archives/cost.csv 04:08:12 + cut -d, -f6 [Pipeline] lock 04:08:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-22-1-stack-cost] 04:08:12 Resource [jenkins-edgexfoundry-device-can-PR-22-1-stack-cost] did not exist. Created. 04:08:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:12 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:12 Stashed 1 file(s) [Pipeline] } 04:08:12 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:12 $ docker stop --time=1 15bdc8811325c7b377433ad682d158d0a4f4f501f17cfe9ae1ac0ae578a5241e 04:08:13 $ docker rm -f --volumes 15bdc8811325c7b377433ad682d158d0a4f4f501f17cfe9ae1ac0ae578a5241e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:08:14 Failed in branch amd64 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:08:15 + [ -d /w/workspace/edgexfoundry_device-can_PR-22/archives ] 04:08:15 + ls -al /w/workspace/edgexfoundry_device-can_PR-22/archives 04:08:15 total 16 04:08:15 drwxr-xr-x 3 root root 4096 Nov 23 04:08 . 04:08:15 drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 04:08 .. 04:08:15 drwxr-xr-x 2 root root 4096 Nov 23 04:08 cost 04:08:15 -rw-r--r-- 1 root root 80 Nov 23 04:08 cost.csv 04:08:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-22/archives 04:08:15 + ls -al /w/workspace/edgexfoundry_device-can_PR-22/archives 04:08:15 total 16 04:08:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 23 04:08 . 04:08:15 drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 04:08 .. 04:08:15 drwxr-xr-x 2 jenkins jenkins 4096 Nov 23 04:08 cost 04:08:15 -rw-r--r-- 1 jenkins jenkins 80 Nov 23 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:08:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:16 ---> package-listing.sh 04:08:16 ++ facter osfamily 04:08:16 ++ tr '[:upper:]' '[:lower:]' 04:08:17 + OS_FAMILY=debian 04:08:17 + workspace=/w/workspace/edgexfoundry_device-can_PR-22 04:08:17 + START_PACKAGES=/tmp/packages_start.txt 04:08:17 + END_PACKAGES=/tmp/packages_end.txt 04:08:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:17 + PACKAGES=/tmp/packages_start.txt 04:08:17 + '[' /w/workspace/edgexfoundry_device-can_PR-22 ']' 04:08:17 + PACKAGES=/tmp/packages_end.txt 04:08:17 + case "${OS_FAMILY}" in 04:08:17 + dpkg -l 04:08:17 + grep '^ii' 04:08:17 + '[' -f /tmp/packages_start.txt ']' 04:08:17 + '[' -f /tmp/packages_end.txt ']' 04:08:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:17 + '[' /w/workspace/edgexfoundry_device-can_PR-22 ']' 04:08:17 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-22/archives/ 04:08:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-22/archives/ [Pipeline] echo 04:08:17 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/edgexfoundry_device-can_PR-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:08:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:18 prd-ubuntu20.04-docker-8c-8g-773633 does not seem to be running inside a container 04:08:18 $ 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/edgexfoundry_device-can_PR-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-can_PR-22 -v /w/workspace/edgexfoundry_device-can_PR-22:/w/workspace/edgexfoundry_device-can_PR-22:rw,z -v /w/workspace/edgexfoundry_device-can_PR-22@tmp:/w/workspace/edgexfoundry_device-can_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:18 $ docker top 26cb8818db0aa0edc9b9fcb0d5a2c8f5e955435cb7afdd9302df2f3cc1fbc998 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:08:19 + mkdir -p /var/log/sysstat [Pipeline] sh 04:08:19 + ls /var/log/sa-host 04:08:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:19 provisioning config files... 04:08:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-22@tmp/config16878956177197682987tmp [Pipeline] { [Pipeline] echo 04:08:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:08:20 ---> create-netrc.sh [Pipeline] } 04:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:08:20 ---> python-tools-install.sh [Pipeline] echo 04:08:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:08:20 ---> sudo-logs.sh 04:08:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:08:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:08:21 ---> job-cost.sh 04:08:21 lf-activate-venv: SKIPPING 04:08:21 DEBUG: total: 0.2199999988079071 04:08:21 INFO: Retrieving Stack Cost... 04:08:21 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:21 INFO: Archiving Costs [Pipeline] echo 04:08:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:08:21 ---> logs-deploy.sh 04:08:21 lf-activate-venv: SKIPPING 04:08:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-22/1 04:08:21 INFO: archiving workspace using pattern(s): 04:08:22 Archives upload complete. 04:08:22 INFO: archiving logs to Nexus