Pull request #513 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than e3990ef7270bffea63c659f6e7b10f2e35825ab8 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8073172560093682356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11673763779071971951.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11557520151007012792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9058178661847193171.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1143124576035013770.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-10605’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10608 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit e3990ef7270bffea63c659f6e7b10f2e35825ab8 > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 Merge succeeded, producing e3990ef7270bffea63c659f6e7b10f2e35825ab8 Checking out Revision e3990ef7270bffea63c659f6e7b10f2e35825ab8 (PR-513) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 Commit message: "feat: Update function comment" First time build. Skipping changelog. > git rev-list --no-walk c5a2e83cc9eed401c9d22d0044bc9e373fc06a76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-18T14:06:04.682Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-18T14:06:04.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-18T14:06:04.776Z] ========================================================= [2024-09-18T14:06:04.776Z] EdgeX Global Pipelines Version Info [2024-09-18T14:06:04.776Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:06:05.509Z] ------------------- [2024-09-18T14:06:05.509Z] stable info: [2024-09-18T14:06:05.509Z] ------------------- [2024-09-18T14:06:05.510Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-18T14:06:05.510Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-18T14:06:05.510Z] Message: update stable to v1.0.263 [2024-09-18T14:06:06.081Z] ------------------- [2024-09-18T14:06:06.081Z] experimental info: [2024-09-18T14:06:06.081Z] ------------------- [2024-09-18T14:06:06.081Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-18T14:06:06.081Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-18T14:06:06.081Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-18T14:06:06.170Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-18T14:06:06.194Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-18T14:06:06.217Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-18T14:06:06.246Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-18T14:06:06.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-18T14:06:06.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-18T14:06:06.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-18T14:06:06.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-18T14:06:06.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-18T14:06:06.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-18T14:06:06.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-18T14:06:06.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-18T14:06:06.452Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-18T14:06:06.473Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-18T14:06:06.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-18T14:06:06.512Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-18T14:06:06.535Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-18T14:06:06.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-18T14:06:06.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-18T14:06:06.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-18T14:06:06.614Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo [2024-09-18T14:06:06.633Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3990ef [Pipeline] echo [2024-09-18T14:06:06.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:06:06.723Z] provisioning config files... [2024-09-18T14:06:06.735Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config11884823984095739328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:06:07.070Z] ---> ****-login.sh [2024-09-18T14:06:07.070Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:06:07.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:07.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:07.332Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:07.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:07.332Z] [2024-09-18T14:06:07.332Z] Login Succeeded [2024-09-18T14:06:07.332Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:06:07.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:07.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:07.332Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:07.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:07.332Z] [2024-09-18T14:06:07.332Z] Login Succeeded [2024-09-18T14:06:07.332Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:06:07.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:07.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:07.593Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:07.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:07.593Z] [2024-09-18T14:06:07.593Z] Login Succeeded [2024-09-18T14:06:07.593Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:06:07.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:07.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:07.594Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:07.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:07.594Z] [2024-09-18T14:06:07.594Z] Login Succeeded [2024-09-18T14:06:07.594Z] ****.io [2024-09-18T14:06:07.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:07.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:07.854Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:07.854Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:07.854Z] [2024-09-18T14:06:07.854Z] Login Succeeded [2024-09-18T14:06:07.854Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:06:07.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-09-18T14:06:08.274Z] + git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo [2024-09-18T14:06:08.301Z] -----------> git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [false] [Pipeline] sh [2024-09-18T14:06:08.594Z] + git log --format=format:%s -1 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo [2024-09-18T14:06:08.612Z] ========================================================= [2024-09-18T14:06:08.612Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-18T14:06:08.612Z] ========================================================= 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 [2024-09-18T14:06:09.077Z] + git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo [2024-09-18T14:06:09.091Z] -----------> git rev-list -1 --merges e3990ef7270bffea63c659f6e7b10f2e35825ab8~1..e3990ef7270bffea63c659f6e7b10f2e35825ab8 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [false] [Pipeline] sh [2024-09-18T14:06:09.384Z] + git log --format=format:%s -1 e3990ef7270bffea63c659f6e7b10f2e35825ab8 [Pipeline] echo [2024-09-18T14:06:09.397Z] ========================================================= [2024-09-18T14:06:09.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-18T14:06:09.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-18T14:06:09.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-18T14:06:09.795Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-18T14:06:09.795Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-18T14:06:09.795Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-18T14:06:09.795Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-18T14:06:09.795Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-18T14:06:09.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:06:10.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:06:10.163Z] [2024-09-18T14:06:10.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:06:10.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:06:10.475Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-18T14:06:10.475Z] b85a868b505f: Pulling fs layer [2024-09-18T14:06:10.475Z] e2be974225ed: Pulling fs layer [2024-09-18T14:06:10.475Z] 339a4e72a1f5: Pulling fs layer [2024-09-18T14:06:10.475Z] 988bab9f4d93: Pulling fs layer [2024-09-18T14:06:10.475Z] 1469e6f7b9e6: Pulling fs layer [2024-09-18T14:06:10.475Z] eaf3925da568: Pulling fs layer [2024-09-18T14:06:10.475Z] bab4dde63d76: Pulling fs layer [2024-09-18T14:06:10.475Z] bde34c3a00c8: Pulling fs layer [2024-09-18T14:06:10.475Z] b352a97aabf1: Pulling fs layer [2024-09-18T14:06:10.475Z] 988bab9f4d93: Waiting [2024-09-18T14:06:10.475Z] bab4dde63d76: Waiting [2024-09-18T14:06:10.475Z] bde34c3a00c8: Waiting [2024-09-18T14:06:10.475Z] 4872d77fe225: Pulling fs layer [2024-09-18T14:06:10.475Z] 5851b861e8e6: Pulling fs layer [2024-09-18T14:06:10.475Z] b352a97aabf1: Waiting [2024-09-18T14:06:10.475Z] 5851b861e8e6: Waiting [2024-09-18T14:06:10.475Z] 4872d77fe225: Waiting [2024-09-18T14:06:10.475Z] e2be974225ed: Verifying Checksum [2024-09-18T14:06:10.475Z] e2be974225ed: Download complete [2024-09-18T14:06:10.475Z] 988bab9f4d93: Download complete [2024-09-18T14:06:10.475Z] 1469e6f7b9e6: Verifying Checksum [2024-09-18T14:06:10.475Z] 1469e6f7b9e6: Download complete [2024-09-18T14:06:10.475Z] 339a4e72a1f5: Verifying Checksum [2024-09-18T14:06:10.475Z] 339a4e72a1f5: Download complete [2024-09-18T14:06:10.475Z] eaf3925da568: Verifying Checksum [2024-09-18T14:06:10.475Z] eaf3925da568: Download complete [2024-09-18T14:06:10.736Z] bde34c3a00c8: Verifying Checksum [2024-09-18T14:06:10.736Z] bde34c3a00c8: Download complete [2024-09-18T14:06:10.736Z] b352a97aabf1: Verifying Checksum [2024-09-18T14:06:10.736Z] 4872d77fe225: Download complete [2024-09-18T14:06:10.736Z] 5851b861e8e6: Verifying Checksum [2024-09-18T14:06:10.736Z] 5851b861e8e6: Download complete [2024-09-18T14:06:10.736Z] b85a868b505f: Verifying Checksum [2024-09-18T14:06:10.736Z] b85a868b505f: Download complete [2024-09-18T14:06:10.996Z] bab4dde63d76: Verifying Checksum [2024-09-18T14:06:10.996Z] bab4dde63d76: Download complete [2024-09-18T14:06:11.937Z] b85a868b505f: Pull complete [2024-09-18T14:06:12.197Z] e2be974225ed: Pull complete [2024-09-18T14:06:12.456Z] 339a4e72a1f5: Pull complete [2024-09-18T14:06:12.456Z] 988bab9f4d93: Pull complete [2024-09-18T14:06:13.026Z] 1469e6f7b9e6: Pull complete [2024-09-18T14:06:13.026Z] eaf3925da568: Pull complete [2024-09-18T14:06:14.933Z] bab4dde63d76: Pull complete [2024-09-18T14:06:14.933Z] bde34c3a00c8: Pull complete [2024-09-18T14:06:14.933Z] b352a97aabf1: Pull complete [2024-09-18T14:06:14.933Z] 4872d77fe225: Pull complete [2024-09-18T14:06:15.194Z] 5851b861e8e6: Pull complete [2024-09-18T14:06:15.194Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-18T14:06:15.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:06:15.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:06:15.342Z] prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container [2024-09-18T14:06:15.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-18T14:06:18.462Z] $ docker top a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b -eo pid,comm [2024-09-18T14:06:18.521Z] 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). [2024-09-18T14:06:18.521Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-18T14:06:18.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-18T14:06:18.570Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-18T14:06:18.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-18T14:06:18.685Z] $ docker exec a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent [2024-09-18T14:06:18.784Z] SSH_AUTH_SOCK=/tmp/ssh-WVrEjwTc1DbZ/agent.32 [2024-09-18T14:06:18.784Z] SSH_AGENT_PID=38 [2024-09-18T14:06:18.791Z] Running ssh-add (command line suppressed) [2024-09-18T14:06:18.900Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_7740570804482211629.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_7740570804482211629.key) [2024-09-18T14:06:18.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-18T14:06:19.208Z] + git tag --points-at HEAD [Pipeline] } [2024-09-18T14:06:19.221Z] $ docker exec --env ******** --env ******** a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent -k [2024-09-18T14:06:19.316Z] unset SSH_AUTH_SOCK; [2024-09-18T14:06:19.316Z] unset SSH_AGENT_PID; [2024-09-18T14:06:19.317Z] echo Agent pid 38 killed; [2024-09-18T14:06:19.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-18T14:06:19.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-18T14:06:19.368Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-18T14:06:19.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-18T14:06:19.476Z] $ docker exec a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent [2024-09-18T14:06:19.579Z] SSH_AUTH_SOCK=/tmp/ssh-G3QRQNYJCHCT/agent.73 [2024-09-18T14:06:19.579Z] SSH_AGENT_PID=79 [2024-09-18T14:06:19.583Z] Running ssh-add (command line suppressed) [2024-09-18T14:06:19.686Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_1314186520117456590.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_1314186520117456590.key) [2024-09-18T14:06:19.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-18T14:06:19.992Z] + git semver init [2024-09-18T14:06:20.252Z] 2024-09-18 14:06:20,175 [run_init] DEBUG init version:0.0.0 force:False [2024-09-18T14:06:20.252Z] 2024-09-18 14:06:20,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-18T14:06:20.252Z] 2024-09-18 14:06:20,176 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-18T14:06:20.252Z] 2024-09-18 14:06:20,176 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,938 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,938 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,939 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,943 [execute] INFO git cat-file --batch-check [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,949 [execute] INFO git cat-file --batch [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-18T14:06:21.194Z] 2024-09-18 14:06:20,954 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-18T14:06:21.194Z] 0.0.0 [Pipeline] } [2024-09-18T14:06:21.202Z] $ docker exec --env ******** --env ******** a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b ssh-agent -k [2024-09-18T14:06:21.309Z] unset SSH_AUTH_SOCK; [2024-09-18T14:06:21.309Z] unset SSH_AGENT_PID; [2024-09-18T14:06:21.309Z] echo Agent pid 79 killed; [2024-09-18T14:06:21.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-18T14:06:21.642Z] + git semver [Pipeline] } [2024-09-18T14:06:21.915Z] $ docker stop --time=1 a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b [2024-09-18T14:06:23.217Z] $ docker rm -f --volumes a94dc05ddd22e8e62a869b982caebb1705b1fcdfcaaf2c48d5c9b62a816d4f5b [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-18T14:06:23.565Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-18T14:06:23.818Z] Stashed 1 file(s) [Pipeline] echo [2024-09-18T14:06:23.822Z] [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 [2024-09-18T14:06:23.970Z] provisioning config files... [2024-09-18T14:06:23.981Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config17007858115460976473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:06:24.281Z] ---> ****-login.sh [2024-09-18T14:06:24.281Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:06:24.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:24.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:24.281Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:24.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:24.282Z] [2024-09-18T14:06:24.282Z] Login Succeeded [2024-09-18T14:06:24.282Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:06:24.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:24.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:24.282Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:24.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:24.282Z] [2024-09-18T14:06:24.282Z] Login Succeeded [2024-09-18T14:06:24.282Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:06:24.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:24.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:24.544Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:24.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:24.544Z] [2024-09-18T14:06:24.544Z] Login Succeeded [2024-09-18T14:06:24.544Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:06:24.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:24.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:24.544Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:24.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:24.545Z] [2024-09-18T14:06:24.545Z] Login Succeeded [2024-09-18T14:06:24.545Z] ****.io [2024-09-18T14:06:24.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:06:24.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:06:24.805Z] Configure a credential helper to remove this warning. See [2024-09-18T14:06:24.805Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:06:24.805Z] [2024-09-18T14:06:24.805Z] Login Succeeded [2024-09-18T14:06:24.805Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:06:24.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-18T14:06:24.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:06:24.947Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-18T14:06:24.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:06:24.982Z] ========================================================= [2024-09-18T14:06:24.982Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-18T14:06:24.982Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:06:25.317Z] + 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 . [2024-09-18T14:06:25.317Z] Sending build context to Docker daemon 5.196MB [2024-09-18T14:06:25.317Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-18T14:06:25.317Z] Step 2/22 : FROM ${BASE} as builder [2024-09-18T14:06:25.317Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-18T14:06:25.317Z] 96526aa774ef: Pulling fs layer [2024-09-18T14:06:25.317Z] da60e534fd72: Pulling fs layer [2024-09-18T14:06:25.576Z] 96526aa774ef: Verifying Checksum [2024-09-18T14:06:25.576Z] 96526aa774ef: Download complete [2024-09-18T14:06:25.576Z] 96526aa774ef: Pull complete [2024-09-18T14:06:26.144Z] da60e534fd72: Verifying Checksum [2024-09-18T14:06:26.144Z] da60e534fd72: Download complete [2024-09-18T14:06:29.429Z] da60e534fd72: Pull complete [2024-09-18T14:06:29.429Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-18T14:06:29.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-18T14:06:29.429Z] ---> 6605166a5db4 [2024-09-18T14:06:29.429Z] 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 [2024-09-18T14:06:32.010Z] ---> Running in 9f3e50a600b3 [2024-09-18T14:06:32.269Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-18T14:06:32.838Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:06:32.838Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:06:32.838Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:06:33.098Z] Removing intermediate container 9f3e50a600b3 [2024-09-18T14:06:33.098Z] ---> 24a69ea6f1a1 [2024-09-18T14:06:33.098Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:06:33.098Z] ---> Running in 665b184a4498 [2024-09-18T14:06:33.668Z] Removing intermediate container 665b184a4498 [2024-09-18T14:06:33.668Z] ---> 28c6e2c34ce3 [2024-09-18T14:06:33.668Z] 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 [2024-09-18T14:06:33.668Z] ---> Running in 6a31ca1b41e5 [2024-09-18T14:06:33.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:33.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:34.188Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:34.759Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:06:34.759Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-18T14:06:34.759Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:06:34.759Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-18T14:06:34.759Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:06:35.328Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:06:35.588Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:06:35.588Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:06:35.849Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:06:35.849Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:06:35.849Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:06:35.849Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:06:35.849Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-18T14:06:35.849Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-18T14:06:35.849Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-18T14:06:35.849Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-18T14:06:35.849Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:06:35.849Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:06:35.849Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:06:35.849Z] OK: 336 MiB in 99 packages [2024-09-18T14:06:36.786Z] Removing intermediate container 6a31ca1b41e5 [2024-09-18T14:06:36.786Z] ---> 3fdd8d8f8392 [2024-09-18T14:06:36.786Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-18T14:06:37.054Z] ---> Running in 1886cb6fe4fd [2024-09-18T14:06:37.621Z] Removing intermediate container 1886cb6fe4fd [2024-09-18T14:06:37.621Z] ---> b9f34c3e0658 [2024-09-18T14:06:37.621Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-18T14:06:37.621Z] ---> 8e9e97e460c8 [2024-09-18T14:06:37.621Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-18T14:06:37.880Z] ---> 8d194997f63a [2024-09-18T14:06:37.880Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-18T14:06:38.139Z] ---> cc82ae82bae7 [2024-09-18T14:06:38.139Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-18T14:06:38.139Z] ---> 59df18f6f421 [2024-09-18T14:06:38.139Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-18T14:06:38.139Z] ---> 32349286f127 [2024-09-18T14:06:38.139Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-18T14:06:38.399Z] ---> ec70bac307ae [2024-09-18T14:06:38.399Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-18T14:06:38.399Z] ---> Running in 42aa7b9ac8f8 [2024-09-18T14:06:38.658Z] + CPPCHECK=false [2024-09-18T14:06:38.658Z] + DOCGEN=false [2024-09-18T14:06:38.658Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-18T14:06:38.658Z] + '[' 0 -gt 0 ] [2024-09-18T14:06:38.658Z] + readlink -f ./scripts/build.sh [2024-09-18T14:06:38.658Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-18T14:06:38.658Z] + dirname /tmp/sdk/scripts [2024-09-18T14:06:38.658Z] + ROOT=/tmp/sdk [2024-09-18T14:06:38.658Z] + cd /tmp/sdk [2024-09-18T14:06:38.658Z] + mkdir -p /tmp/sdk/build/release [2024-09-18T14:06:38.658Z] + cd /tmp/sdk/build/release [2024-09-18T14:06:38.658Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-18T14:06:38.658Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:06:38.658Z] -- Detecting C compiler ABI info [2024-09-18T14:06:38.917Z] -- Detecting C compiler ABI info - done [2024-09-18T14:06:38.917Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:06:38.917Z] -- Detecting C compile features [2024-09-18T14:06:38.917Z] -- Detecting C compile features - done [2024-09-18T14:06:38.917Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:06:38.917Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:06:38.917Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:06:38.917Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:06:38.917Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:06:38.917Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:06:38.917Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:06:38.917Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:06:38.917Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:06:38.917Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:06:38.917Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:06:38.925Z] Still waiting to schedule task [2024-09-18T14:06:38.926Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10606’ is offline [2024-09-18T14:06:39.177Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:06:39.177Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:06:39.177Z] -- Configuring done (0.4s) [2024-09-18T14:06:39.177Z] -- Generating done (0.0s) [2024-09-18T14:06:39.177Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-18T14:06:39.177Z] + make all package [2024-09-18T14:06:39.177Z] + tee release.log [2024-09-18T14:06:39.177Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:06:39.436Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:06:39.437Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:06:39.437Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:06:39.695Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:06:39.695Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:06:39.955Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:06:40.215Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-18T14:06:40.215Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:06:40.215Z] 294 | while (privateConfig) [2024-09-18T14:06:40.215Z] | ^~~~~~~~~~~~~ [2024-09-18T14:06:40.215Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-18T14:06:40.215Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:06:40.215Z] | ^~~~~~~~~~~~~ [2024-09-18T14:06:40.215Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:06:40.215Z] 271 | while (result) [2024-09-18T14:06:40.215Z] | ^~~~~~ [2024-09-18T14:06:40.215Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-18T14:06:40.215Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:06:40.215Z] | ^~~~~~ [2024-09-18T14:06:40.215Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:06:40.215Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:06:40.473Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:06:40.733Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:06:40.733Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:06:40.994Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:06:40.994Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:06:41.254Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:06:41.254Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:06:41.254Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:06:41.823Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:06:41.823Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:06:41.823Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:06:42.083Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:06:43.020Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:06:43.020Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:06:43.279Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:06:43.279Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:06:43.279Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:06:43.539Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:06:43.799Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:06:44.059Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:06:44.059Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:06:44.059Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:06:44.319Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:06:44.319Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:06:44.319Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:06:44.319Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:06:44.319Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:06:44.319Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:06:44.319Z] | ^ [2024-09-18T14:06:44.319Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:06:44.319Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-18T14:06:44.319Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:06:44.319Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-18T14:06:44.319Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-18T14:06:44.319Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:06:44.580Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:06:44.580Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:06:44.841Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:06:44.841Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:06:44.841Z] [ 68%] Built target csdk [2024-09-18T14:06:44.841Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:06:44.841Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:06:44.841Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:06:44.841Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:06:44.841Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:06:44.841Z] | | [2024-09-18T14:06:44.841Z] | void (*)(void *) [2024-09-18T14:06:44.841Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:06:44.841Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:06:44.841Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:06:44.841Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:06:45.101Z] [ 72%] Linking C executable template [2024-09-18T14:06:45.101Z] [ 72%] Built target template [2024-09-18T14:06:45.101Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:06:45.101Z] [ 76%] Linking C executable device-counter [2024-09-18T14:06:45.362Z] [ 76%] Built target device-counter [2024-09-18T14:06:45.362Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:06:45.362Z] [ 80%] Linking C executable device-random [2024-09-18T14:06:45.362Z] [ 80%] Built target device-random [2024-09-18T14:06:45.362Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:06:45.622Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:06:45.622Z] [ 84%] Built target device-gyro [2024-09-18T14:06:45.622Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:06:45.622Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:06:45.882Z] [ 88%] Built target device-bitfields [2024-09-18T14:06:45.882Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:06:45.882Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:06:45.882Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:06:45.882Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:06:45.882Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:06:45.882Z] | | [2024-09-18T14:06:45.882Z] | void (*)(void *) [2024-09-18T14:06:45.882Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:06:45.882Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:06:45.882Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:06:45.882Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:06:45.882Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:06:46.144Z] [ 92%] Built target template-discovery [2024-09-18T14:06:46.144Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:06:46.144Z] [ 96%] Linking C executable device-file [2024-09-18T14:06:46.144Z] [ 96%] Built target device-file [2024-09-18T14:06:46.144Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:06:46.404Z] [100%] Linking C executable device-terminal [2024-09-18T14:06:46.404Z] [100%] Built target device-terminal [2024-09-18T14:06:46.404Z] Run CPack packaging tool... [2024-09-18T14:06:46.404Z] CPack: Create package using TGZ [2024-09-18T14:06:46.404Z] CPack: Install projects [2024-09-18T14:06:46.404Z] CPack: - Run preinstall target for: Csdk [2024-09-18T14:06:46.664Z] CPack: - Install project: Csdk [] [2024-09-18T14:06:46.664Z] CPack: Create package [2024-09-18T14:06:46.664Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-18T14:06:46.664Z] + '[' false '=' true ] [2024-09-18T14:06:46.664Z] + '[' false '=' true ] [2024-09-18T14:06:46.664Z] + mkdir -p /tmp/sdk/build/debug [2024-09-18T14:06:46.664Z] + cd /tmp/sdk/build/debug [2024-09-18T14:06:46.664Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-18T14:06:46.664Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:06:46.925Z] -- Detecting C compiler ABI info [2024-09-18T14:06:46.925Z] -- Detecting C compiler ABI info - done [2024-09-18T14:06:46.925Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:06:46.925Z] -- Detecting C compile features [2024-09-18T14:06:46.925Z] -- Detecting C compile features - done [2024-09-18T14:06:46.925Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:06:46.925Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:06:46.925Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:06:46.925Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:06:46.925Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:06:46.925Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:06:46.925Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:06:46.925Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:06:46.925Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:06:46.925Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:06:46.925Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:06:47.186Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:06:47.186Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:06:47.186Z] -- Configuring done (0.4s) [2024-09-18T14:06:47.186Z] -- Generating done (0.0s) [2024-09-18T14:06:47.186Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-18T14:06:47.186Z] + tee debug.log [2024-09-18T14:06:47.186Z] + make [2024-09-18T14:06:47.186Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:06:47.186Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:06:47.444Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:06:47.444Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:06:47.444Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:06:47.705Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:06:47.705Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:06:47.705Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:06:47.705Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:06:47.965Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:06:47.965Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:06:47.965Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:06:48.225Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:06:48.225Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:06:48.225Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:06:48.484Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:06:48.484Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:06:48.484Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:06:48.484Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:06:48.744Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:06:48.744Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:06:49.004Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:06:49.004Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:06:49.004Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:06:49.265Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:06:49.265Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:06:49.265Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:06:49.528Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:06:49.528Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:06:49.528Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:06:49.787Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:06:49.787Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:06:49.787Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:06:49.787Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:06:49.787Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:06:49.787Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:06:49.787Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:06:49.787Z] | ^ [2024-09-18T14:06:49.787Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:06:50.047Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:06:50.047Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:06:50.047Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:06:50.047Z] [ 68%] Built target csdk [2024-09-18T14:06:50.047Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:06:50.047Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:06:50.047Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:06:50.047Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:06:50.047Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:06:50.047Z] | | [2024-09-18T14:06:50.047Z] | void (*)(void *) [2024-09-18T14:06:50.047Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:06:50.047Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:06:50.047Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:06:50.047Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:06:50.308Z] [ 72%] Linking C executable template [2024-09-18T14:06:50.308Z] [ 72%] Built target template [2024-09-18T14:06:50.308Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:06:50.308Z] [ 76%] Linking C executable device-counter [2024-09-18T14:06:50.308Z] [ 76%] Built target device-counter [2024-09-18T14:06:50.569Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:06:50.569Z] [ 80%] Linking C executable device-random [2024-09-18T14:06:50.569Z] [ 80%] Built target device-random [2024-09-18T14:06:50.569Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:06:50.569Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:06:50.832Z] [ 84%] Built target device-gyro [2024-09-18T14:06:50.832Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:06:50.832Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:06:50.832Z] [ 88%] Built target device-bitfields [2024-09-18T14:06:50.832Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:06:50.832Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:06:50.832Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:06:50.832Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:06:50.832Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:06:50.832Z] | | [2024-09-18T14:06:50.832Z] | void (*)(void *) [2024-09-18T14:06:50.832Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:06:50.832Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:06:50.832Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:06:50.832Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:06:50.832Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:06:51.091Z] [ 92%] Built target template-discovery [2024-09-18T14:06:51.091Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:06:51.091Z] [ 96%] Linking C executable device-file [2024-09-18T14:06:51.091Z] [ 96%] Built target device-file [2024-09-18T14:06:51.091Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:06:51.349Z] [100%] Linking C executable device-terminal [2024-09-18T14:06:51.349Z] [100%] Built target device-terminal [2024-09-18T14:06:51.349Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-18T14:06:51.349Z] [ 68%] Built target csdk [2024-09-18T14:06:51.349Z] [ 72%] Built target template [2024-09-18T14:06:51.349Z] [ 76%] Built target device-counter [2024-09-18T14:06:51.349Z] [ 80%] Built target device-random [2024-09-18T14:06:51.349Z] [ 84%] Built target device-gyro [2024-09-18T14:06:51.350Z] [ 88%] Built target device-bitfields [2024-09-18T14:06:51.609Z] [ 92%] Built target template-discovery [2024-09-18T14:06:51.609Z] [ 96%] Built target device-file [2024-09-18T14:06:51.609Z] [100%] Built target device-terminal [2024-09-18T14:06:51.609Z] Install the project... [2024-09-18T14:06:51.609Z] -- Install configuration: "Release" [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-18T14:06:51.609Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/devsdk [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-18T14:06:51.609Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-18T14:06:51.609Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-18T14:06:52.178Z] Removing intermediate container 42aa7b9ac8f8 [2024-09-18T14:06:52.178Z] ---> 517fd20a1140 [2024-09-18T14:06:52.178Z] Step 14/22 : FROM ${BASE} [2024-09-18T14:06:52.178Z] ---> 6605166a5db4 [2024-09-18T14:06:52.178Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-18T14:06:52.178Z] ---> Running in 5fcab20484ac [2024-09-18T14:06:52.437Z] Removing intermediate container 5fcab20484ac [2024-09-18T14:06:52.437Z] ---> 9852bd523c1a [2024-09-18T14:06:52.437Z] 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 [2024-09-18T14:06:52.437Z] ---> Running in 339a05f02040 [2024-09-18T14:06:52.697Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-18T14:06:52.955Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:06:52.955Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:06:52.955Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:06:53.215Z] Removing intermediate container 339a05f02040 [2024-09-18T14:06:53.215Z] ---> 110c77d7b058 [2024-09-18T14:06:53.215Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:06:53.474Z] ---> Running in 8b5a51489ffe [2024-09-18T14:06:54.044Z] Removing intermediate container 8b5a51489ffe [2024-09-18T14:06:54.044Z] ---> fd4ccc9bee24 [2024-09-18T14:06:54.044Z] 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 [2024-09-18T14:06:54.044Z] ---> Running in 691d2ff6f154 [2024-09-18T14:06:54.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:54.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:54.568Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:55.136Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:06:55.137Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:06:55.137Z] (2/10) Installing curl (8.9.1-r0) [2024-09-18T14:06:55.137Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:06:55.137Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-18T14:06:55.137Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-18T14:06:55.137Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:06:55.137Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-18T14:06:55.137Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:06:55.706Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:06:55.966Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-18T14:06:55.966Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:06:55.966Z] OK: 331 MiB in 90 packages [2024-09-18T14:06:56.536Z] Removing intermediate container 691d2ff6f154 [2024-09-18T14:06:56.536Z] ---> 130864f35609 [2024-09-18T14:06:56.536Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-18T14:06:56.537Z] ---> Running in b0d2a88ab713 [2024-09-18T14:06:56.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:56.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:56.796Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:57.366Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:06:57.366Z] Upgrading critical system libraries and apk-tools: [2024-09-18T14:06:57.366Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-18T14:06:57.366Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:06:57.366Z] Continuing the upgrade transaction with new apk-tools: [2024-09-18T14:06:57.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:57.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:57.625Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:06:58.195Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:06:58.195Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:06:58.195Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-18T14:06:58.195Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:06:58.195Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-18T14:06:58.195Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:06:58.195Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:06:58.195Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:06:58.195Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-18T14:06:58.195Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-18T14:06:58.195Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-18T14:06:58.195Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:06:58.195Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-18T14:06:58.453Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:06:58.453Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:06:58.453Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:06:58.453Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:06:58.453Z] Executing ca-certificates-20240226-r0.trigger [2024-09-18T14:06:58.453Z] OK: 331 MiB in 90 packages [2024-09-18T14:06:59.392Z] Removing intermediate container b0d2a88ab713 [2024-09-18T14:06:59.392Z] ---> cbce3a9afc4f [2024-09-18T14:06:59.392Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-18T14:06:59.392Z] ---> 22c885e687f6 [2024-09-18T14:06:59.392Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-18T14:06:59.651Z] ---> c2fcf416cd37 [2024-09-18T14:06:59.651Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-18T14:06:59.911Z] ---> 4e21852dd9ac [2024-09-18T14:06:59.911Z] Successfully built 4e21852dd9ac [2024-09-18T14:06:59.911Z] 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 [2024-09-18T14:07:00.312Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-18T14:07:00.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:07:00.395Z] prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container [2024-09-18T14:07:00.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-18T14:07:00.773Z] $ docker top 399a3f4f2cf4a3d033486758d74541015093f79b90182fa023d06932b3797128 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:07:01.118Z] + make test [2024-09-18T14:07:01.118Z] echo "make test" [2024-09-18T14:07:01.118Z] make test [Pipeline] } [2024-09-18T14:07:01.126Z] $ docker stop --time=1 399a3f4f2cf4a3d033486758d74541015093f79b90182fa023d06932b3797128 [2024-09-18T14:07:02.412Z] $ docker rm -f --volumes 399a3f4f2cf4a3d033486758d74541015093f79b90182fa023d06932b3797128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:07:02.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-18T14:07:03.205Z] + ls -al . [2024-09-18T14:07:03.206Z] total 212 [2024-09-18T14:07:03.206Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 14:06 . [2024-09-18T14:07:03.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:05 .. [2024-09-18T14:07:03.206Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:06 .git [2024-09-18T14:07:03.206Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:06 .github [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:06 .gitignore [2024-09-18T14:07:03.206Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:06 .semver [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:06 Attribution.txt [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:06 CHANGELOG.md [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:06 Doxyfile [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:06 GOVERNANCE.md [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:06 Jenkinsfile [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:06 LICENSE [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:06 Makefile [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:06 OWNERS.md [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:06 README.IOT.md [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:06 README.md [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:06 README.v3.md [2024-09-18T14:07:03.206Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:06 VERSION [2024-09-18T14:07:03.206Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:06 docs [2024-09-18T14:07:03.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:06 include [2024-09-18T14:07:03.206Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:06 scripts [2024-09-18T14:07:03.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:07:03.566Z] + 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=e3990ef7270bffea63c659f6e7b10f2e35825ab8 --label arch=amd64 --label version=0.0.0 . [2024-09-18T14:07:03.566Z] Sending build context to Docker daemon 5.196MB [2024-09-18T14:07:03.566Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-18T14:07:03.566Z] Step 2/18 : FROM ${BASE} [2024-09-18T14:07:03.566Z] ---> 4e21852dd9ac [2024-09-18T14:07:03.566Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-18T14:07:03.825Z] ---> Running in 208938cf9b97 [2024-09-18T14:07:03.825Z] Removing intermediate container 208938cf9b97 [2024-09-18T14:07:03.825Z] ---> 7eb80f127e24 [2024-09-18T14:07:03.825Z] 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 [2024-09-18T14:07:03.825Z] ---> Running in 3b49c2bd8a29 [2024-09-18T14:07:04.085Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-18T14:07:04.652Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:07:04.652Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:07:04.652Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:07:04.652Z] Removing intermediate container 3b49c2bd8a29 [2024-09-18T14:07:04.652Z] ---> 5e250d31bcd3 [2024-09-18T14:07:04.652Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:07:04.652Z] ---> Running in b27ef99ea56e [2024-09-18T14:07:05.220Z] Removing intermediate container b27ef99ea56e [2024-09-18T14:07:05.220Z] ---> 88c443523280 [2024-09-18T14:07:05.220Z] 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 [2024-09-18T14:07:05.220Z] ---> Running in 7b785f33f3aa [2024-09-18T14:07:05.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:07:05.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:07:05.995Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:07:06.564Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:07:06.564Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:07:06.564Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:07:06.564Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:07:06.564Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:07:06.564Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:07:06.564Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:07:06.564Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-18T14:07:06.564Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-18T14:07:06.564Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-18T14:07:06.564Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:07:06.564Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:07:06.564Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:07:06.842Z] OK: 337 MiB in 101 packages [2024-09-18T14:07:07.409Z] Removing intermediate container 7b785f33f3aa [2024-09-18T14:07:07.409Z] ---> 175b3ad58db5 [2024-09-18T14:07:07.409Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-18T14:07:07.409Z] ---> Running in 5562f49a21aa [2024-09-18T14:07:07.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:07:07.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:07:07.668Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:07:08.234Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:07:08.234Z] OK: 337 MiB in 101 packages [2024-09-18T14:07:08.495Z] Removing intermediate container 5562f49a21aa [2024-09-18T14:07:08.495Z] ---> f77edf6aecc1 [2024-09-18T14:07:08.495Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-18T14:07:08.754Z] ---> b74a95fa387a [2024-09-18T14:07:08.754Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-18T14:07:08.754Z] ---> a9e88e8bced2 [2024-09-18T14:07:08.754Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-18T14:07:09.014Z] ---> 98e589528698 [2024-09-18T14:07:09.014Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-18T14:07:09.014Z] ---> a39db9669149 [2024-09-18T14:07:09.014Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-18T14:07:09.274Z] ---> 2cbc03088040 [2024-09-18T14:07:09.274Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-18T14:07:09.274Z] ---> c3ce59aff80c [2024-09-18T14:07:09.274Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-18T14:07:09.274Z] ---> Running in 9bca8b71e158 [2024-09-18T14:07:09.274Z] Removing intermediate container 9bca8b71e158 [2024-09-18T14:07:09.274Z] ---> ab24ef969a0e [2024-09-18T14:07:09.274Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-18T14:07:09.274Z] ---> Running in b1ce81812a7d [2024-09-18T14:07:09.532Z] Removing intermediate container b1ce81812a7d [2024-09-18T14:07:09.532Z] ---> d032f4df5463 [2024-09-18T14:07:09.532Z] Step 16/18 : LABEL arch=amd64 [2024-09-18T14:07:09.532Z] ---> Running in 91374554b861 [2024-09-18T14:07:09.532Z] Removing intermediate container 91374554b861 [2024-09-18T14:07:09.532Z] ---> 3ec190f91e7f [2024-09-18T14:07:09.532Z] Step 17/18 : LABEL git_sha=e3990ef7270bffea63c659f6e7b10f2e35825ab8 [2024-09-18T14:07:09.532Z] ---> Running in 73181ffd29d4 [2024-09-18T14:07:09.532Z] Removing intermediate container 73181ffd29d4 [2024-09-18T14:07:09.532Z] ---> 9c8b2da6475e [2024-09-18T14:07:09.532Z] Step 18/18 : LABEL version=0.0.0 [2024-09-18T14:07:09.532Z] ---> Running in 649cd35b4a3a [2024-09-18T14:07:09.792Z] Removing intermediate container 649cd35b4a3a [2024-09-18T14:07:09.792Z] ---> 454f0eb892c6 [2024-09-18T14:07:09.792Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-18T14:07:09.792Z] Successfully built 454f0eb892c6 [2024-09-18T14:07:09.792Z] 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 [2024-09-18T14:07:10.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:07:10.292Z] [2024-09-18T14:07:10.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:07:10.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:07:10.599Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-18T14:07:10.599Z] 5eb5b503b376: Pulling fs layer [2024-09-18T14:07:10.599Z] 5c69ac0246d0: Pulling fs layer [2024-09-18T14:07:10.599Z] ec43610c2a17: Pulling fs layer [2024-09-18T14:07:10.599Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-18T14:07:10.599Z] 33b1e0a273af: Pulling fs layer [2024-09-18T14:07:10.599Z] 5d3b04190fa2: Pulling fs layer [2024-09-18T14:07:10.599Z] 2f39f015ded8: Pulling fs layer [2024-09-18T14:07:10.599Z] 3a2ae6a8a46f: Waiting [2024-09-18T14:07:10.599Z] 33b1e0a273af: Waiting [2024-09-18T14:07:10.599Z] 5d3b04190fa2: Waiting [2024-09-18T14:07:10.599Z] 2f39f015ded8: Waiting [2024-09-18T14:07:10.599Z] 5c69ac0246d0: Verifying Checksum [2024-09-18T14:07:10.599Z] 5c69ac0246d0: Download complete [2024-09-18T14:07:10.599Z] 3a2ae6a8a46f: Download complete [2024-09-18T14:07:10.857Z] 33b1e0a273af: Verifying Checksum [2024-09-18T14:07:10.857Z] 33b1e0a273af: Download complete [2024-09-18T14:07:10.857Z] 5d3b04190fa2: Download complete [2024-09-18T14:07:10.857Z] ec43610c2a17: Verifying Checksum [2024-09-18T14:07:10.857Z] ec43610c2a17: Download complete [2024-09-18T14:07:10.857Z] 5eb5b503b376: Verifying Checksum [2024-09-18T14:07:10.857Z] 5eb5b503b376: Download complete [2024-09-18T14:07:11.421Z] 2f39f015ded8: Download complete [2024-09-18T14:07:11.988Z] 5eb5b503b376: Pull complete [2024-09-18T14:07:11.988Z] 5c69ac0246d0: Pull complete [2024-09-18T14:07:12.553Z] ec43610c2a17: Pull complete [2024-09-18T14:07:12.553Z] 3a2ae6a8a46f: Pull complete [2024-09-18T14:07:12.811Z] 33b1e0a273af: Pull complete [2024-09-18T14:07:12.811Z] 5d3b04190fa2: Pull complete [2024-09-18T14:07:16.996Z] 2f39f015ded8: Pull complete [2024-09-18T14:07:16.996Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-18T14:07:16.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:07:16.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:07:17.105Z] prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container [2024-09-18T14:07:17.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-18T14:07:22.247Z] $ docker top 9f7462fe503c02a0c55bd5a5596df1e8448e026a36abc1ca88e328d1e0aa92ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:07:22.628Z] ---> job-cost.sh [2024-09-18T14:07:22.629Z] lf-activate-venv: SKIPPING [2024-09-18T14:07:22.629Z] INFO: No Stack... [2024-09-18T14:07:22.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-18T14:07:23.147Z] INFO: Archiving Costs [Pipeline] sh [2024-09-18T14:07:23.450Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [2024-09-18T14:07:23.450Z] + cut -d, -f6 [Pipeline] lock [2024-09-18T14:07:23.464Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [2024-09-18T14:07:23.476Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] did not exist. Created. [2024-09-18T14:07:23.484Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-18T14:07:23.796Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-18T14:07:23.846Z] Stashed 1 file(s) [Pipeline] } [2024-09-18T14:07:23.856Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-18T14:07:23.879Z] $ docker stop --time=1 9f7462fe503c02a0c55bd5a5596df1e8448e026a36abc1ca88e328d1e0aa92ad [2024-09-18T14:07:25.023Z] $ docker rm -f --volumes 9f7462fe503c02a0c55bd5a5596df1e8448e026a36abc1ca88e328d1e0aa92ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-18T14:08:14.741Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10609 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-18T14:08:14.755Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-09-18T14:08:14.855Z] Selected Git installation does not exist. Using Default [2024-09-18T14:08:14.855Z] The recommended git tool is: NONE [2024-09-18T14:08:23.049Z] using credential edgex-jenkins-ssh [2024-09-18T14:08:23.075Z] Cloning the remote Git repository [2024-09-18T14:08:23.113Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:08:23.211Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-09-18T14:08:23.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:08:23.441Z] > git --version # timeout=10 [2024-09-18T14:08:23.474Z] > git --version # 'git version 2.25.1' [2024-09-18T14:08:23.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:08:23.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-18T14:08:24.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-18T14:08:25.053Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-18T14:08:26.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-18T14:08:26.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:08:26.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:08:26.559Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-18T14:08:27.171Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit e3990ef7270bffea63c659f6e7b10f2e35825ab8 [2024-09-18T14:08:27.546Z] Merge succeeded, producing e3990ef7270bffea63c659f6e7b10f2e35825ab8 [2024-09-18T14:08:27.547Z] Checking out Revision e3990ef7270bffea63c659f6e7b10f2e35825ab8 (PR-513) [2024-09-18T14:08:27.187Z] > git config core.sparsecheckout # timeout=10 [2024-09-18T14:08:27.276Z] > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 [2024-09-18T14:08:27.400Z] > git remote # timeout=10 [2024-09-18T14:08:27.429Z] > git config --get remote.origin.url # timeout=10 [2024-09-18T14:08:27.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:08:27.474Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-18T14:08:27.515Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-18T14:08:27.550Z] > git config core.sparsecheckout # timeout=10 [2024-09-18T14:08:27.585Z] > git checkout -f e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 [2024-09-18T14:08:31.431Z] Commit message: "feat: Update function comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:08:33.144Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-18T14:08:33.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-18T14:08:33.144Z] Dload Upload Total Spent Left Speed [2024-09-18T14:08:33.144Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 70098 0 --:--:-- --:--:-- --:--:-- 70098 [Pipeline] sh [2024-09-18T14:08:33.476Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-18T14:08:33.794Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-18T14:08:33.794Z] + sudo tee /etc/docker/daemon.new [2024-09-18T14:08:33.794Z] { [2024-09-18T14:08:33.794Z] "registry-mirrors": [ [2024-09-18T14:08:33.794Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-18T14:08:33.794Z] ], [2024-09-18T14:08:33.794Z] "bip": "10.250.0.254/24", [2024-09-18T14:08:33.794Z] "hosts": [ [2024-09-18T14:08:33.794Z] "tcp://0.0.0.0:5555", [2024-09-18T14:08:33.794Z] "unix:///var/run/docker.sock" [2024-09-18T14:08:33.794Z] ], [2024-09-18T14:08:33.794Z] "mtu": 1458, [2024-09-18T14:08:33.794Z] "selinux-enabled": true, [2024-09-18T14:08:33.794Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-18T14:08:33.794Z] } [Pipeline] sh [2024-09-18T14:08:34.117Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-18T14:08:34.446Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:08:52.695Z] provisioning config files... [2024-09-18T14:08:52.728Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config6001728824234502681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:08:53.178Z] ---> ****-login.sh [2024-09-18T14:08:53.178Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:08:53.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:08:53.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:08:53.723Z] Configure a credential helper to remove this warning. See [2024-09-18T14:08:53.723Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:08:53.723Z] [2024-09-18T14:08:53.723Z] Login Succeeded [2024-09-18T14:08:53.723Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:08:53.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:08:53.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:08:53.993Z] Configure a credential helper to remove this warning. See [2024-09-18T14:08:53.993Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:08:53.993Z] [2024-09-18T14:08:53.993Z] Login Succeeded [2024-09-18T14:08:53.993Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:08:54.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:08:54.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:08:54.536Z] Configure a credential helper to remove this warning. See [2024-09-18T14:08:54.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:08:54.536Z] [2024-09-18T14:08:54.536Z] Login Succeeded [2024-09-18T14:08:54.536Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:08:54.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:08:54.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:08:54.807Z] Configure a credential helper to remove this warning. See [2024-09-18T14:08:54.807Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:08:54.807Z] [2024-09-18T14:08:54.807Z] Login Succeeded [2024-09-18T14:08:54.807Z] ****.io [2024-09-18T14:08:55.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:08:55.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:08:55.342Z] Configure a credential helper to remove this warning. See [2024-09-18T14:08:55.342Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:08:55.342Z] [2024-09-18T14:08:55.342Z] Login Succeeded [2024-09-18T14:08:55.342Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:08:55.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-18T14:08:55.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:08:55.669Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-18T14:08:55.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:08:55.699Z] ========================================================= [2024-09-18T14:08:55.699Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-18T14:08:55.699Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:08:56.043Z] + 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 . [2024-09-18T14:08:56.321Z] Sending build context to Docker daemon 3.168MB [2024-09-18T14:08:56.596Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-18T14:08:56.596Z] Step 2/22 : FROM ${BASE} as builder [2024-09-18T14:08:56.596Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-18T14:08:56.596Z] 579b34f0a95b: Pulling fs layer [2024-09-18T14:08:56.596Z] e71477ac5e1b: Pulling fs layer [2024-09-18T14:08:56.865Z] 579b34f0a95b: Verifying Checksum [2024-09-18T14:08:56.865Z] 579b34f0a95b: Download complete [2024-09-18T14:08:57.463Z] 579b34f0a95b: Pull complete [2024-09-18T14:09:09.794Z] e71477ac5e1b: Verifying Checksum [2024-09-18T14:09:09.794Z] e71477ac5e1b: Download complete [2024-09-18T14:09:22.135Z] e71477ac5e1b: Pull complete [2024-09-18T14:09:22.135Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-18T14:09:22.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-18T14:09:22.135Z] ---> 2b552cad5dd9 [2024-09-18T14:09:22.135Z] 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 [2024-09-18T14:09:22.135Z] ---> Running in 1eb3db8a56ca [2024-09-18T14:09:22.402Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-18T14:09:22.984Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:09:22.984Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:09:22.984Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:09:23.575Z] Removing intermediate container 1eb3db8a56ca [2024-09-18T14:09:23.575Z] ---> f92f12b43682 [2024-09-18T14:09:23.575Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:09:23.575Z] ---> Running in 63f4501b5a24 [2024-09-18T14:09:24.994Z] Removing intermediate container 63f4501b5a24 [2024-09-18T14:09:24.994Z] ---> 276dba8a131e [2024-09-18T14:09:24.994Z] 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 [2024-09-18T14:09:25.272Z] ---> Running in 63a1c8b9ce14 [2024-09-18T14:09:26.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:09:26.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:09:27.129Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:09:28.082Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:09:28.082Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-18T14:09:28.082Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:09:28.082Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-18T14:09:28.346Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:09:28.930Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:09:29.194Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:09:29.194Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:09:29.459Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:09:29.459Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:09:29.459Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:09:29.459Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:09:29.459Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-18T14:09:29.459Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-18T14:09:29.459Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-18T14:09:29.459Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-18T14:09:29.459Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:09:29.725Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:09:29.725Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:09:29.725Z] OK: 333 MiB in 99 packages [2024-09-18T14:09:32.315Z] Removing intermediate container 63a1c8b9ce14 [2024-09-18T14:09:32.315Z] ---> 80ad338f2cd4 [2024-09-18T14:09:32.315Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-18T14:09:32.315Z] ---> Running in 0161299f9782 [2024-09-18T14:09:34.266Z] Removing intermediate container 0161299f9782 [2024-09-18T14:09:34.266Z] ---> a87f84695cbf [2024-09-18T14:09:34.266Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-18T14:09:34.266Z] ---> 536bcd5588fc [2024-09-18T14:09:34.266Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-18T14:09:35.228Z] ---> 6aa7c938d832 [2024-09-18T14:09:35.228Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-18T14:09:35.809Z] ---> 592695eb51f2 [2024-09-18T14:09:35.809Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-18T14:09:36.077Z] ---> 1f5519d28970 [2024-09-18T14:09:36.077Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-18T14:09:36.657Z] ---> 7dd9766f6d7d [2024-09-18T14:09:36.657Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-18T14:09:37.252Z] ---> c927958efb52 [2024-09-18T14:09:37.252Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-18T14:09:37.252Z] ---> Running in 50138a0a5e01 [2024-09-18T14:09:38.212Z] + CPPCHECK=false [2024-09-18T14:09:38.212Z] + DOCGEN=false [2024-09-18T14:09:38.212Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-18T14:09:38.212Z] + '[' 0 -gt 0 ] [2024-09-18T14:09:38.212Z] + readlink -f ./scripts/build.sh [2024-09-18T14:09:38.212Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-18T14:09:38.212Z] + dirname /tmp/sdk/scripts [2024-09-18T14:09:38.212Z] + ROOT=/tmp/sdk [2024-09-18T14:09:38.212Z] + cd /tmp/sdk [2024-09-18T14:09:38.212Z] + mkdir -p /tmp/sdk/build/release [2024-09-18T14:09:38.212Z] + cd /tmp/sdk/build/release [2024-09-18T14:09:38.212Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-18T14:09:38.487Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:09:38.487Z] -- Detecting C compiler ABI info [2024-09-18T14:09:39.069Z] -- Detecting C compiler ABI info - done [2024-09-18T14:09:39.069Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:09:39.069Z] -- Detecting C compile features [2024-09-18T14:09:39.069Z] -- Detecting C compile features - done [2024-09-18T14:09:39.069Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:09:39.335Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:09:39.335Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:09:39.335Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:09:39.335Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:09:39.335Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:09:39.335Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:09:39.335Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:09:39.335Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:09:39.335Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:09:39.335Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:09:39.602Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:09:39.870Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:09:39.870Z] -- Configuring done (1.7s) [2024-09-18T14:09:40.136Z] -- Generating done (0.2s) [2024-09-18T14:09:40.136Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-18T14:09:40.136Z] + make all package [2024-09-18T14:09:40.136Z] + tee release.log [2024-09-18T14:09:40.401Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:09:40.980Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:09:41.942Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:09:42.522Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:09:43.491Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:09:44.073Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:09:46.026Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:09:46.988Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-18T14:09:46.988Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:09:46.988Z] 294 | while (privateConfig) [2024-09-18T14:09:46.988Z] | ^~~~~~~~~~~~~ [2024-09-18T14:09:46.988Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-18T14:09:46.988Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:09:46.988Z] | ^~~~~~~~~~~~~ [2024-09-18T14:09:46.988Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:09:46.988Z] 271 | while (result) [2024-09-18T14:09:46.988Z] | ^~~~~~ [2024-09-18T14:09:46.988Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-18T14:09:46.988Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:09:46.988Z] | ^~~~~~ [2024-09-18T14:09:47.256Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:09:47.524Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:09:48.491Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:09:50.447Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:09:50.715Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:09:51.695Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:09:52.282Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:09:52.868Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:09:53.829Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:09:54.098Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:09:56.692Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:09:56.692Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:09:57.274Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:09:58.701Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:10:05.369Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:10:05.952Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:10:06.218Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:10:06.803Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:10:07.069Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:10:08.481Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:10:11.082Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:10:11.352Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:10:12.316Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:10:12.898Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:10:12.898Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:10:12.898Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:10:12.898Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:10:12.898Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:10:12.898Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:10:12.898Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:10:12.898Z] | ^ [2024-09-18T14:10:14.843Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:10:14.843Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-18T14:10:14.843Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:10:14.843Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-18T14:10:14.843Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-18T14:10:14.843Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:10:15.805Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:10:16.388Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:10:16.655Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:10:17.239Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:10:17.507Z] [ 68%] Built target csdk [2024-09-18T14:10:17.507Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:10:17.775Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:10:17.775Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:10:17.775Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:10:17.775Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:10:17.775Z] | | [2024-09-18T14:10:17.775Z] | void (*)(void *) [2024-09-18T14:10:17.775Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:10:17.775Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:10:17.775Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:10:17.775Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:10:18.360Z] [ 72%] Linking C executable template [2024-09-18T14:10:18.630Z] [ 72%] Built target template [2024-09-18T14:10:18.630Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:10:19.215Z] [ 76%] Linking C executable device-counter [2024-09-18T14:10:19.803Z] [ 76%] Built target device-counter [2024-09-18T14:10:19.803Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:10:20.398Z] [ 80%] Linking C executable device-random [2024-09-18T14:10:20.674Z] [ 80%] Built target device-random [2024-09-18T14:10:20.674Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:10:21.257Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:10:21.525Z] [ 84%] Built target device-gyro [2024-09-18T14:10:21.525Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:10:22.110Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:10:22.695Z] [ 88%] Built target device-bitfields [2024-09-18T14:10:22.695Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:10:22.962Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:10:22.962Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:10:22.962Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:10:22.962Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:10:22.962Z] | | [2024-09-18T14:10:22.962Z] | void (*)(void *) [2024-09-18T14:10:22.962Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:10:22.962Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:10:22.962Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:10:22.962Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:10:23.549Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:10:24.138Z] [ 92%] Built target template-discovery [2024-09-18T14:10:24.138Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:10:24.727Z] [ 96%] Linking C executable device-file [2024-09-18T14:10:25.458Z] [ 96%] Built target device-file [2024-09-18T14:10:25.458Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:10:26.065Z] [100%] Linking C executable device-terminal [2024-09-18T14:10:26.342Z] [100%] Built target device-terminal [2024-09-18T14:10:26.343Z] Run CPack packaging tool... [2024-09-18T14:10:26.343Z] CPack: Create package using TGZ [2024-09-18T14:10:26.343Z] CPack: Install projects [2024-09-18T14:10:26.343Z] CPack: - Run preinstall target for: Csdk [2024-09-18T14:10:27.339Z] CPack: - Install project: Csdk [] [2024-09-18T14:10:27.339Z] CPack: Create package [2024-09-18T14:10:27.339Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-18T14:10:27.339Z] + '[' false '=' true ] [2024-09-18T14:10:27.339Z] + '[' false '=' true ] [2024-09-18T14:10:27.339Z] + mkdir -p /tmp/sdk/build/debug [2024-09-18T14:10:27.339Z] + cd /tmp/sdk/build/debug [2024-09-18T14:10:27.339Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-18T14:10:27.954Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:10:27.954Z] -- Detecting C compiler ABI info [2024-09-18T14:10:28.226Z] -- Detecting C compiler ABI info - done [2024-09-18T14:10:28.226Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:10:28.226Z] -- Detecting C compile features [2024-09-18T14:10:28.226Z] -- Detecting C compile features - done [2024-09-18T14:10:28.226Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:10:28.495Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:10:28.495Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:10:28.495Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:10:28.495Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:10:28.495Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:10:28.495Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:10:28.495Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:10:28.495Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:10:28.495Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:10:28.495Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:10:29.078Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:10:29.078Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:10:29.348Z] -- Configuring done (1.8s) [2024-09-18T14:10:29.615Z] -- Generating done (0.2s) [2024-09-18T14:10:29.615Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-18T14:10:29.615Z] + + tee debug.log [2024-09-18T14:10:29.615Z] make [2024-09-18T14:10:29.615Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:10:30.199Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:10:30.467Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:10:30.735Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:10:31.321Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:10:31.589Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:10:32.190Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:10:32.774Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:10:32.774Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:10:33.373Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:10:33.958Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:10:34.226Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:10:34.497Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:10:35.092Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:10:35.361Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:10:35.629Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:10:35.906Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:10:36.490Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:10:36.758Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:10:37.024Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:10:37.607Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:10:39.017Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:10:39.017Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:10:39.284Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:10:39.550Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:10:39.816Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:10:40.412Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:10:41.820Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:10:42.089Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:10:42.356Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:10:42.949Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:10:42.949Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:10:42.949Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:10:42.949Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:10:42.949Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:10:42.949Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:10:42.949Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:10:42.949Z] | ^ [2024-09-18T14:10:43.535Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:10:44.822Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:10:44.822Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:10:44.822Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:10:44.822Z] [ 68%] Built target csdk [2024-09-18T14:10:44.822Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:10:45.093Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:10:45.093Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:10:45.093Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:10:45.093Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:10:45.093Z] | | [2024-09-18T14:10:45.093Z] | void (*)(void *) [2024-09-18T14:10:45.093Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:10:45.093Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:10:45.093Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:10:45.093Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:10:45.360Z] [ 72%] Linking C executable template [2024-09-18T14:10:45.627Z] [ 72%] Built target template [2024-09-18T14:10:45.627Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:10:45.895Z] [ 76%] Linking C executable device-counter [2024-09-18T14:10:46.480Z] [ 76%] Built target device-counter [2024-09-18T14:10:46.480Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:10:46.747Z] [ 80%] Linking C executable device-random [2024-09-18T14:10:47.015Z] [ 80%] Built target device-random [2024-09-18T14:10:47.015Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:10:47.281Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:10:47.548Z] [ 84%] Built target device-gyro [2024-09-18T14:10:47.815Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:10:48.080Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:10:48.347Z] [ 88%] Built target device-bitfields [2024-09-18T14:10:48.347Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:10:48.614Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:10:48.614Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:10:48.614Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:10:48.614Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:10:48.614Z] | | [2024-09-18T14:10:48.614Z] | void (*)(void *) [2024-09-18T14:10:48.614Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:10:48.614Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:10:48.614Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:10:48.614Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:10:48.880Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:10:49.147Z] [ 92%] Built target template-discovery [2024-09-18T14:10:49.147Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:10:49.414Z] [ 96%] Linking C executable device-file [2024-09-18T14:10:49.999Z] [ 96%] Built target device-file [2024-09-18T14:10:49.999Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:10:50.266Z] [100%] Linking C executable device-terminal [2024-09-18T14:10:50.852Z] [100%] Built target device-terminal [2024-09-18T14:10:50.852Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-18T14:10:50.852Z] [ 68%] Built target csdk [2024-09-18T14:10:50.852Z] [ 72%] Built target template [2024-09-18T14:10:51.120Z] [ 76%] Built target device-counter [2024-09-18T14:10:51.120Z] [ 80%] Built target device-random [2024-09-18T14:10:51.120Z] [ 84%] Built target device-gyro [2024-09-18T14:10:51.120Z] [ 88%] Built target device-bitfields [2024-09-18T14:10:51.120Z] [ 92%] Built target template-discovery [2024-09-18T14:10:51.388Z] [ 96%] Built target device-file [2024-09-18T14:10:51.388Z] [100%] Built target device-terminal [2024-09-18T14:10:51.388Z] Install the project... [2024-09-18T14:10:51.388Z] -- Install configuration: "Release" [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-18T14:10:51.388Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/devsdk [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-18T14:10:51.388Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-18T14:10:51.388Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-18T14:10:52.798Z] Removing intermediate container 50138a0a5e01 [2024-09-18T14:10:52.798Z] ---> 5e186bd733ca [2024-09-18T14:10:52.798Z] Step 14/22 : FROM ${BASE} [2024-09-18T14:10:52.798Z] ---> 2b552cad5dd9 [2024-09-18T14:10:52.798Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-18T14:10:53.065Z] ---> Running in 870e62459ecc [2024-09-18T14:10:53.332Z] Removing intermediate container 870e62459ecc [2024-09-18T14:10:53.332Z] ---> c2e7e1e3efb2 [2024-09-18T14:10:53.332Z] 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 [2024-09-18T14:10:53.332Z] ---> Running in 4536185e0850 [2024-09-18T14:10:54.294Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-18T14:10:54.877Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:10:54.877Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:10:54.877Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:10:55.467Z] Removing intermediate container 4536185e0850 [2024-09-18T14:10:55.467Z] ---> 88d8f8bd092a [2024-09-18T14:10:55.467Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:10:55.467Z] ---> Running in 0c05d4751ce5 [2024-09-18T14:10:57.412Z] Removing intermediate container 0c05d4751ce5 [2024-09-18T14:10:57.412Z] ---> 306bf95f47b6 [2024-09-18T14:10:57.412Z] 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 [2024-09-18T14:10:57.412Z] ---> Running in ccddb9e805a9 [2024-09-18T14:10:57.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:10:58.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:10:59.161Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:00.121Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:11:00.121Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:11:00.121Z] (2/10) Installing curl (8.9.1-r0) [2024-09-18T14:11:00.121Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:11:00.121Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-18T14:11:00.121Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-18T14:11:00.121Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:11:00.121Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-18T14:11:00.121Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:11:01.079Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:11:01.349Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-18T14:11:01.350Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:11:01.350Z] OK: 328 MiB in 90 packages [2024-09-18T14:11:02.310Z] Removing intermediate container ccddb9e805a9 [2024-09-18T14:11:02.310Z] ---> 8db387f2d247 [2024-09-18T14:11:02.310Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-18T14:11:02.576Z] ---> Running in f3410f79aded [2024-09-18T14:11:03.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:03.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:04.386Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:05.346Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:11:05.346Z] Upgrading critical system libraries and apk-tools: [2024-09-18T14:11:05.346Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-18T14:11:05.346Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:11:05.613Z] Continuing the upgrade transaction with new apk-tools: [2024-09-18T14:11:05.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:05.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:06.462Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:07.047Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:11:07.313Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:11:07.313Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-18T14:11:07.313Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:11:07.313Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-18T14:11:07.578Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:11:07.578Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:11:07.578Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:11:07.578Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-18T14:11:07.578Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-18T14:11:07.845Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-18T14:11:07.845Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:11:07.845Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-18T14:11:08.427Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:11:08.427Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:11:08.427Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:11:08.427Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:11:08.427Z] Executing ca-certificates-20240226-r0.trigger [2024-09-18T14:11:08.695Z] OK: 328 MiB in 90 packages [2024-09-18T14:11:10.653Z] Removing intermediate container f3410f79aded [2024-09-18T14:11:10.653Z] ---> 7eafe29f6962 [2024-09-18T14:11:10.653Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-18T14:11:10.919Z] ---> 02cc582f743f [2024-09-18T14:11:10.919Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-18T14:11:11.500Z] ---> da3fc29bc0ec [2024-09-18T14:11:11.500Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-18T14:11:12.093Z] ---> 14e4bab6eb17 [2024-09-18T14:11:12.093Z] Successfully built 14e4bab6eb17 [2024-09-18T14:11:12.093Z] 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 [2024-09-18T14:11:12.530Z] + docker inspect -f . ci-base-image-arm64 [2024-09-18T14:11:12.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:11:12.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-10609 does not seem to be running inside a container [2024-09-18T14:11:12.811Z] $ 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 ******** ci-base-image-arm64 cat [2024-09-18T14:11:14.014Z] $ docker top d5871c8cf7a263a9a5e172a8fc8defa39a5cb19d0270dfc381f9c11f7db57a6e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:11:14.865Z] + make test [2024-09-18T14:11:14.865Z] echo "make test" [2024-09-18T14:11:14.865Z] make test [Pipeline] } [2024-09-18T14:11:14.879Z] $ docker stop --time=1 d5871c8cf7a263a9a5e172a8fc8defa39a5cb19d0270dfc381f9c11f7db57a6e [2024-09-18T14:11:16.538Z] $ docker rm -f --volumes d5871c8cf7a263a9a5e172a8fc8defa39a5cb19d0270dfc381f9c11f7db57a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:11:17.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-18T14:11:17.448Z] + ls -al . [2024-09-18T14:11:17.448Z] total 208 [2024-09-18T14:11:17.448Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:08 . [2024-09-18T14:11:17.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:08 .. [2024-09-18T14:11:17.448Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:08 .git [2024-09-18T14:11:17.448Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:08 .github [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:08 .gitignore [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:08 Attribution.txt [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:08 CHANGELOG.md [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:08 Doxyfile [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:08 GOVERNANCE.md [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:08 Jenkinsfile [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:08 LICENSE [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:08 Makefile [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:08 OWNERS.md [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:08 README.IOT.md [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:08 README.md [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:08 README.v3.md [2024-09-18T14:11:17.448Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:06 VERSION [2024-09-18T14:11:17.448Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:08 docs [2024-09-18T14:11:17.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:08 include [2024-09-18T14:11:17.448Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:08 scripts [2024-09-18T14:11:17.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:11:17.860Z] + 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=e3990ef7270bffea63c659f6e7b10f2e35825ab8 --label arch=arm64 --label version=0.0.0 . [2024-09-18T14:11:18.445Z] Sending build context to Docker daemon 3.168MB [2024-09-18T14:11:18.445Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-18T14:11:18.445Z] Step 2/18 : FROM ${BASE} [2024-09-18T14:11:18.445Z] ---> 14e4bab6eb17 [2024-09-18T14:11:18.445Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-18T14:11:18.445Z] ---> Running in 12cd8c3b3371 [2024-09-18T14:11:18.715Z] Removing intermediate container 12cd8c3b3371 [2024-09-18T14:11:18.715Z] ---> f76185908def [2024-09-18T14:11:18.715Z] 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 [2024-09-18T14:11:18.715Z] ---> Running in 5b89c10ea88e [2024-09-18T14:11:19.679Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-18T14:11:20.271Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:11:20.271Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:11:20.271Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:11:20.855Z] Removing intermediate container 5b89c10ea88e [2024-09-18T14:11:20.855Z] ---> 82435ff341d5 [2024-09-18T14:11:20.855Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:11:20.855Z] ---> Running in 908ce56477a4 [2024-09-18T14:11:22.797Z] Removing intermediate container 908ce56477a4 [2024-09-18T14:11:22.797Z] ---> 0eb4bdda7f67 [2024-09-18T14:11:22.797Z] 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 [2024-09-18T14:11:22.797Z] ---> Running in 1ffb5b1d1738 [2024-09-18T14:11:23.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:24.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:24.603Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:25.183Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:11:25.447Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:11:25.711Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:11:25.711Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:11:25.711Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:11:25.711Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:11:25.711Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:11:25.711Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-18T14:11:25.711Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-18T14:11:25.711Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-18T14:11:25.711Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:11:25.711Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:11:25.711Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:11:25.977Z] OK: 334 MiB in 101 packages [2024-09-18T14:11:27.382Z] Removing intermediate container 1ffb5b1d1738 [2024-09-18T14:11:27.382Z] ---> 6fb5b69779a8 [2024-09-18T14:11:27.382Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-18T14:11:27.382Z] ---> Running in 2bcdb9dc350a [2024-09-18T14:11:27.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:28.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:28.805Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:11:29.758Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:11:29.758Z] OK: 334 MiB in 101 packages [2024-09-18T14:11:30.712Z] Removing intermediate container 2bcdb9dc350a [2024-09-18T14:11:30.712Z] ---> 9d5685bed67f [2024-09-18T14:11:30.712Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-18T14:11:30.982Z] ---> 87f6e2c5a8c5 [2024-09-18T14:11:30.982Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-18T14:11:31.941Z] ---> c9bce195e611 [2024-09-18T14:11:31.941Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-18T14:11:32.520Z] ---> e84453184368 [2024-09-18T14:11:32.520Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-18T14:11:32.785Z] ---> 44e86cf1803a [2024-09-18T14:11:32.785Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-18T14:11:33.366Z] ---> 5d1a46b2a549 [2024-09-18T14:11:33.366Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-18T14:11:33.947Z] ---> d4e4de9fe217 [2024-09-18T14:11:33.947Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-18T14:11:33.947Z] ---> Running in 33dc604358b7 [2024-09-18T14:11:34.213Z] Removing intermediate container 33dc604358b7 [2024-09-18T14:11:34.213Z] ---> 6391b18c9860 [2024-09-18T14:11:34.213Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-18T14:11:34.478Z] ---> Running in ebb942877e65 [2024-09-18T14:11:34.743Z] Removing intermediate container ebb942877e65 [2024-09-18T14:11:34.743Z] ---> 3ea27c71c850 [2024-09-18T14:11:34.743Z] Step 16/18 : LABEL arch=arm64 [2024-09-18T14:11:34.743Z] ---> Running in 833a4c744248 [2024-09-18T14:11:35.012Z] Removing intermediate container 833a4c744248 [2024-09-18T14:11:35.012Z] ---> 07fbee0c8fb7 [2024-09-18T14:11:35.012Z] Step 17/18 : LABEL git_sha=e3990ef7270bffea63c659f6e7b10f2e35825ab8 [2024-09-18T14:11:35.012Z] ---> Running in 8fefab02b20b [2024-09-18T14:11:35.276Z] Removing intermediate container 8fefab02b20b [2024-09-18T14:11:35.276Z] ---> 61452f89acb3 [2024-09-18T14:11:35.276Z] Step 18/18 : LABEL version=0.0.0 [2024-09-18T14:11:35.540Z] ---> Running in ee139429d032 [2024-09-18T14:11:35.807Z] Removing intermediate container ee139429d032 [2024-09-18T14:11:35.807Z] ---> abf83c2381fd [2024-09-18T14:11:35.807Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-18T14:11:35.807Z] Successfully built abf83c2381fd [2024-09-18T14:11:35.807Z] 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 [2024-09-18T14:11:36.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-18T14:11:36.291Z] [2024-09-18T14:11:36.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:11:36.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-18T14:11:36.626Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-18T14:11:36.626Z] 8998bd30e6a1: Pulling fs layer [2024-09-18T14:11:36.626Z] 04944245beec: Pulling fs layer [2024-09-18T14:11:36.626Z] 699f458cf7ca: Pulling fs layer [2024-09-18T14:11:36.626Z] 765212b225bb: Pulling fs layer [2024-09-18T14:11:36.626Z] f23df028b6ca: Pulling fs layer [2024-09-18T14:11:36.626Z] d65c8cfc05b1: Pulling fs layer [2024-09-18T14:11:36.626Z] 2437ff75d9bd: Pulling fs layer [2024-09-18T14:11:36.626Z] f23df028b6ca: Waiting [2024-09-18T14:11:36.626Z] 765212b225bb: Waiting [2024-09-18T14:11:36.626Z] d65c8cfc05b1: Waiting [2024-09-18T14:11:36.626Z] 2437ff75d9bd: Waiting [2024-09-18T14:11:36.894Z] 04944245beec: Verifying Checksum [2024-09-18T14:11:36.894Z] 04944245beec: Download complete [2024-09-18T14:11:36.894Z] 765212b225bb: Verifying Checksum [2024-09-18T14:11:36.894Z] 765212b225bb: Download complete [2024-09-18T14:11:36.894Z] f23df028b6ca: Verifying Checksum [2024-09-18T14:11:36.894Z] f23df028b6ca: Download complete [2024-09-18T14:11:36.894Z] d65c8cfc05b1: Verifying Checksum [2024-09-18T14:11:36.894Z] d65c8cfc05b1: Download complete [2024-09-18T14:11:37.160Z] 699f458cf7ca: Verifying Checksum [2024-09-18T14:11:37.160Z] 699f458cf7ca: Download complete [2024-09-18T14:11:37.427Z] 8998bd30e6a1: Verifying Checksum [2024-09-18T14:11:37.427Z] 8998bd30e6a1: Download complete [2024-09-18T14:11:40.003Z] 2437ff75d9bd: Verifying Checksum [2024-09-18T14:11:40.003Z] 2437ff75d9bd: Download complete [2024-09-18T14:11:41.951Z] 8998bd30e6a1: Pull complete [2024-09-18T14:11:42.532Z] 04944245beec: Pull complete [2024-09-18T14:11:43.939Z] 699f458cf7ca: Pull complete [2024-09-18T14:11:44.206Z] 765212b225bb: Pull complete [2024-09-18T14:11:45.165Z] f23df028b6ca: Pull complete [2024-09-18T14:11:45.165Z] d65c8cfc05b1: Pull complete [2024-09-18T14:12:03.357Z] 2437ff75d9bd: Pull complete [2024-09-18T14:12:03.357Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-18T14:12:03.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-18T14:12:03.357Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:12:03.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-10609 does not seem to be running inside a container [2024-09-18T14:12:03.715Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-18T14:12:06.201Z] $ docker top 65a78eafcebbcd0b7fb34506f97b41ef7ec51286b1202563bbf2a9a007545ece -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:07.071Z] ---> job-cost.sh [2024-09-18T14:12:07.071Z] lf-activate-venv: SKIPPING [2024-09-18T14:12:07.071Z] INFO: No Stack... [2024-09-18T14:12:07.347Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-18T14:12:08.309Z] INFO: Archiving Costs [Pipeline] sh [2024-09-18T14:12:08.952Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-09-18T14:12:08.952Z] + cut -d, -f6 [Pipeline] lock [2024-09-18T14:12:09.005Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [2024-09-18T14:12:09.018Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] did not exist. Created. [2024-09-18T14:12:09.028Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-18T14:12:09.693Z] /w/workspace/device-sdk-c/2@tmp/durable-7810a251/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-18T14:12:10.329Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-18T14:12:10.357Z] Warning: overwriting stash ‘stack-cost’ [2024-09-18T14:12:10.837Z] Stashed 1 file(s) [Pipeline] } [2024-09-18T14:12:10.847Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-18T14:12:10.874Z] $ docker stop --time=1 65a78eafcebbcd0b7fb34506f97b41ef7ec51286b1202563bbf2a9a007545ece [2024-09-18T14:12:12.406Z] $ docker rm -f --volumes 65a78eafcebbcd0b7fb34506f97b41ef7ec51286b1202563bbf2a9a007545ece [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 [2024-09-18T14:12:13.258Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-18T14:12:13.258Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:12:13.258Z] total 16 [2024-09-18T14:12:13.258Z] drwxr-xr-x 3 root root 4096 Sep 18 14:07 . [2024-09-18T14:12:13.258Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:07 .. [2024-09-18T14:12:13.258Z] drwxr-xr-x 2 root root 4096 Sep 18 14:07 cost [2024-09-18T14:12:13.258Z] -rw-r--r-- 1 root root 84 Sep 18 14:07 cost.csv [2024-09-18T14:12:13.258Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:12:13.258Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:12:13.258Z] total 16 [2024-09-18T14:12:13.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:07 . [2024-09-18T14:12:13.258Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:07 .. [2024-09-18T14:12:13.258Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 14:07 cost [2024-09-18T14:12:13.258Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 18 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:13.551Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:14.417Z] ---> package-listing.sh [2024-09-18T14:12:14.417Z] ++ facter osfamily [2024-09-18T14:12:14.417Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-18T14:12:14.677Z] + OS_FAMILY=debian [2024-09-18T14:12:14.677Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-18T14:12:14.677Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-18T14:12:14.677Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-18T14:12:14.677Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-18T14:12:14.677Z] + PACKAGES=/tmp/packages_start.txt [2024-09-18T14:12:14.677Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-18T14:12:14.677Z] + PACKAGES=/tmp/packages_end.txt [2024-09-18T14:12:14.677Z] + case "${OS_FAMILY}" in [2024-09-18T14:12:14.677Z] + dpkg -l [2024-09-18T14:12:14.677Z] + grep '^ii' [2024-09-18T14:12:14.677Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-18T14:12:14.677Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-18T14:12:14.677Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-18T14:12:14.677Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-18T14:12:14.677Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-18T14:12:14.677Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo [2024-09-18T14:12:14.689Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-18T14:12:14.963Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:12:15.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:12:15.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:12:15.611Z] prd-ubuntu20.04-docker-8c-8g-10608 does not seem to be running inside a container [2024-09-18T14:12:15.632Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-18T14:12:15.835Z] $ docker top 581cd5710b8b8b8f4b97c24764f2fbccd51b5c7429272b33732e490f3d42b96c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:12:16.184Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-18T14:12:16.480Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-18T14:12:16.769Z] + ls /var/log/sa-host [2024-09-18T14:12:16.769Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:12:16.858Z] provisioning config files... [2024-09-18T14:12:16.866Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config9424061834473214823tmp [Pipeline] { [Pipeline] echo [2024-09-18T14:12:16.889Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:17.169Z] ---> create-netrc.sh [Pipeline] } [2024-09-18T14:12:17.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:17.516Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-18T14:12:17.527Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:17.811Z] ---> sudo-logs.sh [2024-09-18T14:12:17.811Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-18T14:12:17.857Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:18.141Z] ---> job-cost.sh [2024-09-18T14:12:18.141Z] lf-activate-venv: SKIPPING [2024-09-18T14:12:18.141Z] DEBUG: total: 0.2199999988079071 [2024-09-18T14:12:18.141Z] INFO: Retrieving Stack Cost... [2024-09-18T14:12:18.404Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-18T14:12:18.971Z] INFO: Archiving Costs [Pipeline] echo [2024-09-18T14:12:18.985Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:12:19.269Z] ---> logs-deploy.sh [2024-09-18T14:12:19.269Z] lf-activate-venv: SKIPPING [2024-09-18T14:12:19.269Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/2 [2024-09-18T14:12:19.269Z] INFO: archiving workspace using pattern(s): [2024-09-18T14:12:20.208Z] Archives upload complete. [2024-09-18T14:12:20.208Z] INFO: archiving logs to Nexus