Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Waiting for GitHub to create a merge commit for pull request 560. Retrying 3 more times... Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 9aa225a03577b77a2895b19c3ffb718951ef3fe7+a5010725629ae1840c76610bca239c55fa79b92f (de782ecfbf30b82d7c6158297018c449d42e6b31) 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-ssh14924648298408386648.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 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-ssh695391891772196640.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 5f16b0674693bda8419e7356c8caa12f8ebbbe1e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-560/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-sdk-c/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3722093716663525855.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5f16b0674693bda8419e7356c8caa12f8ebbbe1e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5f16b0674693bda8419e7356c8caa12f8ebbbe1e # timeout=10 Commit message: "Merge pull request #468 from cherrycl/issue-467" > 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-ssh14268464602430026438.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-sdk-c/branches/PR-560/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-sdk-c/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2387367584815724228.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-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [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-sdk-c-settings PROJECT: device-sdk-c 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-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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 ‘prd-ubuntu20.04-docker-8c-8g-41475’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41477 in /w/workspace/edgexfoundry_device-sdk-c_PR-560 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-560 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.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-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/odessa commit a5010725629ae1840c76610bca239c55fa79b92f into PR head commit 9aa225a03577b77a2895b19c3ffb718951ef3fe7 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.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-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/odessa:refs/remotes/origin/odessa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9aa225a03577b77a2895b19c3ffb718951ef3fe7 # timeout=10 Merge succeeded, producing 2ab6968fc829022bfdb8dd1c5346304a90df4297 Checking out Revision 2ab6968fc829022bfdb8dd1c5346304a90df4297 (PR-560) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a5010725629ae1840c76610bca239c55fa79b92f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab6968fc829022bfdb8dd1c5346304a90df4297 # timeout=10 Commit message: "Merge commit 'a5010725629ae1840c76610bca239c55fa79b92f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 55bea795e736a390af6d0e2f3d23c8b10f450cb1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:51:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:51:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:51:47 ========================================================= 02:51:47 EdgeX Global Pipelines Version Info 02:51:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:51:49 ------------------- 02:51:49 stable info: 02:51:49 ------------------- 02:51:49 Commited By: Cherry Wang cherry@iotechsys.com 02:51:49 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 02:51:49 Message: update stable to v1.0.272 02:51:49 ------------------- 02:51:49 experimental info: 02:51:49 ------------------- 02:51:49 Commited By: Ginny Guan ginny@iotechsys.com 02:51:49 Commit SHA: 235b1586b52bba4daa563b0c82d97de0826420b1 02:51:49 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo 02:51:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo 02:51:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo 02:51:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ab6968 [Pipeline] echo 02:51:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:50 provisioning config files... 02:51:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/config12272548182749900828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:50 ---> ****-login.sh 02:51:50 nexus3.edgexfoundry.org:10001 02:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:50 Configure a credential helper to remove this warning. See 02:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:50 02:51:50 Login Succeeded 02:51:50 nexus3.edgexfoundry.org:10002 02:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:51 Configure a credential helper to remove this warning. See 02:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:51 02:51:51 Login Succeeded 02:51:51 nexus3.edgexfoundry.org:10003 02:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:51 Configure a credential helper to remove this warning. See 02:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:51 02:51:51 Login Succeeded 02:51:51 nexus3.edgexfoundry.org:10004 02:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:51 Configure a credential helper to remove this warning. See 02:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:51 02:51:51 Login Succeeded 02:51:51 ****.io 02:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:51 Configure a credential helper to remove this warning. See 02:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:51 02:51:51 Login Succeeded 02:51:51 ---> ****-login.sh ends [Pipeline] } 02:51:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 02:51:51 + git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo 02:51:51 -----------> git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 2ab6968fc829022bfdb8dd1c5346304a90df4297 02:51:51 2ab6968fc829022bfdb8dd1c5346304a90df4297 [false] [Pipeline] sh 02:51:52 + git log --format=format:%s -1 2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo 02:51:52 ========================================================= 02:51:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:51:52 ========================================================= 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 02:51:52 + git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo 02:51:52 -----------> git rev-list -1 --merges 2ab6968fc829022bfdb8dd1c5346304a90df4297~1..2ab6968fc829022bfdb8dd1c5346304a90df4297 2ab6968fc829022bfdb8dd1c5346304a90df4297 02:51:52 2ab6968fc829022bfdb8dd1c5346304a90df4297 [false] [Pipeline] sh 02:51:52 + git log --format=format:%s -1 2ab6968fc829022bfdb8dd1c5346304a90df4297 [Pipeline] echo 02:51:52 ========================================================= 02:51:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:51:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:51:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:51:53 + grep -v github /etc/ssh/ssh_known_hosts 02:51:53 + [ -e /tmp/ssh_known_hosts ] 02:51:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:51:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:51:53 + sudo tee -a /etc/ssh/ssh_known_hosts 02:51:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:51:53 02:51:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:51:53 0.1.4: Pulling from edgex-devops/py-git-semver 02:51:53 b85a868b505f: Pulling fs layer 02:51:53 e2be974225ed: Pulling fs layer 02:51:53 339a4e72a1f5: Pulling fs layer 02:51:53 988bab9f4d93: Pulling fs layer 02:51:53 1469e6f7b9e6: Pulling fs layer 02:51:53 eaf3925da568: Pulling fs layer 02:51:53 bab4dde63d76: Pulling fs layer 02:51:53 bde34c3a00c8: Pulling fs layer 02:51:53 b352a97aabf1: Pulling fs layer 02:51:53 4872d77fe225: Pulling fs layer 02:51:53 5851b861e8e6: Pulling fs layer 02:51:53 988bab9f4d93: Waiting 02:51:53 bde34c3a00c8: Waiting 02:51:53 b352a97aabf1: Waiting 02:51:53 4872d77fe225: Waiting 02:51:53 1469e6f7b9e6: Waiting 02:51:53 5851b861e8e6: Waiting 02:51:53 eaf3925da568: Waiting 02:51:53 bab4dde63d76: Waiting 02:51:53 e2be974225ed: Download complete 02:51:53 988bab9f4d93: Verifying Checksum 02:51:53 988bab9f4d93: Download complete 02:51:53 1469e6f7b9e6: Verifying Checksum 02:51:53 1469e6f7b9e6: Download complete 02:51:54 339a4e72a1f5: Verifying Checksum 02:51:54 339a4e72a1f5: Download complete 02:51:54 eaf3925da568: Verifying Checksum 02:51:54 eaf3925da568: Download complete 02:51:54 bde34c3a00c8: Verifying Checksum 02:51:54 bde34c3a00c8: Download complete 02:51:54 b352a97aabf1: Download complete 02:51:54 4872d77fe225: Download complete 02:51:54 5851b861e8e6: Verifying Checksum 02:51:54 5851b861e8e6: Download complete 02:51:54 b85a868b505f: Verifying Checksum 02:51:54 b85a868b505f: Download complete 02:51:54 bab4dde63d76: Verifying Checksum 02:51:54 bab4dde63d76: Download complete 02:51:55 b85a868b505f: Pull complete 02:51:55 e2be974225ed: Pull complete 02:51:55 339a4e72a1f5: Pull complete 02:51:55 988bab9f4d93: Pull complete 02:51:55 1469e6f7b9e6: Pull complete 02:51:56 eaf3925da568: Pull complete 02:51:57 bab4dde63d76: Pull complete 02:51:57 bde34c3a00c8: Pull complete 02:51:57 b352a97aabf1: Pull complete 02:51:57 4872d77fe225: Pull complete 02:51:57 5851b861e8e6: Pull complete 02:51:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:51:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:57 prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container 02:51:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 02:51:59 $ docker top 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 -eo pid,comm 02:51:59 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). 02:51:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:51:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:51:59 [ssh-agent] Looking for ssh-agent implementation... 02:51:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:51:59 $ docker exec 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent 02:51:59 SSH_AUTH_SOCK=/tmp/ssh-z5kIAxyuMUKY/agent.34 02:51:59 SSH_AGENT_PID=40 02:51:59 Running ssh-add (command line suppressed) 02:51:59 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_14337682093673569362.key (/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_14337682093673569362.key) 02:51:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:00 + git tag --points-at HEAD [Pipeline] } 02:52:00 $ docker exec --env ******** --env ******** 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent -k 02:52:00 unset SSH_AUTH_SOCK; 02:52:00 unset SSH_AGENT_PID; 02:52:00 echo Agent pid 40 killed; 02:52:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:52:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:00 [ssh-agent] Looking for ssh-agent implementation... 02:52:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:00 $ docker exec 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent 02:52:00 SSH_AUTH_SOCK=/tmp/ssh-CRXp5cullCw2/agent.73 02:52:00 SSH_AGENT_PID=80 02:52:00 Running ssh-add (command line suppressed) 02:52:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_1952012490410190224.key (/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/private_key_1952012490410190224.key) 02:52:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:00 + git semver init 02:52:01 2025-03-17 02:52:01,168 [run_init] DEBUG init version:0.0.0 force:False 02:52:01 2025-03-17 02:52:01,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver 02:52:01 2025-03-17 02:52:01,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver 02:52:01 2025-03-17 02:52:01,171 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-560, universal_newlines=False, shell=None, istream=None) 02:52:02 2025-03-17 02:52:01,929 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.git/info/exclude 02:52:02 2025-03-17 02:52:01,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver/PR-560 with force:False 02:52:02 2025-03-17 02:52:01,930 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver/PR-560 02:52:02 2025-03-17 02:52:01,934 [execute] INFO git cat-file --batch-check 02:52:02 2025-03-17 02:52:01,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 02:52:02 2025-03-17 02:52:01,939 [execute] INFO git cat-file --batch 02:52:02 2025-03-17 02:52:01,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 02:52:02 2025-03-17 02:52:01,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-560/.semver/PR-560 02:52:02 0.0.0 [Pipeline] } 02:52:02 $ docker exec --env ******** --env ******** 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 ssh-agent -k 02:52:02 unset SSH_AUTH_SOCK; 02:52:02 unset SSH_AGENT_PID; 02:52:02 echo Agent pid 80 killed; 02:52:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:52:02 + git semver [Pipeline] } 02:52:02 $ docker stop --time=1 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 02:52:04 $ docker rm -f --volumes 360c287a0cf0807d732100be7fb2650562c671b91d6828f041c7c96fb84ed713 [Pipeline] // withDockerContainer [Pipeline] sh 02:52:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:52:04 Stashed 1 file(s) [Pipeline] echo 02:52:04 [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 02:52:05 provisioning config files... [Pipeline] // stage [Pipeline] } [Pipeline] // stage 02:52:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/config16814118123951133996tmp [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:05 ---> ****-login.sh 02:52:05 nexus3.edgexfoundry.org:10001 02:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:52:05 Configure a credential helper to remove this warning. See 02:52:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:52:05 02:52:05 Login Succeeded 02:52:05 nexus3.edgexfoundry.org:10002 02:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:52:05 Configure a credential helper to remove this warning. See 02:52:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:52:05 02:52:05 Login Succeeded 02:52:05 nexus3.edgexfoundry.org:10003 02:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:52:05 Configure a credential helper to remove this warning. See 02:52:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:52:05 02:52:05 Login Succeeded 02:52:05 nexus3.edgexfoundry.org:10004 02:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:52:05 Configure a credential helper to remove this warning. See 02:52:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:52:05 02:52:05 Login Succeeded 02:52:05 ****.io 02:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:52:06 Configure a credential helper to remove this warning. See 02:52:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:52:06 02:52:06 Login Succeeded 02:52:06 ---> ****-login.sh ends [Pipeline] } 02:52:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:52:06 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 02:52:06 + git log --pretty=%H %s 02:52:06 + grep ci(lts-release) 02:52:06 + head -n 1 02:52:06 + awk {print $1} [Pipeline] echo 02:52:06 [prepBaseBuildImage] Re-Tagging exiting image: nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f [Pipeline] sh 02:52:06 + docker pull nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f 02:52:06 a5010725629ae1840c76610bca239c55fa79b92f: Pulling from device-sdk-c-builder-x86_64 02:52:06 96526aa774ef: Pulling fs layer 02:52:06 4f9bc52d1dc7: Pulling fs layer 02:52:06 585e8d389ef7: Pulling fs layer 02:52:06 c236b2a40c29: Pulling fs layer 02:52:06 aac332265079: Pulling fs layer 02:52:06 4adedbaa6b47: Pulling fs layer 02:52:06 7bb09381c24c: Pulling fs layer 02:52:06 a79c9e20dbb0: Pulling fs layer 02:52:06 7461e8f58c41: Pulling fs layer 02:52:06 8c8e6cddc092: Pulling fs layer 02:52:06 7bb09381c24c: Waiting 02:52:06 4adedbaa6b47: Waiting 02:52:06 c236b2a40c29: Waiting 02:52:06 aac332265079: Waiting 02:52:06 8c8e6cddc092: Waiting 02:52:06 7461e8f58c41: Waiting 02:52:06 4f9bc52d1dc7: Verifying Checksum 02:52:06 4f9bc52d1dc7: Download complete 02:52:06 c236b2a40c29: Verifying Checksum 02:52:06 c236b2a40c29: Download complete 02:52:06 aac332265079: Verifying Checksum 02:52:06 aac332265079: Download complete 02:52:06 96526aa774ef: Verifying Checksum 02:52:06 96526aa774ef: Download complete 02:52:06 4adedbaa6b47: Verifying Checksum 02:52:06 4adedbaa6b47: Download complete 02:52:06 a79c9e20dbb0: Verifying Checksum 02:52:06 a79c9e20dbb0: Download complete 02:52:06 7461e8f58c41: Verifying Checksum 02:52:06 7461e8f58c41: Download complete 02:52:06 8c8e6cddc092: Verifying Checksum 02:52:06 8c8e6cddc092: Download complete 02:52:07 7bb09381c24c: Verifying Checksum 02:52:07 7bb09381c24c: Download complete 02:52:07 96526aa774ef: Pull complete 02:52:07 4f9bc52d1dc7: Pull complete 02:52:07 585e8d389ef7: Verifying Checksum 02:52:07 585e8d389ef7: Download complete 02:52:10 585e8d389ef7: Pull complete 02:52:10 c236b2a40c29: Pull complete 02:52:11 aac332265079: Pull complete 02:52:11 4adedbaa6b47: Pull complete 02:52:11 7bb09381c24c: Pull complete 02:52:11 a79c9e20dbb0: Pull complete 02:52:11 7461e8f58c41: Pull complete 02:52:11 8c8e6cddc092: Pull complete 02:52:11 Digest: sha256:6cd169f18f1be2603c55d1008fca29f6eb671ef1130a41b19a435dd87536800c 02:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f 02:52:11 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f [Pipeline] sh 02:52:12 + docker tag nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:a5010725629ae1840c76610bca239c55fa79b92f ci-base-image-x86_64 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + docker inspect -f . ci-base-image-x86_64 02:52:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:12 prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container 02:52:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 ******** ci-base-image-x86_64 cat 02:52:13 $ docker top c30e6c5d4a421863f62552d48ecfef3924abf11028d1d2c5f96c7255f2f7665d -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:14 + make test 02:52:14 echo "make test" 02:52:14 make test [Pipeline] } 02:52:14 $ docker stop --time=1 c30e6c5d4a421863f62552d48ecfef3924abf11028d1d2c5f96c7255f2f7665d 02:52:15 $ docker rm -f --volumes c30e6c5d4a421863f62552d48ecfef3924abf11028d1d2c5f96c7255f2f7665d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:52:16 + ls -al . 02:52:16 total 220 02:52:16 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 02:52 . 02:52:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:51 .. 02:52:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 02:52 .git 02:52:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 02:51 .github 02:52:16 -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 02:51 .gitignore 02:52:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 02:52 .semver 02:52:16 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 02:51 Attribution.txt 02:52:16 -rw-rw-r-- 1 jenkins jenkins 17404 Mar 17 02:51 CHANGELOG.md 02:52:16 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 02:51 Doxyfile 02:52:16 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 02:51 GOVERNANCE.md 02:52:16 -rw-rw-r-- 1 jenkins jenkins 784 Mar 17 02:51 Jenkinsfile 02:52:16 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 02:51 LICENSE 02:52:16 -rw-rw-r-- 1 jenkins jenkins 444 Mar 17 02:51 Makefile 02:52:16 -rw-rw-r-- 1 jenkins jenkins 618 Mar 17 02:51 OWNERS.md 02:52:16 -rw-rw-r-- 1 jenkins jenkins 1651 Mar 17 02:51 README.IOT.md 02:52:16 -rw-rw-r-- 1 jenkins jenkins 4173 Mar 17 02:51 README.md 02:52:16 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 17 02:51 README.v3.md 02:52:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 02:52 VERSION 02:52:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:51 docs 02:52:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:51 include 02:52:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:51 scripts 02:52:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:51 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:16 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2ab6968fc829022bfdb8dd1c5346304a90df4297 --label arch=amd64 --label version=0.0.0 . 02:52:16 Sending build context to Docker daemon 5.559MB 02:52:16 Step 1/18 : ARG BASE=alpine:3.18 02:52:16 Step 2/18 : FROM ${BASE} 02:52:16 ---> 422b67f5a039 02:52:16 Step 3/18 : LABEL maintainer="IOTech <support@iotechsys.com>" 02:52:16 ---> Running in 95c70288a575 02:52:16 Removing intermediate container 95c70288a575 02:52:16 ---> 6c75483f73c8 02:52:16 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:52:16 ---> Running in 0bb86d4fb9e6 02:52:17 [91mConnecting to iotech.jfrog.io (34.246.139.145:443) 02:52:17 [0m[91msaving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:52:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:52:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:52:17 [0mRemoving intermediate container 0bb86d4fb9e6 02:52:17 ---> cd4abcda4b0e 02:52:17 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:52:17 ---> Running in 5e3e67dbb700 02:52:18 Removing intermediate container 5e3e67dbb700 02:52:18 ---> 835598d9dfdf 02:52:18 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 02:52:18 ---> Running in f5ff1cc1e90e 02:52:18 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:52:19 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:52:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:52:20 [91mWARNING: This apk-tools is OLD! Some packages might not function properly. 02:52:20 [0m(1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 02:52:20 (2/11) Installing libcbor-dev (0.10.2-r1) 02:52:20 (3/11) Installing libmenuw (6.4_p20230506-r0) 02:52:20 (4/11) Installing libpanelw (6.4_p20230506-r0) 02:52:21 (5/11) Installing libncurses++ (6.4_p20230506-r0) 02:52:21 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 02:52:22 (7/11) Installing libblkid (2.38.1-r8) 02:52:22 (8/11) Installing libfdisk (2.38.1-r8) 02:52:22 (9/11) Installing libmount (2.38.1-r8) 02:52:23 (10/11) Installing libsmartcols (2.38.1-r8) 02:52:23 (11/11) Installing util-linux-dev (2.38.1-r8) 02:52:23 Executing busybox-1.36.1-r7.trigger 02:52:24 OK: 336 MiB in 102 packages 02:52:24 Removing intermediate container f5ff1cc1e90e 02:52:24 ---> 1a1e2c28f875 02:52:24 Step 7/18 : RUN apk --no-cache upgrade 02:52:24 ---> Running in 34e59e18dcef 02:52:24 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:52:25 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:52:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:52:26 [91mWARNING: This apk-tools is OLD! Some packages might not function properly. 02:52:26 [0mOK: 336 MiB in 102 packages 02:52:26 Removing intermediate container 34e59e18dcef 02:52:26 ---> f3936233b43f 02:52:26 Step 8/18 : COPY VERSION /edgex-c-sdk/ 02:52:26 ---> 21eb87243118 02:52:26 Step 9/18 : COPY src /edgex-c-sdk/src/ 02:52:27 ---> a43a5bf5e02b 02:52:27 Step 10/18 : COPY include /edgex-c-sdk/include/ 02:52:27 ---> aef0c754cdf8 02:52:27 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 02:52:27 ---> 058f889f2a23 02:52:27 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 02:52:27 ---> e37dbc84aca4 02:52:27 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 02:52:27 ---> 13630d2624c1 02:52:27 Step 14/18 : WORKDIR /edgex-c-sdk 02:52:27 ---> Running in 41446a2292fb 02:52:27 Removing intermediate container 41446a2292fb 02:52:27 ---> 170e52903754 02:52:27 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:52:27 ---> Running in 0f66744ff3bc 02:52:27 Removing intermediate container 0f66744ff3bc 02:52:27 ---> fd8d334b8571 02:52:27 Step 16/18 : LABEL arch=amd64 02:52:27 ---> Running in ca441609613c 02:52:27 Removing intermediate container ca441609613c 02:52:27 ---> 1a9b99df6272 02:52:27 Step 17/18 : LABEL git_sha=2ab6968fc829022bfdb8dd1c5346304a90df4297 02:52:27 ---> Running in 1422ce90205b 02:52:27 Removing intermediate container 1422ce90205b 02:52:27 ---> 345e3289caba 02:52:27 Step 18/18 : LABEL version=0.0.0 02:52:27 ---> Running in 08c7d2f43465 02:52:27 Removing intermediate container 08c7d2f43465 02:52:27 ---> be3a9b215684 02:52:27 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:52:28 Successfully built be3a9b215684 02:52:28 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:28 02:52:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:29 latest: Pulling from edgex-lftools-log-publisher 02:52:29 5eb5b503b376: Pulling fs layer 02:52:29 5c69ac0246d0: Pulling fs layer 02:52:29 ec43610c2a17: Pulling fs layer 02:52:29 3a2ae6a8a46f: Pulling fs layer 02:52:29 33b1e0a273af: Pulling fs layer 02:52:29 5d3b04190fa2: Pulling fs layer 02:52:29 2f39f015ded8: Pulling fs layer 02:52:29 33b1e0a273af: Waiting 02:52:29 5d3b04190fa2: Waiting 02:52:29 2f39f015ded8: Waiting 02:52:29 3a2ae6a8a46f: Waiting 02:52:29 5c69ac0246d0: Verifying Checksum 02:52:29 5c69ac0246d0: Download complete 02:52:29 3a2ae6a8a46f: Verifying Checksum 02:52:29 3a2ae6a8a46f: Download complete 02:52:29 33b1e0a273af: Download complete 02:52:29 ec43610c2a17: Verifying Checksum 02:52:29 ec43610c2a17: Download complete 02:52:29 5d3b04190fa2: Download complete 02:52:29 5eb5b503b376: Verifying Checksum 02:52:29 5eb5b503b376: Download complete 02:52:30 2f39f015ded8: Download complete 02:52:30 5eb5b503b376: Pull complete 02:52:30 5c69ac0246d0: Pull complete 02:52:31 ec43610c2a17: Pull complete 02:52:31 3a2ae6a8a46f: Pull complete 02:52:31 33b1e0a273af: Pull complete 02:52:31 5d3b04190fa2: Pull complete 02:52:35 2f39f015ded8: Pull complete 02:52:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:35 prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container 02:52:35 $ 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-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 02:52:37 $ docker top 1ef55c1dd8131931d7e0ce5c237a305bf02c5044c68f58a032b573f8705ac022 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:37 ---> job-cost.sh 02:52:37 lf-activate-venv: SKIPPING 02:52:37 INFO: No Stack... 02:52:38 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:38 INFO: Archiving Costs [Pipeline] sh 02:52:38 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives/cost.csv 02:52:38 + cut -d, -f6 [Pipeline] lock 02:52:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] 02:52:38 Resource [jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] did not exist. Created. 02:52:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:39 + echo total: 0.2199999988079071 [Pipeline] stash 02:52:39 Stashed 1 file(s) [Pipeline] } 02:52:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-560-6-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:39 $ docker stop --time=1 1ef55c1dd8131931d7e0ce5c237a305bf02c5044c68f58a032b573f8705ac022 02:52:40 $ docker rm -f --volumes 1ef55c1dd8131931d7e0ce5c237a305bf02c5044c68f58a032b573f8705ac022 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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 02:52:41 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives ] 02:52:41 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives 02:52:41 total 16 02:52:41 drwxr-xr-x 3 root root 4096 Mar 17 02:52 . 02:52:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 02:52 .. 02:52:41 drwxr-xr-x 2 root root 4096 Mar 17 02:52 cost 02:52:41 -rw-r--r-- 1 root root 84 Mar 17 02:52 cost.csv 02:52:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives 02:52:41 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives 02:52:41 total 16 02:52:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 02:52 . 02:52:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 02:52 .. 02:52:41 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 02:52 cost 02:52:41 -rw-r--r-- 1 jenkins jenkins 84 Mar 17 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:52:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:42 ---> package-listing.sh 02:52:42 ++ facter osfamily 02:52:42 ++ tr '[:upper:]' '[:lower:]' 02:52:42 + OS_FAMILY=debian 02:52:42 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-560 02:52:42 + START_PACKAGES=/tmp/packages_start.txt 02:52:42 + END_PACKAGES=/tmp/packages_end.txt 02:52:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:42 + PACKAGES=/tmp/packages_start.txt 02:52:42 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-560 ']' 02:52:42 + PACKAGES=/tmp/packages_end.txt 02:52:42 + case "${OS_FAMILY}" in 02:52:42 + dpkg -l 02:52:42 + grep '^ii' 02:52:42 + '[' -f /tmp/packages_start.txt ']' 02:52:42 + '[' -f /tmp/packages_end.txt ']' 02:52:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:42 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-560 ']' 02:52:42 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives/ 02:52:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-560/archives/ [Pipeline] echo 02:52:42 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-sdk-c_PR-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:43 prd-ubuntu20.04-docker-8c-8g-41477 does not seem to be running inside a container 02:52:43 $ 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-sdk-c_PR-560/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-sdk-c_PR-560 -v /w/workspace/edgexfoundry_device-sdk-c_PR-560:/w/workspace/edgexfoundry_device-sdk-c_PR-560:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-560@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 02:52:43 $ docker top 261701ee3fb0f80c4f3258578ba18014831c8f8a9783fb57d8c40a47e0a74493 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:44 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:44 + mkdir -p /var/log/sysstat [Pipeline] sh 02:52:44 + ls /var/log/sa-host 02:52:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:44 provisioning config files... 02:52:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-560@tmp/config2397676912606534638tmp [Pipeline] { [Pipeline] echo 02:52:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:45 ---> create-netrc.sh [Pipeline] } 02:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:52:45 ---> python-tools-install.sh [Pipeline] echo 02:52:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:45 ---> sudo-logs.sh 02:52:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:52:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:45 ---> job-cost.sh 02:52:45 lf-activate-venv: SKIPPING 02:52:45 DEBUG: total: 0.2199999988079071 02:52:45 INFO: Retrieving Stack Cost... 02:52:45 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:46 INFO: Archiving Costs [Pipeline] echo 02:52:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:46 ---> logs-deploy.sh 02:52:46 lf-activate-venv: SKIPPING 02:52:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-560/6 02:52:46 INFO: archiving workspace using pattern(s): 02:52:47 Archives upload complete. 02:52:47 INFO: archiving logs to Nexus