Pull request #520 opened 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac+6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (aefd154a00fae296475a9feff7994fd06c9f9798) 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-ssh16483654936681821706.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh4591179869628337014.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18062578613972029255.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11237916712402503963.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13952192755748163278.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-520/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-520/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1974826503039688903.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25958 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [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-520 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac Merge succeeded, producing 1a517188ec72746965816536050a47092d8f11ad Checking out Revision 1a517188ec72746965816536050a47092d8f11ad (PR-520) > git config core.sparsecheckout # timeout=10 > git checkout -f 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a517188ec72746965816536050a47092d8f11ad # timeout=10 Commit message: "Merge commit '6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:14:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:14:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:14:28 ========================================================= 19:14:28 EdgeX Global Pipelines Version Info 19:14:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:14:29 ------------------- 19:14:29 stable info: 19:14:29 ------------------- 19:14:29 Commited By: Ginny Guan ginny@iotechsys.com 19:14:29 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:14:29 Message: update stable to v1.0.265 19:14:30 ------------------- 19:14:30 experimental info: 19:14:30 ------------------- 19:14:30 Commited By: Cherry Wang cherry@iotechsys.com 19:14:30 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 19:14:30 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 19:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-520 [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-520 [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-520 [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a51718 [Pipeline] echo 19:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:31 provisioning config files... 19:14:31 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config16133768257483151971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:32 ---> ****-login.sh 19:14:32 nexus3.edgexfoundry.org:10001 19:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:14:32 Configure a credential helper to remove this warning. See 19:14:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:14:32 19:14:32 Login Succeeded 19:14:32 nexus3.edgexfoundry.org:10002 19:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:14:32 Configure a credential helper to remove this warning. See 19:14:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:14:32 19:14:32 Login Succeeded 19:14:32 nexus3.edgexfoundry.org:10003 19:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:14:33 Configure a credential helper to remove this warning. See 19:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:14:33 19:14:33 Login Succeeded 19:14:33 nexus3.edgexfoundry.org:10004 19:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:14:33 Configure a credential helper to remove this warning. See 19:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:14:33 19:14:33 Login Succeeded 19:14:33 ****.io 19:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:14:33 Configure a credential helper to remove this warning. See 19:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:14:33 19:14:33 Login Succeeded 19:14:33 ---> ****-login.sh ends [Pipeline] } 19:14:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 19:14:43 + git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo 19:14:43 -----------> git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad 1a517188ec72746965816536050a47092d8f11ad 19:14:43 1a517188ec72746965816536050a47092d8f11ad [false] [Pipeline] sh 19:14:44 + git log --format=format:%s -1 1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo 19:14:44 ========================================================= 19:14:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:14:44 ========================================================= 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 19:14:45 + git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo 19:14:45 -----------> git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad 1a517188ec72746965816536050a47092d8f11ad 19:14:45 1a517188ec72746965816536050a47092d8f11ad [false] [Pipeline] sh 19:14:45 + git log --format=format:%s -1 1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo 19:14:45 ========================================================= 19:14:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:14:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 19:14:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:14:45 + grep -v github /etc/ssh/ssh_known_hosts 19:14:45 + [ -e /tmp/ssh_known_hosts ] 19:14:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:14:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:14:45 + sudo tee -a /etc/ssh/ssh_known_hosts 19:14:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:14:46 19:14:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:14:46 0.1.4: Pulling from edgex-devops/py-git-semver 19:14:46 b85a868b505f: Pulling fs layer 19:14:46 e2be974225ed: Pulling fs layer 19:14:46 339a4e72a1f5: Pulling fs layer 19:14:46 988bab9f4d93: Pulling fs layer 19:14:46 1469e6f7b9e6: Pulling fs layer 19:14:46 eaf3925da568: Pulling fs layer 19:14:46 bab4dde63d76: Pulling fs layer 19:14:46 bde34c3a00c8: Pulling fs layer 19:14:46 b352a97aabf1: Pulling fs layer 19:14:46 4872d77fe225: Pulling fs layer 19:14:46 5851b861e8e6: Pulling fs layer 19:14:46 eaf3925da568: Waiting 19:14:46 4872d77fe225: Waiting 19:14:46 bab4dde63d76: Waiting 19:14:46 bde34c3a00c8: Waiting 19:14:46 5851b861e8e6: Waiting 19:14:46 b352a97aabf1: Waiting 19:14:46 988bab9f4d93: Waiting 19:14:46 1469e6f7b9e6: Waiting 19:14:46 e2be974225ed: Verifying Checksum 19:14:46 e2be974225ed: Download complete 19:14:46 988bab9f4d93: Verifying Checksum 19:14:46 988bab9f4d93: Download complete 19:14:47 1469e6f7b9e6: Verifying Checksum 19:14:47 1469e6f7b9e6: Download complete 19:14:47 eaf3925da568: Verifying Checksum 19:14:47 eaf3925da568: Download complete 19:14:47 339a4e72a1f5: Verifying Checksum 19:14:47 339a4e72a1f5: Download complete 19:14:47 bde34c3a00c8: Verifying Checksum 19:14:47 bde34c3a00c8: Download complete 19:14:47 b352a97aabf1: Verifying Checksum 19:14:47 b352a97aabf1: Download complete 19:14:47 4872d77fe225: Verifying Checksum 19:14:47 4872d77fe225: Download complete 19:14:47 5851b861e8e6: Download complete 19:14:47 b85a868b505f: Verifying Checksum 19:14:47 b85a868b505f: Download complete 19:14:47 bab4dde63d76: Verifying Checksum 19:14:47 bab4dde63d76: Download complete 19:14:48 b85a868b505f: Pull complete 19:14:48 e2be974225ed: Pull complete 19:14:49 339a4e72a1f5: Pull complete 19:14:49 988bab9f4d93: Pull complete 19:14:49 1469e6f7b9e6: Pull complete 19:14:49 eaf3925da568: Pull complete 19:14:51 bab4dde63d76: Pull complete 19:14:51 bde34c3a00c8: Pull complete 19:14:51 b352a97aabf1: Pull complete 19:14:51 4872d77fe225: Pull complete 19:14:51 5851b861e8e6: Pull complete 19:14:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:14:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:14:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:51 prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container 19:14:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:14:54 $ docker top d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 -eo pid,comm 19:14:54 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). 19:14:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:14:54 [ssh-agent] Looking for ssh-agent implementation... 19:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:14:55 $ docker exec d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent 19:14:55 SSH_AUTH_SOCK=/tmp/ssh-Cvj5Z6UAOD4l/agent.32 19:14:55 SSH_AGENT_PID=38 19:14:55 Running ssh-add (command line suppressed) 19:14:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_11819364692084592374.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_11819364692084592374.key) 19:14:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:14:55 + git tag --points-at HEAD [Pipeline] } 19:14:55 $ docker exec --env ******** --env ******** d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent -k 19:14:55 unset SSH_AUTH_SOCK; 19:14:55 unset SSH_AGENT_PID; 19:14:55 echo Agent pid 38 killed; 19:14:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:14:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:14:55 [ssh-agent] Looking for ssh-agent implementation... 19:14:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:14:55 $ docker exec d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent 19:14:56 SSH_AUTH_SOCK=/tmp/ssh-l4WdQOjNesiO/agent.72 19:14:56 SSH_AGENT_PID=79 19:14:56 Running ssh-add (command line suppressed) 19:14:56 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_14591246180011214344.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_14591246180011214344.key) 19:14:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:14:56 + git semver init 19:14:56 2024-11-08 19:14:56,790 [run_init] DEBUG init version:0.0.0 force:False 19:14:56 2024-11-08 19:14:56,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver 19:14:56 2024-11-08 19:14:56,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver 19:14:56 2024-11-08 19:14:56,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520, universal_newlines=False, shell=None, istream=None) 19:14:57 2024-11-08 19:14:57,595 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.git/info/exclude 19:14:57 2024-11-08 19:14:57,596 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 with force:False 19:14:57 2024-11-08 19:14:57,596 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 19:14:57 2024-11-08 19:14:57,600 [execute] INFO git cat-file --batch-check 19:14:57 2024-11-08 19:14:57,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) 19:14:57 2024-11-08 19:14:57,607 [execute] INFO git cat-file --batch 19:14:57 2024-11-08 19:14:57,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) 19:14:57 2024-11-08 19:14:57,613 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 19:14:57 0.0.0 [Pipeline] } 19:14:57 $ docker exec --env ******** --env ******** d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent -k 19:14:57 unset SSH_AUTH_SOCK; 19:14:57 unset SSH_AGENT_PID; 19:14:57 echo Agent pid 79 killed; 19:14:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:14:58 + git semver [Pipeline] } 19:14:58 $ docker stop --time=1 d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 19:14:59 $ docker rm -f --volumes d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 [Pipeline] // withDockerContainer [Pipeline] sh 19:15:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:15:00 Stashed 1 file(s) [Pipeline] echo 19:15:00 [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 19:15:01 provisioning config files... 19:15:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config14898650460326277054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:01 ---> ****-login.sh 19:15:01 nexus3.edgexfoundry.org:10001 19:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:15:01 Configure a credential helper to remove this warning. See 19:15:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:15:01 19:15:01 Login Succeeded 19:15:01 nexus3.edgexfoundry.org:10002 19:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:15:01 Configure a credential helper to remove this warning. See 19:15:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:15:01 19:15:01 Login Succeeded 19:15:01 nexus3.edgexfoundry.org:10003 19:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:15:02 Configure a credential helper to remove this warning. See 19:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:15:02 19:15:02 Login Succeeded 19:15:02 nexus3.edgexfoundry.org:10004 19:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:15:02 Configure a credential helper to remove this warning. See 19:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:15:02 19:15:02 Login Succeeded 19:15:02 ****.io 19:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:15:02 Configure a credential helper to remove this warning. See 19:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:15:02 19:15:02 Login Succeeded 19:15:02 ---> ****-login.sh ends [Pipeline] } 19:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:15:02 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 19:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:15:02 ========================================================= 19:15:02 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 19:15:02 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:03 + 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 . 19:15:03 Sending build context to Docker daemon 5.192MB 19:15:03 Step 1/22 : ARG BASE=alpine:3.18 19:15:03 Step 2/22 : FROM ${BASE} as builder 19:15:03 latest: Pulling from edgex-devops/edgex-gcc-base 19:15:03 96526aa774ef: Pulling fs layer 19:15:03 da60e534fd72: Pulling fs layer 19:15:03 96526aa774ef: Verifying Checksum 19:15:03 96526aa774ef: Download complete 19:15:03 96526aa774ef: Pull complete 19:15:04 da60e534fd72: Verifying Checksum 19:15:04 da60e534fd72: Download complete 19:15:07 da60e534fd72: Pull complete 19:15:07 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 19:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 19:15:07 ---> 6605166a5db4 19:15:07 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 19:15:08 ---> Running in 13e379fdc291 19:15:09 Connecting to iotech.jfrog.io (34.246.139.145:443) 19:15:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:15:09 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 19:15:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:15:10 Removing intermediate container 13e379fdc291 19:15:10 ---> 5ee6306c68d1 19:15:10 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:15:10 ---> Running in aeb6ec3d1552 19:15:10 Removing intermediate container aeb6ec3d1552 19:15:10 ---> d96534a2824c 19:15:10 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 19:15:10 ---> Running in 0bb64408e16d 19:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:15:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:15:12 (1/17) Installing hiredis (1.1.0-r2) 19:15:12 (2/17) Installing hiredis-dev (1.1.0-r2) 19:15:12 (3/17) Installing libcbor (0.10.2-r1) 19:15:12 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 19:15:13 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 19:15:13 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 19:15:13 (7/17) Installing libcbor-dev (0.10.2-r1) 19:15:13 (8/17) Installing libmenuw (6.4_p20230506-r0) 19:15:13 (9/17) Installing libpanelw (6.4_p20230506-r0) 19:15:13 (10/17) Installing libncurses++ (6.4_p20230506-r0) 19:15:13 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 19:15:13 (12/17) Installing libblkid (2.38.1-r8) 19:15:13 (13/17) Installing libuuid (2.38.1-r8) 19:15:13 (14/17) Installing libfdisk (2.38.1-r8) 19:15:13 (15/17) Installing libmount (2.38.1-r8) 19:15:13 (16/17) Installing libsmartcols (2.38.1-r8) 19:15:13 (17/17) Installing util-linux-dev (2.38.1-r8) 19:15:13 Executing busybox-1.36.1-r4.trigger 19:15:13 OK: 336 MiB in 99 packages 19:15:14 Removing intermediate container 0bb64408e16d 19:15:14 ---> 8093c2b54a5a 19:15:14 Step 6/22 : RUN mkdir /tmp/sdk 19:15:14 ---> Running in 23c3691e7ef4 19:15:15 Removing intermediate container 23c3691e7ef4 19:15:15 ---> 4992a0a7514d 19:15:15 Step 7/22 : COPY VERSION /tmp/sdk 19:15:15 ---> f99f9fe7724c 19:15:15 Step 8/22 : COPY src /tmp/sdk/src 19:15:15 ---> d81883be1fa3 19:15:15 Step 9/22 : COPY include /tmp/sdk/include 19:15:15 ---> 819ac08e3657 19:15:15 Step 10/22 : COPY scripts /tmp/sdk/scripts 19:15:15 ---> d77b89c43a83 19:15:15 Step 11/22 : COPY LICENSE /tmp/sdk 19:15:15 ---> b8c4df7dca21 19:15:15 Step 12/22 : COPY Attribution.txt /tmp/sdk 19:15:16 Still waiting to schedule task 19:15:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:15:16 ---> b417086b4e8f 19:15:16 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 19:15:16 ---> Running in 7788aae14896 19:15:16 + CPPCHECK=false 19:15:16 + DOCGEN=false 19:15:16 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 19:15:16 + '[' 0 -gt 0 ] 19:15:16 + readlink -f ./scripts/build.sh 19:15:16 + dirname /tmp/sdk/scripts/build.sh 19:15:16 + dirname /tmp/sdk/scripts 19:15:16 + ROOT=/tmp/sdk 19:15:16 + cd /tmp/sdk 19:15:16 + mkdir -p /tmp/sdk/build/release 19:15:16 + cd /tmp/sdk/build/release 19:15:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 19:15:16 -- The C compiler identification is GNU 12.2.1 19:15:16 -- Detecting C compiler ABI info 19:15:16 -- Detecting C compiler ABI info - done 19:15:16 -- Check for working C compiler: /usr/bin/cc - skipped 19:15:16 -- Detecting C compile features 19:15:16 -- Detecting C compile features - done 19:15:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:15:16 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 19:15:16 -- Found LIBYAML: /usr/lib/libyaml.so 19:15:16 -- Found LIBUUID: /usr/lib/libuuid.so 19:15:16 -- Found LIBCBOR: /usr/lib/libcbor.so 19:15:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:15:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:15:16 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:15:16 -- /opt/iotech/iot/1.5/include 19:15:16 -- C SDK 0.0.0 for Linux 19:15:16 -- Performing Test CSDK_HAVE_ATOMIC 19:15:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:15:16 -- Found Curses: /usr/lib/libcurses.so 19:15:16 -- Configuring done (0.5s) 19:15:16 -- Generating done (0.0s) 19:15:16 -- Build files have been written to: /tmp/sdk/build/release 19:15:16 + make all package 19:15:16 + tee release.log 19:15:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:15:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 19:15:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 19:15:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 19:15:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 19:15:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:15:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:15:18 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 19:15:18 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 19:15:18 294 | while (privateConfig) 19:15:18 | ^~~~~~~~~~~~~ 19:15:18 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 19:15:18 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 19:15:18 | ^~~~~~~~~~~~~ 19:15:18 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 19:15:18 271 | while (result) 19:15:18 | ^~~~~~ 19:15:18 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 19:15:18 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 19:15:18 | ^~~~~~ 19:15:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:15:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:15:18 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:15:18 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:15:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:15:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:15:18 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:15:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 19:15:19 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:15:19 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:15:19 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:15:19 [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 19:15:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:15:19 [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:15:20 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:15:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:15:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:15:21 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:15:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 19:15:21 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:15:21 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:15:21 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:15:21 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:15:22 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:15:22 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:15:22 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 19:15:22 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:15:22 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 19:15:22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:15:22 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:15:22 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 19:15:22 | ^ 19:15:22 /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 19:15:22 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 19:15:22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:15:22 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 19:15:22 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 19:15:22 | ^~~~~~~~~~~~~~~~~~~~~ 19:15:22 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:15:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 19:15:22 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:15:22 [ 69%] Linking C shared library libcsdk.so 19:15:22 [ 69%] Built target csdk 19:15:22 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:15:23 [ 73%] Linking C executable template 19:15:23 [ 73%] Built target template 19:15:23 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:15:23 [ 76%] Linking C executable device-counter 19:15:23 [ 76%] Built target device-counter 19:15:23 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:15:23 [ 80%] Linking C executable device-random 19:15:23 [ 80%] Built target device-random 19:15:23 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:15:23 [ 84%] Linking C executable device-gyro 19:15:23 [ 84%] Built target device-gyro 19:15:23 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:15:23 [ 88%] Linking C executable device-bitfields 19:15:24 [ 88%] Built target device-bitfields 19:15:24 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:15:24 [ 92%] Linking C executable template-discovery 19:15:24 [ 92%] Built target template-discovery 19:15:24 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:15:24 [ 96%] Linking C executable device-file 19:15:24 [ 96%] Built target device-file 19:15:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:15:24 [100%] Linking C executable device-terminal 19:15:24 [100%] Built target device-terminal 19:15:24 Run CPack packaging tool... 19:15:24 CPack: Create package using TGZ 19:15:24 CPack: Install projects 19:15:24 CPack: - Run preinstall target for: Csdk 19:15:24 CPack: - Install project: Csdk [] 19:15:24 CPack: Create package 19:15:24 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 19:15:24 + '[' false '=' true ] 19:15:24 + '[' false '=' true ] 19:15:24 + mkdir -p /tmp/sdk/build/debug 19:15:24 + cd /tmp/sdk/build/debug 19:15:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 19:15:25 -- The C compiler identification is GNU 12.2.1 19:15:25 -- Detecting C compiler ABI info 19:15:25 -- Detecting C compiler ABI info - done 19:15:25 -- Check for working C compiler: /usr/bin/cc - skipped 19:15:25 -- Detecting C compile features 19:15:25 -- Detecting C compile features - done 19:15:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:15:25 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 19:15:25 -- Found LIBYAML: /usr/lib/libyaml.so 19:15:25 -- Found LIBUUID: /usr/lib/libuuid.so 19:15:25 -- Found LIBCBOR: /usr/lib/libcbor.so 19:15:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:15:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:15:25 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:15:25 -- /opt/iotech/iot/1.5/include 19:15:25 -- C SDK 0.0.0 for Linux 19:15:25 -- Performing Test CSDK_HAVE_ATOMIC 19:15:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:15:25 -- Found Curses: /usr/lib/libcurses.so 19:15:25 -- Configuring done (0.4s) 19:15:25 -- Generating done (0.0s) 19:15:25 -- Build files have been written to: /tmp/sdk/build/debug 19:15:25 + make 19:15:25 + tee debug.log 19:15:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:15:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 19:15:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 19:15:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 19:15:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 19:15:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:15:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:15:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:15:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:15:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:15:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:15:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:15:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:15:26 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:15:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 19:15:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:15:26 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:15:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:15:26 [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 19:15:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:15:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:15:27 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:15:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:15:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:15:27 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:15:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 19:15:27 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:15:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:15:27 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:15:27 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:15:27 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:15:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:15:27 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 19:15:27 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:15:27 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 19:15:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:15:27 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:15:27 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 19:15:27 | ^ 19:15:28 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:15:28 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 19:15:28 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:15:28 [ 69%] Linking C shared library libcsdk.so 19:15:28 [ 69%] Built target csdk 19:15:28 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:15:28 [ 73%] Linking C executable template 19:15:28 [ 73%] Built target template 19:15:28 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:15:28 [ 76%] Linking C executable device-counter 19:15:28 [ 76%] Built target device-counter 19:15:28 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:15:28 [ 80%] Linking C executable device-random 19:15:28 [ 80%] Built target device-random 19:15:28 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:15:28 [ 84%] Linking C executable device-gyro 19:15:28 [ 84%] Built target device-gyro 19:15:28 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:15:28 [ 88%] Linking C executable device-bitfields 19:15:29 [ 88%] Built target device-bitfields 19:15:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:15:29 [ 92%] Linking C executable template-discovery 19:15:29 [ 92%] Built target template-discovery 19:15:29 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:15:29 [ 96%] Linking C executable device-file 19:15:29 [ 96%] Built target device-file 19:15:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:15:29 [100%] Linking C executable device-terminal 19:15:29 [100%] Built target device-terminal 19:15:29 make: Entering directory '/tmp/sdk/build/release' 19:15:29 [ 69%] Built target csdk 19:15:29 [ 73%] Built target template 19:15:29 [ 76%] Built target device-counter 19:15:29 [ 80%] Built target device-random 19:15:29 [ 84%] Built target device-gyro 19:15:29 [ 88%] Built target device-bitfields 19:15:29 [ 92%] Built target template-discovery 19:15:29 [ 96%] Built target device-file 19:15:29 [100%] Built target device-terminal 19:15:29 Install the project... 19:15:29 -- Install configuration: "Release" 19:15:29 -- Installing: /usr/local/lib/libcsdk.so 19:15:29 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 19:15:29 -- Installing: /usr/local/include 19:15:29 -- Installing: /usr/local/include/devsdk 19:15:29 -- Installing: /usr/local/include/devsdk/devsdk.h 19:15:29 -- Installing: /usr/local/include/devsdk/devsdk-base.h 19:15:29 -- Installing: /usr/local/include/edgex 19:15:29 -- Installing: /usr/local/include/edgex/edgex.h 19:15:29 -- Installing: /usr/local/include/edgex/devices.h 19:15:29 -- Installing: /usr/local/include/edgex/profiles.h 19:15:29 -- Installing: /usr/local/include/edgex/edgex-base.h 19:15:29 -- Installing: /usr/local/include/edgex/rest-server.h 19:15:29 -- Installing: /usr/local/include/edgex/csdk-defs.h 19:15:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 19:15:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 19:15:29 make: Leaving directory '/tmp/sdk/build/release' 19:15:30 Removing intermediate container 7788aae14896 19:15:30 ---> 0b9dcecd1cb8 19:15:30 Step 14/22 : FROM ${BASE} 19:15:30 ---> 6605166a5db4 19:15:30 Step 15/22 : LABEL maintainer="IOTech " 19:15:30 ---> Running in bd21e81d51f6 19:15:30 Removing intermediate container bd21e81d51f6 19:15:30 ---> 4f170e56e33b 19:15:30 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 19:15:30 ---> Running in 6e426b980727 19:15:30 Connecting to iotech.jfrog.io (54.73.4.50:443) 19:15:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:15:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:15:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:15:31 Removing intermediate container 6e426b980727 19:15:31 ---> c912c9ff8860 19:15:31 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:15:31 ---> Running in 588bd3e62577 19:15:32 Removing intermediate container 588bd3e62577 19:15:32 ---> f260e45c0b25 19:15:32 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 19:15:32 ---> Running in a973c159f993 19:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:15:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:15:33 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 19:15:33 (2/10) Installing curl (8.9.1-r1) 19:15:33 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 19:15:33 (4/10) Installing dumb-init (1.2.5-r2) 19:15:33 (5/10) Installing hiredis (1.1.0-r2) 19:15:33 (6/10) Installing hiredis-dev (1.1.0-r2) 19:15:33 (7/10) Installing libcbor (0.10.2-r1) 19:15:33 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 19:15:33 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 19:15:34 (10/10) Installing libuuid (2.38.1-r8) 19:15:34 Executing busybox-1.36.1-r4.trigger 19:15:34 OK: 331 MiB in 90 packages 19:15:34 Removing intermediate container a973c159f993 19:15:34 ---> 8d691db7ef77 19:15:34 Step 19/22 : RUN apk --no-cache upgrade 19:15:34 ---> Running in dde613c87b44 19:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:15:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:15:35 Upgrading critical system libraries and apk-tools: 19:15:35 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 19:15:35 Executing busybox-1.36.1-r4.trigger 19:15:35 Continuing the upgrade transaction with new apk-tools: 19:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:15:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:15:36 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 19:15:36 Executing busybox-1.36.1-r7.post-upgrade 19:15:36 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 19:15:36 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 19:15:36 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 19:15:36 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 19:15:36 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 19:15:36 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 19:15:36 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 19:15:36 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 19:15:36 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 19:15:36 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 19:15:36 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 19:15:36 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 19:15:37 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 19:15:37 Executing busybox-1.36.1-r7.trigger 19:15:37 Executing ca-certificates-20240226-r0.trigger 19:15:37 OK: 332 MiB in 90 packages 19:15:38 Removing intermediate container dde613c87b44 19:15:38 ---> a8c2713a42bb 19:15:38 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 19:15:38 ---> 0c6d06af5b86 19:15:38 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 19:15:38 ---> fe703a850a5a 19:15:38 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 19:15:38 ---> 2d477059f194 19:15:38 Successfully built 2d477059f194 19:15:38 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 19:15:39 + docker inspect -f . ci-base-image-x86_64 19:15:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:39 prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container 19:15:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 ******** ci-base-image-x86_64 cat 19:15:40 $ docker top bb5a0b97046cadd9cf523a0251183644ebaf9dbdad6ac8100490d7d4ae16d4b1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:40 + make test 19:15:40 echo "make test" 19:15:40 make test [Pipeline] } 19:15:40 $ docker stop --time=1 bb5a0b97046cadd9cf523a0251183644ebaf9dbdad6ac8100490d7d4ae16d4b1 19:15:41 $ docker rm -f --volumes bb5a0b97046cadd9cf523a0251183644ebaf9dbdad6ac8100490d7d4ae16d4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:15:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:15:42 + ls -al . 19:15:42 total 212 19:15:42 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:14 . 19:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:14 .. 19:15:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:14 .git 19:15:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:14 .github 19:15:42 -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 19:14 .gitignore 19:15:42 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:14 .semver 19:15:42 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 19:14 Attribution.txt 19:15:42 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 19:14 CHANGELOG.md 19:15:42 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 19:14 Doxyfile 19:15:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:14 GOVERNANCE.md 19:15:42 -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 19:14 Jenkinsfile 19:15:42 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 19:14 LICENSE 19:15:42 -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 19:14 Makefile 19:15:42 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 19:14 OWNERS.md 19:15:42 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 19:14 README.IOT.md 19:15:42 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 19:14 README.md 19:15:42 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 19:14 README.v3.md 19:15:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 19:15 VERSION 19:15:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:14 docs 19:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:14 include 19:15:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:14 scripts 19:15:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:43 + 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=1a517188ec72746965816536050a47092d8f11ad --label arch=amd64 --label version=0.0.0 . 19:15:43 Sending build context to Docker daemon 5.192MB 19:15:43 Step 1/18 : ARG BASE=alpine:3.18 19:15:43 Step 2/18 : FROM ${BASE} 19:15:43 ---> 2d477059f194 19:15:43 Step 3/18 : LABEL maintainer="IOTech " 19:15:43 ---> Running in 231068306cd9 19:15:43 Removing intermediate container 231068306cd9 19:15:43 ---> 961b922594ca 19:15:43 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 19:15:43 ---> Running in 3bae496f4210 19:15:43 Connecting to iotech.jfrog.io (34.246.139.145:443) 19:15:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:15:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:15:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:15:44 Removing intermediate container 3bae496f4210 19:15:44 ---> 91f08b278b08 19:15:44 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:15:44 ---> Running in b6c5ead34afc 19:15:45 Removing intermediate container b6c5ead34afc 19:15:45 ---> 24a48d13fa50 19:15:45 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 19:15:45 ---> Running in 82c70c55cb24 19:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:15:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:15:46 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 19:15:46 (2/11) Installing libcbor-dev (0.10.2-r1) 19:15:46 (3/11) Installing libmenuw (6.4_p20230506-r0) 19:15:46 (4/11) Installing libpanelw (6.4_p20230506-r0) 19:15:46 (5/11) Installing libncurses++ (6.4_p20230506-r0) 19:15:46 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 19:15:46 (7/11) Installing libblkid (2.38.1-r8) 19:15:46 (8/11) Installing libfdisk (2.38.1-r8) 19:15:46 (9/11) Installing libmount (2.38.1-r8) 19:15:46 (10/11) Installing libsmartcols (2.38.1-r8) 19:15:46 (11/11) Installing util-linux-dev (2.38.1-r8) 19:15:46 Executing busybox-1.36.1-r7.trigger 19:15:46 OK: 337 MiB in 101 packages 19:15:47 Removing intermediate container 82c70c55cb24 19:15:47 ---> 091460d1840a 19:15:47 Step 7/18 : RUN apk --no-cache upgrade 19:15:47 ---> Running in 7f83e859e150 19:15:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:15:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 19:15:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:15:47 OK: 337 MiB in 101 packages 19:15:48 Removing intermediate container 7f83e859e150 19:15:48 ---> 070ec5163b74 19:15:48 Step 8/18 : COPY VERSION /edgex-c-sdk/ 19:15:48 ---> 743e8ad32525 19:15:48 Step 9/18 : COPY src /edgex-c-sdk/src/ 19:15:48 ---> 3884ed2a9fd9 19:15:48 Step 10/18 : COPY include /edgex-c-sdk/include/ 19:15:48 ---> f5ad5c97933a 19:15:48 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 19:15:48 ---> 5aaedd14fbb8 19:15:48 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 19:15:49 ---> 72d87a575b4f 19:15:49 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 19:15:49 ---> 16c1b6d6c9b2 19:15:49 Step 14/18 : WORKDIR /edgex-c-sdk 19:15:49 ---> Running in ba25ab2797b4 19:15:49 Removing intermediate container ba25ab2797b4 19:15:49 ---> 1e256237ce29 19:15:49 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 19:15:49 ---> Running in 4c36c5f9b3e6 19:15:49 Removing intermediate container 4c36c5f9b3e6 19:15:49 ---> bd679447611e 19:15:49 Step 16/18 : LABEL arch=amd64 19:15:49 ---> Running in 2bdd24f37197 19:15:49 Removing intermediate container 2bdd24f37197 19:15:49 ---> 280915039dc2 19:15:49 Step 17/18 : LABEL git_sha=1a517188ec72746965816536050a47092d8f11ad 19:15:49 ---> Running in 6217584a4503 19:15:49 Removing intermediate container 6217584a4503 19:15:49 ---> 1aa33c6e9a9b 19:15:49 Step 18/18 : LABEL version=0.0.0 19:15:49 ---> Running in 705c95ffee43 19:15:49 Removing intermediate container 705c95ffee43 19:15:49 ---> 6ad5ef6f8875 19:15:49 [Warning] One or more build-args [ARCH MAKE] were not consumed 19:15:49 Successfully built 6ad5ef6f8875 19:15:49 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 19:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:50 19:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:51 latest: Pulling from edgex-lftools-log-publisher 19:15:51 5eb5b503b376: Pulling fs layer 19:15:51 5c69ac0246d0: Pulling fs layer 19:15:51 ec43610c2a17: Pulling fs layer 19:15:51 3a2ae6a8a46f: Pulling fs layer 19:15:51 33b1e0a273af: Pulling fs layer 19:15:51 5d3b04190fa2: Pulling fs layer 19:15:51 2f39f015ded8: Pulling fs layer 19:15:51 3a2ae6a8a46f: Waiting 19:15:51 33b1e0a273af: Waiting 19:15:51 2f39f015ded8: Waiting 19:15:51 5d3b04190fa2: Waiting 19:15:51 5c69ac0246d0: Download complete 19:15:51 3a2ae6a8a46f: Verifying Checksum 19:15:51 3a2ae6a8a46f: Download complete 19:15:51 33b1e0a273af: Verifying Checksum 19:15:51 33b1e0a273af: Download complete 19:15:51 ec43610c2a17: Verifying Checksum 19:15:51 ec43610c2a17: Download complete 19:15:51 5d3b04190fa2: Verifying Checksum 19:15:51 5d3b04190fa2: Download complete 19:15:51 5eb5b503b376: Download complete 19:15:51 2f39f015ded8: Verifying Checksum 19:15:51 2f39f015ded8: Download complete 19:15:52 5eb5b503b376: Pull complete 19:15:52 5c69ac0246d0: Pull complete 19:15:52 ec43610c2a17: Pull complete 19:15:52 3a2ae6a8a46f: Pull complete 19:15:53 33b1e0a273af: Pull complete 19:15:53 5d3b04190fa2: Pull complete 19:15:57 2f39f015ded8: Pull complete 19:15:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:57 prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container 19:15:57 $ 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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:16:01 $ docker top 37f2da72381edc31a9aa52f0d8f61cf84ac743b0918e4891cc8b953efa5189a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:02 ---> job-cost.sh 19:16:02 lf-activate-venv: SKIPPING 19:16:02 INFO: No Stack... 19:16:02 INFO: Retrieving Pricing Info for: v3-standard-8 19:16:02 INFO: Archiving Costs [Pipeline] sh 19:16:03 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/cost.csv 19:16:03 + cut -d, -f6 [Pipeline] lock 19:16:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] 19:16:03 Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] did not exist. Created. 19:16:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:16:03 + echo total: 0.2199999988079071 [Pipeline] stash 19:16:03 Stashed 1 file(s) [Pipeline] } 19:16:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:16:03 $ docker stop --time=1 37f2da72381edc31a9aa52f0d8f61cf84ac743b0918e4891cc8b953efa5189a7 19:16:04 $ docker rm -f --volumes 37f2da72381edc31a9aa52f0d8f61cf84ac743b0918e4891cc8b953efa5189a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:16:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25959 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [Pipeline] { [Pipeline] ws 19:16:55 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 19:16:59 Selected Git installation does not exist. Using Default 19:16:59 The recommended git tool is: NONE 19:17:04 using credential edgex-jenkins-ssh 19:17:04 Cloning the remote Git repository 19:17:04 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 19:17:04 > git init /w/workspace/device-sdk-c/1 # timeout=10 19:17:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 19:17:04 > git --version # timeout=10 19:17:04 > git --version # 'git version 2.25.1' 19:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 19:17:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 19:17:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 19:17:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 19:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:17:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:17:07 Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac 19:17:08 Merge succeeded, producing a1285c9c4a50919824972e76a7ef6929cbb7350a 19:17:08 Checking out Revision a1285c9c4a50919824972e76a7ef6929cbb7350a (PR-520) 19:17:07 > git config core.sparsecheckout # timeout=10 19:17:08 > git checkout -f 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac # timeout=10 19:17:08 > git remote # timeout=10 19:17:08 > git config --get remote.origin.url # timeout=10 19:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:17:08 > git merge 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 19:17:08 > git rev-parse HEAD^{commit} # timeout=10 19:17:08 > git config core.sparsecheckout # timeout=10 19:17:08 > git checkout -f a1285c9c4a50919824972e76a7ef6929cbb7350a # timeout=10 19:17:12 Commit message: "Merge commit '6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678' into HEAD" 19:17:12 First time build. Skipping changelog. 19:17:12 > git --version # timeout=10 19:17:12 > git --version # 'git version 2.25.1' 19:17:12 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:17:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:17:14 % Total % Received % Xferd Average Speed Time Time Time Current 19:17:14 Dload Upload Total Spent Left Speed 19:17:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 19:17:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:17:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:17:15 + sudo tee /etc/docker/daemon.new 19:17:15 { 19:17:15 "registry-mirrors": [ 19:17:15 "https://nexus3.edgexfoundry.org:10001" 19:17:15 ], 19:17:15 "bip": "10.250.0.254/24", 19:17:15 "hosts": [ 19:17:15 "tcp://0.0.0.0:5555", 19:17:15 "unix:///var/run/docker.sock" 19:17:15 ], 19:17:15 "mtu": 1458, 19:17:15 "selinux-enabled": true, 19:17:15 "seccomp-profile": "/etc/docker/seccomp.json" 19:17:15 } [Pipeline] sh 19:17:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:17:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:34 provisioning config files... 19:17:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config563363432629778703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:34 ---> ****-login.sh 19:17:34 nexus3.edgexfoundry.org:10001 19:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:17:35 Configure a credential helper to remove this warning. See 19:17:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:17:35 19:17:35 Login Succeeded 19:17:35 nexus3.edgexfoundry.org:10002 19:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:17:35 Configure a credential helper to remove this warning. See 19:17:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:17:35 19:17:35 Login Succeeded 19:17:35 nexus3.edgexfoundry.org:10003 19:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:17:36 Configure a credential helper to remove this warning. See 19:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:17:36 19:17:36 Login Succeeded 19:17:36 nexus3.edgexfoundry.org:10004 19:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:17:36 Configure a credential helper to remove this warning. See 19:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:17:36 19:17:36 Login Succeeded 19:17:36 ****.io 19:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:17:37 Configure a credential helper to remove this warning. See 19:17:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:17:37 19:17:37 Login Succeeded 19:17:37 ---> ****-login.sh ends [Pipeline] } 19:17:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:17:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:17:37 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 19:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:17:38 ========================================================= 19:17:38 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 19:17:38 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:38 + 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 . 19:17:39 Sending build context to Docker daemon 3.132MB 19:17:39 Step 1/22 : ARG BASE=alpine:3.18 19:17:39 Step 2/22 : FROM ${BASE} as builder 19:17:39 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 19:17:39 579b34f0a95b: Pulling fs layer 19:17:39 e71477ac5e1b: Pulling fs layer 19:17:39 579b34f0a95b: Download complete 19:17:39 579b34f0a95b: Pull complete 19:17:41 e71477ac5e1b: Verifying Checksum 19:17:41 e71477ac5e1b: Download complete 19:17:54 e71477ac5e1b: Pull complete 19:17:54 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 19:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 19:17:54 ---> 2b552cad5dd9 19:17:54 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 19:17:54 ---> Running in 8ccd695fff85 19:17:55 Connecting to iotech.jfrog.io (54.73.4.50:443) 19:17:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:17:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:17:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:17:56 Removing intermediate container 8ccd695fff85 19:17:56 ---> 9066ba9a541e 19:17:56 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:17:56 ---> Running in ef9804a8724a 19:17:58 Removing intermediate container ef9804a8724a 19:17:58 ---> e1f06a225aa1 19:17:58 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 19:17:58 ---> Running in f84e07dd1d24 19:17:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:18:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:18:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:18:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:18:02 (1/17) Installing hiredis (1.1.0-r2) 19:18:02 (2/17) Installing hiredis-dev (1.1.0-r2) 19:18:02 (3/17) Installing libcbor (0.10.2-r1) 19:18:02 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 19:18:03 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 19:18:03 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 19:18:03 (7/17) Installing libcbor-dev (0.10.2-r1) 19:18:03 (8/17) Installing libmenuw (6.4_p20230506-r0) 19:18:03 (9/17) Installing libpanelw (6.4_p20230506-r0) 19:18:03 (10/17) Installing libncurses++ (6.4_p20230506-r0) 19:18:03 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 19:18:03 (12/17) Installing libblkid (2.38.1-r8) 19:18:03 (13/17) Installing libuuid (2.38.1-r8) 19:18:03 (14/17) Installing libfdisk (2.38.1-r8) 19:18:03 (15/17) Installing libmount (2.38.1-r8) 19:18:03 (16/17) Installing libsmartcols (2.38.1-r8) 19:18:03 (17/17) Installing util-linux-dev (2.38.1-r8) 19:18:03 Executing busybox-1.36.1-r4.trigger 19:18:03 OK: 333 MiB in 99 packages 19:18:05 Removing intermediate container f84e07dd1d24 19:18:05 ---> cfaefc4f934f 19:18:05 Step 6/22 : RUN mkdir /tmp/sdk 19:18:05 ---> Running in f9c01088d1d1 19:18:07 Removing intermediate container f9c01088d1d1 19:18:07 ---> 4519cdbfd1eb 19:18:07 Step 7/22 : COPY VERSION /tmp/sdk 19:18:07 ---> 565f0b70ddb7 19:18:07 Step 8/22 : COPY src /tmp/sdk/src 19:18:08 ---> 90bd3b86017f 19:18:08 Step 9/22 : COPY include /tmp/sdk/include 19:18:09 ---> 28cd73b24c68 19:18:09 Step 10/22 : COPY scripts /tmp/sdk/scripts 19:18:09 ---> 4a1110b0327e 19:18:09 Step 11/22 : COPY LICENSE /tmp/sdk 19:18:10 ---> b8e6538810cf 19:18:10 Step 12/22 : COPY Attribution.txt /tmp/sdk 19:18:10 ---> 59507da1a101 19:18:10 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 19:18:10 ---> Running in da58dd3fab72 19:18:11 + CPPCHECK=false 19:18:11 + DOCGEN=false 19:18:11 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 19:18:11 + '[' 0 -gt 0 ] 19:18:11 + readlink -f ./scripts/build.sh 19:18:11 + dirname /tmp/sdk/scripts/build.sh 19:18:11 + dirname /tmp/sdk/scripts 19:18:11 + ROOT=/tmp/sdk 19:18:11 + cd /tmp/sdk 19:18:11 + mkdir -p /tmp/sdk/build/release 19:18:11 + cd /tmp/sdk/build/release 19:18:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 19:18:12 -- The C compiler identification is GNU 12.2.1 19:18:12 -- Detecting C compiler ABI info 19:18:12 -- Detecting C compiler ABI info - done 19:18:12 -- Check for working C compiler: /usr/bin/cc - skipped 19:18:12 -- Detecting C compile features 19:18:12 -- Detecting C compile features - done 19:18:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:18:12 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 19:18:12 -- Found LIBYAML: /usr/lib/libyaml.so 19:18:12 -- Found LIBUUID: /usr/lib/libuuid.so 19:18:12 -- Found LIBCBOR: /usr/lib/libcbor.so 19:18:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:18:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:18:13 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:18:13 -- /opt/iotech/iot/1.5/include 19:18:13 -- C SDK 0.0.0 for Linux 19:18:13 -- Performing Test CSDK_HAVE_ATOMIC 19:18:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:18:13 -- Found Curses: /usr/lib/libcurses.so 19:18:13 -- Configuring done (1.8s) 19:18:13 -- Generating done (0.3s) 19:18:13 -- Build files have been written to: /tmp/sdk/build/release 19:18:13 + make all package 19:18:13 + tee release.log 19:18:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:18:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 19:18:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 19:18:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 19:18:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 19:18:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:18:20 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:18:21 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 19:18:21 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 19:18:21 294 | while (privateConfig) 19:18:21 | ^~~~~~~~~~~~~ 19:18:21 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 19:18:21 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 19:18:21 | ^~~~~~~~~~~~~ 19:18:21 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 19:18:21 271 | while (result) 19:18:21 | ^~~~~~ 19:18:21 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 19:18:21 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 19:18:21 | ^~~~~~ 19:18:21 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:18:21 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:18:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:18:24 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:18:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:18:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:18:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:18:27 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 19:18:28 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:18:29 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:18:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:18:31 [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 19:18:33 [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:18:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:18:35 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:18:43 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:18:43 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:18:43 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:18:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 19:18:44 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:18:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:18:48 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:18:48 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:18:49 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:18:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:18:50 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 19:18:50 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:18:50 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 19:18:50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:18:50 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:18:50 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 19:18:50 | ^ 19:18:52 /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 19:18:52 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 19:18:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:18:52 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 19:18:52 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 19:18:52 | ^~~~~~~~~~~~~~~~~~~~~ 19:18:53 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:18:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 19:18:54 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:18:55 [ 69%] Linking C shared library libcsdk.so 19:18:55 [ 69%] Built target csdk 19:18:55 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:18:56 [ 73%] Linking C executable template 19:18:56 [ 73%] Built target template 19:18:56 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:18:57 [ 76%] Linking C executable device-counter 19:18:58 [ 76%] Built target device-counter 19:18:58 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:18:58 [ 80%] Linking C executable device-random 19:18:59 [ 80%] Built target device-random 19:18:59 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:18:59 [ 84%] Linking C executable device-gyro 19:19:00 [ 84%] Built target device-gyro 19:19:00 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:19:01 [ 88%] Linking C executable device-bitfields 19:19:01 [ 88%] Built target device-bitfields 19:19:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:19:02 [ 92%] Linking C executable template-discovery 19:19:03 [ 92%] Built target template-discovery 19:19:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:19:03 [ 96%] Linking C executable device-file 19:19:04 [ 96%] Built target device-file 19:19:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:19:05 [100%] Linking C executable device-terminal 19:19:05 [100%] Built target device-terminal 19:19:06 Run CPack packaging tool... 19:19:06 CPack: Create package using TGZ 19:19:06 CPack: Install projects 19:19:06 CPack: - Run preinstall target for: Csdk 19:19:07 CPack: - Install project: Csdk [] 19:19:07 CPack: Create package 19:19:07 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 19:19:07 + '[' false '=' true ] 19:19:07 + '[' false '=' true ] 19:19:07 + mkdir -p /tmp/sdk/build/debug 19:19:07 + cd /tmp/sdk/build/debug 19:19:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 19:19:07 -- The C compiler identification is GNU 12.2.1 19:19:07 -- Detecting C compiler ABI info 19:19:07 -- Detecting C compiler ABI info - done 19:19:07 -- Check for working C compiler: /usr/bin/cc - skipped 19:19:07 -- Detecting C compile features 19:19:07 -- Detecting C compile features - done 19:19:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:19:08 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 19:19:08 -- Found LIBYAML: /usr/lib/libyaml.so 19:19:08 -- Found LIBUUID: /usr/lib/libuuid.so 19:19:08 -- Found LIBCBOR: /usr/lib/libcbor.so 19:19:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:19:10 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:19:10 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:19:10 -- /opt/iotech/iot/1.5/include 19:19:10 -- C SDK 0.0.0 for Linux 19:19:10 -- Performing Test CSDK_HAVE_ATOMIC 19:19:10 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:19:10 -- Found Curses: /usr/lib/libcurses.so 19:19:10 -- Configuring done (1.9s) 19:19:10 -- Generating done (0.3s) 19:19:10 -- Build files have been written to: /tmp/sdk/build/debug 19:19:10 + make 19:19:10 + tee debug.log 19:19:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:19:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 19:19:10 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 19:19:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 19:19:11 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 19:19:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:19:12 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:19:12 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:19:12 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:19:13 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:19:14 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:19:14 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:19:14 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:19:15 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:19:15 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 19:19:16 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:19:16 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:19:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:19:17 [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 19:19:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:19:18 [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:19:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:19:20 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:19:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:19:20 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:19:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 19:19:21 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:19:21 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:19:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:19:23 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:19:23 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:19:24 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:19:24 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 19:19:24 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:19:24 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 19:19:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:19:24 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:19:24 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 19:19:24 | ^ 19:19:25 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:19:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 19:19:26 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:19:26 [ 69%] Linking C shared library libcsdk.so 19:19:26 [ 69%] Built target csdk 19:19:26 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:19:27 [ 73%] Linking C executable template 19:19:27 [ 73%] Built target template 19:19:27 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:19:27 [ 76%] Linking C executable device-counter 19:19:28 [ 76%] Built target device-counter 19:19:28 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:19:29 [ 80%] Linking C executable device-random 19:19:29 [ 80%] Built target device-random 19:19:29 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:19:29 [ 84%] Linking C executable device-gyro 19:19:30 [ 84%] Built target device-gyro 19:19:30 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:19:30 [ 88%] Linking C executable device-bitfields 19:19:31 [ 88%] Built target device-bitfields 19:19:31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:19:31 [ 92%] Linking C executable template-discovery 19:19:32 [ 92%] Built target template-discovery 19:19:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:19:33 [ 96%] Linking C executable device-file 19:19:33 [ 96%] Built target device-file 19:19:33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:19:33 [100%] Linking C executable device-terminal 19:19:34 [100%] Built target device-terminal 19:19:34 make: Entering directory '/tmp/sdk/build/release' 19:19:34 [ 69%] Built target csdk 19:19:34 [ 73%] Built target template 19:19:35 [ 76%] Built target device-counter 19:19:35 [ 80%] Built target device-random 19:19:35 [ 84%] Built target device-gyro 19:19:35 [ 88%] Built target device-bitfields 19:19:35 [ 92%] Built target template-discovery 19:19:35 [ 96%] Built target device-file 19:19:35 [100%] Built target device-terminal 19:19:35 Install the project... 19:19:35 -- Install configuration: "Release" 19:19:35 -- Installing: /usr/local/lib/libcsdk.so 19:19:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 19:19:35 -- Installing: /usr/local/include 19:19:35 -- Installing: /usr/local/include/devsdk 19:19:35 -- Installing: /usr/local/include/devsdk/devsdk.h 19:19:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 19:19:35 -- Installing: /usr/local/include/edgex 19:19:35 -- Installing: /usr/local/include/edgex/rest-server.h 19:19:35 -- Installing: /usr/local/include/edgex/edgex.h 19:19:35 -- Installing: /usr/local/include/edgex/edgex-base.h 19:19:35 -- Installing: /usr/local/include/edgex/devices.h 19:19:35 -- Installing: /usr/local/include/edgex/profiles.h 19:19:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 19:19:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 19:19:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 19:19:35 make: Leaving directory '/tmp/sdk/build/release' 19:19:37 Removing intermediate container da58dd3fab72 19:19:37 ---> 64b3699b413b 19:19:37 Step 14/22 : FROM ${BASE} 19:19:37 ---> 2b552cad5dd9 19:19:37 Step 15/22 : LABEL maintainer="IOTech " 19:19:37 ---> Running in 72ffa7bf6f3f 19:19:37 Removing intermediate container 72ffa7bf6f3f 19:19:37 ---> 73b2e77ee7f7 19:19:37 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 19:19:37 ---> Running in 657bef500013 19:19:38 Connecting to iotech.jfrog.io (34.246.139.145:443) 19:19:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:19:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:19:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:19:39 Removing intermediate container 657bef500013 19:19:39 ---> 459f0613e248 19:19:39 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:19:40 ---> Running in 2405e03c4c78 19:19:41 Removing intermediate container 2405e03c4c78 19:19:41 ---> 4905a3f316bb 19:19:41 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 19:19:41 ---> Running in 007eab0eb90f 19:19:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:19:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:19:44 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 19:19:44 (2/10) Installing curl (8.9.1-r1) 19:19:44 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 19:19:45 (4/10) Installing dumb-init (1.2.5-r2) 19:19:45 (5/10) Installing hiredis (1.1.0-r2) 19:19:45 (6/10) Installing hiredis-dev (1.1.0-r2) 19:19:45 (7/10) Installing libcbor (0.10.2-r1) 19:19:45 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 19:19:46 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 19:19:46 (10/10) Installing libuuid (2.38.1-r8) 19:19:46 Executing busybox-1.36.1-r4.trigger 19:19:46 OK: 328 MiB in 90 packages 19:19:47 Removing intermediate container 007eab0eb90f 19:19:47 ---> 4165d60ef200 19:19:47 Step 19/22 : RUN apk --no-cache upgrade 19:19:47 ---> Running in 059455756cb3 19:19:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:19:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:19:50 Upgrading critical system libraries and apk-tools: 19:19:50 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 19:19:50 Executing busybox-1.36.1-r4.trigger 19:19:50 Continuing the upgrade transaction with new apk-tools: 19:19:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:19:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:19:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:19:52 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 19:19:52 Executing busybox-1.36.1-r7.post-upgrade 19:19:52 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 19:19:52 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 19:19:52 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 19:19:52 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 19:19:52 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 19:19:52 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 19:19:52 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 19:19:52 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 19:19:53 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 19:19:53 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 19:19:53 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 19:19:53 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 19:19:53 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 19:19:53 Executing busybox-1.36.1-r7.trigger 19:19:53 Executing ca-certificates-20240226-r0.trigger 19:19:53 OK: 328 MiB in 90 packages 19:19:55 Removing intermediate container 059455756cb3 19:19:55 ---> a20dbe22f026 19:19:55 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 19:19:56 ---> 52acce6b6098 19:19:56 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 19:19:57 ---> 205ac53008c9 19:19:57 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 19:19:58 ---> 0443ae592743 19:19:58 Successfully built 0443ae592743 19:19:58 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 19:19:58 + docker inspect -f . ci-base-image-arm64 19:19:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:59 prd-ubuntu20.04-docker-arm64-4c-16g-25959 does not seem to be running inside a container 19:19:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat 19:20:00 $ docker top 213f2522df20273c4fb1391ab6e1f309c373177b6190a415c71fef973d42227d -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:01 + make test 19:20:01 echo "make test" 19:20:01 make test [Pipeline] } 19:20:01 $ docker stop --time=1 213f2522df20273c4fb1391ab6e1f309c373177b6190a415c71fef973d42227d 19:20:03 $ docker rm -f --volumes 213f2522df20273c4fb1391ab6e1f309c373177b6190a415c71fef973d42227d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:04 + ls -al . 19:20:04 total 208 19:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:17 . 19:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:17 .. 19:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:17 .git 19:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:17 .github 19:20:04 -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 19:17 .gitignore 19:20:04 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 19:17 Attribution.txt 19:20:04 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 19:17 CHANGELOG.md 19:20:04 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 19:17 Doxyfile 19:20:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:17 GOVERNANCE.md 19:20:04 -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 19:17 Jenkinsfile 19:20:04 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 19:17 LICENSE 19:20:04 -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 19:17 Makefile 19:20:04 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 19:17 OWNERS.md 19:20:04 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 19:17 README.IOT.md 19:20:04 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 19:17 README.md 19:20:04 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 19:17 README.v3.md 19:20:04 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 19:15 VERSION 19:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:17 docs 19:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:17 include 19:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:17 scripts 19:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:17 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:04 + 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=a1285c9c4a50919824972e76a7ef6929cbb7350a --label arch=arm64 --label version=0.0.0 . 19:20:05 Sending build context to Docker daemon 3.132MB 19:20:05 Step 1/18 : ARG BASE=alpine:3.18 19:20:05 Step 2/18 : FROM ${BASE} 19:20:05 ---> 0443ae592743 19:20:05 Step 3/18 : LABEL maintainer="IOTech " 19:20:05 ---> Running in e6baca23adbc 19:20:05 Removing intermediate container e6baca23adbc 19:20:05 ---> ff8cacdd73ee 19:20:05 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 19:20:05 ---> Running in c001e2c71c76 19:20:06 Connecting to iotech.jfrog.io (34.246.139.145:443) 19:20:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:20:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:20:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:20:08 Removing intermediate container c001e2c71c76 19:20:08 ---> f026cfb75553 19:20:08 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:20:08 ---> Running in 3d63dc815841 19:20:10 Removing intermediate container 3d63dc815841 19:20:10 ---> ae4930f12f21 19:20:10 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 19:20:10 ---> Running in 7ce2db6b069c 19:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:20:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:20:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:20:12 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 19:20:13 (2/11) Installing libcbor-dev (0.10.2-r1) 19:20:13 (3/11) Installing libmenuw (6.4_p20230506-r0) 19:20:13 (4/11) Installing libpanelw (6.4_p20230506-r0) 19:20:13 (5/11) Installing libncurses++ (6.4_p20230506-r0) 19:20:13 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 19:20:13 (7/11) Installing libblkid (2.38.1-r8) 19:20:13 (8/11) Installing libfdisk (2.38.1-r8) 19:20:13 (9/11) Installing libmount (2.38.1-r8) 19:20:13 (10/11) Installing libsmartcols (2.38.1-r8) 19:20:13 (11/11) Installing util-linux-dev (2.38.1-r8) 19:20:13 Executing busybox-1.36.1-r7.trigger 19:20:13 OK: 334 MiB in 101 packages 19:20:14 Removing intermediate container 7ce2db6b069c 19:20:14 ---> d8aa224cd0c4 19:20:14 Step 7/18 : RUN apk --no-cache upgrade 19:20:14 ---> Running in d16e22fa805a 19:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:20:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:20:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:20:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:20:17 OK: 334 MiB in 101 packages 19:20:18 Removing intermediate container d16e22fa805a 19:20:18 ---> 819b2e522a0e 19:20:18 Step 8/18 : COPY VERSION /edgex-c-sdk/ 19:20:20 ---> 3beea1126695 19:20:20 Step 9/18 : COPY src /edgex-c-sdk/src/ 19:20:20 ---> 20f280fc7afe 19:20:20 Step 10/18 : COPY include /edgex-c-sdk/include/ 19:20:21 ---> bdf2f97e7488 19:20:21 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 19:20:21 ---> 76da0495c6b6 19:20:21 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 19:20:22 ---> 27a6decec4e2 19:20:22 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 19:20:23 ---> d910d882c649 19:20:23 Step 14/18 : WORKDIR /edgex-c-sdk 19:20:23 ---> Running in 144b63188289 19:20:23 Removing intermediate container 144b63188289 19:20:23 ---> 605772129d87 19:20:23 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 19:20:23 ---> Running in e394052e2f6d 19:20:23 Removing intermediate container e394052e2f6d 19:20:23 ---> 6a01f081aa30 19:20:23 Step 16/18 : LABEL arch=arm64 19:20:23 ---> Running in 071a5923cea3 19:20:24 Removing intermediate container 071a5923cea3 19:20:24 ---> 4716658e9b7b 19:20:24 Step 17/18 : LABEL git_sha=a1285c9c4a50919824972e76a7ef6929cbb7350a 19:20:24 ---> Running in 81cbd96517eb 19:20:24 Removing intermediate container 81cbd96517eb 19:20:24 ---> 14098bccb913 19:20:24 Step 18/18 : LABEL version=0.0.0 19:20:24 ---> Running in b010374eafc1 19:20:24 Removing intermediate container b010374eafc1 19:20:24 ---> 323be09f3e21 19:20:24 [Warning] One or more build-args [MAKE ARCH] were not consumed 19:20:24 Successfully built 323be09f3e21 19:20:24 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 19:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:25 19:20:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:26 arm64: Pulling from edgex-lftools-log-publisher 19:20:26 8998bd30e6a1: Pulling fs layer 19:20:26 04944245beec: Pulling fs layer 19:20:26 699f458cf7ca: Pulling fs layer 19:20:26 765212b225bb: Pulling fs layer 19:20:26 f23df028b6ca: Pulling fs layer 19:20:26 d65c8cfc05b1: Pulling fs layer 19:20:26 2437ff75d9bd: Pulling fs layer 19:20:26 f23df028b6ca: Waiting 19:20:26 d65c8cfc05b1: Waiting 19:20:26 2437ff75d9bd: Waiting 19:20:26 04944245beec: Verifying Checksum 19:20:26 04944245beec: Download complete 19:20:26 765212b225bb: Verifying Checksum 19:20:26 765212b225bb: Download complete 19:20:26 f23df028b6ca: Verifying Checksum 19:20:26 f23df028b6ca: Download complete 19:20:26 d65c8cfc05b1: Verifying Checksum 19:20:26 d65c8cfc05b1: Download complete 19:20:26 699f458cf7ca: Verifying Checksum 19:20:26 699f458cf7ca: Download complete 19:20:27 8998bd30e6a1: Verifying Checksum 19:20:27 8998bd30e6a1: Download complete 19:20:30 2437ff75d9bd: Verifying Checksum 19:20:30 2437ff75d9bd: Download complete 19:20:31 8998bd30e6a1: Pull complete 19:20:31 04944245beec: Pull complete 19:20:33 699f458cf7ca: Pull complete 19:20:33 765212b225bb: Pull complete 19:20:34 f23df028b6ca: Pull complete 19:20:34 d65c8cfc05b1: Pull complete 19:20:49 2437ff75d9bd: Pull complete 19:20:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:49 prd-ubuntu20.04-docker-arm64-4c-16g-25959 does not seem to be running inside a container 19:20:49 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:20:52 $ docker top 193e086a502ac48e9663abb80677a2b31d79abb91d476b36da3c2ac9f7970b1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:53 ---> job-cost.sh 19:20:53 lf-activate-venv: SKIPPING 19:20:53 INFO: No Stack... 19:20:53 INFO: Retrieving Pricing Info for: v3-standard-4 19:20:54 INFO: Archiving Costs [Pipeline] sh 19:20:54 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 19:20:54 + cut -d, -f6 [Pipeline] lock 19:20:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] 19:20:55 Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] did not exist. Created. 19:20:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:20:55 /w/workspace/device-sdk-c/1@tmp/durable-d1cecbd2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:20:56 + echo total: 0.10999999940395355 [Pipeline] stash 19:20:56 Warning: overwriting stash ‘stack-cost’ 19:20:57 Stashed 1 file(s) [Pipeline] } 19:20:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:20:57 $ docker stop --time=1 193e086a502ac48e9663abb80677a2b31d79abb91d476b36da3c2ac9f7970b1d 19:20:58 $ docker rm -f --volumes 193e086a502ac48e9663abb80677a2b31d79abb91d476b36da3c2ac9f7970b1d [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 19:21:00 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives ] 19:21:00 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives 19:21:00 total 16 19:21:00 drwxr-xr-x 3 root root 4096 Nov 8 19:16 . 19:21:00 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:16 .. 19:21:00 drwxr-xr-x 2 root root 4096 Nov 8 19:16 cost 19:21:00 -rw-r--r-- 1 root root 84 Nov 8 19:16 cost.csv 19:21:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives 19:21:00 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives 19:21:00 total 16 19:21:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:16 . 19:21:00 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:16 .. 19:21:00 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 19:16 cost 19:21:00 -rw-r--r-- 1 jenkins jenkins 84 Nov 8 19:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:21:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:21:01 ---> package-listing.sh 19:21:01 ++ facter osfamily 19:21:01 ++ tr '[:upper:]' '[:lower:]' 19:21:02 + OS_FAMILY=debian 19:21:02 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-520 19:21:02 + START_PACKAGES=/tmp/packages_start.txt 19:21:02 + END_PACKAGES=/tmp/packages_end.txt 19:21:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:02 + PACKAGES=/tmp/packages_start.txt 19:21:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' 19:21:02 + PACKAGES=/tmp/packages_end.txt 19:21:02 + case "${OS_FAMILY}" in 19:21:02 + dpkg -l 19:21:02 + grep '^ii' 19:21:02 + '[' -f /tmp/packages_start.txt ']' 19:21:02 + '[' -f /tmp/packages_end.txt ']' 19:21:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' 19:21:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ 19:21:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [Pipeline] echo 19:21:02 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-520/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:21:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:03 prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container 19:21:03 $ 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-520/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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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-lftools-log-publisher:latest cat 19:21:03 $ docker top 44537c536fe1b33b25fe834ed981593cfe33e58256094ffc316c489e139a3662 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:04 + touch /tmp/pre-build-complete [Pipeline] sh 19:21:04 + mkdir -p /var/log/sysstat [Pipeline] sh 19:21:04 + ls /var/log/sa-host 19:21:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:04 provisioning config files... 19:21:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config5914883750227961805tmp [Pipeline] { [Pipeline] echo 19:21:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:21:05 ---> create-netrc.sh [Pipeline] } 19:21:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:21:05 ---> python-tools-install.sh [Pipeline] echo 19:21:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:21:06 ---> sudo-logs.sh 19:21:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:21:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:21:06 ---> job-cost.sh 19:21:06 lf-activate-venv: SKIPPING 19:21:06 DEBUG: total: 0.2199999988079071 19:21:06 INFO: Retrieving Stack Cost... 19:21:06 INFO: Retrieving Pricing Info for: v3-standard-8 19:21:07 INFO: Archiving Costs [Pipeline] echo 19:21:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:21:07 ---> logs-deploy.sh 19:21:07 lf-activate-venv: SKIPPING 19:21:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-520/1 19:21:07 INFO: archiving workspace using pattern(s): 19:21:08 Archives upload complete. 19:21:08 INFO: archiving logs to Nexus