Pull request #513 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 Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than 430a52259ff05b1f26229401cb908c2cd1e2e6b9 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 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-ssh16983285636690463150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6557386339939673604.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 f3350a1713306dce7682ed7e37d5774890d03277 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-513/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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14798071131601849205.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh13803057618805453317.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-513/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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15760256400494979450.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10689 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [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-513 # 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 > 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 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 430a52259ff05b1f26229401cb908c2cd1e2e6b9 Merge succeeded, producing 430a52259ff05b1f26229401cb908c2cd1e2e6b9 Checking out Revision 430a52259ff05b1f26229401cb908c2cd1e2e6b9 (PR-513) > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 Commit message: "feat: Update topic naming for discovery publishing" > git rev-list --no-walk a7499e878299238b3c73abbb4e3a48a5a6fed8f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:09:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:09:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:09:02 ========================================================= 14:09:02 EdgeX Global Pipelines Version Info 14:09:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:09:07 ------------------- 14:09:07 stable info: 14:09:07 ------------------- 14:09:07 Commited By: Cherry Wang cherry@iotechsys.com 14:09:07 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:09:07 Message: update stable to v1.0.263 14:09:10 ------------------- 14:09:10 experimental info: 14:09:10 ------------------- 14:09:10 Commited By: Cherry Wang cherry@iotechsys.com 14:09:10 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:09:10 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 430a522 [Pipeline] echo 14:09:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:09:10 provisioning config files... 14:09:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config16355504715730078453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:11 ---> ****-login.sh 14:09:11 nexus3.edgexfoundry.org:10001 14:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:11 Configure a credential helper to remove this warning. See 14:09:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:11 14:09:11 Login Succeeded 14:09:11 nexus3.edgexfoundry.org:10002 14:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:11 Configure a credential helper to remove this warning. See 14:09:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:11 14:09:11 Login Succeeded 14:09:11 nexus3.edgexfoundry.org:10003 14:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:11 Configure a credential helper to remove this warning. See 14:09:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:11 14:09:11 Login Succeeded 14:09:11 nexus3.edgexfoundry.org:10004 14:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:11 Configure a credential helper to remove this warning. See 14:09:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:11 14:09:11 Login Succeeded 14:09:11 ****.io 14:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:12 Configure a credential helper to remove this warning. See 14:09:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:12 14:09:12 Login Succeeded 14:09:12 ---> ****-login.sh ends [Pipeline] } 14:09:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:09:12 + git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo 14:09:12 -----------> git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [false] [Pipeline] sh 14:09:12 + git log --format=format:%s -1 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo 14:09:12 ========================================================= 14:09:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:09:12 ========================================================= 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 14:09:13 + git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo 14:09:13 -----------> git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [false] [Pipeline] sh 14:09:13 + git log --format=format:%s -1 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo 14:09:13 ========================================================= 14:09:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:09:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:09:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:09:14 + grep -v github /etc/ssh/ssh_known_hosts 14:09:14 + [ -e /tmp/ssh_known_hosts ] 14:09:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:09:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:09:14 + sudo tee -a /etc/ssh/ssh_known_hosts 14:09:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:14 14:09:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:14 0.1.4: Pulling from edgex-devops/py-git-semver 14:09:14 b85a868b505f: Pulling fs layer 14:09:14 e2be974225ed: Pulling fs layer 14:09:14 339a4e72a1f5: Pulling fs layer 14:09:14 988bab9f4d93: Pulling fs layer 14:09:14 1469e6f7b9e6: Pulling fs layer 14:09:14 eaf3925da568: Pulling fs layer 14:09:14 bab4dde63d76: Pulling fs layer 14:09:14 bde34c3a00c8: Pulling fs layer 14:09:14 b352a97aabf1: Pulling fs layer 14:09:14 4872d77fe225: Pulling fs layer 14:09:14 5851b861e8e6: Pulling fs layer 14:09:14 988bab9f4d93: Waiting 14:09:14 eaf3925da568: Waiting 14:09:14 bab4dde63d76: Waiting 14:09:14 bde34c3a00c8: Waiting 14:09:14 5851b861e8e6: Waiting 14:09:14 b352a97aabf1: Waiting 14:09:14 4872d77fe225: Waiting 14:09:14 1469e6f7b9e6: Waiting 14:09:14 e2be974225ed: Verifying Checksum 14:09:14 e2be974225ed: Download complete 14:09:14 988bab9f4d93: Download complete 14:09:14 339a4e72a1f5: Download complete 14:09:15 1469e6f7b9e6: Verifying Checksum 14:09:15 1469e6f7b9e6: Download complete 14:09:15 eaf3925da568: Verifying Checksum 14:09:15 eaf3925da568: Download complete 14:09:15 bde34c3a00c8: Verifying Checksum 14:09:15 bde34c3a00c8: Download complete 14:09:15 b352a97aabf1: Verifying Checksum 14:09:15 b352a97aabf1: Download complete 14:09:15 4872d77fe225: Download complete 14:09:15 5851b861e8e6: Verifying Checksum 14:09:15 5851b861e8e6: Download complete 14:09:15 b85a868b505f: Verifying Checksum 14:09:15 b85a868b505f: Download complete 14:09:15 bab4dde63d76: Verifying Checksum 14:09:15 bab4dde63d76: Download complete 14:09:16 b85a868b505f: Pull complete 14:09:16 e2be974225ed: Pull complete 14:09:16 339a4e72a1f5: Pull complete 14:09:16 988bab9f4d93: Pull complete 14:09:17 1469e6f7b9e6: Pull complete 14:09:17 eaf3925da568: Pull complete 14:09:19 bab4dde63d76: Pull complete 14:09:19 bde34c3a00c8: Pull complete 14:09:19 b352a97aabf1: Pull complete 14:09:19 4872d77fe225: Pull complete 14:09:19 5851b861e8e6: Pull complete 14:09:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:09:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:19 prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container 14:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:09:22 $ docker top 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 -eo pid,comm 14:09:22 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). 14:09:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:09:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:09:22 [ssh-agent] Looking for ssh-agent implementation... 14:09:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:09:22 $ docker exec 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent 14:09:23 SSH_AUTH_SOCK=/tmp/ssh-Z60wMk3DUeyA/agent.32 14:09:23 SSH_AGENT_PID=38 14:09:23 Running ssh-add (command line suppressed) 14:09:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_18317534519233797663.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_18317534519233797663.key) 14:09:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:09:23 + git tag --points-at HEAD [Pipeline] } 14:09:23 $ docker exec --env ******** --env ******** 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent -k 14:09:23 unset SSH_AUTH_SOCK; 14:09:23 unset SSH_AGENT_PID; 14:09:23 echo Agent pid 38 killed; 14:09:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:09:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:09:23 [ssh-agent] Looking for ssh-agent implementation... 14:09:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:09:23 $ docker exec 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent 14:09:23 SSH_AUTH_SOCK=/tmp/ssh-OVuZeZnxh4Nr/agent.72 14:09:23 SSH_AGENT_PID=78 14:09:23 Running ssh-add (command line suppressed) 14:09:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_6448904998342654879.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_6448904998342654879.key) 14:09:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:09:24 + git semver init 14:09:24 2024-09-19 14:09:24,427 [run_init] DEBUG init version:0.0.0 force:False 14:09:24 2024-09-19 14:09:24,427 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:09:24 2024-09-19 14:09:24,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:09:24 2024-09-19 14:09:24,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) 14:09:25 2024-09-19 14:09:25,202 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude 14:09:25 2024-09-19 14:09:25,203 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False 14:09:25 2024-09-19 14:09:25,203 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:09:25 2024-09-19 14:09:25,207 [execute] INFO git cat-file --batch-check 14:09:25 2024-09-19 14:09:25,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:09:25 2024-09-19 14:09:25,215 [execute] INFO git cat-file --batch 14:09:25 2024-09-19 14:09:25,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:09:25 2024-09-19 14:09:25,221 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:09:25 0.0.0 [Pipeline] } 14:09:25 $ docker exec --env ******** --env ******** 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent -k 14:09:25 unset SSH_AUTH_SOCK; 14:09:25 unset SSH_AGENT_PID; 14:09:25 echo Agent pid 78 killed; 14:09:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:09:25 + git semver [Pipeline] } 14:09:26 $ docker stop --time=1 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 14:09:27 $ docker rm -f --volumes 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 [Pipeline] // withDockerContainer [Pipeline] sh 14:09:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:09:27 Stashed 1 file(s) [Pipeline] echo 14:09:28 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:09:28 provisioning config files... 14:09:28 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config9654229440333710452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:28 ---> ****-login.sh 14:09:28 nexus3.edgexfoundry.org:10001 14:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:28 Configure a credential helper to remove this warning. See 14:09:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:28 14:09:28 Login Succeeded 14:09:28 nexus3.edgexfoundry.org:10002 14:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:28 Configure a credential helper to remove this warning. See 14:09:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:28 14:09:28 Login Succeeded 14:09:28 nexus3.edgexfoundry.org:10003 14:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:28 Configure a credential helper to remove this warning. See 14:09:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:28 14:09:28 Login Succeeded 14:09:28 nexus3.edgexfoundry.org:10004 14:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:28 Configure a credential helper to remove this warning. See 14:09:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:28 14:09:28 Login Succeeded 14:09:28 ****.io 14:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:29 Configure a credential helper to remove this warning. See 14:09:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:29 14:09:29 Login Succeeded 14:09:29 ---> ****-login.sh ends [Pipeline] } 14:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:09:29 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:09:29 ========================================================= 14:09:29 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:09:29 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:29 + 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 . 14:09:29 Sending build context to Docker daemon 5.311MB 14:09:29 Step 1/22 : ARG BASE=alpine:3.18 14:09:29 Step 2/22 : FROM ${BASE} as builder 14:09:29 latest: Pulling from edgex-devops/edgex-gcc-base 14:09:29 96526aa774ef: Pulling fs layer 14:09:29 da60e534fd72: Pulling fs layer 14:09:29 96526aa774ef: Verifying Checksum 14:09:29 96526aa774ef: Download complete 14:09:29 96526aa774ef: Pull complete 14:09:30 da60e534fd72: Download complete 14:09:33 da60e534fd72: Pull complete 14:09:33 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:09:33 ---> 6605166a5db4 14:09:33 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:09:35 ---> Running in a3e3c3072275 14:09:35 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:09:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:09:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:09:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:09:36 Removing intermediate container a3e3c3072275 14:09:36 ---> aab8f824f8ab 14:09:36 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:09:36 ---> Running in f51178c0a014 14:09:37 Removing intermediate container f51178c0a014 14:09:37 ---> f97ff9b3046e 14:09:37 Step 5/22 : 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 hiredis-dev 14:09:37 ---> Running in 248ec28bec7f 14:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:09:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:09:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:09:38 (1/17) Installing hiredis (1.1.0-r2) 14:09:38 (2/17) Installing hiredis-dev (1.1.0-r2) 14:09:38 (3/17) Installing libcbor (0.10.2-r1) 14:09:38 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:09:38 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:09:38 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:09:38 (7/17) Installing libcbor-dev (0.10.2-r1) 14:09:38 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:09:38 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:09:38 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:09:38 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:09:38 (12/17) Installing libblkid (2.38.1-r8) 14:09:38 (13/17) Installing libuuid (2.38.1-r8) 14:09:38 (14/17) Installing libfdisk (2.38.1-r8) 14:09:38 (15/17) Installing libmount (2.38.1-r8) 14:09:38 (16/17) Installing libsmartcols (2.38.1-r8) 14:09:38 (17/17) Installing util-linux-dev (2.38.1-r8) 14:09:38 Executing busybox-1.36.1-r4.trigger 14:09:38 OK: 336 MiB in 99 packages 14:09:39 Removing intermediate container 248ec28bec7f 14:09:39 ---> fc8c254c0f74 14:09:39 Step 6/22 : RUN mkdir /tmp/sdk 14:09:39 ---> Running in 3443693d329f 14:09:40 Removing intermediate container 3443693d329f 14:09:40 ---> 3d6b30f42134 14:09:40 Step 7/22 : COPY VERSION /tmp/sdk 14:09:40 ---> 54f0b2fffde1 14:09:40 Step 8/22 : COPY src /tmp/sdk/src 14:09:40 ---> 79095efe6c50 14:09:40 Step 9/22 : COPY include /tmp/sdk/include 14:09:41 ---> bf1b6e71b495 14:09:41 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:09:41 ---> 612b0c430997 14:09:41 Step 11/22 : COPY LICENSE /tmp/sdk 14:09:41 ---> e499cb106d1a 14:09:41 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:09:41 ---> 519822ec4f5e 14:09:41 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:09:41 ---> Running in e09941948a55 14:09:41 + CPPCHECK=false 14:09:41 + DOCGEN=false 14:09:41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:09:41 + '[' 0 -gt 0 ] 14:09:41 + readlink -f ./scripts/build.sh 14:09:41 + dirname /tmp/sdk/scripts/build.sh 14:09:41 + dirname /tmp/sdk/scripts 14:09:41 + ROOT=/tmp/sdk 14:09:41 + cd /tmp/sdk 14:09:41 + mkdir -p /tmp/sdk/build/release 14:09:41 + cd /tmp/sdk/build/release 14:09:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:09:41 -- The C compiler identification is GNU 12.2.1 14:09:41 -- Detecting C compiler ABI info 14:09:41 -- Detecting C compiler ABI info - done 14:09:41 -- Check for working C compiler: /usr/bin/cc - skipped 14:09:41 -- Detecting C compile features 14:09:41 -- Detecting C compile features - done 14:09:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:41 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:09:41 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:41 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:41 -- Found LIBCBOR: /usr/lib/libcbor.so 14:09:41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:41 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:09:41 -- /opt/iotech/iot/1.5/include 14:09:41 -- C SDK 0.0.0 for Linux 14:09:41 -- Performing Test CSDK_HAVE_ATOMIC 14:09:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:42 -- Found Curses: /usr/lib/libcurses.so 14:09:42 -- Configuring done (0.4s) 14:09:42 -- Generating done (0.0s) 14:09:42 -- Build files have been written to: /tmp/sdk/build/release 14:09:42 + make all package 14:09:42 + tee release.log 14:09:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:09:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:09:42 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:09:42 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:09:42 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:43 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:09:43 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:09:43 294 | while (privateConfig) 14:09:43 | ^~~~~~~~~~~~~ 14:09:43 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:09:43 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:09:43 | ^~~~~~~~~~~~~ 14:09:43 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:09:43 271 | while (result) 14:09:43 | ^~~~~~ 14:09:43 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:09:43 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:09:43 | ^~~~~~ 14:09:43 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:43 Still waiting to schedule task 14:09:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:09:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:43 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:44 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:09:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:44 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:45 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:46 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:09:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:46 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:09:46 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:09:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:09:47 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:47 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:09:47 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:09:47 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:09:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:09:47 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:09:47 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:09:47 | ^ 14:09:47 /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:09:47 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:09:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:09:47 /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here 14:09:47 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:09:47 | ^~~~~~~~~~~~~~~~~~~~~ 14:09:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:47 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:09:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:47 [ 68%] Linking C shared library libcsdk.so 14:09:47 [ 68%] Built target csdk 14:09:47 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:48 [ 72%] Linking C executable template 14:09:48 [ 72%] Built target template 14:09:48 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:48 [ 76%] Linking C executable device-counter 14:09:48 [ 76%] Built target device-counter 14:09:48 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:48 [ 80%] Linking C executable device-random 14:09:48 [ 80%] Built target device-random 14:09:48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:48 [ 84%] Linking C executable device-gyro 14:09:48 [ 84%] Built target device-gyro 14:09:48 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:48 [ 88%] Linking C executable device-bitfields 14:09:48 [ 88%] Built target device-bitfields 14:09:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:09:48 [ 92%] Linking C executable template-discovery 14:09:49 [ 92%] Built target template-discovery 14:09:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:09:49 [ 96%] Linking C executable device-file 14:09:49 [ 96%] Built target device-file 14:09:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:09:49 [100%] Linking C executable device-terminal 14:09:49 [100%] Built target device-terminal 14:09:49 Run CPack packaging tool... 14:09:49 CPack: Create package using TGZ 14:09:49 CPack: Install projects 14:09:49 CPack: - Run preinstall target for: Csdk 14:09:49 CPack: - Install project: Csdk [] 14:09:49 CPack: Create package 14:09:49 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:09:49 + '[' false '=' true ] 14:09:49 + '[' false '=' true ] 14:09:49 + mkdir -p /tmp/sdk/build/debug 14:09:49 + cd /tmp/sdk/build/debug 14:09:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:09:49 -- The C compiler identification is GNU 12.2.1 14:09:49 -- Detecting C compiler ABI info 14:09:49 -- Detecting C compiler ABI info - done 14:09:49 -- Check for working C compiler: /usr/bin/cc - skipped 14:09:49 -- Detecting C compile features 14:09:49 -- Detecting C compile features - done 14:09:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:49 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:09:49 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:49 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:49 -- Found LIBCBOR: /usr/lib/libcbor.so 14:09:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:09:49 -- /opt/iotech/iot/1.5/include 14:09:49 -- C SDK 0.0.0 for Linux 14:09:49 -- Performing Test CSDK_HAVE_ATOMIC 14:09:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:50 -- Found Curses: /usr/lib/libcurses.so 14:09:50 -- Configuring done (0.4s) 14:09:50 -- Generating done (0.0s) 14:09:50 -- Build files have been written to: /tmp/sdk/build/debug 14:09:50 + make 14:09:50 + tee debug.log 14:09:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:09:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:09:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:09:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:09:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:09:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:09:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:09:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:09:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:09:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:52 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:09:52 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:09:52 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:09:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:09:52 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:09:52 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:09:52 | ^ 14:09:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:53 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:09:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:53 [ 68%] Linking C shared library libcsdk.so 14:09:53 [ 68%] Built target csdk 14:09:53 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:53 [ 72%] Linking C executable template 14:09:53 [ 72%] Built target template 14:09:53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:53 [ 76%] Linking C executable device-counter 14:09:53 [ 76%] Built target device-counter 14:09:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:53 [ 80%] Linking C executable device-random 14:09:53 [ 80%] Built target device-random 14:09:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:53 [ 84%] Linking C executable device-gyro 14:09:53 [ 84%] Built target device-gyro 14:09:53 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:53 [ 88%] Linking C executable device-bitfields 14:09:53 [ 88%] Built target device-bitfields 14:09:53 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:09:53 [ 92%] Linking C executable template-discovery 14:09:53 [ 92%] Built target template-discovery 14:09:54 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:09:54 [ 96%] Linking C executable device-file 14:09:54 [ 96%] Built target device-file 14:09:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:09:54 [100%] Linking C executable device-terminal 14:09:54 [100%] Built target device-terminal 14:09:54 make: Entering directory '/tmp/sdk/build/release' 14:09:54 [ 68%] Built target csdk 14:09:54 [ 72%] Built target template 14:09:54 [ 76%] Built target device-counter 14:09:54 [ 80%] Built target device-random 14:09:54 [ 84%] Built target device-gyro 14:09:54 [ 88%] Built target device-bitfields 14:09:54 [ 92%] Built target template-discovery 14:09:54 [ 96%] Built target device-file 14:09:54 [100%] Built target device-terminal 14:09:54 Install the project... 14:09:54 -- Install configuration: "Release" 14:09:54 -- Installing: /usr/local/lib/libcsdk.so 14:09:54 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:09:54 -- Installing: /usr/local/include 14:09:54 -- Installing: /usr/local/include/devsdk 14:09:54 -- Installing: /usr/local/include/devsdk/devsdk.h 14:09:54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:09:54 -- Installing: /usr/local/include/edgex 14:09:54 -- Installing: /usr/local/include/edgex/edgex.h 14:09:54 -- Installing: /usr/local/include/edgex/devices.h 14:09:54 -- Installing: /usr/local/include/edgex/profiles.h 14:09:54 -- Installing: /usr/local/include/edgex/edgex-base.h 14:09:54 -- Installing: /usr/local/include/edgex/rest-server.h 14:09:54 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:09:54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:09:54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:09:54 make: Leaving directory '/tmp/sdk/build/release' 14:09:55 Removing intermediate container e09941948a55 14:09:55 ---> c0b327a2593b 14:09:55 Step 14/22 : FROM ${BASE} 14:09:55 ---> 6605166a5db4 14:09:55 Step 15/22 : LABEL maintainer="IOTech " 14:09:55 ---> Running in c62567e602ba 14:09:55 Removing intermediate container c62567e602ba 14:09:55 ---> 7c0b86c517ac 14:09:55 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:09:55 ---> Running in 89ff9525da13 14:09:55 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:09:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:09:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:09:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:09:56 Removing intermediate container 89ff9525da13 14:09:56 ---> d452b9ba2fda 14:09:56 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:09:56 ---> Running in f6dda65c54aa 14:09:56 Removing intermediate container f6dda65c54aa 14:09:56 ---> 83eeb19c7abc 14:09:56 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:09:57 ---> Running in cce6e4a82cd3 14:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:09:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:09:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:09:58 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:09:58 (2/10) Installing curl (8.9.1-r0) 14:09:58 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:09:58 (4/10) Installing dumb-init (1.2.5-r2) 14:09:58 (5/10) Installing hiredis (1.1.0-r2) 14:09:58 (6/10) Installing hiredis-dev (1.1.0-r2) 14:09:58 (7/10) Installing libcbor (0.10.2-r1) 14:09:58 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:09:58 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:09:58 (10/10) Installing libuuid (2.38.1-r8) 14:09:58 Executing busybox-1.36.1-r4.trigger 14:09:58 OK: 331 MiB in 90 packages 14:09:59 Removing intermediate container cce6e4a82cd3 14:09:59 ---> 77c61aaecd2e 14:09:59 Step 19/22 : RUN apk --no-cache upgrade 14:09:59 ---> Running in 9cd3e17db03e 14:09:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:09:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:10:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:10:00 Upgrading critical system libraries and apk-tools: 14:10:00 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:10:00 Executing busybox-1.36.1-r4.trigger 14:10:00 Continuing the upgrade transaction with new apk-tools: 14:10:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:10:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:10:01 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:10:01 Executing busybox-1.36.1-r7.post-upgrade 14:10:01 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:10:01 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:10:01 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:10:01 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:10:01 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:10:01 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:10:01 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:10:01 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:10:01 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:10:01 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:10:01 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:10:01 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:10:01 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:10:01 Executing busybox-1.36.1-r7.trigger 14:10:01 Executing ca-certificates-20240226-r0.trigger 14:10:01 OK: 331 MiB in 90 packages 14:10:02 Removing intermediate container 9cd3e17db03e 14:10:02 ---> 101c8f4baa9f 14:10:02 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:10:02 ---> 968a40c73300 14:10:02 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:10:02 ---> 58830cacb04f 14:10:02 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:10:02 ---> 0e2d5eaa617b 14:10:02 Successfully built 0e2d5eaa617b 14:10:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:03 + docker inspect -f . ci-base-image-x86_64 14:10:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:03 prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container 14:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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 ******** -e ******** ci-base-image-x86_64 cat 14:10:03 $ docker top 6020249f5032a2c35030813b53a81bad8a1cf29725384af223d7ba06369cbf9d -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:04 + make test 14:10:04 echo "make test" 14:10:04 make test [Pipeline] } 14:10:04 $ docker stop --time=1 6020249f5032a2c35030813b53a81bad8a1cf29725384af223d7ba06369cbf9d 14:10:05 $ docker rm -f --volumes 6020249f5032a2c35030813b53a81bad8a1cf29725384af223d7ba06369cbf9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:10:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:10:06 + ls -al . 14:10:06 total 212 14:10:06 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 14:09 . 14:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:08 .. 14:10:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:09 .git 14:10:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:08 .github 14:10:06 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:08 .gitignore 14:10:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:09 .semver 14:10:06 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:08 Attribution.txt 14:10:06 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:08 CHANGELOG.md 14:10:06 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:08 Doxyfile 14:10:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:08 GOVERNANCE.md 14:10:06 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:08 Jenkinsfile 14:10:06 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:08 LICENSE 14:10:06 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:08 Makefile 14:10:06 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:08 OWNERS.md 14:10:06 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:08 README.IOT.md 14:10:06 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:08 README.md 14:10:06 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:08 README.v3.md 14:10:06 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 14:09 VERSION 14:10:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:08 docs 14:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:08 include 14:10:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:08 scripts 14:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:06 + 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=430a52259ff05b1f26229401cb908c2cd1e2e6b9 --label arch=amd64 --label version=0.0.0 . 14:10:06 Sending build context to Docker daemon 5.311MB 14:10:06 Step 1/18 : ARG BASE=alpine:3.18 14:10:06 Step 2/18 : FROM ${BASE} 14:10:06 ---> 0e2d5eaa617b 14:10:06 Step 3/18 : LABEL maintainer="IOTech " 14:10:06 ---> Running in 0e189ca3b0f8 14:10:06 Removing intermediate container 0e189ca3b0f8 14:10:06 ---> a4be00e88c9f 14:10:06 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 14:10:06 ---> Running in fb379d556a7b 14:10:07 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:10:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:10:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:10:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:10:07 Removing intermediate container fb379d556a7b 14:10:07 ---> 247c87b82d24 14:10:07 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:10:07 ---> Running in dac7fd931cf3 14:10:08 Removing intermediate container dac7fd931cf3 14:10:08 ---> 114a40db46fd 14:10:08 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 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:10:08 ---> Running in ef84adb8c3ee 14:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:10:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:10:09 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:10:09 (2/11) Installing libcbor-dev (0.10.2-r1) 14:10:09 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:10:09 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:10:09 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:10:09 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:10:09 (7/11) Installing libblkid (2.38.1-r8) 14:10:09 (8/11) Installing libfdisk (2.38.1-r8) 14:10:09 (9/11) Installing libmount (2.38.1-r8) 14:10:09 (10/11) Installing libsmartcols (2.38.1-r8) 14:10:09 (11/11) Installing util-linux-dev (2.38.1-r8) 14:10:09 Executing busybox-1.36.1-r7.trigger 14:10:09 OK: 337 MiB in 101 packages 14:10:10 Removing intermediate container ef84adb8c3ee 14:10:10 ---> 06af5f180478 14:10:10 Step 7/18 : RUN apk --no-cache upgrade 14:10:10 ---> Running in 5d42ba0f7093 14:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:10:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:10:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:10:11 OK: 337 MiB in 101 packages 14:10:11 Removing intermediate container 5d42ba0f7093 14:10:11 ---> f8791456e97f 14:10:11 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:10:11 ---> 8018d37f60e9 14:10:11 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:10:11 ---> 02ceee155b02 14:10:11 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:10:11 ---> dc36c6e23813 14:10:11 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:10:11 ---> 7fd1a435f707 14:10:11 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:10:11 ---> 54b340ef07aa 14:10:11 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:10:12 ---> cf00d6778d93 14:10:12 Step 14/18 : WORKDIR /edgex-c-sdk 14:10:12 ---> Running in a61a08676c94 14:10:12 Removing intermediate container a61a08676c94 14:10:12 ---> 5d410b85993a 14:10:12 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:10:12 ---> Running in 8843edd8ecfe 14:10:12 Removing intermediate container 8843edd8ecfe 14:10:12 ---> 421841635432 14:10:12 Step 16/18 : LABEL arch=amd64 14:10:12 ---> Running in 120bf4b058b9 14:10:12 Removing intermediate container 120bf4b058b9 14:10:12 ---> 065ecd0a92ff 14:10:12 Step 17/18 : LABEL git_sha=430a52259ff05b1f26229401cb908c2cd1e2e6b9 14:10:12 ---> Running in a621ef74b077 14:10:12 Removing intermediate container a621ef74b077 14:10:12 ---> a9efadd35509 14:10:12 Step 18/18 : LABEL version=0.0.0 14:10:12 ---> Running in 87860ada147d 14:10:12 Removing intermediate container 87860ada147d 14:10:12 ---> 525a6941fe30 14:10:12 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:10:12 Successfully built 525a6941fe30 14:10:12 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 14:10:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:13 14:10:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:13 latest: Pulling from edgex-lftools-log-publisher 14:10:13 5eb5b503b376: Pulling fs layer 14:10:13 5c69ac0246d0: Pulling fs layer 14:10:13 ec43610c2a17: Pulling fs layer 14:10:13 3a2ae6a8a46f: Pulling fs layer 14:10:13 33b1e0a273af: Pulling fs layer 14:10:13 5d3b04190fa2: Pulling fs layer 14:10:13 2f39f015ded8: Pulling fs layer 14:10:13 3a2ae6a8a46f: Waiting 14:10:13 33b1e0a273af: Waiting 14:10:13 5d3b04190fa2: Waiting 14:10:13 2f39f015ded8: Waiting 14:10:13 5c69ac0246d0: Verifying Checksum 14:10:13 5c69ac0246d0: Download complete 14:10:13 3a2ae6a8a46f: Verifying Checksum 14:10:13 3a2ae6a8a46f: Download complete 14:10:13 33b1e0a273af: Verifying Checksum 14:10:13 33b1e0a273af: Download complete 14:10:13 5d3b04190fa2: Verifying Checksum 14:10:13 5d3b04190fa2: Download complete 14:10:13 ec43610c2a17: Verifying Checksum 14:10:13 ec43610c2a17: Download complete 14:10:13 5eb5b503b376: Verifying Checksum 14:10:13 5eb5b503b376: Download complete 14:10:14 2f39f015ded8: Download complete 14:10:14 5eb5b503b376: Pull complete 14:10:14 5c69ac0246d0: Pull complete 14:10:15 ec43610c2a17: Pull complete 14:10:15 3a2ae6a8a46f: Pull complete 14:10:15 33b1e0a273af: Pull complete 14:10:15 5d3b04190fa2: Pull complete 14:10:19 2f39f015ded8: Pull complete 14:10:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:10:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:20 prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container 14:10:20 $ 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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:10:24 $ docker top 3fddd12848da0d34c46984dbcf02e87d8bd02bfe184507d2fe09eb92d48f4948 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:10:24 ---> job-cost.sh 14:10:24 lf-activate-venv: SKIPPING 14:10:24 INFO: No Stack... 14:10:27 INFO: Retrieving Pricing Info for: v3-standard-8 14:10:27 INFO: Archiving Costs [Pipeline] sh 14:10:28 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv 14:10:28 + cut -d, -f6 [Pipeline] lock 14:10:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] 14:10:30 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] did not exist. Created. 14:10:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:10:36 + echo total: 0.2199999988079071 [Pipeline] stash 14:10:39 Stashed 1 file(s) [Pipeline] } 14:10:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] // lock [Pipeline] } 14:10:40 $ docker stop --time=1 3fddd12848da0d34c46984dbcf02e87d8bd02bfe184507d2fe09eb92d48f4948 14:10:43 $ docker rm -f --volumes 3fddd12848da0d34c46984dbcf02e87d8bd02bfe184507d2fe09eb92d48f4948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:11:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10690 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws 14:11:21 Running in /w/workspace/device-sdk-c/9 [Pipeline] { [Pipeline] checkout 14:11:21 Selected Git installation does not exist. Using Default 14:11:21 The recommended git tool is: NONE 14:11:27 using credential edgex-jenkins-ssh 14:11:27 Cloning the remote Git repository 14:11:28 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:11:28 > git init /w/workspace/device-sdk-c/9 # timeout=10 14:11:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:11:28 > git --version # timeout=10 14:11:28 > git --version # 'git version 2.25.1' 14:11:28 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:11:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:31 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 430a52259ff05b1f26229401cb908c2cd1e2e6b9 14:11:31 Merge succeeded, producing 430a52259ff05b1f26229401cb908c2cd1e2e6b9 14:11:31 Checking out Revision 430a52259ff05b1f26229401cb908c2cd1e2e6b9 (PR-513) 14:11:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:11:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:11:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:11:31 > git config core.sparsecheckout # timeout=10 14:11:31 > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 14:11:31 > git remote # timeout=10 14:11:31 > git config --get remote.origin.url # timeout=10 14:11:31 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:31 > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 14:11:31 > git rev-parse HEAD^{commit} # timeout=10 14:11:31 > git config core.sparsecheckout # timeout=10 14:11:31 > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 14:11:35 Commit message: "feat: Update topic naming for discovery publishing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:11:38 % Total % Received % Xferd Average Speed Time Time Time Current 14:11:38 Dload Upload Total Spent Left Speed 14:11:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 14:11:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:11:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:11:39 + sudo tee /etc/docker/daemon.new 14:11:39 { 14:11:39 "registry-mirrors": [ 14:11:39 "https://nexus3.edgexfoundry.org:10001" 14:11:39 ], 14:11:39 "bip": "10.250.0.254/24", 14:11:39 "hosts": [ 14:11:39 "tcp://0.0.0.0:5555", 14:11:39 "unix:///var/run/docker.sock" 14:11:39 ], 14:11:39 "mtu": 1458, 14:11:39 "selinux-enabled": true, 14:11:39 "seccomp-profile": "/etc/docker/seccomp.json" 14:11:39 } [Pipeline] sh 14:11:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:11:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:58 provisioning config files... 14:11:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/9@tmp/config9361221402672465560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:58 ---> ****-login.sh 14:11:58 nexus3.edgexfoundry.org:10001 14:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:59 Configure a credential helper to remove this warning. See 14:11:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:59 14:11:59 Login Succeeded 14:11:59 nexus3.edgexfoundry.org:10002 14:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:59 Configure a credential helper to remove this warning. See 14:11:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:59 14:11:59 Login Succeeded 14:11:59 nexus3.edgexfoundry.org:10003 14:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:12:00 Configure a credential helper to remove this warning. See 14:12:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:12:00 14:12:00 Login Succeeded 14:12:00 nexus3.edgexfoundry.org:10004 14:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:12:00 Configure a credential helper to remove this warning. See 14:12:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:12:00 14:12:00 Login Succeeded 14:12:00 ****.io 14:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:12:00 Configure a credential helper to remove this warning. See 14:12:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:12:00 14:12:00 Login Succeeded 14:12:00 ---> ****-login.sh ends [Pipeline] } 14:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:12:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:12:01 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:12:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:12:01 ========================================================= 14:12:01 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:12:01 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:01 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:12:02 Sending build context to Docker daemon 3.284MB 14:12:02 Step 1/22 : ARG BASE=alpine:3.18 14:12:02 Step 2/22 : FROM ${BASE} as builder 14:12:02 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:12:02 579b34f0a95b: Pulling fs layer 14:12:02 e71477ac5e1b: Pulling fs layer 14:12:02 579b34f0a95b: Download complete 14:12:03 579b34f0a95b: Pull complete 14:12:05 e71477ac5e1b: Verifying Checksum 14:12:05 e71477ac5e1b: Download complete 14:12:17 e71477ac5e1b: Pull complete 14:12:17 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:12:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:12:17 ---> 2b552cad5dd9 14:12:17 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:12:17 ---> Running in 683d7f7ce308 14:12:17 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:12:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:12:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:12:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:12:19 Removing intermediate container 683d7f7ce308 14:12:19 ---> a6041b8fbf5c 14:12:19 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:12:19 ---> Running in 9e5d9f21c43c 14:12:21 Removing intermediate container 9e5d9f21c43c 14:12:21 ---> 695a12e07e9b 14:12:21 Step 5/22 : 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 hiredis-dev 14:12:21 ---> Running in 4583a0615be7 14:12:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:12:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:12:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:12:23 (1/17) Installing hiredis (1.1.0-r2) 14:12:23 (2/17) Installing hiredis-dev (1.1.0-r2) 14:12:23 (3/17) Installing libcbor (0.10.2-r1) 14:12:23 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:12:24 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:12:24 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:12:24 (7/17) Installing libcbor-dev (0.10.2-r1) 14:12:24 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:12:24 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:12:24 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:12:24 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:12:24 (12/17) Installing libblkid (2.38.1-r8) 14:12:24 (13/17) Installing libuuid (2.38.1-r8) 14:12:24 (14/17) Installing libfdisk (2.38.1-r8) 14:12:24 (15/17) Installing libmount (2.38.1-r8) 14:12:24 (16/17) Installing libsmartcols (2.38.1-r8) 14:12:24 (17/17) Installing util-linux-dev (2.38.1-r8) 14:12:24 Executing busybox-1.36.1-r4.trigger 14:12:25 OK: 333 MiB in 99 packages 14:12:26 Removing intermediate container 4583a0615be7 14:12:26 ---> b0b59772836d 14:12:26 Step 6/22 : RUN mkdir /tmp/sdk 14:12:26 ---> Running in 9127021ade1d 14:12:28 Removing intermediate container 9127021ade1d 14:12:28 ---> 228c2fd22fc9 14:12:28 Step 7/22 : COPY VERSION /tmp/sdk 14:12:28 ---> 87a132aea157 14:12:28 Step 8/22 : COPY src /tmp/sdk/src 14:12:29 ---> c4ee4a2138c5 14:12:29 Step 9/22 : COPY include /tmp/sdk/include 14:12:29 ---> 040173df2f21 14:12:29 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:12:30 ---> c1cbb13f8b17 14:12:30 Step 11/22 : COPY LICENSE /tmp/sdk 14:12:30 ---> 18ef6090148f 14:12:30 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:12:31 ---> 471edd8b5ca0 14:12:31 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:12:31 ---> Running in 1683f75f33d9 14:12:32 + CPPCHECK=false 14:12:32 + DOCGEN=false 14:12:32 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:12:32 + '[' 0 -gt 0 ] 14:12:32 + readlink -f ./scripts/build.sh 14:12:32 + dirname /tmp/sdk/scripts/build.sh 14:12:32 + dirname /tmp/sdk/scripts 14:12:32 + ROOT=/tmp/sdk 14:12:32 + cd /tmp/sdk 14:12:32 + mkdir -p /tmp/sdk/build/release 14:12:32 + cd /tmp/sdk/build/release 14:12:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:12:32 -- The C compiler identification is GNU 12.2.1 14:12:32 -- Detecting C compiler ABI info 14:12:33 -- Detecting C compiler ABI info - done 14:12:33 -- Check for working C compiler: /usr/bin/cc - skipped 14:12:33 -- Detecting C compile features 14:12:33 -- Detecting C compile features - done 14:12:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:12:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:12:33 -- Found LIBYAML: /usr/lib/libyaml.so 14:12:33 -- Found LIBUUID: /usr/lib/libuuid.so 14:12:33 -- Found LIBCBOR: /usr/lib/libcbor.so 14:12:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:12:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:12:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:12:33 -- /opt/iotech/iot/1.5/include 14:12:33 -- C SDK 0.0.0 for Linux 14:12:33 -- Performing Test CSDK_HAVE_ATOMIC 14:12:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:12:33 -- Found Curses: /usr/lib/libcurses.so 14:12:33 -- Configuring done (1.7s) 14:12:34 -- Generating done (0.2s) 14:12:34 -- Build files have been written to: /tmp/sdk/build/release 14:12:34 + + teemake release.log all 14:12:34 package 14:12:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:12:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:12:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:12:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:12:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:12:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:12:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:12:41 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:12:41 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:12:41 294 | while (privateConfig) 14:12:41 | ^~~~~~~~~~~~~ 14:12:41 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:12:41 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:12:41 | ^~~~~~~~~~~~~ 14:12:41 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:12:41 271 | while (result) 14:12:41 | ^~~~~~ 14:12:41 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:12:41 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:12:41 | ^~~~~~ 14:12:41 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:12:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:12:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:12:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:12:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:12:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:12:46 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:12:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:12:47 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:12:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:12:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:12:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:12:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:12:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:12:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:12:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:13:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:13:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:13:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:13:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:13:05 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:13:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:13:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:13:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:13:06 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:13:06 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:13:06 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:13:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:13:06 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:13:06 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:13:06 | ^ 14:13:08 /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:13:08 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:13:08 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:13:08 /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here 14:13:08 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:13:08 | ^~~~~~~~~~~~~~~~~~~~~ 14:13:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:13:10 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:13:10 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:13:11 [ 68%] Linking C shared library libcsdk.so 14:13:11 [ 68%] Built target csdk 14:13:11 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:13:12 [ 72%] Linking C executable template 14:13:12 [ 72%] Built target template 14:13:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:13:13 [ 76%] Linking C executable device-counter 14:13:13 [ 76%] Built target device-counter 14:13:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:13:13 [ 80%] Linking C executable device-random 14:13:14 [ 80%] Built target device-random 14:13:14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:13:14 [ 84%] Linking C executable device-gyro 14:13:15 [ 84%] Built target device-gyro 14:13:15 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:13:15 [ 88%] Linking C executable device-bitfields 14:13:15 [ 88%] Built target device-bitfields 14:13:16 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:13:17 [ 92%] Linking C executable template-discovery 14:13:17 [ 92%] Built target template-discovery 14:13:17 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:13:18 [ 96%] Linking C executable device-file 14:13:18 [ 96%] Built target device-file 14:13:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:13:19 [100%] Linking C executable device-terminal 14:13:19 [100%] Built target device-terminal 14:13:19 Run CPack packaging tool... 14:13:19 CPack: Create package using TGZ 14:13:19 CPack: Install projects 14:13:19 CPack: - Run preinstall target for: Csdk 14:13:20 CPack: - Install project: Csdk [] 14:13:20 CPack: Create package 14:13:20 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:13:20 + '[' false '=' true ] 14:13:20 + '[' false '=' true ] 14:13:20 + mkdir -p /tmp/sdk/build/debug 14:13:20 + cd /tmp/sdk/build/debug 14:13:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:13:20 -- The C compiler identification is GNU 12.2.1 14:13:20 -- Detecting C compiler ABI info 14:13:21 -- Detecting C compiler ABI info - done 14:13:21 -- Check for working C compiler: /usr/bin/cc - skipped 14:13:21 -- Detecting C compile features 14:13:21 -- Detecting C compile features - done 14:13:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:13:21 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:13:21 -- Found LIBYAML: /usr/lib/libyaml.so 14:13:21 -- Found LIBUUID: /usr/lib/libuuid.so 14:13:21 -- Found LIBCBOR: /usr/lib/libcbor.so 14:13:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:13:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:13:21 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:13:21 -- /opt/iotech/iot/1.5/include 14:13:21 -- C SDK 0.0.0 for Linux 14:13:21 -- Performing Test CSDK_HAVE_ATOMIC 14:13:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:13:22 -- Found Curses: /usr/lib/libcurses.so 14:13:22 -- Configuring done (1.7s) 14:13:22 -- Generating done (0.2s) 14:13:22 -- Build files have been written to: /tmp/sdk/build/debug 14:13:22 + + maketee 14:13:22 debug.log 14:13:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:13:23 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:13:23 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:13:23 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:13:24 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:13:24 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:13:24 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:13:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:13:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:13:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:13:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:13:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:13:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:13:27 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:13:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:13:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:13:28 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:13:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:13:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:13:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:13:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:13:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:13:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:13:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:13:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:13:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:13:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:13:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:13:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:13:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:13:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:13:35 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:13:35 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:13:35 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:13:35 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:13:35 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:13:35 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:13:35 | ^ 14:13:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:13:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:13:37 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:13:37 [ 68%] Linking C shared library libcsdk.so 14:13:37 [ 68%] Built target csdk 14:13:37 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:13:37 [ 72%] Linking C executable template 14:13:38 [ 72%] Built target template 14:13:38 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:13:38 [ 76%] Linking C executable device-counter 14:13:38 [ 76%] Built target device-counter 14:13:38 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:13:39 [ 80%] Linking C executable device-random 14:13:39 [ 80%] Built target device-random 14:13:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:13:39 [ 84%] Linking C executable device-gyro 14:13:40 [ 84%] Built target device-gyro 14:13:40 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:13:40 [ 88%] Linking C executable device-bitfields 14:13:40 [ 88%] Built target device-bitfields 14:13:40 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:13:41 [ 92%] Linking C executable template-discovery 14:13:41 [ 92%] Built target template-discovery 14:13:41 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:13:41 [ 96%] Linking C executable device-file 14:13:42 [ 96%] Built target device-file 14:13:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:13:42 [100%] Linking C executable device-terminal 14:13:42 [100%] Built target device-terminal 14:13:42 make: Entering directory '/tmp/sdk/build/release' 14:13:42 [ 68%] Built target csdk 14:13:42 [ 72%] Built target template 14:13:43 [ 76%] Built target device-counter 14:13:43 [ 80%] Built target device-random 14:13:43 [ 84%] Built target device-gyro 14:13:43 [ 88%] Built target device-bitfields 14:13:43 [ 92%] Built target template-discovery 14:13:43 [ 96%] Built target device-file 14:13:43 [100%] Built target device-terminal 14:13:43 Install the project... 14:13:43 -- Install configuration: "Release" 14:13:43 -- Installing: /usr/local/lib/libcsdk.so 14:13:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:13:43 -- Installing: /usr/local/include 14:13:43 -- Installing: /usr/local/include/devsdk 14:13:43 -- Installing: /usr/local/include/devsdk/devsdk.h 14:13:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:13:43 -- Installing: /usr/local/include/edgex 14:13:43 -- Installing: /usr/local/include/edgex/rest-server.h 14:13:43 -- Installing: /usr/local/include/edgex/edgex.h 14:13:43 -- Installing: /usr/local/include/edgex/edgex-base.h 14:13:43 -- Installing: /usr/local/include/edgex/devices.h 14:13:43 -- Installing: /usr/local/include/edgex/profiles.h 14:13:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:13:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:13:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:13:43 make: Leaving directory '/tmp/sdk/build/release' 14:13:44 Removing intermediate container 1683f75f33d9 14:13:44 ---> 607fe58087ae 14:13:44 Step 14/22 : FROM ${BASE} 14:13:44 ---> 2b552cad5dd9 14:13:44 Step 15/22 : LABEL maintainer="IOTech " 14:13:44 ---> Running in bf99faa5b6a3 14:13:45 Removing intermediate container bf99faa5b6a3 14:13:45 ---> f6b80bc754a4 14:13:45 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:13:45 ---> Running in f567b4492474 14:13:46 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:13:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:13:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:13:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:13:47 Removing intermediate container f567b4492474 14:13:47 ---> 3fa8b68317e8 14:13:47 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:13:47 ---> Running in 7f8973fc0005 14:13:48 Removing intermediate container 7f8973fc0005 14:13:48 ---> 63144e21e3b8 14:13:48 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:13:48 ---> Running in 0fb6481b7e06 14:13:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:13:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:13:51 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:13:51 (2/10) Installing curl (8.9.1-r0) 14:13:51 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:13:51 (4/10) Installing dumb-init (1.2.5-r2) 14:13:51 (5/10) Installing hiredis (1.1.0-r2) 14:13:51 (6/10) Installing hiredis-dev (1.1.0-r2) 14:13:51 (7/10) Installing libcbor (0.10.2-r1) 14:13:51 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:13:52 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:13:52 (10/10) Installing libuuid (2.38.1-r8) 14:13:52 Executing busybox-1.36.1-r4.trigger 14:13:52 OK: 328 MiB in 90 packages 14:13:53 Removing intermediate container 0fb6481b7e06 14:13:53 ---> 3940400b1079 14:13:53 Step 19/22 : RUN apk --no-cache upgrade 14:13:53 ---> Running in bc31767a95fa 14:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:13:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:13:56 Upgrading critical system libraries and apk-tools: 14:13:56 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:13:56 Executing busybox-1.36.1-r4.trigger 14:13:56 Continuing the upgrade transaction with new apk-tools: 14:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:13:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:13:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:13:58 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:13:58 Executing busybox-1.36.1-r7.post-upgrade 14:13:58 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:13:58 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:13:58 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:13:58 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:13:58 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:13:58 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:13:58 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:13:58 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:13:58 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:13:58 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:13:59 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:13:59 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:13:59 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:13:59 Executing busybox-1.36.1-r7.trigger 14:13:59 Executing ca-certificates-20240226-r0.trigger 14:13:59 OK: 328 MiB in 90 packages 14:14:01 Removing intermediate container bc31767a95fa 14:14:01 ---> a5bdd12730ac 14:14:01 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:14:01 ---> cfebb7d7919f 14:14:01 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:14:02 ---> 09ebffbaa33b 14:14:02 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:14:02 ---> 0b06fe810f50 14:14:02 Successfully built 0b06fe810f50 14:14:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:03 + docker inspect -f . ci-base-image-arm64 14:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:03 prd-ubuntu20.04-docker-arm64-4c-16g-10690 does not seem to be running inside a container 14:14:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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 ******** -e ******** ci-base-image-arm64 cat 14:14:04 $ docker top 02e245e15eaf40f269f0ab30ccc3802a8cab237ff004967cfb1ad3b3ee27879a -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:05 + make test 14:14:05 echo "make test" 14:14:05 make test [Pipeline] } 14:14:05 $ docker stop --time=1 02e245e15eaf40f269f0ab30ccc3802a8cab237ff004967cfb1ad3b3ee27879a 14:14:07 $ docker rm -f --volumes 02e245e15eaf40f269f0ab30ccc3802a8cab237ff004967cfb1ad3b3ee27879a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:14:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:14:08 + ls -al . 14:14:08 total 208 14:14:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:11 . 14:14:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:11 .. 14:14:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:11 .git 14:14:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:11 .github 14:14:08 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:11 .gitignore 14:14:08 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:11 Attribution.txt 14:14:08 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:11 CHANGELOG.md 14:14:08 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:11 Doxyfile 14:14:08 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:11 GOVERNANCE.md 14:14:08 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:11 Jenkinsfile 14:14:08 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:11 LICENSE 14:14:08 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:11 Makefile 14:14:08 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:11 OWNERS.md 14:14:08 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:11 README.IOT.md 14:14:08 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:11 README.md 14:14:08 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:11 README.v3.md 14:14:08 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 14:09 VERSION 14:14:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:11 docs 14:14:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:11 include 14:14:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:11 scripts 14:14:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:08 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=430a52259ff05b1f26229401cb908c2cd1e2e6b9 --label arch=arm64 --label version=0.0.0 . 14:14:08 Sending build context to Docker daemon 3.284MB 14:14:08 Step 1/18 : ARG BASE=alpine:3.18 14:14:08 Step 2/18 : FROM ${BASE} 14:14:08 ---> 0b06fe810f50 14:14:08 Step 3/18 : LABEL maintainer="IOTech " 14:14:08 ---> Running in 373ef8ae172d 14:14:09 Removing intermediate container 373ef8ae172d 14:14:09 ---> b817070d541a 14:14:09 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 14:14:09 ---> Running in 1c2a3b0a7a5a 14:14:10 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:14:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:14:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:14:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:14:11 Removing intermediate container 1c2a3b0a7a5a 14:14:11 ---> f10808750259 14:14:11 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:14:11 ---> Running in 3f11d27594a4 14:14:13 Removing intermediate container 3f11d27594a4 14:14:13 ---> b2c701cdab14 14:14:13 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 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:14:13 ---> Running in ae66f9b9fce7 14:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:14:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:14:15 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:14:15 (2/11) Installing libcbor-dev (0.10.2-r1) 14:14:15 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:14:15 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:14:15 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:14:15 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:14:15 (7/11) Installing libblkid (2.38.1-r8) 14:14:15 (8/11) Installing libfdisk (2.38.1-r8) 14:14:16 (9/11) Installing libmount (2.38.1-r8) 14:14:16 (10/11) Installing libsmartcols (2.38.1-r8) 14:14:16 (11/11) Installing util-linux-dev (2.38.1-r8) 14:14:16 Executing busybox-1.36.1-r7.trigger 14:14:16 OK: 334 MiB in 101 packages 14:14:17 Removing intermediate container ae66f9b9fce7 14:14:17 ---> be1b029395fd 14:14:17 Step 7/18 : RUN apk --no-cache upgrade 14:14:17 ---> Running in 713c4d17f458 14:14:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:14:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:14:19 OK: 334 MiB in 101 packages 14:14:20 Removing intermediate container 713c4d17f458 14:14:20 ---> d7a21ac0a7f8 14:14:20 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:14:21 ---> bff55b552503 14:14:21 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:14:22 ---> e21ee8f7b3e1 14:14:22 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:14:22 ---> e70e428e0d21 14:14:22 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:14:22 ---> 3ae1eea07ae3 14:14:22 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:14:23 ---> a331b01be80b 14:14:23 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:14:23 ---> ff20311c5c0c 14:14:23 Step 14/18 : WORKDIR /edgex-c-sdk 14:14:23 ---> Running in 60fe0d58bc51 14:14:24 Removing intermediate container 60fe0d58bc51 14:14:24 ---> aab18cc6be51 14:14:24 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:14:24 ---> Running in 19c42a08e5c3 14:14:24 Removing intermediate container 19c42a08e5c3 14:14:24 ---> 145057a82e3f 14:14:24 Step 16/18 : LABEL arch=arm64 14:14:24 ---> Running in 7e72d1b4b600 14:14:24 Removing intermediate container 7e72d1b4b600 14:14:24 ---> 2d7cd13353c3 14:14:24 Step 17/18 : LABEL git_sha=430a52259ff05b1f26229401cb908c2cd1e2e6b9 14:14:25 ---> Running in 4f2fc36d0a67 14:14:25 Removing intermediate container 4f2fc36d0a67 14:14:25 ---> 807afb857ba9 14:14:25 Step 18/18 : LABEL version=0.0.0 14:14:25 ---> Running in fe5e61b13d46 14:14:25 Removing intermediate container fe5e61b13d46 14:14:25 ---> a12ad568d108 14:14:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:14:25 Successfully built a12ad568d108 14:14:25 Successfully tagged device-sdk-arm64: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:14:26 14:14:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:14:27 arm64: Pulling from edgex-lftools-log-publisher 14:14:27 8998bd30e6a1: Pulling fs layer 14:14:27 04944245beec: Pulling fs layer 14:14:27 699f458cf7ca: Pulling fs layer 14:14:27 765212b225bb: Pulling fs layer 14:14:27 f23df028b6ca: Pulling fs layer 14:14:27 d65c8cfc05b1: Pulling fs layer 14:14:27 2437ff75d9bd: Pulling fs layer 14:14:27 765212b225bb: Waiting 14:14:27 f23df028b6ca: Waiting 14:14:27 d65c8cfc05b1: Waiting 14:14:27 2437ff75d9bd: Waiting 14:14:27 04944245beec: Verifying Checksum 14:14:27 04944245beec: Download complete 14:14:27 765212b225bb: Verifying Checksum 14:14:27 765212b225bb: Download complete 14:14:27 f23df028b6ca: Verifying Checksum 14:14:27 f23df028b6ca: Download complete 14:14:27 d65c8cfc05b1: Verifying Checksum 14:14:27 d65c8cfc05b1: Download complete 14:14:27 699f458cf7ca: Verifying Checksum 14:14:27 699f458cf7ca: Download complete 14:14:27 8998bd30e6a1: Verifying Checksum 14:14:27 8998bd30e6a1: Download complete 14:14:30 2437ff75d9bd: Verifying Checksum 14:14:30 2437ff75d9bd: Download complete 14:14:32 8998bd30e6a1: Pull complete 14:14:32 04944245beec: Pull complete 14:14:34 699f458cf7ca: Pull complete 14:14:34 765212b225bb: Pull complete 14:14:34 f23df028b6ca: Pull complete 14:14:35 d65c8cfc05b1: Pull complete 14:14:53 2437ff75d9bd: Pull complete 14:14:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:14:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:53 prd-ubuntu20.04-docker-arm64-4c-16g-10690 does not seem to be running inside a container 14:14:53 $ 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/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:14:56 $ docker top 26498a16d3c08dbeee1ee4f6e43b908cba183a4ae8a76f00a6524f6ff5022cde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:56 ---> job-cost.sh 14:14:56 lf-activate-venv: SKIPPING 14:14:56 INFO: No Stack... 14:14:57 INFO: Retrieving Pricing Info for: v3-standard-4 14:14:58 INFO: Archiving Costs [Pipeline] sh 14:14:58 + cat /w/workspace/device-sdk-c/9/archives/cost.csv 14:14:58 + cut -d, -f6 [Pipeline] lock 14:14:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] 14:14:58 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] did not exist. Created. 14:14:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:14:59 /w/workspace/device-sdk-c/9@tmp/durable-c3da9a17/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:14:59 + echo total: 0.10999999940395355 [Pipeline] stash 14:14:59 Warning: overwriting stash ‘stack-cost’ 14:15:00 Stashed 1 file(s) [Pipeline] } 14:15:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] // lock [Pipeline] } 14:15:00 $ docker stop --time=1 26498a16d3c08dbeee1ee4f6e43b908cba183a4ae8a76f00a6524f6ff5022cde 14:15:02 $ docker rm -f --volumes 26498a16d3c08dbeee1ee4f6e43b908cba183a4ae8a76f00a6524f6ff5022cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [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 14:15:02 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] 14:15:02 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:15:02 total 16 14:15:02 drwxr-xr-x 3 root root 4096 Sep 19 14:10 . 14:15:02 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:10 .. 14:15:02 drwxr-xr-x 2 root root 4096 Sep 19 14:10 cost 14:15:02 -rw-r--r-- 1 root root 84 Sep 19 14:10 cost.csv 14:15:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:15:02 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:15:02 total 16 14:15:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:10 . 14:15:02 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:10 .. 14:15:02 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:10 cost 14:15:02 -rw-r--r-- 1 jenkins jenkins 84 Sep 19 14:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:15:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:15:04 ---> package-listing.sh 14:15:04 ++ facter osfamily 14:15:04 ++ tr '[:upper:]' '[:lower:]' 14:15:04 + OS_FAMILY=debian 14:15:04 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 14:15:04 + START_PACKAGES=/tmp/packages_start.txt 14:15:04 + END_PACKAGES=/tmp/packages_end.txt 14:15:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:15:04 + PACKAGES=/tmp/packages_start.txt 14:15:04 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:15:04 + PACKAGES=/tmp/packages_end.txt 14:15:04 + case "${OS_FAMILY}" in 14:15:04 + dpkg -l 14:15:04 + grep '^ii' 14:15:04 + '[' -f /tmp/packages_start.txt ']' 14:15:04 + '[' -f /tmp/packages_end.txt ']' 14:15:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:15:04 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:15:04 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ 14:15:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo 14:15:04 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:15:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:05 prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container 14:15:05 $ 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-513/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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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 14:15:05 $ docker top 4a284c20e54e2b983e6246dfbc46f366c29087ac9d092fa2ac4cf67d3bc89a70 -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:05 + touch /tmp/pre-build-complete [Pipeline] sh 14:15:06 + mkdir -p /var/log/sysstat [Pipeline] sh 14:15:06 + ls /var/log/sa-host 14:15:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:15:06 provisioning config files... 14:15:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config14239883721520341243tmp [Pipeline] { [Pipeline] echo 14:15:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:15:06 ---> create-netrc.sh [Pipeline] } 14:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:15:07 ---> python-tools-install.sh [Pipeline] echo 14:15:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:15:07 ---> sudo-logs.sh 14:15:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:15:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:15:07 ---> job-cost.sh 14:15:07 lf-activate-venv: SKIPPING 14:15:07 DEBUG: total: 0.2199999988079071 14:15:07 INFO: Retrieving Stack Cost... 14:15:08 INFO: Retrieving Pricing Info for: v3-standard-8 14:15:08 INFO: Archiving Costs [Pipeline] echo 14:15:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:15:08 ---> logs-deploy.sh 14:15:08 lf-activate-venv: SKIPPING 14:15:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/9 14:15:08 INFO: archiving workspace using pattern(s): 14:15:09 Archives upload complete. 14:15:09 INFO: archiving logs to Nexus