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 26af02d3d7786a8b58640e9151a285889f530185 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-ssh10113767309675005357.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-ssh5203667603349103254.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-ssh3383067511167998270.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-ssh609777661387584429.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-ssh504530400236655536.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-11673’ is offline Running on prd-ubuntu20.04-docker-8c-8g-11676 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 26af02d3d7786a8b58640e9151a285889f530185 Merge succeeded, producing 26af02d3d7786a8b58640e9151a285889f530185 Checking out Revision 26af02d3d7786a8b58640e9151a285889f530185 (PR-514) > git config core.sparsecheckout # timeout=10 > git checkout -f 26af02d3d7786a8b58640e9151a285889f530185 # 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 26af02d3d7786a8b58640e9151a285889f530185 # timeout=10 Commit message: "feat: Updated example in discovery/template.c" > git rev-list --no-walk 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:20:29 ========================================================= 14:20:29 EdgeX Global Pipelines Version Info 14:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:20:30 ------------------- 14:20:30 stable info: 14:20:30 ------------------- 14:20:30 Commited By: Cherry Wang cherry@iotechsys.com 14:20:30 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:20:30 Message: update stable to v1.0.264 14:20:30 ------------------- 14:20:30 experimental info: 14:20:30 ------------------- 14:20:30 Commited By: Cherry Wang cherry@iotechsys.com 14:20:30 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:20:30 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26af02d3d7786a8b58640e9151a285889f530185 [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26af02d [Pipeline] echo 14:20:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:20:31 provisioning config files... 14:20:31 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config6474591771168792511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:20:31 ---> ****-login.sh 14:20:31 nexus3.edgexfoundry.org:10001 14:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:31 Configure a credential helper to remove this warning. See 14:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:31 14:20:31 Login Succeeded 14:20:31 nexus3.edgexfoundry.org:10002 14:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:31 Configure a credential helper to remove this warning. See 14:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:31 14:20:31 Login Succeeded 14:20:31 nexus3.edgexfoundry.org:10003 14:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:31 Configure a credential helper to remove this warning. See 14:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:31 14:20:31 Login Succeeded 14:20:31 nexus3.edgexfoundry.org:10004 14:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:31 Configure a credential helper to remove this warning. See 14:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:31 14:20:31 Login Succeeded 14:20:31 ****.io 14:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:32 Configure a credential helper to remove this warning. See 14:20:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:32 14:20:32 Login Succeeded 14:20:32 ---> ****-login.sh ends [Pipeline] } 14:20:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:20:32 + git rev-list -1 --merges 26af02d3d7786a8b58640e9151a285889f530185~1..26af02d3d7786a8b58640e9151a285889f530185 [Pipeline] echo 14:20:32 -----------> git rev-list -1 --merges 26af02d3d7786a8b58640e9151a285889f530185~1..26af02d3d7786a8b58640e9151a285889f530185 26af02d3d7786a8b58640e9151a285889f530185 [false] [Pipeline] sh 14:20:33 + git log --format=format:%s -1 26af02d3d7786a8b58640e9151a285889f530185 [Pipeline] echo 14:20:33 ========================================================= 14:20:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:20:33 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:20:33 + git rev-list -1 --merges 26af02d3d7786a8b58640e9151a285889f530185~1..26af02d3d7786a8b58640e9151a285889f530185 [Pipeline] echo 14:20:33 -----------> git rev-list -1 --merges 26af02d3d7786a8b58640e9151a285889f530185~1..26af02d3d7786a8b58640e9151a285889f530185 26af02d3d7786a8b58640e9151a285889f530185 [false] [Pipeline] sh 14:20:33 + git log --format=format:%s -1 26af02d3d7786a8b58640e9151a285889f530185 [Pipeline] echo 14:20:33 ========================================================= 14:20:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:20:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:20:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:20:34 + grep -v github /etc/ssh/ssh_known_hosts 14:20:34 + [ -e /tmp/ssh_known_hosts ] 14:20:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:20:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:20:34 + sudo tee -a /etc/ssh/ssh_known_hosts 14:20:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:20:34 14:20:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:20:34 0.1.4: Pulling from edgex-devops/py-git-semver 14:20:34 b85a868b505f: Pulling fs layer 14:20:34 e2be974225ed: Pulling fs layer 14:20:34 339a4e72a1f5: Pulling fs layer 14:20:34 988bab9f4d93: Pulling fs layer 14:20:34 1469e6f7b9e6: Pulling fs layer 14:20:34 eaf3925da568: Pulling fs layer 14:20:34 bab4dde63d76: Pulling fs layer 14:20:34 bde34c3a00c8: Pulling fs layer 14:20:34 b352a97aabf1: Pulling fs layer 14:20:34 4872d77fe225: Pulling fs layer 14:20:34 5851b861e8e6: Pulling fs layer 14:20:34 988bab9f4d93: Waiting 14:20:34 1469e6f7b9e6: Waiting 14:20:34 bde34c3a00c8: Waiting 14:20:34 bab4dde63d76: Waiting 14:20:34 4872d77fe225: Waiting 14:20:34 b352a97aabf1: Waiting 14:20:34 5851b861e8e6: Waiting 14:20:34 eaf3925da568: Waiting 14:20:35 e2be974225ed: Verifying Checksum 14:20:35 e2be974225ed: Download complete 14:20:35 988bab9f4d93: Download complete 14:20:35 1469e6f7b9e6: Verifying Checksum 14:20:35 1469e6f7b9e6: Download complete 14:20:35 eaf3925da568: Download complete 14:20:35 339a4e72a1f5: Download complete 14:20:35 bde34c3a00c8: Verifying Checksum 14:20:35 bde34c3a00c8: Download complete 14:20:35 b352a97aabf1: Verifying Checksum 14:20:35 b352a97aabf1: Download complete 14:20:35 4872d77fe225: Verifying Checksum 14:20:35 4872d77fe225: Download complete 14:20:35 5851b861e8e6: Verifying Checksum 14:20:35 5851b861e8e6: Download complete 14:20:35 b85a868b505f: Verifying Checksum 14:20:35 b85a868b505f: Download complete 14:20:35 bab4dde63d76: Verifying Checksum 14:20:35 bab4dde63d76: Download complete 14:20:36 b85a868b505f: Pull complete 14:20:36 e2be974225ed: Pull complete 14:20:37 339a4e72a1f5: Pull complete 14:20:37 988bab9f4d93: Pull complete 14:20:38 1469e6f7b9e6: Pull complete 14:20:38 eaf3925da568: Pull complete 14:20:39 bab4dde63d76: Pull complete 14:20:39 bde34c3a00c8: Pull complete 14:20:40 b352a97aabf1: Pull complete 14:20:40 4872d77fe225: Pull complete 14:20:40 5851b861e8e6: Pull complete 14:20:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:20:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:20:40 prd-ubuntu20.04-docker-8c-8g-11676 does not seem to be running inside a container 14:20:40 $ 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 14:20:44 $ docker top acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 -eo pid,comm 14:20:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:20:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:20:44 [ssh-agent] Looking for ssh-agent implementation... 14:20:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:20:44 $ docker exec acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 ssh-agent 14:20:44 SSH_AUTH_SOCK=/tmp/ssh-o5opwVqVvP20/agent.32 14:20:44 SSH_AGENT_PID=38 14:20:44 Running ssh-add (command line suppressed) 14:20:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_13811978648180239867.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_13811978648180239867.key) 14:20:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:20:45 + git tag --points-at HEAD [Pipeline] } 14:20:45 $ docker exec --env ******** --env ******** acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 ssh-agent -k 14:20:45 unset SSH_AUTH_SOCK; 14:20:45 unset SSH_AGENT_PID; 14:20:45 echo Agent pid 38 killed; 14:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:20:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:20:45 [ssh-agent] Looking for ssh-agent implementation... 14:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:20:45 $ docker exec acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 ssh-agent 14:20:45 SSH_AUTH_SOCK=/tmp/ssh-xDQHI8qBNKJb/agent.71 14:20:45 SSH_AGENT_PID=77 14:20:45 Running ssh-add (command line suppressed) 14:20:45 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_9366462841150203934.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_9366462841150203934.key) 14:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:20:46 + git semver init 14:20:46 2024-09-26 14:20:46,476 [run_init] DEBUG init version:0.0.0 force:False 14:20:46 2024-09-26 14:20:46,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver 14:20:46 2024-09-26 14:20:46,477 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver 14:20:46 2024-09-26 14:20:46,477 [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) 14:20:47 2024-09-26 14:20:47,247 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.git/info/exclude 14:20:47 2024-09-26 14:20:47,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 with force:False 14:20:47 2024-09-26 14:20:47,247 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 14:20:47 2024-09-26 14:20:47,252 [execute] INFO git cat-file --batch-check 14:20:47 2024-09-26 14:20:47,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) 14:20:47 2024-09-26 14:20:47,260 [execute] INFO git cat-file --batch 14:20:47 2024-09-26 14:20:47,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) 14:20:47 2024-09-26 14:20:47,266 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 14:20:47 0.0.0 [Pipeline] } 14:20:47 $ docker exec --env ******** --env ******** acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 ssh-agent -k 14:20:47 unset SSH_AUTH_SOCK; 14:20:47 unset SSH_AGENT_PID; 14:20:47 echo Agent pid 77 killed; 14:20:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:20:47 + git semver [Pipeline] } 14:20:48 $ docker stop --time=1 acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 14:20:49 $ docker rm -f --volumes acb52a4e8e51f2c4bd5066e676dec5e39e9aa872553e2f499dfe2682dbd55c98 [Pipeline] // withDockerContainer [Pipeline] sh 14:20:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:20:50 Stashed 1 file(s) [Pipeline] echo 14:20:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:20:50 provisioning config files... 14:20:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config16472252049329841270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:20:50 ---> ****-login.sh 14:20:50 nexus3.edgexfoundry.org:10001 14:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:50 Configure a credential helper to remove this warning. See 14:20:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:50 14:20:50 Login Succeeded 14:20:50 nexus3.edgexfoundry.org:10002 14:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:50 Configure a credential helper to remove this warning. See 14:20:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:50 14:20:50 Login Succeeded 14:20:50 nexus3.edgexfoundry.org:10003 14:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:50 Configure a credential helper to remove this warning. See 14:20:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:50 14:20:50 Login Succeeded 14:20:50 nexus3.edgexfoundry.org:10004 14:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:50 Configure a credential helper to remove this warning. See 14:20:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:50 14:20:50 Login Succeeded 14:20:50 ****.io 14:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:20:51 Configure a credential helper to remove this warning. See 14:20:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:20:51 14:20:51 Login Succeeded 14:20:51 ---> ****-login.sh ends [Pipeline] } 14:20:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:20:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:20:51 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:20:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:20:51 ========================================================= 14:20:51 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:20:51 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:51 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:20:51 Sending build context to Docker daemon 5.285MB 14:20:51 Step 1/22 : ARG BASE=alpine:3.18 14:20:51 Step 2/22 : FROM ${BASE} as builder 14:20:51 latest: Pulling from edgex-devops/edgex-gcc-base 14:20:51 96526aa774ef: Pulling fs layer 14:20:51 da60e534fd72: Pulling fs layer 14:20:51 96526aa774ef: Verifying Checksum 14:20:51 96526aa774ef: Download complete 14:20:51 96526aa774ef: Pull complete 14:20:52 da60e534fd72: Verifying Checksum 14:20:52 da60e534fd72: Download complete 14:20:56 da60e534fd72: Pull complete 14:20:56 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:20:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:20:56 ---> 6605166a5db4 14:20:56 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:20:58 ---> Running in 3566cb955431 14:20:58 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:20:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:20:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:20:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:20:59 Removing intermediate container 3566cb955431 14:20:59 ---> 5ee30f15dbac 14:20:59 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:20:59 ---> Running in febdfce6c780 14:20:59 Removing intermediate container febdfce6c780 14:20:59 ---> 4e419ea09fb5 14:20:59 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:20:59 ---> Running in 2c204cef509b 14:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:21:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:21:00 (1/17) Installing hiredis (1.1.0-r2) 14:21:00 (2/17) Installing hiredis-dev (1.1.0-r2) 14:21:00 (3/17) Installing libcbor (0.10.2-r1) 14:21:00 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:21:01 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:21:01 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:21:02 (7/17) Installing libcbor-dev (0.10.2-r1) 14:21:02 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:21:02 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:21:02 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:21:02 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:21:02 (12/17) Installing libblkid (2.38.1-r8) 14:21:02 (13/17) Installing libuuid (2.38.1-r8) 14:21:02 (14/17) Installing libfdisk (2.38.1-r8) 14:21:02 (15/17) Installing libmount (2.38.1-r8) 14:21:02 (16/17) Installing libsmartcols (2.38.1-r8) 14:21:02 (17/17) Installing util-linux-dev (2.38.1-r8) 14:21:02 Executing busybox-1.36.1-r4.trigger 14:21:02 OK: 336 MiB in 99 packages 14:21:03 Removing intermediate container 2c204cef509b 14:21:03 ---> d4796e571fb3 14:21:03 Step 6/22 : RUN mkdir /tmp/sdk 14:21:03 ---> Running in fe904649f0c3 14:21:03 Removing intermediate container fe904649f0c3 14:21:03 ---> f898c78768f4 14:21:03 Step 7/22 : COPY VERSION /tmp/sdk 14:21:03 ---> e4d4d4cd0729 14:21:03 Step 8/22 : COPY src /tmp/sdk/src 14:21:03 ---> b0901c6741ed 14:21:03 Step 9/22 : COPY include /tmp/sdk/include 14:21:04 ---> 2addb4cf47cd 14:21:04 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:21:04 ---> f6ef2ce45f50 14:21:04 Step 11/22 : COPY LICENSE /tmp/sdk 14:21:04 ---> cd25955ff9c7 14:21:04 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:21:04 ---> f20aa3bdde34 14:21:04 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:21:04 ---> Running in ffbf7318505a 14:21:04 + CPPCHECK=false 14:21:04 + DOCGEN=false 14:21:04 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:21:04 + '[' 0 -gt 0 ] 14:21:04 + readlink -f ./scripts/build.sh 14:21:04 + dirname /tmp/sdk/scripts/build.sh 14:21:04 + dirname /tmp/sdk/scripts 14:21:04 + ROOT=/tmp/sdk 14:21:04 + cd /tmp/sdk 14:21:04 + mkdir -p /tmp/sdk/build/release 14:21:04 + cd /tmp/sdk/build/release 14:21:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:21:04 -- The C compiler identification is GNU 12.2.1 14:21:04 -- Detecting C compiler ABI info 14:21:04 -- Detecting C compiler ABI info - done 14:21:04 -- Check for working C compiler: /usr/bin/cc - skipped 14:21:04 -- Detecting C compile features 14:21:04 -- Detecting C compile features - done 14:21:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:21:04 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:21:04 -- Found LIBYAML: /usr/lib/libyaml.so 14:21:04 -- Found LIBUUID: /usr/lib/libuuid.so 14:21:04 -- Found LIBCBOR: /usr/lib/libcbor.so 14:21:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:21:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:21:04 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:21:04 -- /opt/iotech/iot/1.5/include 14:21:04 -- C SDK 0.0.0 for Linux 14:21:04 -- Performing Test CSDK_HAVE_ATOMIC 14:21:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:21:05 -- Found Curses: /usr/lib/libcurses.so 14:21:05 -- Configuring done (0.4s) 14:21:05 -- Generating done (0.0s) 14:21:05 -- Build files have been written to: /tmp/sdk/build/release 14:21:05 + make all package 14:21:05 + tee release.log 14:21:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:21:05 Still waiting to schedule task 14:21:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-11674’ is offline 14:21:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:21:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:21:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:21:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:21:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:21:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:21:06 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:21:06 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:21:06 294 | while (privateConfig) 14:21:06 | ^~~~~~~~~~~~~ 14:21:06 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:21:06 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:21:06 | ^~~~~~~~~~~~~ 14:21:06 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:21:06 271 | while (result) 14:21:06 | ^~~~~~ 14:21:06 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:21:06 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:21:06 | ^~~~~~ 14:21:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:21:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:21:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:21:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:21:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:21:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:21:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:21:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:21:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:21:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:21:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:21:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:21:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:21:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:21:09 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:21:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:21:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:21:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:21:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:21:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:21:10 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:21:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:21:10 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:21:10 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:21:10 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:21:10 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:21:10 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:21:10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:21:10 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:21:10 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:21:10 | ^ 14:21:10 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:21:10 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:21:10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:21:10 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 14:21:10 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:21:10 | ^~~~~~~~~~~~~~~~~~~~~ 14:21:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:21:11 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:21:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:21:11 [ 68%] Linking C shared library libcsdk.so 14:21:11 [ 68%] Built target csdk 14:21:11 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:21:11 [ 72%] Linking C executable template 14:21:11 [ 72%] Built target template 14:21:11 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:21:11 [ 76%] Linking C executable device-counter 14:21:11 [ 76%] Built target device-counter 14:21:11 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:21:11 [ 80%] Linking C executable device-random 14:21:11 [ 80%] Built target device-random 14:21:11 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:21:12 [ 84%] Linking C executable device-gyro 14:21:12 [ 84%] Built target device-gyro 14:21:12 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:21:12 [ 88%] Linking C executable device-bitfields 14:21:12 [ 88%] Built target device-bitfields 14:21:12 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:21:12 [ 92%] Linking C executable template-discovery 14:21:12 [ 92%] Built target template-discovery 14:21:12 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:21:12 [ 96%] Linking C executable device-file 14:21:12 [ 96%] Built target device-file 14:21:12 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:21:12 [100%] Linking C executable device-terminal 14:21:12 [100%] Built target device-terminal 14:21:12 Run CPack packaging tool... 14:21:13 CPack: Create package using TGZ 14:21:13 CPack: Install projects 14:21:13 CPack: - Run preinstall target for: Csdk 14:21:13 CPack: - Install project: Csdk [] 14:21:13 CPack: Create package 14:21:13 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:21:13 + '[' false '=' true ] 14:21:13 + '[' false '=' true ] 14:21:13 + mkdir -p /tmp/sdk/build/debug 14:21:13 + cd /tmp/sdk/build/debug 14:21:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:21:13 -- The C compiler identification is GNU 12.2.1 14:21:13 -- Detecting C compiler ABI info 14:21:13 -- Detecting C compiler ABI info - done 14:21:13 -- Check for working C compiler: /usr/bin/cc - skipped 14:21:13 -- Detecting C compile features 14:21:13 -- Detecting C compile features - done 14:21:13 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:21:13 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:21:13 -- Found LIBYAML: /usr/lib/libyaml.so 14:21:13 -- Found LIBUUID: /usr/lib/libuuid.so 14:21:13 -- Found LIBCBOR: /usr/lib/libcbor.so 14:21:13 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:21:13 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:21:13 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:21:13 -- /opt/iotech/iot/1.5/include 14:21:13 -- C SDK 0.0.0 for Linux 14:21:13 -- Performing Test CSDK_HAVE_ATOMIC 14:21:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:21:13 -- Found Curses: /usr/lib/libcurses.so 14:21:13 -- Configuring done (0.5s) 14:21:14 -- Generating done (0.0s) 14:21:14 -- Build files have been written to: /tmp/sdk/build/debug 14:21:14 + make 14:21:14 + tee debug.log 14:21:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:21:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:21:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:21:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:21:14 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:21:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:21:14 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:21:14 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:21:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:21:14 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:21:14 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:21:14 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:21:14 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:21:15 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:21:15 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:21:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:21:15 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:21:15 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:21:15 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:21:15 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:21:15 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:21:15 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:21:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:21:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:21:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:21:15 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:21:15 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:21:16 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:21:16 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:21:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:21:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:21:16 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:21:16 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:21:16 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:21:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:21:16 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:21:16 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:21:16 | ^ 14:21:16 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:21:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:21:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:21:16 [ 68%] Linking C shared library libcsdk.so 14:21:16 [ 68%] Built target csdk 14:21:16 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:21:16 [ 72%] Linking C executable template 14:21:16 [ 72%] Built target template 14:21:16 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:21:17 [ 76%] Linking C executable device-counter 14:21:17 [ 76%] Built target device-counter 14:21:17 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:21:17 [ 80%] Linking C executable device-random 14:21:17 [ 80%] Built target device-random 14:21:17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:21:17 [ 84%] Linking C executable device-gyro 14:21:17 [ 84%] Built target device-gyro 14:21:17 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:21:17 [ 88%] Linking C executable device-bitfields 14:21:17 [ 88%] Built target device-bitfields 14:21:17 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:21:17 [ 92%] Linking C executable template-discovery 14:21:17 [ 92%] Built target template-discovery 14:21:17 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:21:17 [ 96%] Linking C executable device-file 14:21:17 [ 96%] Built target device-file 14:21:17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:21:17 [100%] Linking C executable device-terminal 14:21:18 [100%] Built target device-terminal 14:21:18 make: Entering directory '/tmp/sdk/build/release' 14:21:18 [ 68%] Built target csdk 14:21:18 [ 72%] Built target template 14:21:18 [ 76%] Built target device-counter 14:21:18 [ 80%] Built target device-random 14:21:18 [ 84%] Built target device-gyro 14:21:18 [ 88%] Built target device-bitfields 14:21:18 [ 92%] Built target template-discovery 14:21:18 [ 96%] Built target device-file 14:21:18 [100%] Built target device-terminal 14:21:18 Install the project... 14:21:18 -- Install configuration: "Release" 14:21:18 -- Installing: /usr/local/lib/libcsdk.so 14:21:18 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:21:18 -- Installing: /usr/local/include 14:21:18 -- Installing: /usr/local/include/devsdk 14:21:18 -- Installing: /usr/local/include/devsdk/devsdk.h 14:21:18 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:21:18 -- Installing: /usr/local/include/edgex 14:21:18 -- Installing: /usr/local/include/edgex/edgex.h 14:21:18 -- Installing: /usr/local/include/edgex/devices.h 14:21:18 -- Installing: /usr/local/include/edgex/profiles.h 14:21:18 -- Installing: /usr/local/include/edgex/edgex-base.h 14:21:18 -- Installing: /usr/local/include/edgex/rest-server.h 14:21:18 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:21:18 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:21:18 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:21:18 make: Leaving directory '/tmp/sdk/build/release' 14:21:21 Removing intermediate container ffbf7318505a 14:21:21 ---> cd40f09c5f09 14:21:21 Step 14/22 : FROM ${BASE} 14:21:21 ---> 6605166a5db4 14:21:21 Step 15/22 : LABEL maintainer="IOTech " 14:21:21 ---> Running in e7632a21796c 14:21:21 Removing intermediate container e7632a21796c 14:21:21 ---> 64b4051ac9ea 14:21:21 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:21:21 ---> Running in 4acd9c01936f 14:21:22 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:21:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:21:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:21:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:21:22 Removing intermediate container 4acd9c01936f 14:21:22 ---> 78634f5ceca1 14:21:22 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:21:22 ---> Running in 903cff278423 14:21:23 Removing intermediate container 903cff278423 14:21:23 ---> 70938a898b05 14:21:23 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:21:23 ---> Running in 6b42833203e4 14:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:21:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:21:24 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:21:24 (2/10) Installing curl (8.9.1-r0) 14:21:24 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:21:24 (4/10) Installing dumb-init (1.2.5-r2) 14:21:24 (5/10) Installing hiredis (1.1.0-r2) 14:21:24 (6/10) Installing hiredis-dev (1.1.0-r2) 14:21:24 (7/10) Installing libcbor (0.10.2-r1) 14:21:24 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:21:27 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:21:27 (10/10) Installing libuuid (2.38.1-r8) 14:21:27 Executing busybox-1.36.1-r4.trigger 14:21:27 OK: 331 MiB in 90 packages 14:21:29 Removing intermediate container 6b42833203e4 14:21:29 ---> d1cc81a5324a 14:21:29 Step 19/22 : RUN apk --no-cache upgrade 14:21:29 ---> Running in af86ab5761b0 14:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:21:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:21:30 Upgrading critical system libraries and apk-tools: 14:21:30 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:21:30 Executing busybox-1.36.1-r4.trigger 14:21:30 Continuing the upgrade transaction with new apk-tools: 14:21:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:21:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:21:31 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:21:31 Executing busybox-1.36.1-r7.post-upgrade 14:21:31 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:21:31 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:21:31 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:21:31 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:21:31 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:21:31 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:21:31 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:21:31 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:21:31 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:21:31 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:21:31 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:21:31 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:21:31 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:21:31 Executing busybox-1.36.1-r7.trigger 14:21:31 Executing ca-certificates-20240226-r0.trigger 14:21:31 OK: 331 MiB in 90 packages 14:21:32 Removing intermediate container af86ab5761b0 14:21:32 ---> c332a2c1ca5f 14:21:32 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:21:32 ---> 7dae4de200db 14:21:32 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:21:32 ---> 7ce1503dab24 14:21:32 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:21:32 ---> 500e5ab532e3 14:21:32 Successfully built 500e5ab532e3 14:21:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:33 + docker inspect -f . ci-base-image-x86_64 14:21:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:33 prd-ubuntu20.04-docker-8c-8g-11676 does not seem to be running inside a container 14:21:33 $ 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 14:21:33 $ docker top a56243cdd4adb236a2b5c66a832e2d58db64423d780d8a203f305b3158850eb6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:21:34 + make test 14:21:34 echo "make test" 14:21:34 make test [Pipeline] } 14:21:34 $ docker stop --time=1 a56243cdd4adb236a2b5c66a832e2d58db64423d780d8a203f305b3158850eb6 14:21:35 $ docker rm -f --volumes a56243cdd4adb236a2b5c66a832e2d58db64423d780d8a203f305b3158850eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:21:36 + ls -al . 14:21:36 total 212 14:21:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 14:20 . 14:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:20 .. 14:21:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:20 .git 14:21:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 14:20 .github 14:21:36 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 14:20 .gitignore 14:21:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 14:20 .semver 14:21:36 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 14:20 Attribution.txt 14:21:36 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 14:20 CHANGELOG.md 14:21:36 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 14:20 Doxyfile 14:21:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 14:20 GOVERNANCE.md 14:21:36 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 14:20 Jenkinsfile 14:21:36 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 14:20 LICENSE 14:21:36 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 14:20 Makefile 14:21:36 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 14:20 OWNERS.md 14:21:36 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 14:20 README.IOT.md 14:21:36 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 14:20 README.md 14:21:36 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 14:20 README.v3.md 14:21:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 14:20 VERSION 14:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:20 docs 14:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:20 include 14:21:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:20 scripts 14:21:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:20 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:36 + 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=26af02d3d7786a8b58640e9151a285889f530185 --label arch=amd64 --label version=0.0.0 . 14:21:36 Sending build context to Docker daemon 5.285MB 14:21:36 Step 1/18 : ARG BASE=alpine:3.18 14:21:36 Step 2/18 : FROM ${BASE} 14:21:36 ---> 500e5ab532e3 14:21:36 Step 3/18 : LABEL maintainer="IOTech " 14:21:36 ---> Running in b0fd2c800e58 14:21:36 Removing intermediate container b0fd2c800e58 14:21:36 ---> c4b8c3785161 14:21:36 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:21:36 ---> Running in 8386a86fd591 14:21:37 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:21:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:21:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:21:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:21:37 Removing intermediate container 8386a86fd591 14:21:37 ---> e4354026fdc3 14:21:37 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:21:37 ---> Running in 50a84eaf4011 14:21:38 Removing intermediate container 50a84eaf4011 14:21:38 ---> b1a112612ad6 14:21:38 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:21:38 ---> Running in 2b27e430b77b 14:21:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:21:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:21:39 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:21:39 (2/11) Installing libcbor-dev (0.10.2-r1) 14:21:39 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:21:39 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:21:39 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:21:39 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:21:39 (7/11) Installing libblkid (2.38.1-r8) 14:21:39 (8/11) Installing libfdisk (2.38.1-r8) 14:21:39 (9/11) Installing libmount (2.38.1-r8) 14:21:39 (10/11) Installing libsmartcols (2.38.1-r8) 14:21:39 (11/11) Installing util-linux-dev (2.38.1-r8) 14:21:39 Executing busybox-1.36.1-r7.trigger 14:21:39 OK: 337 MiB in 101 packages 14:21:40 Removing intermediate container 2b27e430b77b 14:21:40 ---> 85b0c86d60ee 14:21:40 Step 7/18 : RUN apk --no-cache upgrade 14:21:40 ---> Running in aba6e930a71a 14:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:21:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:21:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:21:44 OK: 337 MiB in 101 packages 14:21:44 Removing intermediate container aba6e930a71a 14:21:44 ---> f7a27984fff1 14:21:44 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:21:44 ---> b451af655b6f 14:21:44 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:21:44 ---> afea9f7d41c4 14:21:44 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:21:44 ---> c78a01533a04 14:21:44 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:21:44 ---> 67fcbf3f5eab 14:21:44 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:21:45 ---> 7955561da09b 14:21:45 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:21:45 ---> ce274af6b0b3 14:21:45 Step 14/18 : WORKDIR /edgex-c-sdk 14:21:45 ---> Running in 53caeb3cd97d 14:21:45 Removing intermediate container 53caeb3cd97d 14:21:45 ---> 4bb811e1a5de 14:21:45 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:21:45 ---> Running in e35c7a759f32 14:21:45 Removing intermediate container e35c7a759f32 14:21:45 ---> 906c8c18705a 14:21:45 Step 16/18 : LABEL arch=amd64 14:21:45 ---> Running in 700b2927c279 14:21:45 Removing intermediate container 700b2927c279 14:21:45 ---> 2ad4007bee7f 14:21:45 Step 17/18 : LABEL git_sha=26af02d3d7786a8b58640e9151a285889f530185 14:21:45 ---> Running in 7e04833b1546 14:21:45 Removing intermediate container 7e04833b1546 14:21:45 ---> b72c09d9a992 14:21:45 Step 18/18 : LABEL version=0.0.0 14:21:45 ---> Running in 371f3cf68fcd 14:21:45 Removing intermediate container 371f3cf68fcd 14:21:45 ---> 383240561e91 14:21:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:21:45 Successfully built 383240561e91 14:21:45 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:46 14:21:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:46 latest: Pulling from edgex-lftools-log-publisher 14:21:46 5eb5b503b376: Pulling fs layer 14:21:46 5c69ac0246d0: Pulling fs layer 14:21:46 ec43610c2a17: Pulling fs layer 14:21:46 3a2ae6a8a46f: Pulling fs layer 14:21:46 33b1e0a273af: Pulling fs layer 14:21:46 5d3b04190fa2: Pulling fs layer 14:21:46 2f39f015ded8: Pulling fs layer 14:21:46 5d3b04190fa2: Waiting 14:21:46 3a2ae6a8a46f: Waiting 14:21:46 33b1e0a273af: Waiting 14:21:46 2f39f015ded8: Waiting 14:21:46 5c69ac0246d0: Download complete 14:21:46 3a2ae6a8a46f: Download complete 14:21:46 33b1e0a273af: Verifying Checksum 14:21:46 33b1e0a273af: Download complete 14:21:46 5d3b04190fa2: Verifying Checksum 14:21:46 5d3b04190fa2: Download complete 14:21:47 ec43610c2a17: Download complete 14:21:47 5eb5b503b376: Verifying Checksum 14:21:47 5eb5b503b376: Download complete 14:21:47 2f39f015ded8: Download complete 14:21:48 5eb5b503b376: Pull complete 14:21:48 5c69ac0246d0: Pull complete 14:21:49 ec43610c2a17: Pull complete 14:21:49 3a2ae6a8a46f: Pull complete 14:21:49 33b1e0a273af: Pull complete 14:21:49 5d3b04190fa2: Pull complete 14:21:53 2f39f015ded8: Pull complete 14:21:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:53 prd-ubuntu20.04-docker-8c-8g-11676 does not seem to be running inside a container 14:21:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 14:21:59 $ docker top 482aba8a34e13d8d4e874c7847371ac378feec2e26a3a160a316b192f2dc2d27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:21:59 ---> job-cost.sh 14:21:59 lf-activate-venv: SKIPPING 14:21:59 INFO: No Stack... 14:22:00 INFO: Retrieving Pricing Info for: v3-standard-8 14:22:00 INFO: Archiving Costs [Pipeline] sh 14:22:00 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/cost.csv 14:22:00 + cut -d, -f6 [Pipeline] lock 14:22:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] 14:22:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] did not exist. Created. 14:22:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:22:00 + echo total: 0.2199999988079071 [Pipeline] stash 14:22:01 Stashed 1 file(s) [Pipeline] } 14:22:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:22:01 $ docker stop --time=1 482aba8a34e13d8d4e874c7847371ac378feec2e26a3a160a316b192f2dc2d27 14:22:02 $ docker rm -f --volumes 482aba8a34e13d8d4e874c7847371ac378feec2e26a3a160a316b192f2dc2d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:22:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11677 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [Pipeline] { [Pipeline] ws 14:22:43 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 14:22:46 Selected Git installation does not exist. Using Default 14:22:46 The recommended git tool is: NONE 14:22:55 using credential edgex-jenkins-ssh 14:22:55 Cloning the remote Git repository 14:22:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:22:55 > git init /w/workspace/device-sdk-c/2 # timeout=10 14:22:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:22:55 > git --version # timeout=10 14:22:55 > git --version # 'git version 2.25.1' 14:22:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:22:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:22:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:22:58 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:58 > 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 14:22:59 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 26af02d3d7786a8b58640e9151a285889f530185 14:22:59 Merge succeeded, producing 26af02d3d7786a8b58640e9151a285889f530185 14:22:59 Checking out Revision 26af02d3d7786a8b58640e9151a285889f530185 (PR-514) 14:22:59 > git config core.sparsecheckout # timeout=10 14:22:59 > git checkout -f 26af02d3d7786a8b58640e9151a285889f530185 # timeout=10 14:22:59 > git remote # timeout=10 14:22:59 > git config --get remote.origin.url # timeout=10 14:22:59 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:59 > git merge 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 14:22:59 > git rev-parse HEAD^{commit} # timeout=10 14:22:59 > git config core.sparsecheckout # timeout=10 14:22:59 > git checkout -f 26af02d3d7786a8b58640e9151a285889f530185 # timeout=10 14:23:03 Commit message: "feat: Updated example in discovery/template.c" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:23:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:23:05 % Total % Received % Xferd Average Speed Time Time Time Current 14:23:05 Dload Upload Total Spent Left Speed 14:23:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 14:23:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:23:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:23:06 + sudo tee /etc/docker/daemon.new 14:23:06 { 14:23:06 "registry-mirrors": [ 14:23:06 "https://nexus3.edgexfoundry.org:10001" 14:23:06 ], 14:23:06 "bip": "10.250.0.254/24", 14:23:06 "hosts": [ 14:23:06 "tcp://0.0.0.0:5555", 14:23:06 "unix:///var/run/docker.sock" 14:23:06 ], 14:23:06 "mtu": 1458, 14:23:06 "selinux-enabled": true, 14:23:06 "seccomp-profile": "/etc/docker/seccomp.json" 14:23:06 } [Pipeline] sh 14:23:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:23:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:23:25 provisioning config files... 14:23:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config14919429280124904019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:25 ---> ****-login.sh 14:23:25 nexus3.edgexfoundry.org:10001 14:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:26 Configure a credential helper to remove this warning. See 14:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:26 14:23:26 Login Succeeded 14:23:26 nexus3.edgexfoundry.org:10002 14:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:26 Configure a credential helper to remove this warning. See 14:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:26 14:23:26 Login Succeeded 14:23:26 nexus3.edgexfoundry.org:10003 14:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:27 Configure a credential helper to remove this warning. See 14:23:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:27 14:23:27 Login Succeeded 14:23:27 nexus3.edgexfoundry.org:10004 14:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:27 Configure a credential helper to remove this warning. See 14:23:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:27 14:23:27 Login Succeeded 14:23:27 ****.io 14:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:28 Configure a credential helper to remove this warning. See 14:23:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:28 14:23:28 Login Succeeded 14:23:28 ---> ****-login.sh ends [Pipeline] } 14:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:23:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:23:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:23:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:23:28 ========================================================= 14:23:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:23:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:28 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:23:29 Sending build context to Docker daemon 3.248MB 14:23:29 Step 1/22 : ARG BASE=alpine:3.18 14:23:29 Step 2/22 : FROM ${BASE} as builder 14:23:29 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:23:29 579b34f0a95b: Pulling fs layer 14:23:29 e71477ac5e1b: Pulling fs layer 14:23:29 579b34f0a95b: Verifying Checksum 14:23:29 579b34f0a95b: Download complete 14:23:29 579b34f0a95b: Pull complete 14:23:31 e71477ac5e1b: Verifying Checksum 14:23:31 e71477ac5e1b: Download complete 14:23:44 e71477ac5e1b: Pull complete 14:23:44 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:23:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:23:44 ---> 2b552cad5dd9 14:23:44 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:23:44 ---> Running in afa521bb288e 14:23:44 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:23:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:23:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:23:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:23:45 Removing intermediate container afa521bb288e 14:23:45 ---> 8ce02a194843 14:23:45 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:23:45 ---> Running in d14d58e1e35d 14:23:47 Removing intermediate container d14d58e1e35d 14:23:47 ---> c7d70091bb97 14:23:47 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:23:47 ---> Running in afc9e8980b7b 14:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:23:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:23:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:23:50 (1/17) Installing hiredis (1.1.0-r2) 14:23:50 (2/17) Installing hiredis-dev (1.1.0-r2) 14:23:50 (3/17) Installing libcbor (0.10.2-r1) 14:23:50 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:23:51 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:23:51 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:23:51 (7/17) Installing libcbor-dev (0.10.2-r1) 14:23:51 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:23:51 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:23:51 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:23:51 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:23:51 (12/17) Installing libblkid (2.38.1-r8) 14:23:51 (13/17) Installing libuuid (2.38.1-r8) 14:23:51 (14/17) Installing libfdisk (2.38.1-r8) 14:23:51 (15/17) Installing libmount (2.38.1-r8) 14:23:51 (16/17) Installing libsmartcols (2.38.1-r8) 14:23:51 (17/17) Installing util-linux-dev (2.38.1-r8) 14:23:51 Executing busybox-1.36.1-r4.trigger 14:23:51 OK: 333 MiB in 99 packages 14:23:53 Removing intermediate container afc9e8980b7b 14:23:53 ---> 9b419522dfe3 14:23:53 Step 6/22 : RUN mkdir /tmp/sdk 14:23:53 ---> Running in 4bbc8cbcf8d7 14:23:54 Removing intermediate container 4bbc8cbcf8d7 14:23:54 ---> dcb2e4f17f81 14:23:54 Step 7/22 : COPY VERSION /tmp/sdk 14:23:54 ---> f29417d77083 14:23:54 Step 8/22 : COPY src /tmp/sdk/src 14:23:55 ---> 9ebd9f573c8f 14:23:55 Step 9/22 : COPY include /tmp/sdk/include 14:23:56 ---> 763467ebf728 14:23:56 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:23:57 ---> 95bc917fa112 14:23:57 Step 11/22 : COPY LICENSE /tmp/sdk 14:23:57 ---> 01b6d8fd9bca 14:23:57 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:23:58 ---> a509bec4439d 14:23:58 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:23:58 ---> Running in fafee1ff00b0 14:23:59 + CPPCHECK=false 14:23:59 + DOCGEN=false 14:23:59 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:23:59 + '[' 0 -gt 0 ] 14:23:59 + readlink -f ./scripts/build.sh 14:23:59 + dirname /tmp/sdk/scripts/build.sh 14:23:59 + dirname /tmp/sdk/scripts 14:23:59 + ROOT=/tmp/sdk 14:23:59 + cd /tmp/sdk 14:23:59 + mkdir -p /tmp/sdk/build/release 14:23:59 + cd /tmp/sdk/build/release 14:23:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:23:59 -- The C compiler identification is GNU 12.2.1 14:23:59 -- Detecting C compiler ABI info 14:23:59 -- Detecting C compiler ABI info - done 14:23:59 -- Check for working C compiler: /usr/bin/cc - skipped 14:23:59 -- Detecting C compile features 14:23:59 -- Detecting C compile features - done 14:23:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:24:00 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:24:00 -- Found LIBYAML: /usr/lib/libyaml.so 14:24:00 -- Found LIBUUID: /usr/lib/libuuid.so 14:24:00 -- Found LIBCBOR: /usr/lib/libcbor.so 14:24:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:24:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:24:00 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:24:00 -- /opt/iotech/iot/1.5/include 14:24:00 -- C SDK 0.0.0 for Linux 14:24:00 -- Performing Test CSDK_HAVE_ATOMIC 14:24:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:24:00 -- Found Curses: /usr/lib/libcurses.so 14:24:00 -- Configuring done (1.8s) 14:24:01 -- Generating done (0.2s) 14:24:01 -- Build files have been written to: /tmp/sdk/build/release 14:24:01 + make all+ tee release.log 14:24:01  package 14:24:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:24:02 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:24:02 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:24:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:24:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:24:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:24:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:24:08 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:24:08 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:24:08 294 | while (privateConfig) 14:24:08 | ^~~~~~~~~~~~~ 14:24:08 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:24:08 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:24:08 | ^~~~~~~~~~~~~ 14:24:08 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:24:08 271 | while (result) 14:24:08 | ^~~~~~ 14:24:08 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:24:08 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:24:08 | ^~~~~~ 14:24:08 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:24:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:24:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:24:11 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:24:12 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:24:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:24:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:24:14 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:24:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:24:15 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:24:18 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:24:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:24:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:24:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:24:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:24:27 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:24:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:24:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:24:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:24:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:24:31 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:24:32 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:24:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:24:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:24:33 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:24:33 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:24:33 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:24:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:24:33 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:24:33 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:24:33 | ^ 14:24:35 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:24:35 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:24:35 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:24:35 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 14:24:35 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:24:35 | ^~~~~~~~~~~~~~~~~~~~~ 14:24:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:24:37 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:24:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:24:38 [ 68%] Linking C shared library libcsdk.so 14:24:38 [ 68%] Built target csdk 14:24:38 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:24:39 [ 72%] Linking C executable template 14:24:39 [ 72%] Built target template 14:24:39 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:24:40 [ 76%] Linking C executable device-counter 14:24:40 [ 76%] Built target device-counter 14:24:40 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:24:41 [ 80%] Linking C executable device-random 14:24:41 [ 80%] Built target device-random 14:24:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:24:42 [ 84%] Linking C executable device-gyro 14:24:42 [ 84%] Built target device-gyro 14:24:42 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:24:43 [ 88%] Linking C executable device-bitfields 14:24:43 [ 88%] Built target device-bitfields 14:24:43 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:24:44 [ 92%] Linking C executable template-discovery 14:24:44 [ 92%] Built target template-discovery 14:24:44 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:24:45 [ 96%] Linking C executable device-file 14:24:45 [ 96%] Built target device-file 14:24:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:24:46 [100%] Linking C executable device-terminal 14:24:46 [100%] Built target device-terminal 14:24:46 Run CPack packaging tool... 14:24:47 CPack: Create package using TGZ 14:24:47 CPack: Install projects 14:24:47 CPack: - Run preinstall target for: Csdk 14:24:47 CPack: - Install project: Csdk [] 14:24:47 CPack: Create package 14:24:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:24:47 + '[' false '=' true ] 14:24:47 + '[' false '=' true ] 14:24:47 + mkdir -p /tmp/sdk/build/debug 14:24:47 + cd /tmp/sdk/build/debug 14:24:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:24:48 -- The C compiler identification is GNU 12.2.1 14:24:48 -- Detecting C compiler ABI info 14:24:48 -- Detecting C compiler ABI info - done 14:24:48 -- Check for working C compiler: /usr/bin/cc - skipped 14:24:48 -- Detecting C compile features 14:24:48 -- Detecting C compile features - done 14:24:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:24:49 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:24:49 -- Found LIBYAML: /usr/lib/libyaml.so 14:24:49 -- Found LIBUUID: /usr/lib/libuuid.so 14:24:49 -- Found LIBCBOR: /usr/lib/libcbor.so 14:24:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:24:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:24:49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:24:49 -- /opt/iotech/iot/1.5/include 14:24:49 -- C SDK 0.0.0 for Linux 14:24:49 -- Performing Test CSDK_HAVE_ATOMIC 14:24:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:24:49 -- Found Curses: /usr/lib/libcurses.so 14:24:49 -- Configuring done (1.7s) 14:24:49 -- Generating done (0.2s) 14:24:49 -- Build files have been written to: /tmp/sdk/build/debug 14:24:49 + make 14:24:49 + tee debug.log 14:24:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:24:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:24:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:24:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:24:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:24:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:24:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:24:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:24:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:24:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:24:54 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:24:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:24:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:24:55 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:24:55 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:24:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:24:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:24:57 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:24:57 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:24:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:24:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:24:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:24:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:24:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:25:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:25:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:25:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:25:02 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:25:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:25:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:25:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:25:03 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:25:03 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:25:03 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:25:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:25:03 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:25:03 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:25:03 | ^ 14:25:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:25:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:25:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:25:05 [ 68%] Linking C shared library libcsdk.so 14:25:05 [ 68%] Built target csdk 14:25:05 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:25:05 [ 72%] Linking C executable template 14:25:06 [ 72%] Built target template 14:25:06 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:25:06 [ 76%] Linking C executable device-counter 14:25:06 [ 76%] Built target device-counter 14:25:06 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:25:07 [ 80%] Linking C executable device-random 14:25:07 [ 80%] Built target device-random 14:25:07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:25:07 [ 84%] Linking C executable device-gyro 14:25:08 [ 84%] Built target device-gyro 14:25:08 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:25:08 [ 88%] Linking C executable device-bitfields 14:25:08 [ 88%] Built target device-bitfields 14:25:08 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:25:09 [ 92%] Linking C executable template-discovery 14:25:09 [ 92%] Built target template-discovery 14:25:09 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:25:09 [ 96%] Linking C executable device-file 14:25:10 [ 96%] Built target device-file 14:25:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:25:10 [100%] Linking C executable device-terminal 14:25:11 [100%] Built target device-terminal 14:25:11 make: Entering directory '/tmp/sdk/build/release' 14:25:11 [ 68%] Built target csdk 14:25:11 [ 72%] Built target template 14:25:11 [ 76%] Built target device-counter 14:25:11 [ 80%] Built target device-random 14:25:11 [ 84%] Built target device-gyro 14:25:11 [ 88%] Built target device-bitfields 14:25:11 [ 92%] Built target template-discovery 14:25:11 [ 96%] Built target device-file 14:25:11 [100%] Built target device-terminal 14:25:11 Install the project... 14:25:11 -- Install configuration: "Release" 14:25:11 -- Installing: /usr/local/lib/libcsdk.so 14:25:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:25:11 -- Installing: /usr/local/include 14:25:11 -- Installing: /usr/local/include/devsdk 14:25:11 -- Installing: /usr/local/include/devsdk/devsdk.h 14:25:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:25:11 -- Installing: /usr/local/include/edgex 14:25:11 -- Installing: /usr/local/include/edgex/rest-server.h 14:25:11 -- Installing: /usr/local/include/edgex/edgex.h 14:25:11 -- Installing: /usr/local/include/edgex/edgex-base.h 14:25:11 -- Installing: /usr/local/include/edgex/devices.h 14:25:11 -- Installing: /usr/local/include/edgex/profiles.h 14:25:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:25:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:25:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:25:11 make: Leaving directory '/tmp/sdk/build/release' 14:25:13 Removing intermediate container fafee1ff00b0 14:25:13 ---> bdcd91d5e161 14:25:13 Step 14/22 : FROM ${BASE} 14:25:13 ---> 2b552cad5dd9 14:25:13 Step 15/22 : LABEL maintainer="IOTech " 14:25:13 ---> Running in cbd5d04b2b44 14:25:13 Removing intermediate container cbd5d04b2b44 14:25:13 ---> 4ed0b543c3d7 14:25:13 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:25:13 ---> Running in 87935584b0dd 14:25:14 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:25:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:25:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:25:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:25:15 Removing intermediate container 87935584b0dd 14:25:15 ---> a46fae88b568 14:25:15 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:25:15 ---> Running in d5d017e067b4 14:25:17 Removing intermediate container d5d017e067b4 14:25:17 ---> 3309f617700e 14:25:17 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:25:17 ---> Running in 30b4281e334d 14:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:25:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:25:20 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:25:20 (2/10) Installing curl (8.9.1-r0) 14:25:20 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:25:20 (4/10) Installing dumb-init (1.2.5-r2) 14:25:20 (5/10) Installing hiredis (1.1.0-r2) 14:25:20 (6/10) Installing hiredis-dev (1.1.0-r2) 14:25:20 (7/10) Installing libcbor (0.10.2-r1) 14:25:20 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:25:21 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:25:21 (10/10) Installing libuuid (2.38.1-r8) 14:25:21 Executing busybox-1.36.1-r4.trigger 14:25:21 OK: 328 MiB in 90 packages 14:25:22 Removing intermediate container 30b4281e334d 14:25:22 ---> 8cba9355a168 14:25:22 Step 19/22 : RUN apk --no-cache upgrade 14:25:22 ---> Running in af16bd0e0fae 14:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:25:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:25:25 Upgrading critical system libraries and apk-tools: 14:25:25 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:25:25 Executing busybox-1.36.1-r4.trigger 14:25:25 Continuing the upgrade transaction with new apk-tools: 14:25:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:25:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:25:27 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:25:27 Executing busybox-1.36.1-r7.post-upgrade 14:25:27 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:25:27 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:25:27 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:25:27 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:25:27 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:25:27 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:25:27 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:25:27 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:25:27 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:25:27 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:25:27 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:25:27 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:25:27 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:25:27 Executing busybox-1.36.1-r7.trigger 14:25:27 Executing ca-certificates-20240226-r0.trigger 14:25:28 OK: 328 MiB in 90 packages 14:25:30 Removing intermediate container af16bd0e0fae 14:25:30 ---> c75bf9dea346 14:25:30 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:25:30 ---> 6639fa4a5710 14:25:30 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:25:30 ---> 16ab6a3a39eb 14:25:30 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:25:31 ---> 3ca047701602 14:25:31 Successfully built 3ca047701602 14:25:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:32 + docker inspect -f . ci-base-image-arm64 14:25:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:32 prd-ubuntu20.04-docker-arm64-4c-16g-11677 does not seem to be running inside a container 14:25:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:25:33 $ docker top 3c4d5df65929c7dbcfe15a7f7dfa1f65a2adac6b81f88740dae9c914b7042ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:25:34 + make test 14:25:34 echo "make test" 14:25:34 make test [Pipeline] } 14:25:34 $ docker stop --time=1 3c4d5df65929c7dbcfe15a7f7dfa1f65a2adac6b81f88740dae9c914b7042ea5 14:25:36 $ docker rm -f --volumes 3c4d5df65929c7dbcfe15a7f7dfa1f65a2adac6b81f88740dae9c914b7042ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:25:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:25:37 + ls -al . 14:25:37 total 208 14:25:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:22 . 14:25:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:22 .. 14:25:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:22 .git 14:25:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 14:22 .github 14:25:37 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 14:22 .gitignore 14:25:37 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 14:22 Attribution.txt 14:25:37 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 14:22 CHANGELOG.md 14:25:37 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 14:22 Doxyfile 14:25:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 14:22 GOVERNANCE.md 14:25:37 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 14:22 Jenkinsfile 14:25:37 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 14:22 LICENSE 14:25:37 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 14:22 Makefile 14:25:37 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 14:22 OWNERS.md 14:25:37 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 14:22 README.IOT.md 14:25:37 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 14:22 README.md 14:25:37 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 14:22 README.v3.md 14:25:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 14:20 VERSION 14:25:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:22 docs 14:25:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:22 include 14:25:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:22 scripts 14:25:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:22 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:37 + 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=26af02d3d7786a8b58640e9151a285889f530185 --label arch=arm64 --label version=0.0.0 . 14:25:37 Sending build context to Docker daemon 3.248MB 14:25:38 Step 1/18 : ARG BASE=alpine:3.18 14:25:38 Step 2/18 : FROM ${BASE} 14:25:38 ---> 3ca047701602 14:25:38 Step 3/18 : LABEL maintainer="IOTech " 14:25:38 ---> Running in a24b5d03b944 14:25:38 Removing intermediate container a24b5d03b944 14:25:38 ---> 5f211b13982f 14:25:38 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:25:38 ---> Running in c11b59ce5a8a 14:25:39 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:25:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:25:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:25:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:25:40 Removing intermediate container c11b59ce5a8a 14:25:40 ---> 326932abe854 14:25:40 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:25:40 ---> Running in 793c8e426cb3 14:25:42 Removing intermediate container 793c8e426cb3 14:25:42 ---> 48f06b8c2494 14:25:42 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:25:42 ---> Running in 1c53d3673649 14:25:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:25:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:25:44 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:25:45 (2/11) Installing libcbor-dev (0.10.2-r1) 14:25:45 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:25:45 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:25:45 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:25:45 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:25:45 (7/11) Installing libblkid (2.38.1-r8) 14:25:45 (8/11) Installing libfdisk (2.38.1-r8) 14:25:45 (9/11) Installing libmount (2.38.1-r8) 14:25:45 (10/11) Installing libsmartcols (2.38.1-r8) 14:25:45 (11/11) Installing util-linux-dev (2.38.1-r8) 14:25:45 Executing busybox-1.36.1-r7.trigger 14:25:45 OK: 334 MiB in 101 packages 14:25:46 Removing intermediate container 1c53d3673649 14:25:46 ---> bcaedac373f3 14:25:46 Step 7/18 : RUN apk --no-cache upgrade 14:25:46 ---> Running in 2d5b8d1fa90c 14:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:25:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:25:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:25:49 OK: 334 MiB in 101 packages 14:25:50 Removing intermediate container 2d5b8d1fa90c 14:25:50 ---> 3272527ad598 14:25:50 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:25:50 ---> b795e6141cf6 14:25:50 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:25:51 ---> 9368d0cb8a4e 14:25:51 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:25:51 ---> dc6f0f5313d1 14:25:51 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:25:52 ---> 268a6de10ffc 14:25:52 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:25:52 ---> fb1e27b9eed0 14:25:52 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:25:53 ---> 85b9e3d9537e 14:25:53 Step 14/18 : WORKDIR /edgex-c-sdk 14:25:53 ---> Running in 39d81e1a9a23 14:25:53 Removing intermediate container 39d81e1a9a23 14:25:53 ---> b99ea7434e5c 14:25:53 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:25:53 ---> Running in d22dfbe65e2e 14:25:54 Removing intermediate container d22dfbe65e2e 14:25:54 ---> f4a2ff959f77 14:25:54 Step 16/18 : LABEL arch=arm64 14:25:54 ---> Running in e120e71c4ee8 14:25:54 Removing intermediate container e120e71c4ee8 14:25:54 ---> e48df76ae9f7 14:25:54 Step 17/18 : LABEL git_sha=26af02d3d7786a8b58640e9151a285889f530185 14:25:54 ---> Running in a305b6e74907 14:25:54 Removing intermediate container a305b6e74907 14:25:54 ---> 49c451085da2 14:25:54 Step 18/18 : LABEL version=0.0.0 14:25:54 ---> Running in fac87d8ed159 14:25:55 Removing intermediate container fac87d8ed159 14:25:55 ---> ce6dfc745a8a 14:25:55 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:25:55 Successfully built ce6dfc745a8a 14:25:55 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:55 14:25:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:55 arm64: Pulling from edgex-lftools-log-publisher 14:25:55 8998bd30e6a1: Pulling fs layer 14:25:55 04944245beec: Pulling fs layer 14:25:55 699f458cf7ca: Pulling fs layer 14:25:55 765212b225bb: Pulling fs layer 14:25:55 f23df028b6ca: Pulling fs layer 14:25:55 d65c8cfc05b1: Pulling fs layer 14:25:55 2437ff75d9bd: Pulling fs layer 14:25:55 f23df028b6ca: Waiting 14:25:55 765212b225bb: Waiting 14:25:55 d65c8cfc05b1: Waiting 14:25:55 2437ff75d9bd: Waiting 14:25:56 04944245beec: Verifying Checksum 14:25:56 04944245beec: Download complete 14:25:56 765212b225bb: Verifying Checksum 14:25:56 765212b225bb: Download complete 14:25:56 f23df028b6ca: Verifying Checksum 14:25:56 f23df028b6ca: Download complete 14:25:56 d65c8cfc05b1: Verifying Checksum 14:25:56 d65c8cfc05b1: Download complete 14:25:56 699f458cf7ca: Verifying Checksum 14:25:56 699f458cf7ca: Download complete 14:25:56 8998bd30e6a1: Verifying Checksum 14:25:56 8998bd30e6a1: Download complete 14:25:59 2437ff75d9bd: Verifying Checksum 14:25:59 2437ff75d9bd: Download complete 14:26:01 8998bd30e6a1: Pull complete 14:26:01 04944245beec: Pull complete 14:26:03 699f458cf7ca: Pull complete 14:26:03 765212b225bb: Pull complete 14:26:04 f23df028b6ca: Pull complete 14:26:04 d65c8cfc05b1: Pull complete 14:26:23 2437ff75d9bd: Pull complete 14:26:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:26:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:23 prd-ubuntu20.04-docker-arm64-4c-16g-11677 does not seem to be running inside a container 14:26:23 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:26:25 $ docker top df7c59fb8b70b5be7d2ea1a5c047e485c35b6fa68d84f4ba05538098ae1e4445 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:26 ---> job-cost.sh 14:26:26 lf-activate-venv: SKIPPING 14:26:26 INFO: No Stack... 14:26:27 INFO: Retrieving Pricing Info for: v3-standard-4 14:26:27 INFO: Archiving Costs [Pipeline] sh 14:26:28 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 14:26:28 + cut -d, -f6 [Pipeline] lock 14:26:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] 14:26:28 Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] did not exist. Created. 14:26:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:26:29 /w/workspace/device-sdk-c/2@tmp/durable-33b3077e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:26:30 + echo total: 0.10999999940395355 [Pipeline] stash 14:26:30 Warning: overwriting stash ‘stack-cost’ 14:26:30 Stashed 1 file(s) [Pipeline] } 14:26:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:26:30 $ docker stop --time=1 df7c59fb8b70b5be7d2ea1a5c047e485c35b6fa68d84f4ba05538098ae1e4445 14:26:32 $ docker rm -f --volumes df7c59fb8b70b5be7d2ea1a5c047e485c35b6fa68d84f4ba05538098ae1e4445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:26:33 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives ] 14:26:33 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 14:26:33 total 16 14:26:33 drwxr-xr-x 3 root root 4096 Sep 26 14:22 . 14:26:33 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 14:22 .. 14:26:33 drwxr-xr-x 2 root root 4096 Sep 26 14:22 cost 14:26:33 -rw-r--r-- 1 root root 84 Sep 26 14:22 cost.csv 14:26:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 14:26:33 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 14:26:33 total 16 14:26:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 14:22 . 14:26:33 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 14:22 .. 14:26:33 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 14:22 cost 14:26:33 -rw-r--r-- 1 jenkins jenkins 84 Sep 26 14:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:26:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:26:34 ---> package-listing.sh 14:26:34 ++ facter osfamily 14:26:34 ++ tr '[:upper:]' '[:lower:]' 14:26:34 + OS_FAMILY=debian 14:26:34 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-514 14:26:34 + START_PACKAGES=/tmp/packages_start.txt 14:26:34 + END_PACKAGES=/tmp/packages_end.txt 14:26:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:26:34 + PACKAGES=/tmp/packages_start.txt 14:26:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' 14:26:34 + PACKAGES=/tmp/packages_end.txt 14:26:34 + case "${OS_FAMILY}" in 14:26:34 + dpkg -l 14:26:34 + grep '^ii' 14:26:34 + '[' -f /tmp/packages_start.txt ']' 14:26:34 + '[' -f /tmp/packages_end.txt ']' 14:26:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:26:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' 14:26:34 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ 14:26:34 + 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 14:26:34 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 14:26:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:26:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:35 prd-ubuntu20.04-docker-8c-8g-11676 does not seem to be running inside a container 14:26:35 $ 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 14:26:35 $ docker top 51c75e2556c479d9ddb95252f18097aa61f40f0a131510a5fb83d8b9b8c290e9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:36 + touch /tmp/pre-build-complete [Pipeline] sh 14:26:36 + mkdir -p /var/log/sysstat [Pipeline] sh 14:26:36 + ls /var/log/sa-host 14:26:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:36 provisioning config files... 14:26:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config4902687918923105955tmp [Pipeline] { [Pipeline] echo 14:26:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:26:37 ---> create-netrc.sh [Pipeline] } 14:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:26:37 ---> python-tools-install.sh [Pipeline] echo 14:26:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:26:37 ---> sudo-logs.sh 14:26:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:26:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:26:38 ---> job-cost.sh 14:26:38 lf-activate-venv: SKIPPING 14:26:38 DEBUG: total: 0.2199999988079071 14:26:38 INFO: Retrieving Stack Cost... 14:26:38 INFO: Retrieving Pricing Info for: v3-standard-8 14:26:38 INFO: Archiving Costs [Pipeline] echo 14:26:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:26:39 ---> logs-deploy.sh 14:26:39 lf-activate-venv: SKIPPING 14:26:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-514/2 14:26:39 INFO: archiving workspace using pattern(s): 14:26:39 Archives upload complete. 14:26:39 INFO: archiving logs to Nexus