Pull request #514 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b rather than 21bf2cc08973ab27e7bcd2bf83e6918120607095 Obtained Jenkinsfile from 30a24dda2410b85b52167bc1398eb9d9a2b4959b 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-ssh4183108472621990530.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh13181164003658502573.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-514/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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14502632889758428902.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh9490210182698763346.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-514/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-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2463736077588298325.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-11681 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [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-514 # 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 > 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/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 21bf2cc08973ab27e7bcd2bf83e6918120607095 Merge succeeded, producing 21bf2cc08973ab27e7bcd2bf83e6918120607095 Checking out Revision 21bf2cc08973ab27e7bcd2bf83e6918120607095 (PR-514) > git config core.sparsecheckout # timeout=10 > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # timeout=10 Commit message: "feat: Pr updates including removing describe from register delete function, remove delete function from discovery struct, fix reply.msg" > git rev-list --no-walk 26af02d3d7786a8b58640e9151a285889f530185 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:50:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:50:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:50:50 ========================================================= 15:50:50 EdgeX Global Pipelines Version Info 15:50:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:50:51 ------------------- 15:50:51 stable info: 15:50:51 ------------------- 15:50:51 Commited By: Cherry Wang cherry@iotechsys.com 15:50:51 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 15:50:51 Message: update stable to v1.0.264 15:50:52 ------------------- 15:50:52 experimental info: 15:50:52 ------------------- 15:50:52 Commited By: Cherry Wang cherry@iotechsys.com 15:50:52 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 15:50:52 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo 15:50:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo 15:50:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo 15:50:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21bf2cc [Pipeline] echo 15:50:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:53 provisioning config files... 15:50:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config1575867515905128723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:53 ---> ****-login.sh 15:50:53 nexus3.edgexfoundry.org:10001 15:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:53 Configure a credential helper to remove this warning. See 15:50:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:53 15:50:53 Login Succeeded 15:50:53 nexus3.edgexfoundry.org:10002 15:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:53 Configure a credential helper to remove this warning. See 15:50:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:53 15:50:53 Login Succeeded 15:50:53 nexus3.edgexfoundry.org:10003 15:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:53 Configure a credential helper to remove this warning. See 15:50:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:53 15:50:53 Login Succeeded 15:50:53 nexus3.edgexfoundry.org:10004 15:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:54 Configure a credential helper to remove this warning. See 15:50:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:54 15:50:54 Login Succeeded 15:50:54 ****.io 15:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:54 Configure a credential helper to remove this warning. See 15:50:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:54 15:50:54 Login Succeeded 15:50:54 ---> ****-login.sh ends [Pipeline] } 15:50:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:50:54 + git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo 15:50:54 -----------> git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 21bf2cc08973ab27e7bcd2bf83e6918120607095 [false] [Pipeline] sh 15:50:55 + git log --format=format:%s -1 21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo 15:50:55 ========================================================= 15:50:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:50:55 ========================================================= 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 15:50:55 + git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo 15:50:55 -----------> git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 21bf2cc08973ab27e7bcd2bf83e6918120607095 [false] [Pipeline] sh 15:50:56 + git log --format=format:%s -1 21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo 15:50:56 ========================================================= 15:50:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:50:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:50:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:50:56 + grep -v github /etc/ssh/ssh_known_hosts 15:50:56 + [ -e /tmp/ssh_known_hosts ] 15:50:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:50:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:50:56 + sudo tee -a /etc/ssh/ssh_known_hosts 15:50:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:56 15:50:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:57 0.1.4: Pulling from edgex-devops/py-git-semver 15:50:57 b85a868b505f: Pulling fs layer 15:50:57 e2be974225ed: Pulling fs layer 15:50:57 339a4e72a1f5: Pulling fs layer 15:50:57 988bab9f4d93: Pulling fs layer 15:50:57 1469e6f7b9e6: Pulling fs layer 15:50:57 eaf3925da568: Pulling fs layer 15:50:57 bab4dde63d76: Pulling fs layer 15:50:57 bde34c3a00c8: Pulling fs layer 15:50:57 b352a97aabf1: Pulling fs layer 15:50:57 4872d77fe225: Pulling fs layer 15:50:57 5851b861e8e6: Pulling fs layer 15:50:57 988bab9f4d93: Waiting 15:50:57 bab4dde63d76: Waiting 15:50:57 1469e6f7b9e6: Waiting 15:50:57 eaf3925da568: Waiting 15:50:57 bde34c3a00c8: Waiting 15:50:57 b352a97aabf1: Waiting 15:50:57 4872d77fe225: Waiting 15:50:57 5851b861e8e6: Waiting 15:50:57 e2be974225ed: Download complete 15:50:57 988bab9f4d93: Verifying Checksum 15:50:57 988bab9f4d93: Download complete 15:50:57 1469e6f7b9e6: Verifying Checksum 15:50:57 1469e6f7b9e6: Download complete 15:50:57 eaf3925da568: Verifying Checksum 15:50:57 eaf3925da568: Download complete 15:50:57 339a4e72a1f5: Verifying Checksum 15:50:57 339a4e72a1f5: Download complete 15:50:57 bde34c3a00c8: Download complete 15:50:57 b352a97aabf1: Verifying Checksum 15:50:57 b352a97aabf1: Download complete 15:50:57 4872d77fe225: Download complete 15:50:57 5851b861e8e6: Download complete 15:50:57 b85a868b505f: Verifying Checksum 15:50:57 b85a868b505f: Download complete 15:50:57 bab4dde63d76: Verifying Checksum 15:50:57 bab4dde63d76: Download complete 15:50:59 b85a868b505f: Pull complete 15:50:59 e2be974225ed: Pull complete 15:50:59 339a4e72a1f5: Pull complete 15:50:59 988bab9f4d93: Pull complete 15:50:59 1469e6f7b9e6: Pull complete 15:50:59 eaf3925da568: Pull complete 15:51:01 bab4dde63d76: Pull complete 15:51:01 bde34c3a00c8: Pull complete 15:51:02 b352a97aabf1: Pull complete 15:51:02 4872d77fe225: Pull complete 15:51:02 5851b861e8e6: Pull complete 15:51:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:51:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:51:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:02 prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container 15:51:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 15:51:05 $ docker top ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 -eo pid,comm 15:51:05 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). 15:51:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:51:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:51:05 [ssh-agent] Looking for ssh-agent implementation... 15:51:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:51:05 $ docker exec ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent 15:51:05 SSH_AUTH_SOCK=/tmp/ssh-6Svv9PB66tvQ/agent.33 15:51:05 SSH_AGENT_PID=39 15:51:05 Running ssh-add (command line suppressed) 15:51:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_7571177283802373919.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_7571177283802373919.key) 15:51:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:51:06 + git tag --points-at HEAD [Pipeline] } 15:51:06 $ docker exec --env ******** --env ******** ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent -k 15:51:06 unset SSH_AUTH_SOCK; 15:51:06 unset SSH_AGENT_PID; 15:51:06 echo Agent pid 39 killed; 15:51:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:51:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:51:06 [ssh-agent] Looking for ssh-agent implementation... 15:51:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:51:06 $ docker exec ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent 15:51:06 SSH_AUTH_SOCK=/tmp/ssh-dwAGGBYhNnFC/agent.72 15:51:06 SSH_AGENT_PID=78 15:51:06 Running ssh-add (command line suppressed) 15:51:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12124328462570307273.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12124328462570307273.key) 15:51:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:51:07 + git semver init 15:51:07 2024-09-26 15:51:07,290 [run_init] DEBUG init version:0.0.0 force:False 15:51:07 2024-09-26 15:51:07,291 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver 15:51:07 2024-09-26 15:51:07,292 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver 15:51:07 2024-09-26 15:51:07,292 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514, universal_newlines=False, shell=None, istream=None) 15:51:08 2024-09-26 15:51:08,080 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.git/info/exclude 15:51:08 2024-09-26 15:51:08,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 with force:False 15:51:08 2024-09-26 15:51:08,081 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 15:51:08 2024-09-26 15:51:08,085 [execute] INFO git cat-file --batch-check 15:51:08 2024-09-26 15:51:08,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) 15:51:08 2024-09-26 15:51:08,093 [execute] INFO git cat-file --batch 15:51:08 2024-09-26 15:51:08,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) 15:51:08 2024-09-26 15:51:08,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 15:51:08 0.0.0 [Pipeline] } 15:51:08 $ docker exec --env ******** --env ******** ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent -k 15:51:08 unset SSH_AUTH_SOCK; 15:51:08 unset SSH_AGENT_PID; 15:51:08 echo Agent pid 78 killed; 15:51:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:51:08 + git semver [Pipeline] } 15:51:09 $ docker stop --time=1 ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 15:51:10 $ docker rm -f --volumes ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:51:10 Stashed 1 file(s) [Pipeline] echo 15:51:10 [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 15:51:11 provisioning config files... 15:51:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config5718402353819465312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:11 ---> ****-login.sh 15:51:11 nexus3.edgexfoundry.org:10001 15:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:51:11 Configure a credential helper to remove this warning. See 15:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:51:11 15:51:11 Login Succeeded 15:51:11 nexus3.edgexfoundry.org:10002 15:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:51:11 Configure a credential helper to remove this warning. See 15:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:51:11 15:51:11 Login Succeeded 15:51:11 nexus3.edgexfoundry.org:10003 15:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:51:11 Configure a credential helper to remove this warning. See 15:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:51:11 15:51:11 Login Succeeded 15:51:11 nexus3.edgexfoundry.org:10004 15:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:51:11 Configure a credential helper to remove this warning. See 15:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:51:11 15:51:11 Login Succeeded 15:51:11 ****.io 15:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:51:11 Configure a credential helper to remove this warning. See 15:51:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:51:11 15:51:11 Login Succeeded 15:51:11 ---> ****-login.sh ends [Pipeline] } 15:51:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:51:12 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:51:12 ========================================================= 15:51:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:51:12 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:12 + 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 . 15:51:12 Sending build context to Docker daemon 5.327MB 15:51:12 Step 1/22 : ARG BASE=alpine:3.18 15:51:12 Step 2/22 : FROM ${BASE} as builder 15:51:12 latest: Pulling from edgex-devops/edgex-gcc-base 15:51:12 96526aa774ef: Pulling fs layer 15:51:12 da60e534fd72: Pulling fs layer 15:51:12 96526aa774ef: Verifying Checksum 15:51:12 96526aa774ef: Download complete 15:51:12 96526aa774ef: Pull complete 15:51:13 da60e534fd72: Verifying Checksum 15:51:13 da60e534fd72: Download complete 15:51:16 da60e534fd72: Pull complete 15:51:16 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 15:51:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:51:16 ---> 6605166a5db4 15:51:16 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 15:51:18 ---> Running in 694d9d15a41f 15:51:19 Connecting to iotech.jfrog.io (54.73.4.50:443) 15:51:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:51:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:51:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:51:19 Removing intermediate container 694d9d15a41f 15:51:19 ---> a9cbc59f27e0 15:51:19 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:51:19 ---> Running in d30b0af9f1c5 15:51:20 Removing intermediate container d30b0af9f1c5 15:51:20 ---> 7f20a5c339b6 15:51:20 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 15:51:20 ---> Running in 794978b9db40 15:51:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:51:21 (1/17) Installing hiredis (1.1.0-r2) 15:51:21 (2/17) Installing hiredis-dev (1.1.0-r2) 15:51:21 (3/17) Installing libcbor (0.10.2-r1) 15:51:21 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 15:51:22 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 15:51:22 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:51:22 (7/17) Installing libcbor-dev (0.10.2-r1) 15:51:22 (8/17) Installing libmenuw (6.4_p20230506-r0) 15:51:22 (9/17) Installing libpanelw (6.4_p20230506-r0) 15:51:22 (10/17) Installing libncurses++ (6.4_p20230506-r0) 15:51:22 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 15:51:22 (12/17) Installing libblkid (2.38.1-r8) 15:51:22 (13/17) Installing libuuid (2.38.1-r8) 15:51:22 (14/17) Installing libfdisk (2.38.1-r8) 15:51:22 (15/17) Installing libmount (2.38.1-r8) 15:51:22 (16/17) Installing libsmartcols (2.38.1-r8) 15:51:22 (17/17) Installing util-linux-dev (2.38.1-r8) 15:51:22 Executing busybox-1.36.1-r4.trigger 15:51:22 OK: 336 MiB in 99 packages 15:51:23 Removing intermediate container 794978b9db40 15:51:23 ---> 09548f59bcc2 15:51:23 Step 6/22 : RUN mkdir /tmp/sdk 15:51:23 ---> Running in 10df069615eb 15:51:23 Removing intermediate container 10df069615eb 15:51:23 ---> cf56c07db771 15:51:23 Step 7/22 : COPY VERSION /tmp/sdk 15:51:24 ---> 2519c0ef4866 15:51:24 Step 8/22 : COPY src /tmp/sdk/src 15:51:24 ---> 7d44875e1ee1 15:51:24 Step 9/22 : COPY include /tmp/sdk/include 15:51:24 ---> f50895571805 15:51:24 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:51:24 ---> d8b1bf7d526c 15:51:24 Step 11/22 : COPY LICENSE /tmp/sdk 15:51:24 ---> 26d04e6b372d 15:51:24 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:51:24 ---> d96eb61be9cc 15:51:24 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:51:24 ---> Running in 244213bd28b4 15:51:25 + CPPCHECK=false 15:51:25 + DOCGEN=false 15:51:25 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:51:25 + '[' 0 -gt 0 ] 15:51:25 + readlink -f ./scripts/build.sh 15:51:25 + dirname /tmp/sdk/scripts/build.sh 15:51:25 + dirname /tmp/sdk/scripts 15:51:25 + ROOT=/tmp/sdk 15:51:25 + cd /tmp/sdk 15:51:25 + mkdir -p /tmp/sdk/build/release 15:51:25 + cd /tmp/sdk/build/release 15:51:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:51:25 -- The C compiler identification is GNU 12.2.1 15:51:25 -- Detecting C compiler ABI info 15:51:25 -- Detecting C compiler ABI info - done 15:51:25 -- Check for working C compiler: /usr/bin/cc - skipped 15:51:25 -- Detecting C compile features 15:51:25 -- Detecting C compile features - done 15:51:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:51:25 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:51:25 -- Found LIBYAML: /usr/lib/libyaml.so 15:51:25 -- Found LIBUUID: /usr/lib/libuuid.so 15:51:25 -- Found LIBCBOR: /usr/lib/libcbor.so 15:51:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:51:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:51:25 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:51:25 -- /opt/iotech/iot/1.5/include 15:51:25 -- C SDK 0.0.0 for Linux 15:51:25 -- Performing Test CSDK_HAVE_ATOMIC 15:51:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:51:25 -- Found Curses: /usr/lib/libcurses.so 15:51:25 -- Configuring done (0.4s) 15:51:25 -- Generating done (0.0s) 15:51:25 -- Build files have been written to: /tmp/sdk/build/release 15:51:25 + make all package 15:51:25 + tee release.log 15:51:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:51:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:51:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:51:25 Still waiting to schedule task 15:51:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:51:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:51:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:51:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:51:26 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:51:26 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 15:51:26 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 15:51:26 294 | while (privateConfig) 15:51:26 | ^~~~~~~~~~~~~ 15:51:26 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 15:51:26 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:51:26 | ^~~~~~~~~~~~~ 15:51:26 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 15:51:26 271 | while (result) 15:51:26 | ^~~~~~ 15:51:26 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 15:51:26 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:51:26 | ^~~~~~ 15:51:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:51:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:51:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:51:27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:51:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:51:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:51:27 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:51:27 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:51:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:51:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:51:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:51:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:51:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:51:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:51:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:51:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:51:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:51:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:51:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:51:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:51:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:51:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:51:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:51:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:51:30 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:51:30 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:51:30 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:51:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:51:30 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:51:30 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:51:30 | ^ 15:51:31 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 15:51:31 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 15:51:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:51:31 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 15:51:31 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 15:51:31 | ^~~~~~~~~~~~~~~~~~~~~ 15:51:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:51:31 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:51:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:51:31 [ 68%] Linking C shared library libcsdk.so 15:51:31 [ 68%] Built target csdk 15:51:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:51:31 [ 72%] Linking C executable template 15:51:31 [ 72%] Built target template 15:51:31 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:51:31 [ 76%] Linking C executable device-counter 15:51:31 [ 76%] Built target device-counter 15:51:31 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:51:32 [ 80%] Linking C executable device-random 15:51:32 [ 80%] Built target device-random 15:51:32 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:51:32 [ 84%] Linking C executable device-gyro 15:51:32 [ 84%] Built target device-gyro 15:51:32 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:51:32 [ 88%] Linking C executable device-bitfields 15:51:32 [ 88%] Built target device-bitfields 15:51:32 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:51:32 [ 92%] Linking C executable template-discovery 15:51:32 [ 92%] Built target template-discovery 15:51:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:51:32 [ 96%] Linking C executable device-file 15:51:32 [ 96%] Built target device-file 15:51:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:51:32 [100%] Linking C executable device-terminal 15:51:33 [100%] Built target device-terminal 15:51:33 Run CPack packaging tool... 15:51:33 CPack: Create package using TGZ 15:51:33 CPack: Install projects 15:51:33 CPack: - Run preinstall target for: Csdk 15:51:33 CPack: - Install project: Csdk [] 15:51:33 CPack: Create package 15:51:33 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:51:33 + '[' false '=' true ] 15:51:33 + '[' false '=' true ] 15:51:33 + mkdir -p /tmp/sdk/build/debug 15:51:33 + cd /tmp/sdk/build/debug 15:51:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:51:33 -- The C compiler identification is GNU 12.2.1 15:51:33 -- Detecting C compiler ABI info 15:51:33 -- Detecting C compiler ABI info - done 15:51:33 -- Check for working C compiler: /usr/bin/cc - skipped 15:51:33 -- Detecting C compile features 15:51:33 -- Detecting C compile features - done 15:51:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:51:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:51:33 -- Found LIBYAML: /usr/lib/libyaml.so 15:51:33 -- Found LIBUUID: /usr/lib/libuuid.so 15:51:33 -- Found LIBCBOR: /usr/lib/libcbor.so 15:51:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:51:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:51:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:51:33 -- /opt/iotech/iot/1.5/include 15:51:33 -- C SDK 0.0.0 for Linux 15:51:33 -- Performing Test CSDK_HAVE_ATOMIC 15:51:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:51:33 -- Found Curses: /usr/lib/libcurses.so 15:51:33 -- Configuring done (0.4s) 15:51:33 -- Generating done (0.0s) 15:51:33 -- Build files have been written to: /tmp/sdk/build/debug 15:51:33 + make 15:51:33 + tee debug.log 15:51:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:51:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:51:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:51:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:51:34 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:51:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:51:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:51:34 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:51:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:51:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:51:34 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:51:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:51:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:51:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:51:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:51:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:51:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:51:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:51:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:51:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:51:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:51:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:51:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:51:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:51:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:51:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:51:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:51:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:51:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:51:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:51:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:51:36 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:51:36 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:51:36 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:51:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:51:36 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:51:36 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:51:36 | ^ 15:51:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:51:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:51:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:51:36 [ 68%] Linking C shared library libcsdk.so 15:51:36 [ 68%] Built target csdk 15:51:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:51:37 [ 72%] Linking C executable template 15:51:37 [ 72%] Built target template 15:51:37 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:51:37 [ 76%] Linking C executable device-counter 15:51:37 [ 76%] Built target device-counter 15:51:37 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:51:37 [ 80%] Linking C executable device-random 15:51:37 [ 80%] Built target device-random 15:51:37 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:51:37 [ 84%] Linking C executable device-gyro 15:51:37 [ 84%] Built target device-gyro 15:51:37 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:51:37 [ 88%] Linking C executable device-bitfields 15:51:37 [ 88%] Built target device-bitfields 15:51:37 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:51:37 [ 92%] Linking C executable template-discovery 15:51:37 [ 92%] Built target template-discovery 15:51:37 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:51:37 [ 96%] Linking C executable device-file 15:51:38 [ 96%] Built target device-file 15:51:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:51:38 [100%] Linking C executable device-terminal 15:51:38 [100%] Built target device-terminal 15:51:38 make: Entering directory '/tmp/sdk/build/release' 15:51:38 [ 68%] Built target csdk 15:51:38 [ 72%] Built target template 15:51:38 [ 76%] Built target device-counter 15:51:38 [ 80%] Built target device-random 15:51:38 [ 84%] Built target device-gyro 15:51:38 [ 88%] Built target device-bitfields 15:51:38 [ 92%] Built target template-discovery 15:51:38 [ 96%] Built target device-file 15:51:38 [100%] Built target device-terminal 15:51:38 Install the project... 15:51:38 -- Install configuration: "Release" 15:51:38 -- Installing: /usr/local/lib/libcsdk.so 15:51:38 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:51:38 -- Installing: /usr/local/include 15:51:38 -- Installing: /usr/local/include/devsdk 15:51:38 -- Installing: /usr/local/include/devsdk/devsdk.h 15:51:38 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:51:38 -- Installing: /usr/local/include/edgex 15:51:38 -- Installing: /usr/local/include/edgex/edgex.h 15:51:38 -- Installing: /usr/local/include/edgex/devices.h 15:51:38 -- Installing: /usr/local/include/edgex/profiles.h 15:51:38 -- Installing: /usr/local/include/edgex/edgex-base.h 15:51:38 -- Installing: /usr/local/include/edgex/rest-server.h 15:51:38 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:51:38 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:51:38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:51:38 make: Leaving directory '/tmp/sdk/build/release' 15:51:39 Removing intermediate container 244213bd28b4 15:51:39 ---> ea5a970997e3 15:51:39 Step 14/22 : FROM ${BASE} 15:51:39 ---> 6605166a5db4 15:51:39 Step 15/22 : LABEL maintainer="IOTech " 15:51:39 ---> Running in bf1f4b87002a 15:51:39 Removing intermediate container bf1f4b87002a 15:51:39 ---> de35f9d2b3f4 15:51:39 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 15:51:39 ---> Running in 84edb04efadc 15:51:39 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:51:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:51:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:51:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:51:40 Removing intermediate container 84edb04efadc 15:51:40 ---> a577c648b4ab 15:51:40 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:51:40 ---> Running in b9b7c75ed00d 15:51:40 Removing intermediate container b9b7c75ed00d 15:51:40 ---> a8876020916b 15:51:40 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 15:51:40 ---> Running in 3c5cb259b1fd 15:51:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:51:42 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 15:51:42 (2/10) Installing curl (8.9.1-r0) 15:51:42 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 15:51:42 (4/10) Installing dumb-init (1.2.5-r2) 15:51:42 (5/10) Installing hiredis (1.1.0-r2) 15:51:42 (6/10) Installing hiredis-dev (1.1.0-r2) 15:51:42 (7/10) Installing libcbor (0.10.2-r1) 15:51:42 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 15:51:42 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:51:42 (10/10) Installing libuuid (2.38.1-r8) 15:51:42 Executing busybox-1.36.1-r4.trigger 15:51:42 OK: 331 MiB in 90 packages 15:51:43 Removing intermediate container 3c5cb259b1fd 15:51:43 ---> 5219928703db 15:51:43 Step 19/22 : RUN apk --no-cache upgrade 15:51:43 ---> Running in b18f4944b572 15:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:51:44 Upgrading critical system libraries and apk-tools: 15:51:44 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 15:51:44 Executing busybox-1.36.1-r4.trigger 15:51:44 Continuing the upgrade transaction with new apk-tools: 15:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:51:45 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 15:51:45 Executing busybox-1.36.1-r7.post-upgrade 15:51:45 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 15:51:45 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 15:51:45 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 15:51:45 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 15:51:45 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 15:51:45 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 15:51:45 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 15:51:45 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 15:51:45 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 15:51:45 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 15:51:45 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 15:51:45 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 15:51:45 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 15:51:45 Executing busybox-1.36.1-r7.trigger 15:51:45 Executing ca-certificates-20240226-r0.trigger 15:51:45 OK: 331 MiB in 90 packages 15:51:46 Removing intermediate container b18f4944b572 15:51:46 ---> a65658db3715 15:51:46 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:51:46 ---> 8874eb2fb390 15:51:46 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:51:46 ---> f2a4887856e3 15:51:46 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:51:47 ---> d28f6016e277 15:51:47 Successfully built d28f6016e277 15:51:47 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 15:51:47 + docker inspect -f . ci-base-image-x86_64 15:51:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:47 prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container 15:51:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 15:51:47 $ docker top f83e38adae7f926fc3a7fffb855a72f50328e2536155a0d3402182060aa05d9d -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:48 + make test 15:51:48 echo "make test" 15:51:48 make test [Pipeline] } 15:51:48 $ docker stop --time=1 f83e38adae7f926fc3a7fffb855a72f50328e2536155a0d3402182060aa05d9d 15:51:49 $ docker rm -f --volumes f83e38adae7f926fc3a7fffb855a72f50328e2536155a0d3402182060aa05d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:50 + ls -al . 15:51:50 total 212 15:51:50 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 15:51 . 15:51:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:50 .. 15:51:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 15:51 .git 15:51:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 15:50 .github 15:51:50 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 15:50 .gitignore 15:51:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 15:51 .semver 15:51:50 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 15:50 Attribution.txt 15:51:50 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 15:50 CHANGELOG.md 15:51:50 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 15:50 Doxyfile 15:51:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 15:50 GOVERNANCE.md 15:51:50 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 15:50 Jenkinsfile 15:51:50 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 15:50 LICENSE 15:51:50 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 15:50 Makefile 15:51:50 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 15:50 OWNERS.md 15:51:50 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 15:50 README.IOT.md 15:51:50 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 15:50 README.md 15:51:50 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 15:50 README.v3.md 15:51:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 15:51 VERSION 15:51:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:50 docs 15:51:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:50 include 15:51:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:50 scripts 15:51:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:50 + 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=21bf2cc08973ab27e7bcd2bf83e6918120607095 --label arch=amd64 --label version=0.0.0 . 15:51:50 Sending build context to Docker daemon 5.327MB 15:51:50 Step 1/18 : ARG BASE=alpine:3.18 15:51:50 Step 2/18 : FROM ${BASE} 15:51:50 ---> d28f6016e277 15:51:50 Step 3/18 : LABEL maintainer="IOTech " 15:51:51 ---> Running in a91d759f1073 15:51:51 Removing intermediate container a91d759f1073 15:51:51 ---> 6e44cc812e6a 15:51:51 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 15:51:51 ---> Running in bcfe3292360f 15:51:51 Connecting to iotech.jfrog.io (54.73.4.50:443) 15:51:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:51:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:51:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:51:51 Removing intermediate container bcfe3292360f 15:51:51 ---> 6b1e745a14d9 15:51:51 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:51:52 ---> Running in 91bbaf5795ef 15:51:52 Removing intermediate container 91bbaf5795ef 15:51:52 ---> a75cb68a4dc2 15:51:52 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 15:51:52 ---> Running in c89c26787e1b 15:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:51:53 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 15:51:53 (2/11) Installing libcbor-dev (0.10.2-r1) 15:51:53 (3/11) Installing libmenuw (6.4_p20230506-r0) 15:51:53 (4/11) Installing libpanelw (6.4_p20230506-r0) 15:51:53 (5/11) Installing libncurses++ (6.4_p20230506-r0) 15:51:53 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 15:51:53 (7/11) Installing libblkid (2.38.1-r8) 15:51:53 (8/11) Installing libfdisk (2.38.1-r8) 15:51:53 (9/11) Installing libmount (2.38.1-r8) 15:51:53 (10/11) Installing libsmartcols (2.38.1-r8) 15:51:53 (11/11) Installing util-linux-dev (2.38.1-r8) 15:51:53 Executing busybox-1.36.1-r7.trigger 15:51:53 OK: 337 MiB in 101 packages 15:51:54 Removing intermediate container c89c26787e1b 15:51:54 ---> 98dd3df9ec07 15:51:54 Step 7/18 : RUN apk --no-cache upgrade 15:51:54 ---> Running in 62056d5131b4 15:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:51:55 OK: 337 MiB in 101 packages 15:51:55 Removing intermediate container 62056d5131b4 15:51:55 ---> 74b6fb0701f5 15:51:55 Step 8/18 : COPY VERSION /edgex-c-sdk/ 15:51:55 ---> b44bbe364f8f 15:51:55 Step 9/18 : COPY src /edgex-c-sdk/src/ 15:51:56 ---> 49ad8015406d 15:51:56 Step 10/18 : COPY include /edgex-c-sdk/include/ 15:51:56 ---> 48086f63e4f1 15:51:56 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 15:51:56 ---> 804b7ff29265 15:51:56 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 15:51:56 ---> 0dd14f0e1806 15:51:56 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 15:51:56 ---> 11de17669981 15:51:56 Step 14/18 : WORKDIR /edgex-c-sdk 15:51:56 ---> Running in 846b46c0ee25 15:51:57 Removing intermediate container 846b46c0ee25 15:51:57 ---> 4e384aac474c 15:51:57 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:51:57 ---> Running in 4de71b578d06 15:51:57 Removing intermediate container 4de71b578d06 15:51:57 ---> 60d698d46c09 15:51:57 Step 16/18 : LABEL arch=amd64 15:51:57 ---> Running in 056029efd5bf 15:51:57 Removing intermediate container 056029efd5bf 15:51:57 ---> 05aa421cf0fc 15:51:57 Step 17/18 : LABEL git_sha=21bf2cc08973ab27e7bcd2bf83e6918120607095 15:51:57 ---> Running in da1964486147 15:51:57 Removing intermediate container da1964486147 15:51:57 ---> 06e24cba731e 15:51:57 Step 18/18 : LABEL version=0.0.0 15:51:57 ---> Running in e92b64ef5fbc 15:51:57 Removing intermediate container e92b64ef5fbc 15:51:57 ---> f6f3acf6dfdf 15:51:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:51:57 Successfully built f6f3acf6dfdf 15:51:57 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 15:51:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:57 15:51:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:58 latest: Pulling from edgex-lftools-log-publisher 15:51:58 5eb5b503b376: Pulling fs layer 15:51:58 5c69ac0246d0: Pulling fs layer 15:51:58 ec43610c2a17: Pulling fs layer 15:51:58 3a2ae6a8a46f: Pulling fs layer 15:51:58 33b1e0a273af: Pulling fs layer 15:51:58 5d3b04190fa2: Pulling fs layer 15:51:58 2f39f015ded8: Pulling fs layer 15:51:58 3a2ae6a8a46f: Waiting 15:51:58 33b1e0a273af: Waiting 15:51:58 5d3b04190fa2: Waiting 15:51:58 2f39f015ded8: Waiting 15:51:58 5c69ac0246d0: Download complete 15:51:58 3a2ae6a8a46f: Verifying Checksum 15:51:58 3a2ae6a8a46f: Download complete 15:51:58 33b1e0a273af: Download complete 15:51:58 5d3b04190fa2: Verifying Checksum 15:51:58 5d3b04190fa2: Download complete 15:51:58 ec43610c2a17: Verifying Checksum 15:51:58 ec43610c2a17: Download complete 15:51:58 5eb5b503b376: Verifying Checksum 15:51:58 5eb5b503b376: Download complete 15:51:59 5eb5b503b376: Pull complete 15:51:59 5c69ac0246d0: Pull complete 15:51:59 ec43610c2a17: Pull complete 15:52:00 3a2ae6a8a46f: Pull complete 15:52:00 33b1e0a273af: Pull complete 15:52:00 5d3b04190fa2: Pull complete 15:52:05 2f39f015ded8: Pull complete 15:52:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:05 prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container 15:52:05 $ 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-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 15:52:09 $ docker top 03d9d3834f991b90253b9491fa266f075ba2271059a2bb794741378d3eabbc98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:10 ---> job-cost.sh 15:52:10 lf-activate-venv: SKIPPING 15:52:10 INFO: No Stack... 15:52:10 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:11 INFO: Archiving Costs [Pipeline] sh 15:52:11 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/cost.csv 15:52:11 + cut -d, -f6 [Pipeline] lock 15:52:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] 15:52:11 Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] did not exist. Created. 15:52:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:11 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:11 Stashed 1 file(s) [Pipeline] } 15:52:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:11 $ docker stop --time=1 03d9d3834f991b90253b9491fa266f075ba2271059a2bb794741378d3eabbc98 15:52:13 $ docker rm -f --volumes 03d9d3834f991b90253b9491fa266f075ba2271059a2bb794741378d3eabbc98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:54:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11683 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [Pipeline] { [Pipeline] ws 15:54:19 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 15:54:22 Selected Git installation does not exist. Using Default 15:54:22 The recommended git tool is: NONE 15:54:29 using credential edgex-jenkins-ssh 15:54:29 Cloning the remote Git repository 15:54:30 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:54:30 > git init /w/workspace/device-sdk-c/3 # timeout=10 15:54:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:54:30 > git --version # timeout=10 15:54:30 > git --version # 'git version 2.25.1' 15:54:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:54:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:54:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:54:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:54:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:54:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:54:33 using GIT_SSH to set credentials SSH Credentials for GitHub 15:54:33 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 21bf2cc08973ab27e7bcd2bf83e6918120607095 15:54:34 Merge succeeded, producing 21bf2cc08973ab27e7bcd2bf83e6918120607095 15:54:34 Checking out Revision 21bf2cc08973ab27e7bcd2bf83e6918120607095 (PR-514) 15:54:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:54:33 > git config core.sparsecheckout # timeout=10 15:54:34 > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # timeout=10 15:54:34 > git remote # timeout=10 15:54:34 > git config --get remote.origin.url # timeout=10 15:54:34 using GIT_SSH to set credentials SSH Credentials for GitHub 15:54:34 > git merge 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 15:54:34 > git rev-parse HEAD^{commit} # timeout=10 15:54:34 > git config core.sparsecheckout # timeout=10 15:54:34 > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # timeout=10 15:54:38 Commit message: "feat: Pr updates including removing describe from register delete function, remove delete function from discovery struct, fix reply.msg" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:54:39 % Total % Received % Xferd Average Speed Time Time Time Current 15:54:39 Dload Upload Total Spent Left Speed 15:54:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh 15:54:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:54:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:54:40 + sudo tee /etc/docker/daemon.new 15:54:40 { 15:54:40 "registry-mirrors": [ 15:54:40 "https://nexus3.edgexfoundry.org:10001" 15:54:40 ], 15:54:40 "bip": "10.250.0.254/24", 15:54:40 "hosts": [ 15:54:40 "tcp://0.0.0.0:5555", 15:54:40 "unix:///var/run/docker.sock" 15:54:40 ], 15:54:40 "mtu": 1458, 15:54:40 "selinux-enabled": true, 15:54:40 "seccomp-profile": "/etc/docker/seccomp.json" 15:54:40 } [Pipeline] sh 15:54:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:54:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:59 provisioning config files... 15:54:59 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config4029005850631672332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:59 ---> ****-login.sh 15:54:59 nexus3.edgexfoundry.org:10001 15:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:55:00 Configure a credential helper to remove this warning. See 15:55:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:55:00 15:55:00 Login Succeeded 15:55:00 nexus3.edgexfoundry.org:10002 15:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:55:00 Configure a credential helper to remove this warning. See 15:55:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:55:00 15:55:00 Login Succeeded 15:55:00 nexus3.edgexfoundry.org:10003 15:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:55:01 Configure a credential helper to remove this warning. See 15:55:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:55:01 15:55:01 Login Succeeded 15:55:01 nexus3.edgexfoundry.org:10004 15:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:55:01 Configure a credential helper to remove this warning. See 15:55:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:55:01 15:55:01 Login Succeeded 15:55:01 ****.io 15:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:55:02 Configure a credential helper to remove this warning. See 15:55:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:55:02 15:55:02 Login Succeeded 15:55:02 ---> ****-login.sh ends [Pipeline] } 15:55:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:55:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:55:02 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:55:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:55:02 ========================================================= 15:55:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:55:02 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:02 + 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 . 15:55:03 Sending build context to Docker daemon 3.283MB 15:55:03 Step 1/22 : ARG BASE=alpine:3.18 15:55:03 Step 2/22 : FROM ${BASE} as builder 15:55:03 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:55:03 579b34f0a95b: Pulling fs layer 15:55:03 e71477ac5e1b: Pulling fs layer 15:55:03 579b34f0a95b: Download complete 15:55:04 579b34f0a95b: Pull complete 15:55:06 e71477ac5e1b: Verifying Checksum 15:55:06 e71477ac5e1b: Download complete 15:55:16 e71477ac5e1b: Pull complete 15:55:16 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 15:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:55:16 ---> 2b552cad5dd9 15:55:16 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 15:55:16 ---> Running in 10415423705c 15:55:17 Connecting to iotech.jfrog.io (54.73.4.50:443) 15:55:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:55:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:55:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:55:18 Removing intermediate container 10415423705c 15:55:18 ---> ee8c187b57f4 15:55:18 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:55:18 ---> Running in 662a83102eeb 15:55:20 Removing intermediate container 662a83102eeb 15:55:20 ---> 9d62def75b88 15:55:20 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 15:55:20 ---> Running in 535625a72c46 15:55:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:55:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 15:55:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:55:23 (1/17) Installing hiredis (1.1.0-r2) 15:55:23 (2/17) Installing hiredis-dev (1.1.0-r2) 15:55:23 (3/17) Installing libcbor (0.10.2-r1) 15:55:23 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 15:55:24 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 15:55:24 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:55:24 (7/17) Installing libcbor-dev (0.10.2-r1) 15:55:24 (8/17) Installing libmenuw (6.4_p20230506-r0) 15:55:24 (9/17) Installing libpanelw (6.4_p20230506-r0) 15:55:24 (10/17) Installing libncurses++ (6.4_p20230506-r0) 15:55:24 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 15:55:24 (12/17) Installing libblkid (2.38.1-r8) 15:55:24 (13/17) Installing libuuid (2.38.1-r8) 15:55:24 (14/17) Installing libfdisk (2.38.1-r8) 15:55:24 (15/17) Installing libmount (2.38.1-r8) 15:55:24 (16/17) Installing libsmartcols (2.38.1-r8) 15:55:24 (17/17) Installing util-linux-dev (2.38.1-r8) 15:55:25 Executing busybox-1.36.1-r4.trigger 15:55:25 OK: 333 MiB in 99 packages 15:55:26 Removing intermediate container 535625a72c46 15:55:26 ---> 8d9a32f887e0 15:55:26 Step 6/22 : RUN mkdir /tmp/sdk 15:55:26 ---> Running in d94dc80c31e4 15:55:27 Removing intermediate container d94dc80c31e4 15:55:27 ---> b0f0e971e804 15:55:27 Step 7/22 : COPY VERSION /tmp/sdk 15:55:28 ---> 917ebc42d7bb 15:55:28 Step 8/22 : COPY src /tmp/sdk/src 15:55:29 ---> 267eda93c363 15:55:29 Step 9/22 : COPY include /tmp/sdk/include 15:55:29 ---> 8fa21721a3d7 15:55:29 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:55:30 ---> 176b8ecc5362 15:55:30 Step 11/22 : COPY LICENSE /tmp/sdk 15:55:30 ---> 1e281b1aed31 15:55:30 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:55:31 ---> 93a1a25f22e4 15:55:31 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:55:31 ---> Running in 1290183d88d9 15:55:32 + CPPCHECK=false 15:55:32 + DOCGEN=false 15:55:32 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:55:32 + '[' 0 -gt 0 ] 15:55:32 + readlink -f ./scripts/build.sh 15:55:32 + dirname /tmp/sdk/scripts/build.sh 15:55:32 + dirname /tmp/sdk/scripts 15:55:32 + ROOT=/tmp/sdk 15:55:32 + cd /tmp/sdk 15:55:32 + mkdir -p /tmp/sdk/build/release 15:55:32 + cd /tmp/sdk/build/release 15:55:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:55:32 -- The C compiler identification is GNU 12.2.1 15:55:32 -- Detecting C compiler ABI info 15:55:32 -- Detecting C compiler ABI info - done 15:55:32 -- Check for working C compiler: /usr/bin/cc - skipped 15:55:32 -- Detecting C compile features 15:55:32 -- Detecting C compile features - done 15:55:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:55:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:55:33 -- Found LIBYAML: /usr/lib/libyaml.so 15:55:33 -- Found LIBUUID: /usr/lib/libuuid.so 15:55:33 -- Found LIBCBOR: /usr/lib/libcbor.so 15:55:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:55:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:55:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:55:33 -- /opt/iotech/iot/1.5/include 15:55:33 -- C SDK 0.0.0 for Linux 15:55:33 -- Performing Test CSDK_HAVE_ATOMIC 15:55:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:55:33 -- Found Curses: /usr/lib/libcurses.so 15:55:33 -- Configuring done (1.7s) 15:55:34 -- Generating done (0.2s) 15:55:34 -- Build files have been written to: /tmp/sdk/build/release 15:55:34 + make all package 15:55:34 + tee release.log 15:55:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:55:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:55:36 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:55:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:55:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:55:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:55:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:55:41 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 15:55:41 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 15:55:41 294 | while (privateConfig) 15:55:41 | ^~~~~~~~~~~~~ 15:55:41 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 15:55:41 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:55:41 | ^~~~~~~~~~~~~ 15:55:41 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 15:55:41 271 | while (result) 15:55:41 | ^~~~~~ 15:55:41 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 15:55:41 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:55:41 | ^~~~~~ 15:55:41 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:55:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:55:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:55:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:55:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:55:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:55:46 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:55:47 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:55:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:55:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:55:50 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:55:50 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:55:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:55:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:55:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:55:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:56:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:56:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:56:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:56:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:56:04 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:56:04 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:56:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:56:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:56:06 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:56:06 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:56:06 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:56:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:56:06 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:56:06 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:56:06 | ^ 15:56:08 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 15:56:08 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 15:56:08 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:56:08 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 15:56:08 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 15:56:08 | ^~~~~~~~~~~~~~~~~~~~~ 15:56:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:56:10 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:56:10 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:56:10 [ 68%] Linking C shared library libcsdk.so 15:56:11 [ 68%] Built target csdk 15:56:11 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:56:12 [ 72%] Linking C executable template 15:56:12 [ 72%] Built target template 15:56:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:56:13 [ 76%] Linking C executable device-counter 15:56:13 [ 76%] Built target device-counter 15:56:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:56:13 [ 80%] Linking C executable device-random 15:56:14 [ 80%] Built target device-random 15:56:14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:56:14 [ 84%] Linking C executable device-gyro 15:56:15 [ 84%] Built target device-gyro 15:56:15 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:56:15 [ 88%] Linking C executable device-bitfields 15:56:16 [ 88%] Built target device-bitfields 15:56:16 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:56:17 [ 92%] Linking C executable template-discovery 15:56:17 [ 92%] Built target template-discovery 15:56:17 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:56:18 [ 96%] Linking C executable device-file 15:56:18 [ 96%] Built target device-file 15:56:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:56:19 [100%] Linking C executable device-terminal 15:56:19 [100%] Built target device-terminal 15:56:19 Run CPack packaging tool... 15:56:19 CPack: Create package using TGZ 15:56:19 CPack: Install projects 15:56:19 CPack: - Run preinstall target for: Csdk 15:56:20 CPack: - Install project: Csdk [] 15:56:20 CPack: Create package 15:56:20 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:56:20 + '[' false '=' true ] 15:56:20 + '[' false '=' true ] 15:56:20 + mkdir -p /tmp/sdk/build/debug 15:56:20 + cd /tmp/sdk/build/debug 15:56:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:56:21 -- The C compiler identification is GNU 12.2.1 15:56:21 -- Detecting C compiler ABI info 15:56:21 -- Detecting C compiler ABI info - done 15:56:21 -- Check for working C compiler: /usr/bin/cc - skipped 15:56:21 -- Detecting C compile features 15:56:21 -- Detecting C compile features - done 15:56:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:56:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:56:22 -- Found LIBYAML: /usr/lib/libyaml.so 15:56:22 -- Found LIBUUID: /usr/lib/libuuid.so 15:56:22 -- Found LIBCBOR: /usr/lib/libcbor.so 15:56:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:56:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:56:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:56:22 -- /opt/iotech/iot/1.5/include 15:56:22 -- C SDK 0.0.0 for Linux 15:56:22 -- Performing Test CSDK_HAVE_ATOMIC 15:56:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:56:22 -- Found Curses: /usr/lib/libcurses.so 15:56:22 -- Configuring done (1.8s) 15:56:22 -- Generating done (0.2s) 15:56:22 -- Build files have been written to: /tmp/sdk/build/debug 15:56:23 + make 15:56:23 + tee debug.log 15:56:23 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:56:23 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:56:23 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:56:24 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:56:24 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:56:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:56:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:56:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:56:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:56:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:56:27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:56:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:56:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:56:28 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:56:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:56:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:56:29 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:56:30 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:56:30 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:56:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:56:31 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:56:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:56:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:56:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:56:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:56:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:56:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:56:35 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:56:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:56:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:56:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:56:36 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:56:36 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:56:36 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:56:36 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:56:36 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:56:36 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:56:36 | ^ 15:56:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:56:37 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:56:37 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:56:38 [ 68%] Linking C shared library libcsdk.so 15:56:38 [ 68%] Built target csdk 15:56:38 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:56:38 [ 72%] Linking C executable template 15:56:39 [ 72%] Built target template 15:56:39 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:56:39 [ 76%] Linking C executable device-counter 15:56:39 [ 76%] Built target device-counter 15:56:39 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:56:40 [ 80%] Linking C executable device-random 15:56:40 [ 80%] Built target device-random 15:56:40 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:56:40 [ 84%] Linking C executable device-gyro 15:56:41 [ 84%] Built target device-gyro 15:56:41 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:56:41 [ 88%] Linking C executable device-bitfields 15:56:41 [ 88%] Built target device-bitfields 15:56:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:56:42 [ 92%] Linking C executable template-discovery 15:56:42 [ 92%] Built target template-discovery 15:56:42 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:56:42 [ 96%] Linking C executable device-file 15:56:43 [ 96%] Built target device-file 15:56:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:56:43 [100%] Linking C executable device-terminal 15:56:43 [100%] Built target device-terminal 15:56:43 make: Entering directory '/tmp/sdk/build/release' 15:56:43 [ 68%] Built target csdk 15:56:44 [ 72%] Built target template 15:56:44 [ 76%] Built target device-counter 15:56:44 [ 80%] Built target device-random 15:56:44 [ 84%] Built target device-gyro 15:56:44 [ 88%] Built target device-bitfields 15:56:44 [ 92%] Built target template-discovery 15:56:44 [ 96%] Built target device-file 15:56:44 [100%] Built target device-terminal 15:56:44 Install the project... 15:56:44 -- Install configuration: "Release" 15:56:44 -- Installing: /usr/local/lib/libcsdk.so 15:56:44 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:56:44 -- Installing: /usr/local/include 15:56:44 -- Installing: /usr/local/include/devsdk 15:56:44 -- Installing: /usr/local/include/devsdk/devsdk.h 15:56:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:56:44 -- Installing: /usr/local/include/edgex 15:56:44 -- Installing: /usr/local/include/edgex/rest-server.h 15:56:44 -- Installing: /usr/local/include/edgex/edgex.h 15:56:44 -- Installing: /usr/local/include/edgex/edgex-base.h 15:56:44 -- Installing: /usr/local/include/edgex/devices.h 15:56:44 -- Installing: /usr/local/include/edgex/profiles.h 15:56:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:56:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:56:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:56:44 make: Leaving directory '/tmp/sdk/build/release' 15:56:46 Removing intermediate container 1290183d88d9 15:56:46 ---> 45d3714e3a2f 15:56:46 Step 14/22 : FROM ${BASE} 15:56:46 ---> 2b552cad5dd9 15:56:46 Step 15/22 : LABEL maintainer="IOTech " 15:56:46 ---> Running in 3ed195d4d5de 15:56:46 Removing intermediate container 3ed195d4d5de 15:56:46 ---> 7fefaf102912 15:56:46 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 15:56:46 ---> Running in 6772b2edc5cb 15:56:47 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:56:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:56:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:56:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:56:48 Removing intermediate container 6772b2edc5cb 15:56:48 ---> 7be7291d2119 15:56:48 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:56:48 ---> Running in 25942e220546 15:56:50 Removing intermediate container 25942e220546 15:56:50 ---> a23110d3f8af 15:56:50 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 15:56:50 ---> Running in 962f0ed49b8d 15:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:56:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 15:56:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:56:53 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 15:56:53 (2/10) Installing curl (8.9.1-r0) 15:56:53 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 15:56:53 (4/10) Installing dumb-init (1.2.5-r2) 15:56:53 (5/10) Installing hiredis (1.1.0-r2) 15:56:53 (6/10) Installing hiredis-dev (1.1.0-r2) 15:56:53 (7/10) Installing libcbor (0.10.2-r1) 15:56:53 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 15:56:54 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:56:54 (10/10) Installing libuuid (2.38.1-r8) 15:56:54 Executing busybox-1.36.1-r4.trigger 15:56:54 OK: 328 MiB in 90 packages 15:56:55 Removing intermediate container 962f0ed49b8d 15:56:55 ---> 774ea4167d71 15:56:55 Step 19/22 : RUN apk --no-cache upgrade 15:56:55 ---> Running in d9b1ff432e41 15:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:56:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 15:56:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:56:58 Upgrading critical system libraries and apk-tools: 15:56:58 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 15:56:58 Executing busybox-1.36.1-r4.trigger 15:56:58 Continuing the upgrade transaction with new apk-tools: 15:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:56:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 15:57:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:57:00 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 15:57:00 Executing busybox-1.36.1-r7.post-upgrade 15:57:00 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 15:57:00 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 15:57:00 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 15:57:00 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 15:57:00 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 15:57:00 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 15:57:00 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 15:57:00 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 15:57:00 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 15:57:00 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 15:57:01 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 15:57:01 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 15:57:01 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 15:57:01 Executing busybox-1.36.1-r7.trigger 15:57:01 Executing ca-certificates-20240226-r0.trigger 15:57:01 OK: 328 MiB in 90 packages 15:57:03 Removing intermediate container d9b1ff432e41 15:57:03 ---> 710857acb75b 15:57:03 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:57:04 ---> b27239483d76 15:57:04 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:57:05 ---> 32f146d62965 15:57:05 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:57:05 ---> 0f1ba8ed0596 15:57:05 Successfully built 0f1ba8ed0596 15:57:05 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 15:57:06 + docker inspect -f . ci-base-image-arm64 15:57:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:06 prd-ubuntu20.04-docker-arm64-4c-16g-11683 does not seem to be running inside a container 15:57:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 15:57:07 $ docker top 4f8dfd4d98116232c34a89118efb7cecf639351d7d14710faed6ad3c166ea4f5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:08 + make test 15:57:08 echo "make test" 15:57:08 make test [Pipeline] } 15:57:08 $ docker stop --time=1 4f8dfd4d98116232c34a89118efb7cecf639351d7d14710faed6ad3c166ea4f5 15:57:10 $ docker rm -f --volumes 4f8dfd4d98116232c34a89118efb7cecf639351d7d14710faed6ad3c166ea4f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:57:11 + ls -al . 15:57:11 total 208 15:57:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 15:54 . 15:57:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:54 .. 15:57:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 15:54 .git 15:57:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 15:54 .github 15:57:11 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 15:54 .gitignore 15:57:11 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 15:54 Attribution.txt 15:57:11 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 15:54 CHANGELOG.md 15:57:11 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 15:54 Doxyfile 15:57:11 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 15:54 GOVERNANCE.md 15:57:11 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 15:54 Jenkinsfile 15:57:11 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 15:54 LICENSE 15:57:11 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 15:54 Makefile 15:57:11 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 15:54 OWNERS.md 15:57:11 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 15:54 README.IOT.md 15:57:11 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 15:54 README.md 15:57:11 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 15:54 README.v3.md 15:57:11 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 15:51 VERSION 15:57:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:54 docs 15:57:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:54 include 15:57:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:54 scripts 15:57:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:11 + 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=21bf2cc08973ab27e7bcd2bf83e6918120607095 --label arch=arm64 --label version=0.0.0 . 15:57:12 Sending build context to Docker daemon 3.283MB 15:57:12 Step 1/18 : ARG BASE=alpine:3.18 15:57:12 Step 2/18 : FROM ${BASE} 15:57:12 ---> 0f1ba8ed0596 15:57:12 Step 3/18 : LABEL maintainer="IOTech " 15:57:12 ---> Running in 205ab4a15a5a 15:57:12 Removing intermediate container 205ab4a15a5a 15:57:12 ---> b5b71bb3a707 15:57:12 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 15:57:12 ---> Running in 60dcfaad0c00 15:57:13 Connecting to iotech.jfrog.io (34.246.139.145:443) 15:57:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:57:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:57:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:57:14 Removing intermediate container 60dcfaad0c00 15:57:14 ---> 337eefbde00f 15:57:14 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:57:14 ---> Running in 840957da0807 15:57:16 Removing intermediate container 840957da0807 15:57:16 ---> 5dd0308aa90a 15:57:16 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 15:57:16 ---> Running in e863295570df 15:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:57:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 15:57:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:57:19 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 15:57:19 (2/11) Installing libcbor-dev (0.10.2-r1) 15:57:19 (3/11) Installing libmenuw (6.4_p20230506-r0) 15:57:19 (4/11) Installing libpanelw (6.4_p20230506-r0) 15:57:19 (5/11) Installing libncurses++ (6.4_p20230506-r0) 15:57:19 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 15:57:19 (7/11) Installing libblkid (2.38.1-r8) 15:57:19 (8/11) Installing libfdisk (2.38.1-r8) 15:57:19 (9/11) Installing libmount (2.38.1-r8) 15:57:19 (10/11) Installing libsmartcols (2.38.1-r8) 15:57:19 (11/11) Installing util-linux-dev (2.38.1-r8) 15:57:19 Executing busybox-1.36.1-r7.trigger 15:57:19 OK: 334 MiB in 101 packages 15:57:21 Removing intermediate container e863295570df 15:57:21 ---> 2f36a6983f57 15:57:21 Step 7/18 : RUN apk --no-cache upgrade 15:57:21 ---> Running in f3ef041fba84 15:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:57:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 15:57:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:57:23 OK: 334 MiB in 101 packages 15:57:24 Removing intermediate container f3ef041fba84 15:57:24 ---> a6d6bfd5f6e7 15:57:24 Step 8/18 : COPY VERSION /edgex-c-sdk/ 15:57:25 ---> 00d2333fa9d1 15:57:25 Step 9/18 : COPY src /edgex-c-sdk/src/ 15:57:25 ---> e43b39f0ca22 15:57:25 Step 10/18 : COPY include /edgex-c-sdk/include/ 15:57:26 ---> 72eebd556f3b 15:57:26 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 15:57:27 ---> 0e40d75d2743 15:57:27 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 15:57:28 ---> a73d4543fcb2 15:57:28 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 15:57:28 ---> 44a94cb1a8f9 15:57:28 Step 14/18 : WORKDIR /edgex-c-sdk 15:57:28 ---> Running in c19dc71403af 15:57:28 Removing intermediate container c19dc71403af 15:57:28 ---> eb896eb86bee 15:57:28 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:57:29 ---> Running in fb3b69b398dd 15:57:29 Removing intermediate container fb3b69b398dd 15:57:29 ---> 8db1ae107438 15:57:29 Step 16/18 : LABEL arch=arm64 15:57:29 ---> Running in 6561f013cac2 15:57:29 Removing intermediate container 6561f013cac2 15:57:29 ---> a6bb07c5ad2f 15:57:29 Step 17/18 : LABEL git_sha=21bf2cc08973ab27e7bcd2bf83e6918120607095 15:57:29 ---> Running in 0b3e9f6bfb99 15:57:29 Removing intermediate container 0b3e9f6bfb99 15:57:29 ---> 0a67c6b7d5e3 15:57:29 Step 18/18 : LABEL version=0.0.0 15:57:30 ---> Running in 86a9c21b87f4 15:57:30 Removing intermediate container 86a9c21b87f4 15:57:30 ---> c1d4e89a998d 15:57:30 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:57:30 Successfully built c1d4e89a998d 15:57:30 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 15:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:30 15:57:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:31 arm64: Pulling from edgex-lftools-log-publisher 15:57:31 8998bd30e6a1: Pulling fs layer 15:57:31 04944245beec: Pulling fs layer 15:57:31 699f458cf7ca: Pulling fs layer 15:57:31 765212b225bb: Pulling fs layer 15:57:31 f23df028b6ca: Pulling fs layer 15:57:31 d65c8cfc05b1: Pulling fs layer 15:57:31 2437ff75d9bd: Pulling fs layer 15:57:31 f23df028b6ca: Waiting 15:57:31 d65c8cfc05b1: Waiting 15:57:31 2437ff75d9bd: Waiting 15:57:31 765212b225bb: Waiting 15:57:31 04944245beec: Verifying Checksum 15:57:31 04944245beec: Download complete 15:57:31 765212b225bb: Verifying Checksum 15:57:31 765212b225bb: Download complete 15:57:31 f23df028b6ca: Verifying Checksum 15:57:31 f23df028b6ca: Download complete 15:57:31 d65c8cfc05b1: Verifying Checksum 15:57:31 d65c8cfc05b1: Download complete 15:57:31 699f458cf7ca: Verifying Checksum 15:57:31 699f458cf7ca: Download complete 15:57:31 8998bd30e6a1: Verifying Checksum 15:57:31 8998bd30e6a1: Download complete 15:57:34 2437ff75d9bd: Verifying Checksum 15:57:34 2437ff75d9bd: Download complete 15:57:36 8998bd30e6a1: Pull complete 15:57:36 04944245beec: Pull complete 15:57:38 699f458cf7ca: Pull complete 15:57:38 765212b225bb: Pull complete 15:57:39 f23df028b6ca: Pull complete 15:57:39 d65c8cfc05b1: Pull complete 15:57:57 2437ff75d9bd: Pull complete 15:57:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:57:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:58 prd-ubuntu20.04-docker-arm64-4c-16g-11683 does not seem to be running inside a container 15:57:58 $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 15:58:00 $ docker top 4c5ddf2303dd0031ac1248fc7d89b81dc3bed82202963f7c8cf022546ba9002a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:00 ---> job-cost.sh 15:58:01 lf-activate-venv: SKIPPING 15:58:01 INFO: No Stack... 15:58:01 INFO: Retrieving Pricing Info for: v3-standard-4 15:58:02 INFO: Archiving Costs [Pipeline] sh 15:58:02 + cat /w/workspace/device-sdk-c/3/archives/cost.csv 15:58:02 + cut -d, -f6 [Pipeline] lock 15:58:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] 15:58:02 Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] did not exist. Created. 15:58:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:03 /w/workspace/device-sdk-c/3@tmp/durable-b56d45fe/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:58:03 + echo total: 0.10999999940395355 [Pipeline] stash 15:58:03 Warning: overwriting stash ‘stack-cost’ 15:58:03 Stashed 1 file(s) [Pipeline] } 15:58:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:58:03 $ docker stop --time=1 4c5ddf2303dd0031ac1248fc7d89b81dc3bed82202963f7c8cf022546ba9002a 15:58:05 $ docker rm -f --volumes 4c5ddf2303dd0031ac1248fc7d89b81dc3bed82202963f7c8cf022546ba9002a [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 15:58:06 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives ] 15:58:06 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 15:58:06 total 16 15:58:06 drwxr-xr-x 3 root root 4096 Sep 26 15:52 . 15:58:06 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 15:52 .. 15:58:06 drwxr-xr-x 2 root root 4096 Sep 26 15:52 cost 15:58:06 -rw-r--r-- 1 root root 84 Sep 26 15:52 cost.csv 15:58:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 15:58:06 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 15:58:06 total 16 15:58:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 15:52 . 15:58:06 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 15:52 .. 15:58:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 15:52 cost 15:58:06 -rw-r--r-- 1 jenkins jenkins 84 Sep 26 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:58:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:58:07 ---> package-listing.sh 15:58:07 ++ facter osfamily 15:58:07 ++ tr '[:upper:]' '[:lower:]' 15:58:07 + OS_FAMILY=debian 15:58:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-514 15:58:07 + START_PACKAGES=/tmp/packages_start.txt 15:58:07 + END_PACKAGES=/tmp/packages_end.txt 15:58:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:58:07 + PACKAGES=/tmp/packages_start.txt 15:58:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' 15:58:07 + PACKAGES=/tmp/packages_end.txt 15:58:07 + case "${OS_FAMILY}" in 15:58:07 + dpkg -l 15:58:07 + grep '^ii' 15:58:07 + '[' -f /tmp/packages_start.txt ']' 15:58:07 + '[' -f /tmp/packages_end.txt ']' 15:58:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:58:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' 15:58:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ 15:58:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ [Pipeline] echo 15:58:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:58:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:08 prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container 15:58:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-514/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-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 15:58:11 $ docker top dcdd359a2dfd77e95cb2a203d9f1f077359e9effa9f2313f9c55f16381e0249c -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:12 + touch /tmp/pre-build-complete [Pipeline] sh 15:58:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:58:12 + ls /var/log/sa-host 15:58:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:13 provisioning config files... 15:58:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config1736096975968669067tmp [Pipeline] { [Pipeline] echo 15:58:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:58:13 ---> create-netrc.sh [Pipeline] } 15:58:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:58:13 ---> python-tools-install.sh [Pipeline] echo 15:58:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:58:14 ---> sudo-logs.sh 15:58:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:58:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:58:14 ---> job-cost.sh 15:58:14 lf-activate-venv: SKIPPING 15:58:14 DEBUG: total: 0.2199999988079071 15:58:14 INFO: Retrieving Stack Cost... 15:58:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:58:15 INFO: Archiving Costs [Pipeline] echo 15:58:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:58:15 ---> logs-deploy.sh 15:58:15 lf-activate-venv: SKIPPING 15:58:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-514/3 15:58:15 INFO: archiving workspace using pattern(s): 15:58:16 Archives upload complete. 15:58:16 INFO: archiving logs to Nexus