Pull request #7 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-can Obtained Jenkinsfile from 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4+d651ea3b6a910acc67fc03659010dbc4d0ea4ccf (d11c708492c5c497801c795c15d28a2b3778a6bd) 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-ssh17752196650519682349.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh18074065588679606158.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-7/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-7/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7291744873978905820.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10228941611960175140.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-7/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-can/branches/PR-7/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1941239094602460637.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-39425 in /w/workspace/edgexfoundry_device-can_PR-7 [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-7 # 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 d651ea3b6a910acc67fc03659010dbc4d0ea4ccf into PR head commit 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 > 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/7/head:refs/remotes/origin/PR-7 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 Checking out Revision 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 (PR-7) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d651ea3b6a910acc67fc03659010dbc4d0ea4ccf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 # timeout=10 Commit message: "build: move to SDK v4.0.0-dev.14" First time build. Skipping changelog. > git rev-list --no-walk 0bc7ed24a7d56fb9cbee21c1fa42b730ecd713b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:16:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:16:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:16:16 ========================================================= 08:16:16 EdgeX Global Pipelines Version Info 08:16:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:16:17 ------------------- 08:16:17 stable info: 08:16:17 ------------------- 08:16:17 Commited By: Cherry Wang cherry@iotechsys.com 08:16:17 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:16:17 Message: update stable to v1.0.269 08:16:17 ------------------- 08:16:17 experimental info: 08:16:17 ------------------- 08:16:17 Commited By: **** collab-it+edgex@linuxfoundation.org 08:16:17 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:16:17 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:16:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 08:16:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 08:16:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-7 [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-7 [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-7 [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d1ac35 [Pipeline] echo 08:16:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:18 provisioning config files... 08:16:18 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-7@tmp/config3746940138552306186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:18 ---> ****-login.sh 08:16:18 nexus3.edgexfoundry.org:10001 08:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:19 Configure a credential helper to remove this warning. See 08:16:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:19 08:16:19 Login Succeeded 08:16:19 nexus3.edgexfoundry.org:10002 08:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:19 Configure a credential helper to remove this warning. See 08:16:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:19 08:16:19 Login Succeeded 08:16:19 nexus3.edgexfoundry.org:10003 08:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:19 Configure a credential helper to remove this warning. See 08:16:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:19 08:16:19 Login Succeeded 08:16:19 nexus3.edgexfoundry.org:10004 08:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:19 Configure a credential helper to remove this warning. See 08:16:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:19 08:16:19 Login Succeeded 08:16:19 ****.io 08:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:19 Configure a credential helper to remove this warning. See 08:16:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:19 08:16:19 Login Succeeded 08:16:19 ---> ****-login.sh ends [Pipeline] } 08:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 08:16:20 + git rev-list -1 --merges 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4~1..9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [Pipeline] echo 08:16:20 -----------> git rev-list -1 --merges 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4~1..9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [false] [Pipeline] sh 08:16:20 + git log --format=format:%s -1 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [Pipeline] echo 08:16:20 ========================================================= 08:16:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:16:20 ========================================================= 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 08:16:21 + git rev-list -1 --merges 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4~1..9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [Pipeline] echo 08:16:21 -----------> git rev-list -1 --merges 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4~1..9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [false] [Pipeline] sh 08:16:21 + git log --format=format:%s -1 9d1ac35b94c917bcf48be4525d5958b6b5a5dec4 [Pipeline] echo 08:16:21 ========================================================= 08:16:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:16:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:16:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:16:21 + grep -v github /etc/ssh/ssh_known_hosts 08:16:21 + [ -e /tmp/ssh_known_hosts ] 08:16:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:16:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:16:21 + sudo tee -a /etc/ssh/ssh_known_hosts 08:16:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:16:22 08:16:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:16:22 0.1.4: Pulling from edgex-devops/py-git-semver 08:16:22 b85a868b505f: Pulling fs layer 08:16:22 e2be974225ed: Pulling fs layer 08:16:22 339a4e72a1f5: Pulling fs layer 08:16:22 988bab9f4d93: Pulling fs layer 08:16:22 1469e6f7b9e6: Pulling fs layer 08:16:22 eaf3925da568: Pulling fs layer 08:16:22 bab4dde63d76: Pulling fs layer 08:16:22 bde34c3a00c8: Pulling fs layer 08:16:22 b352a97aabf1: Pulling fs layer 08:16:22 4872d77fe225: Pulling fs layer 08:16:22 5851b861e8e6: Pulling fs layer 08:16:22 bab4dde63d76: Waiting 08:16:22 bde34c3a00c8: Waiting 08:16:22 b352a97aabf1: Waiting 08:16:22 4872d77fe225: Waiting 08:16:22 5851b861e8e6: Waiting 08:16:22 988bab9f4d93: Waiting 08:16:22 1469e6f7b9e6: Waiting 08:16:22 eaf3925da568: Waiting 08:16:22 e2be974225ed: Verifying Checksum 08:16:22 e2be974225ed: Download complete 08:16:22 988bab9f4d93: Verifying Checksum 08:16:22 988bab9f4d93: Download complete 08:16:22 1469e6f7b9e6: Verifying Checksum 08:16:22 1469e6f7b9e6: Download complete 08:16:22 eaf3925da568: Verifying Checksum 08:16:22 eaf3925da568: Download complete 08:16:22 339a4e72a1f5: Verifying Checksum 08:16:22 339a4e72a1f5: Download complete 08:16:22 bde34c3a00c8: Verifying Checksum 08:16:22 bde34c3a00c8: Download complete 08:16:22 b352a97aabf1: Download complete 08:16:22 4872d77fe225: Verifying Checksum 08:16:22 4872d77fe225: Download complete 08:16:22 5851b861e8e6: Verifying Checksum 08:16:22 5851b861e8e6: Download complete 08:16:22 b85a868b505f: Verifying Checksum 08:16:22 b85a868b505f: Download complete 08:16:23 bab4dde63d76: Verifying Checksum 08:16:23 bab4dde63d76: Download complete 08:16:23 b85a868b505f: Pull complete 08:16:24 e2be974225ed: Pull complete 08:16:24 339a4e72a1f5: Pull complete 08:16:24 988bab9f4d93: Pull complete 08:16:25 1469e6f7b9e6: Pull complete 08:16:25 eaf3925da568: Pull complete 08:16:26 bab4dde63d76: Pull complete 08:16:26 bde34c3a00c8: Pull complete 08:16:26 b352a97aabf1: Pull complete 08:16:26 4872d77fe225: Pull complete 08:16:26 5851b861e8e6: Pull complete 08:16:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:16:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:27 prd-ubuntu20.04-docker-8c-8g-39425 does not seem to be running inside a container 08:16:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-can_PR-7 -v /w/workspace/edgexfoundry_device-can_PR-7:/w/workspace/edgexfoundry_device-can_PR-7:rw,z -v /w/workspace/edgexfoundry_device-can_PR-7@tmp:/w/workspace/edgexfoundry_device-can_PR-7@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-devops/py-git-semver:0.1.4 cat 08:16:28 $ docker top 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b -eo pid,comm 08:16:29 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). 08:16:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:16:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:16:29 [ssh-agent] Looking for ssh-agent implementation... 08:16:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:29 $ docker exec 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b ssh-agent 08:16:29 SSH_AUTH_SOCK=/tmp/ssh-MwAlg7dZ2wVp/agent.32 08:16:29 SSH_AGENT_PID=38 08:16:29 Running ssh-add (command line suppressed) 08:16:29 Identity added: /w/workspace/edgexfoundry_device-can_PR-7@tmp/private_key_15664580731913615170.key (/w/workspace/edgexfoundry_device-can_PR-7@tmp/private_key_15664580731913615170.key) 08:16:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:16:29 + git tag --points-at HEAD [Pipeline] } 08:16:29 $ docker exec --env ******** --env ******** 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b ssh-agent -k 08:16:29 unset SSH_AUTH_SOCK; 08:16:29 unset SSH_AGENT_PID; 08:16:29 echo Agent pid 38 killed; 08:16:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:16:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:16:29 [ssh-agent] Looking for ssh-agent implementation... 08:16:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:30 $ docker exec 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b ssh-agent 08:16:30 SSH_AUTH_SOCK=/tmp/ssh-28D6cSZOerQI/agent.71 08:16:30 SSH_AGENT_PID=77 08:16:30 Running ssh-add (command line suppressed) 08:16:30 Identity added: /w/workspace/edgexfoundry_device-can_PR-7@tmp/private_key_10030241616897045158.key (/w/workspace/edgexfoundry_device-can_PR-7@tmp/private_key_10030241616897045158.key) 08:16:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:16:30 + git semver init 08:16:30 2025-02-21 08:16:30,710 [run_init] DEBUG init version:0.0.0 force:False 08:16:30 2025-02-21 08:16:30,711 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-7/.semver 08:16:30 2025-02-21 08:16:30,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-7/.semver 08:16:30 2025-02-21 08:16:30,711 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-can.git', '/w/workspace/edgexfoundry_device-can_PR-7/.semver'], cwd=/w/workspace/edgexfoundry_device-can_PR-7, universal_newlines=False, shell=None, istream=None) 08:16:31 2025-02-21 08:16:31,286 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-7/.git/info/exclude 08:16:31 2025-02-21 08:16:31,287 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-7/.semver/PR-7 with force:False 08:16:31 2025-02-21 08:16:31,287 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-7/.semver/PR-7 08:16:31 2025-02-21 08:16:31,290 [execute] INFO git cat-file --batch-check 08:16:31 2025-02-21 08:16:31,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-7/.semver, universal_newlines=False, shell=None, istream=) 08:16:31 2025-02-21 08:16:31,296 [execute] INFO git cat-file --batch 08:16:31 2025-02-21 08:16:31,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-7/.semver, universal_newlines=False, shell=None, istream=) 08:16:31 2025-02-21 08:16:31,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-7/.semver/PR-7 08:16:31 0.0.0 [Pipeline] } 08:16:31 $ docker exec --env ******** --env ******** 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b ssh-agent -k 08:16:31 unset SSH_AUTH_SOCK; 08:16:31 unset SSH_AGENT_PID; 08:16:31 echo Agent pid 77 killed; 08:16:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:16:31 + git semver [Pipeline] } 08:16:32 $ docker stop --time=1 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b 08:16:33 $ docker rm -f --volumes 89296d8faaf26dedf0bebbb8e851052d2c9a0e2038a323b17ba3e894ef8a7f8b [Pipeline] // withDockerContainer [Pipeline] sh 08:16:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:16:33 Stashed 1 file(s) [Pipeline] echo 08:16:33 [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 08:16:34 provisioning config files... 08:16:34 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-7@tmp/config3657338871362902640tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 08:16:34 ---> ****-login.sh 08:16:34 nexus3.edgexfoundry.org:10001 08:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:34 Configure a credential helper to remove this warning. See 08:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:34 08:16:34 Login Succeeded 08:16:34 nexus3.edgexfoundry.org:10002 08:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:34 Configure a credential helper to remove this warning. See 08:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:34 08:16:34 Login Succeeded 08:16:34 nexus3.edgexfoundry.org:10003 08:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:34 Configure a credential helper to remove this warning. See 08:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:34 08:16:34 Login Succeeded 08:16:34 nexus3.edgexfoundry.org:10004 08:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:34 Configure a credential helper to remove this warning. See 08:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:34 08:16:34 Login Succeeded 08:16:34 ****.io 08:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:35 Configure a credential helper to remove this warning. See 08:16:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:35 08:16:35 Login Succeeded 08:16:35 ---> ****-login.sh ends [Pipeline] } 08:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:35 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 08:16:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:35 ========================================================= 08:16:35 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 08:16:35 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:35 + 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 . 08:16:35 Sending build context to Docker daemon 400.9kB 08:16:35 Step 1/12 : ARG BASE_TEMPORARY=alpine:3.16 08:16:35 Step 2/12 : FROM ${BASE_TEMPORARY} 08:16:35 3.16: Pulling from library/alpine 08:16:36 a88dc8b54e91: Pulling fs layer 08:16:36 a88dc8b54e91: Download complete 08:16:36 a88dc8b54e91: Pull complete 08:16:36 Digest: sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 08:16:36 Status: Downloaded newer image for alpine:3.16 08:16:36 ---> d49a5025be10 08:16:36 Step 3/12 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 08:16:36 ---> Running in 871a9c766cdb 08:16:37 Connecting to iotech.jfrog.io (34.247.22.236:443) 08:16:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:16:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:16:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:16:37 Removing intermediate container 871a9c766cdb 08:16:37 ---> e13ad2c3f87b 08:16:37 Step 4/12 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 08:16:37 ---> Running in 1096a2dfdd98 08:16:38 Removing intermediate container 1096a2dfdd98 08:16:38 ---> ebbba72ab9f2 08:16:38 Step 5/12 : 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 08:16:38 ---> Running in c8a62378a4ff 08:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:16:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 08:16:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:16:39 (1/80) Upgrading musl (1.2.3-r3 -> 1.2.3-r4) 08:16:39 (2/80) Installing libgcc (11.2.1_git20220219-r2) 08:16:39 (3/80) Installing libstdc++ (11.2.1_git20220219-r2) 08:16:39 (4/80) Installing binutils (2.38-r3) 08:16:39 (5/80) Installing libmagic (5.41-r0) 08:16:39 (6/80) Installing file (5.41-r0) 08:16:39 (7/80) Installing libgomp (11.2.1_git20220219-r2) 08:16:39 (8/80) Installing libatomic (11.2.1_git20220219-r2) 08:16:39 (9/80) Installing gmp (6.2.1-r2) 08:16:39 (10/80) Installing isl22 (0.22-r0) 08:16:39 (11/80) Installing mpfr4 (4.1.0-r0) 08:16:39 (12/80) Installing mpc1 (1.2.1-r0) 08:16:39 (13/80) Installing gcc (11.2.1_git20220219-r2) 08:16:40 (14/80) Installing musl-dev (1.2.3-r4) 08:16:40 (15/80) Installing libc-dev (0.7.2-r3) 08:16:40 (16/80) Installing g++ (11.2.1_git20220219-r2) 08:16:40 (17/80) Installing make (4.3-r0) 08:16:40 (18/80) Installing fortify-headers (1.1-r1) 08:16:40 (19/80) Installing patch (2.7.6-r7) 08:16:40 (20/80) Installing build-base (0.5-r3) 08:16:40 (21/80) Installing libacl (2.3.1-r0) 08:16:40 (22/80) Installing libbz2 (1.0.8-r1) 08:16:40 (23/80) Installing expat (2.6.2-r0) 08:16:40 (24/80) Installing lz4-libs (1.9.3-r1) 08:16:40 (25/80) Installing xz-libs (5.2.5-r1) 08:16:40 (26/80) Installing zstd-libs (1.5.2-r1) 08:16:40 (27/80) Installing libarchive (3.7.4-r0) 08:16:40 (28/80) Installing ca-certificates (20240226-r0) 08:16:40 (29/80) Installing brotli-libs (1.0.9-r6) 08:16:40 (30/80) Installing nghttp2-libs (1.47.0-r2) 08:16:40 (31/80) Installing libcurl (8.5.0-r0) 08:16:40 (32/80) Installing ncurses-terminfo-base (6.3_p20220521-r1) 08:16:40 (33/80) Installing ncurses-libs (6.3_p20220521-r1) 08:16:40 (34/80) Installing rhash-libs (1.4.2-r2) 08:16:40 (35/80) Installing libuv (1.44.1-r0) 08:16:40 (36/80) Installing cmake (3.23.5-r0) 08:16:41 (37/80) Installing pkgconf (1.8.1-r0) 08:16:41 (38/80) Installing openssl-dev (1.1.1w-r1) 08:16:41 (39/80) Installing nghttp2-dev (1.47.0-r2) 08:16:41 (40/80) Installing zlib-dev (1.2.12-r3) 08:16:41 (41/80) Installing brotli-dev (1.0.9-r6) 08:16:41 (42/80) Installing curl-dev (8.5.0-r0) 08:16:41 (43/80) Installing dumb-init (1.2.5-r1) 08:16:41 (44/80) Installing pcre2 (10.42-r0) 08:16:41 (45/80) Installing git (2.36.6-r0) 08:16:41 (46/80) Installing hiredis (1.0.2-r0) 08:16:41 (47/80) Installing hiredis-dev (1.0.2-r0) 08:16:41 (48/80) Installing yaml (0.2.5-r0) 08:16:41 (49/80) Installing libcbor (0.9.0-r1) 08:16:41 (50/80) Installing iotech-iot-1.5 (1.5.5-r0) 08:16:42 (51/80) Installing iotech-iot-1.5-dev (1.5.5-r0) 08:16:42 (52/80) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 08:16:42 (53/80) Installing libcbor-dev (0.9.0-r1) 08:16:43 (54/80) Installing libexecinfo (1.1-r1) 08:16:43 (55/80) Installing libexecinfo-dev (1.1-r1) 08:16:43 (56/80) Installing nettle (3.7.3-r0) 08:16:43 (57/80) Installing libffi (3.4.2-r1) 08:16:43 (58/80) Installing p11-kit (0.24.1-r0) 08:16:43 (59/80) Installing libtasn1 (4.18.0-r1) 08:16:43 (60/80) Installing libunistring (1.0-r0) 08:16:43 (61/80) Installing gnutls (3.7.7-r1) 08:16:43 (62/80) Installing libmicrohttpd (0.9.75-r0) 08:16:43 (63/80) Installing gnutls-c++ (3.7.7-r1) 08:16:43 (64/80) Installing libgmpxx (6.2.1-r2) 08:16:43 (65/80) Installing gmp-dev (6.2.1-r2) 08:16:43 (66/80) Installing nettle-dev (3.7.3-r0) 08:16:43 (67/80) Installing libtasn1-progs (4.18.0-r1) 08:16:43 (68/80) Installing libtasn1-dev (4.18.0-r1) 08:16:43 (69/80) Installing p11-kit-dev (0.24.1-r0) 08:16:43 (70/80) Installing gnutls-dev (3.7.7-r1) 08:16:43 (71/80) Installing libmicrohttpd-dev (0.9.75-r0) 08:16:43 (72/80) Installing linux-headers (5.16.7-r1) 08:16:43 (73/80) Installing ncurses-dev (6.3_p20220521-r1) 08:16:43 (74/80) Installing libblkid (2.38-r1) 08:16:43 (75/80) Installing libuuid (2.38-r1) 08:16:43 (76/80) Installing libfdisk (2.38-r1) 08:16:43 (77/80) Installing libmount (2.38-r1) 08:16:43 (78/80) Installing libsmartcols (2.38-r1) 08:16:43 (79/80) Installing util-linux-dev (2.38-r1) 08:16:43 (80/80) Installing yaml-dev (0.2.5-r0) 08:16:43 Executing busybox-1.35.0-r17.trigger 08:16:43 Executing ca-certificates-20240226-r0.trigger 08:16:43 OK: 281 MiB in 93 packages 08:16:50 Removing intermediate container c8a62378a4ff 08:16:50 ---> 04237ce03d5f 08:16:50 Step 6/12 : RUN apk --no-cache upgrade 08:16:50 ---> Running in c7f7916e8fa7 08:16:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:16:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:16:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 08:16:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:16:50 (1/4) Upgrading busybox (1.35.0-r17 -> 1.35.0-r18) 08:16:50 Executing busybox-1.35.0-r18.post-upgrade 08:16:50 (2/4) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:16:50 (3/4) Upgrading ssl_client (1.35.0-r17 -> 1.35.0-r18) 08:16:50 (4/4) Upgrading musl-utils (1.2.3-r3 -> 1.2.3-r4) 08:16:50 Executing busybox-1.35.0-r18.trigger 08:16:50 Executing ca-certificates-20240226-r0.trigger 08:16:50 OK: 281 MiB in 93 packages 08:16:51 Removing intermediate container c7f7916e8fa7 08:16:51 ---> 61671d7541c3 08:16:51 Step 7/12 : COPY scripts /device-can/scripts 08:16:51 ---> 96c9fc97a64a 08:16:51 Step 8/12 : COPY src /device-can/src/ 08:16:51 ---> bdb2022a68c9 08:16:51 Step 9/12 : COPY VERSION /device-can/ 08:16:51 ---> f44107f1dab7 08:16:51 Step 10/12 : WORKDIR /device-can 08:16:51 ---> Running in 28e5957bc68e 08:16:51 Removing intermediate container 28e5957bc68e 08:16:51 ---> 8c5c256f2c30 08:16:51 Step 11/12 : RUN /device-can/scripts/build_deps.sh 08:16:51 ---> Running in 4c9e0c007bf4 08:16:51 + BUILD_CSDK= 08:16:51 + CSDK_VERSION=4.0.0-dev.14 08:16:51 + '[' -d deps ] 08:16:51 + mkdir deps 08:16:51 + cd /device-can/deps 08:16:51 + '[' '=' 1 ] 08:16:52 Removing intermediate container 4c9e0c007bf4 08:16:52 ---> da9452922fc9 08:16:52 Step 12/12 : RUN /device-can/scripts/build.sh 08:16:52 ---> Running in 651156d66d04 08:16:52 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 08:16:52 + readlink -f /device-can/scripts/build.sh 08:16:52 + dirname /device-can/scripts/build.sh 08:16:52 + dirname /device-can/scripts 08:16:52 + ROOT=/device-can 08:16:52 + echo /device-can 08:16:52 /device-can 08:16:52 + cd /device-can 08:16:52 + mkdir -p /device-can/build/release 08:16:52 + cd /device-can/build/release 08:16:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /device-can/src 08:16:52 -- The C compiler identification is GNU 11.2.1 08:16:52 -- Detecting C compiler ABI info 08:16:52 -- Detecting C compiler ABI info - done 08:16:52 -- Check for working C compiler: /usr/bin/cc - skipped 08:16:52 -- Detecting C compile features 08:16:52 -- Detecting C compile features - done 08:16:52 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 08:16:52 -- /opt/iotech/iot/1.5/include 08:16:52 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): 08:16:52 Could NOT find LIBCSDK (missing: LIBCSDK_LIBRARIES LIBCSDK_INCLUDE_DIR) 08:16:52 Call Stack (most recent call first): 08:16:52 /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) 08:16:52 cmake/FindLIBCSDK.cmake:4 (find_package_handle_standard_args) 08:16:52 CMakeLists.txt:16 (find_package) 08:16:52 08:16:52 08:16:52 -- Configuring incomplete, errors occurred! 08:16:52 See also "/device-can/build/release/CMakeFiles/CMakeOutput.log". 08:16:52 The command '/bin/sh -c /device-can/scripts/build.sh' returned a non-zero code: 1 [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 08:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:53 08:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:53 latest: Pulling from edgex-lftools-log-publisher 08:16:53 5eb5b503b376: Pulling fs layer 08:16:53 5c69ac0246d0: Pulling fs layer 08:16:53 ec43610c2a17: Pulling fs layer 08:16:53 3a2ae6a8a46f: Pulling fs layer 08:16:53 33b1e0a273af: Pulling fs layer 08:16:53 3a2ae6a8a46f: Waiting 08:16:53 33b1e0a273af: Waiting 08:16:53 5d3b04190fa2: Pulling fs layer 08:16:53 2f39f015ded8: Pulling fs layer 08:16:53 5d3b04190fa2: Waiting 08:16:53 2f39f015ded8: Waiting 08:16:53 5c69ac0246d0: Download complete 08:16:53 3a2ae6a8a46f: Verifying Checksum 08:16:53 3a2ae6a8a46f: Download complete 08:16:53 33b1e0a273af: Verifying Checksum 08:16:53 33b1e0a273af: Download complete 08:16:53 5d3b04190fa2: Download complete 08:16:53 ec43610c2a17: Verifying Checksum 08:16:53 ec43610c2a17: Download complete 08:16:53 5eb5b503b376: Verifying Checksum 08:16:53 5eb5b503b376: Download complete 08:16:54 2f39f015ded8: Download complete 08:16:55 5eb5b503b376: Pull complete 08:16:55 5c69ac0246d0: Pull complete 08:16:55 ec43610c2a17: Pull complete 08:16:55 3a2ae6a8a46f: Pull complete 08:16:56 33b1e0a273af: Pull complete 08:16:56 5d3b04190fa2: Pull complete 08:17:00 2f39f015ded8: Pull complete 08:17:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:17:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:17:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:00 prd-ubuntu20.04-docker-8c-8g-39425 does not seem to be running inside a container 08:17:00 $ 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-7 -v /w/workspace/edgexfoundry_device-can_PR-7:/w/workspace/edgexfoundry_device-can_PR-7:rw,z -v /w/workspace/edgexfoundry_device-can_PR-7@tmp:/w/workspace/edgexfoundry_device-can_PR-7@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:17:02 $ docker top ec5ec25be4256e6d3a3754b2ac0d655c9404c4e0ad7dd73ad6757d7ad6fb33d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:03 ---> job-cost.sh 08:17:03 lf-activate-venv: SKIPPING 08:17:03 INFO: No Stack... 08:17:03 INFO: Retrieving Pricing Info for: v3-standard-8 08:17:03 INFO: Archiving Costs [Pipeline] sh 08:17:04 + cat /w/workspace/edgexfoundry_device-can_PR-7/archives/cost.csv 08:17:04 + cut -d, -f6 [Pipeline] lock 08:17:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-7-10-stack-cost] 08:17:04 Resource [jenkins-edgexfoundry-device-can-PR-7-10-stack-cost] did not exist. Created. 08:17:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-7-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:17:04 + echo total: 0.2199999988079071 [Pipeline] stash 08:17:04 Stashed 1 file(s) [Pipeline] } 08:17:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-7-10-stack-cost] [Pipeline] // lock [Pipeline] } 08:17:04 $ docker stop --time=1 ec5ec25be4256e6d3a3754b2ac0d655c9404c4e0ad7dd73ad6757d7ad6fb33d7 08:17:05 $ docker rm -f --volumes ec5ec25be4256e6d3a3754b2ac0d655c9404c4e0ad7dd73ad6757d7ad6fb33d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:17:05 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 08:17:06 + [ -d /w/workspace/edgexfoundry_device-can_PR-7/archives ] 08:17:06 + ls -al /w/workspace/edgexfoundry_device-can_PR-7/archives 08:17:06 total 16 08:17:06 drwxr-xr-x 3 root root 4096 Feb 21 08:17 . 08:17:06 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 08:17 .. 08:17:06 drwxr-xr-x 2 root root 4096 Feb 21 08:17 cost 08:17:06 -rw-r--r-- 1 root root 81 Feb 21 08:17 cost.csv 08:17:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-7/archives 08:17:06 + ls -al /w/workspace/edgexfoundry_device-can_PR-7/archives 08:17:06 total 16 08:17:06 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 08:17 . 08:17:06 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 08:17 .. 08:17:06 drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 08:17 cost 08:17:06 -rw-r--r-- 1 jenkins jenkins 81 Feb 21 08:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:17:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:17:07 ---> package-listing.sh 08:17:07 ++ facter osfamily 08:17:07 ++ tr '[:upper:]' '[:lower:]' 08:17:07 + OS_FAMILY=debian 08:17:07 + workspace=/w/workspace/edgexfoundry_device-can_PR-7 08:17:07 + START_PACKAGES=/tmp/packages_start.txt 08:17:07 + END_PACKAGES=/tmp/packages_end.txt 08:17:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:17:07 + PACKAGES=/tmp/packages_start.txt 08:17:07 + '[' /w/workspace/edgexfoundry_device-can_PR-7 ']' 08:17:07 + PACKAGES=/tmp/packages_end.txt 08:17:07 + case "${OS_FAMILY}" in 08:17:07 + dpkg -l 08:17:07 + grep '^ii' 08:17:07 + '[' -f /tmp/packages_start.txt ']' 08:17:07 + '[' -f /tmp/packages_end.txt ']' 08:17:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:17:07 + '[' /w/workspace/edgexfoundry_device-can_PR-7 ']' 08:17:07 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-7/archives/ 08:17:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-7/archives/ [Pipeline] echo 08:17:07 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-7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:17:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:17:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:08 prd-ubuntu20.04-docker-8c-8g-39425 does not seem to be running inside a container 08:17:08 $ 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-7/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-7 -v /w/workspace/edgexfoundry_device-can_PR-7:/w/workspace/edgexfoundry_device-can_PR-7:rw,z -v /w/workspace/edgexfoundry_device-can_PR-7@tmp:/w/workspace/edgexfoundry_device-can_PR-7@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:17:08 $ docker top c74c5964d2b4fca9273a686f2d5c9e07b18e345a855981d802a2f586c71184ab -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:09 + touch /tmp/pre-build-complete [Pipeline] sh 08:17:09 + mkdir -p /var/log/sysstat [Pipeline] sh 08:17:09 + ls /var/log/sa-host 08:17:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:17:09 provisioning config files... 08:17:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-7@tmp/config934633135707822900tmp [Pipeline] { [Pipeline] echo 08:17:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:17:10 ---> create-netrc.sh [Pipeline] } 08:17:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:17:10 ---> python-tools-install.sh [Pipeline] echo 08:17:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:17:10 ---> sudo-logs.sh 08:17:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:17:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:17:11 ---> job-cost.sh 08:17:11 lf-activate-venv: SKIPPING 08:17:11 DEBUG: total: 0.2199999988079071 08:17:11 INFO: Retrieving Stack Cost... 08:17:11 INFO: Retrieving Pricing Info for: v3-standard-8 08:17:11 INFO: Archiving Costs [Pipeline] echo 08:17:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:17:11 ---> logs-deploy.sh 08:17:11 lf-activate-venv: SKIPPING 08:17:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-7/10 08:17:11 INFO: archiving workspace using pattern(s): 08:17:12 Archives upload complete. 08:17:12 INFO: archiving logs to Nexus