Pull request #514 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 Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 30a24dda2410b85b52167bc1398eb9d9a2b4959b rather than 931961d2fe8efa0f08eb657fb22586ee44e66ecf Obtained Jenkinsfile from 30a24dda2410b85b52167bc1398eb9d9a2b4959b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3664410456437713266.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11250152829023325096.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh 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-514/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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4583688983147868596.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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6844543114604573285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh7397543536575152664.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-514/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-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13662584577956321292.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-11673 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-514 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 931961d2fe8efa0f08eb657fb22586ee44e66ecf Merge succeeded, producing 931961d2fe8efa0f08eb657fb22586ee44e66ecf Checking out Revision 931961d2fe8efa0f08eb657fb22586ee44e66ecf (PR-514) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 Commit message: "feat: add discovery delete function and register into discover/template.c" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:11:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:11:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:11:13 ========================================================= 14:11:13 EdgeX Global Pipelines Version Info 14:11:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:11:14 ------------------- 14:11:14 stable info: 14:11:14 ------------------- 14:11:14 Commited By: Cherry Wang cherry@iotechsys.com 14:11:14 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:11:14 Message: update stable to v1.0.264 14:11:14 ------------------- 14:11:14 experimental info: 14:11:14 ------------------- 14:11:14 Commited By: Cherry Wang cherry@iotechsys.com 14:11:14 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:11:14 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:11:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 931961d [Pipeline] echo 14:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:16 provisioning config files... 14:11:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config12906004414328323063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:17 ---> ****-login.sh 14:11:17 nexus3.edgexfoundry.org:10001 14:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:17 Configure a credential helper to remove this warning. See 14:11:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:17 14:11:17 Login Succeeded 14:11:17 nexus3.edgexfoundry.org:10002 14:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:17 Configure a credential helper to remove this warning. See 14:11:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:17 14:11:17 Login Succeeded 14:11:17 nexus3.edgexfoundry.org:10003 14:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:17 Configure a credential helper to remove this warning. See 14:11:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:17 14:11:17 Login Succeeded 14:11:17 nexus3.edgexfoundry.org:10004 14:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:17 Configure a credential helper to remove this warning. See 14:11:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:17 14:11:17 Login Succeeded 14:11:17 ****.io 14:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:17 Configure a credential helper to remove this warning. See 14:11:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:17 14:11:17 Login Succeeded 14:11:17 ---> ****-login.sh ends [Pipeline] } 14:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:11:18 + git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo 14:11:18 -----------> git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf 931961d2fe8efa0f08eb657fb22586ee44e66ecf [false] [Pipeline] sh 14:11:18 + git log --format=format:%s -1 931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo 14:11:18 ========================================================= 14:11:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:11:18 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:11:20 + git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo 14:11:20 -----------> git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf 931961d2fe8efa0f08eb657fb22586ee44e66ecf [false] [Pipeline] sh 14:11:20 + git log --format=format:%s -1 931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo 14:11:20 ========================================================= 14:11:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:11:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:11:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:11:21 + grep -v github /etc/ssh/ssh_known_hosts 14:11:21 + [ -e /tmp/ssh_known_hosts ] 14:11:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:11:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:11:21 + sudo tee -a /etc/ssh/ssh_known_hosts 14:11:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:21 14:11:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:21 0.1.4: Pulling from edgex-devops/py-git-semver 14:11:21 b85a868b505f: Pulling fs layer 14:11:21 e2be974225ed: Pulling fs layer 14:11:21 339a4e72a1f5: Pulling fs layer 14:11:21 988bab9f4d93: Pulling fs layer 14:11:21 1469e6f7b9e6: Pulling fs layer 14:11:21 eaf3925da568: Pulling fs layer 14:11:21 bab4dde63d76: Pulling fs layer 14:11:21 bde34c3a00c8: Pulling fs layer 14:11:21 b352a97aabf1: Pulling fs layer 14:11:21 4872d77fe225: Pulling fs layer 14:11:21 5851b861e8e6: Pulling fs layer 14:11:21 bde34c3a00c8: Waiting 14:11:21 988bab9f4d93: Waiting 14:11:21 1469e6f7b9e6: Waiting 14:11:21 b352a97aabf1: Waiting 14:11:21 bab4dde63d76: Waiting 14:11:21 5851b861e8e6: Waiting 14:11:21 4872d77fe225: Waiting 14:11:21 e2be974225ed: Verifying Checksum 14:11:21 e2be974225ed: Download complete 14:11:21 988bab9f4d93: Verifying Checksum 14:11:21 988bab9f4d93: Download complete 14:11:21 1469e6f7b9e6: Verifying Checksum 14:11:21 1469e6f7b9e6: Download complete 14:11:21 339a4e72a1f5: Download complete 14:11:21 eaf3925da568: Verifying Checksum 14:11:21 eaf3925da568: Download complete 14:11:22 bde34c3a00c8: Verifying Checksum 14:11:22 bde34c3a00c8: Download complete 14:11:22 b352a97aabf1: Download complete 14:11:22 4872d77fe225: Verifying Checksum 14:11:22 4872d77fe225: Download complete 14:11:22 5851b861e8e6: Download complete 14:11:22 b85a868b505f: Verifying Checksum 14:11:22 b85a868b505f: Download complete 14:11:22 bab4dde63d76: Verifying Checksum 14:11:22 bab4dde63d76: Download complete 14:11:23 b85a868b505f: Pull complete 14:11:23 e2be974225ed: Pull complete 14:11:24 339a4e72a1f5: Pull complete 14:11:24 988bab9f4d93: Pull complete 14:11:24 1469e6f7b9e6: Pull complete 14:11:24 eaf3925da568: Pull complete 14:11:25 bab4dde63d76: Pull complete 14:11:26 bde34c3a00c8: Pull complete 14:11:26 b352a97aabf1: Pull complete 14:11:26 4872d77fe225: Pull complete 14:11:26 5851b861e8e6: Pull complete 14:11:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:11:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:11:26 prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container 14:11:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:11:29 $ docker top d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 -eo pid,comm 14:11:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:11:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:11:29 [ssh-agent] Looking for ssh-agent implementation... 14:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:11:29 $ docker exec d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent 14:11:29 SSH_AUTH_SOCK=/tmp/ssh-IJ9mIyiACRJk/agent.31 14:11:29 SSH_AGENT_PID=37 14:11:29 Running ssh-add (command line suppressed) 14:11:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12766135618788562826.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12766135618788562826.key) 14:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:11:30 + git tag --points-at HEAD [Pipeline] } 14:11:30 $ docker exec --env ******** --env ******** d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent -k 14:11:30 unset SSH_AUTH_SOCK; 14:11:30 unset SSH_AGENT_PID; 14:11:30 echo Agent pid 37 killed; 14:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:11:30 [ssh-agent] Looking for ssh-agent implementation... 14:11:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:11:30 $ docker exec d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent 14:11:30 SSH_AUTH_SOCK=/tmp/ssh-y97hTyLnEMo0/agent.70 14:11:30 SSH_AGENT_PID=76 14:11:30 Running ssh-add (command line suppressed) 14:11:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_3788379011457821805.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_3788379011457821805.key) 14:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:11:31 + git semver init 14:11:31 2024-09-26 14:11:31,506 [run_init] DEBUG init version:0.0.0 force:False 14:11:31 2024-09-26 14:11:31,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver 14:11:31 2024-09-26 14:11:31,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver 14:11:31 2024-09-26 14:11:31,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514, universal_newlines=False, shell=None, istream=None) 14:11:32 2024-09-26 14:11:32,291 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.git/info/exclude 14:11:32 2024-09-26 14:11:32,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 with force:False 14:11:32 2024-09-26 14:11:32,291 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 14:11:32 2024-09-26 14:11:32,296 [execute] INFO git cat-file --batch-check 14:11:32 2024-09-26 14:11:32,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) 14:11:32 2024-09-26 14:11:32,302 [execute] INFO git cat-file --batch 14:11:32 2024-09-26 14:11:32,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) 14:11:32 2024-09-26 14:11:32,306 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 14:11:32 0.0.0 [Pipeline] } 14:11:32 $ docker exec --env ******** --env ******** d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent -k 14:11:32 unset SSH_AUTH_SOCK; 14:11:32 unset SSH_AGENT_PID; 14:11:32 echo Agent pid 76 killed; 14:11:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:11:33 + git semver [Pipeline] } 14:11:33 $ docker stop --time=1 d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 14:11:34 $ docker rm -f --volumes d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 [Pipeline] // withDockerContainer [Pipeline] sh 14:11:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:11:35 Stashed 1 file(s) [Pipeline] echo 14:11:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:36 provisioning config files... 14:11:36 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config5184781332055829107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:36 ---> ****-login.sh 14:11:36 nexus3.edgexfoundry.org:10001 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 nexus3.edgexfoundry.org:10002 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 nexus3.edgexfoundry.org:10003 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 nexus3.edgexfoundry.org:10004 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 ****.io 14:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:11:36 Configure a credential helper to remove this warning. See 14:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:11:36 14:11:36 Login Succeeded 14:11:36 ---> ****-login.sh ends [Pipeline] } 14:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:11:37 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:11:37 ========================================================= 14:11:37 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:11:37 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:37 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:11:37 Sending build context to Docker daemon 5.268MB 14:11:37 Step 1/22 : ARG BASE=alpine:3.18 14:11:37 Step 2/22 : FROM ${BASE} as builder 14:11:37 latest: Pulling from edgex-devops/edgex-gcc-base 14:11:37 96526aa774ef: Pulling fs layer 14:11:37 da60e534fd72: Pulling fs layer 14:11:38 96526aa774ef: Verifying Checksum 14:11:38 96526aa774ef: Download complete 14:11:38 96526aa774ef: Pull complete 14:11:39 da60e534fd72: Verifying Checksum 14:11:39 da60e534fd72: Download complete 14:11:41 da60e534fd72: Pull complete 14:11:41 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:11:41 ---> 6605166a5db4 14:11:41 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:11:44 ---> Running in 05efd4d00065 14:11:44 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:11:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:11:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:11:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:11:44 Removing intermediate container 05efd4d00065 14:11:44 ---> b211b0dc388f 14:11:44 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:11:44 ---> Running in 46f383151013 14:11:45 Removing intermediate container 46f383151013 14:11:45 ---> 1ff187220bde 14:11:45 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:11:45 ---> Running in 5247f052e095 14:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:11:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:11:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:46 (1/17) Installing hiredis (1.1.0-r2) 14:11:46 (2/17) Installing hiredis-dev (1.1.0-r2) 14:11:46 (3/17) Installing libcbor (0.10.2-r1) 14:11:46 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:11:47 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:11:47 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:11:47 (7/17) Installing libcbor-dev (0.10.2-r1) 14:11:48 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:11:48 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:11:48 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:11:48 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:11:48 (12/17) Installing libblkid (2.38.1-r8) 14:11:48 (13/17) Installing libuuid (2.38.1-r8) 14:11:48 (14/17) Installing libfdisk (2.38.1-r8) 14:11:48 (15/17) Installing libmount (2.38.1-r8) 14:11:48 (16/17) Installing libsmartcols (2.38.1-r8) 14:11:48 (17/17) Installing util-linux-dev (2.38.1-r8) 14:11:48 Executing busybox-1.36.1-r4.trigger 14:11:48 OK: 336 MiB in 99 packages 14:11:48 Removing intermediate container 5247f052e095 14:11:48 ---> 0ddc84381302 14:11:48 Step 6/22 : RUN mkdir /tmp/sdk 14:11:48 ---> Running in c7d46d089999 14:11:49 Removing intermediate container c7d46d089999 14:11:49 ---> eb5453e3a9de 14:11:49 Step 7/22 : COPY VERSION /tmp/sdk 14:11:49 ---> 9a2dc0810093 14:11:49 Step 8/22 : COPY src /tmp/sdk/src 14:11:49 ---> 431184cd6986 14:11:49 Step 9/22 : COPY include /tmp/sdk/include 14:11:49 ---> 509bf2ab602f 14:11:49 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:11:49 ---> 2164a9005543 14:11:49 Step 11/22 : COPY LICENSE /tmp/sdk 14:11:49 ---> ec650bd5c319 14:11:49 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:11:49 ---> 951ae25a84f0 14:11:49 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:11:49 ---> Running in 41613f8d902b 14:11:50 + CPPCHECK=false 14:11:50 + DOCGEN=false 14:11:50 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:11:50 + '[' 0 -gt 0 ] 14:11:50 + readlink -f ./scripts/build.sh 14:11:50 + dirname /tmp/sdk/scripts/build.sh 14:11:50 + dirname /tmp/sdk/scripts 14:11:50 + ROOT=/tmp/sdk 14:11:50 + cd /tmp/sdk 14:11:50 + mkdir -p /tmp/sdk/build/release 14:11:50 + cd /tmp/sdk/build/release 14:11:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:11:50 -- The C compiler identification is GNU 12.2.1 14:11:50 -- Detecting C compiler ABI info 14:11:50 -- Detecting C compiler ABI info - done 14:11:50 -- Check for working C compiler: /usr/bin/cc - skipped 14:11:50 -- Detecting C compile features 14:11:50 -- Detecting C compile features - done 14:11:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:11:50 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:11:50 -- Found LIBYAML: /usr/lib/libyaml.so 14:11:50 -- Found LIBUUID: /usr/lib/libuuid.so 14:11:50 -- Found LIBCBOR: /usr/lib/libcbor.so 14:11:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:11:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:11:50 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:11:50 -- /opt/iotech/iot/1.5/include 14:11:50 -- C SDK 0.0.0 for Linux 14:11:50 -- Performing Test CSDK_HAVE_ATOMIC 14:11:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:11:50 -- Found Curses: /usr/lib/libcurses.so 14:11:50 -- Configuring done (0.4s) 14:11:50 -- Generating done (0.0s) 14:11:50 -- Build files have been written to: /tmp/sdk/build/release 14:11:50 + make all package 14:11:50 + tee release.log 14:11:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:11:50 Still waiting to schedule task 14:11:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:11:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:11:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:11:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:11:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:11:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:11:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:11:51 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:11:51 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:11:51 294 | while (privateConfig) 14:11:51 | ^~~~~~~~~~~~~ 14:11:51 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:11:51 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:11:51 | ^~~~~~~~~~~~~ 14:11:51 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:11:51 271 | while (result) 14:11:51 | ^~~~~~ 14:11:51 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:11:51 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:11:51 | ^~~~~~ 14:11:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:11:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:11:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:11:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:11:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:11:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:11:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:11:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:11:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:11:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:11:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:11:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:11:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:11:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:11:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:11:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:11:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:11:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:11:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:11:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:11:55 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:11:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:11:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:11:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:11:55 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:11:55 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:11:55 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:11:55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:11:55 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:11:55 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:11:55 | ^ 14:11:55 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:11:55 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:11:55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:11:55 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 14:11:55 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:11:55 | ^~~~~~~~~~~~~~~~~~~~~ 14:11:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:11:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:11:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:11:56 [ 68%] Linking C shared library libcsdk.so 14:11:56 [ 68%] Built target csdk 14:11:56 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:11:56 [ 72%] Linking C executable template 14:11:56 [ 72%] Built target template 14:11:56 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:11:56 [ 76%] Linking C executable device-counter 14:11:56 [ 76%] Built target device-counter 14:11:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:11:56 [ 80%] Linking C executable device-random 14:11:56 [ 80%] Built target device-random 14:11:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:11:56 [ 84%] Linking C executable device-gyro 14:11:57 [ 84%] Built target device-gyro 14:11:57 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:11:57 [ 88%] Linking C executable device-bitfields 14:11:57 [ 88%] Built target device-bitfields 14:11:57 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:11:57 [ 92%] Linking C executable template-discovery 14:11:57 [ 92%] Built target template-discovery 14:11:57 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:11:57 [ 96%] Linking C executable device-file 14:11:57 [ 96%] Built target device-file 14:11:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:11:57 [100%] Linking C executable device-terminal 14:11:57 [100%] Built target device-terminal 14:11:57 Run CPack packaging tool... 14:11:57 CPack: Create package using TGZ 14:11:57 CPack: Install projects 14:11:57 CPack: - Run preinstall target for: Csdk 14:11:58 CPack: - Install project: Csdk [] 14:11:58 CPack: Create package 14:11:58 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:11:58 + '[' false '=' true ] 14:11:58 + '[' false '=' true ] 14:11:58 + mkdir -p /tmp/sdk/build/debug 14:11:58 + cd /tmp/sdk/build/debug 14:11:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:11:58 -- The C compiler identification is GNU 12.2.1 14:11:58 -- Detecting C compiler ABI info 14:11:58 -- Detecting C compiler ABI info - done 14:11:58 -- Check for working C compiler: /usr/bin/cc - skipped 14:11:58 -- Detecting C compile features 14:11:58 -- Detecting C compile features - done 14:11:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:11:58 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:11:58 -- Found LIBYAML: /usr/lib/libyaml.so 14:11:58 -- Found LIBUUID: /usr/lib/libuuid.so 14:11:58 -- Found LIBCBOR: /usr/lib/libcbor.so 14:11:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:11:58 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:11:58 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:11:58 -- /opt/iotech/iot/1.5/include 14:11:58 -- C SDK 0.0.0 for Linux 14:11:58 -- Performing Test CSDK_HAVE_ATOMIC 14:11:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:11:58 -- Found Curses: /usr/lib/libcurses.so 14:11:58 -- Configuring done (0.4s) 14:11:58 -- Generating done (0.0s) 14:11:58 -- Build files have been written to: /tmp/sdk/build/debug 14:11:58 + make 14:11:58 + tee debug.log 14:11:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:11:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:11:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:11:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:11:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:11:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:11:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:11:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:11:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:11:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:11:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:11:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:11:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:11:59 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:11:59 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:11:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:11:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:12:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:12:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:12:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:12:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:12:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:12:00 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:12:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:12:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:12:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:12:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:12:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:12:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:12:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:12:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:12:01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:12:01 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:12:01 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:12:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:12:01 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:12:01 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:12:01 | ^ 14:12:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:12:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:12:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:12:01 [ 68%] Linking C shared library libcsdk.so 14:12:01 [ 68%] Built target csdk 14:12:01 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:12:01 [ 72%] Linking C executable template 14:12:01 [ 72%] Built target template 14:12:01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:12:01 [ 76%] Linking C executable device-counter 14:12:01 [ 76%] Built target device-counter 14:12:01 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:12:01 [ 80%] Linking C executable device-random 14:12:01 [ 80%] Built target device-random 14:12:01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:12:01 [ 84%] Linking C executable device-gyro 14:12:02 [ 84%] Built target device-gyro 14:12:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:12:02 [ 88%] Linking C executable device-bitfields 14:12:02 [ 88%] Built target device-bitfields 14:12:02 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:12:02 [ 92%] Linking C executable template-discovery 14:12:02 [ 92%] Built target template-discovery 14:12:02 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:12:02 [ 96%] Linking C executable device-file 14:12:02 [ 96%] Built target device-file 14:12:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:12:02 [100%] Linking C executable device-terminal 14:12:02 [100%] Built target device-terminal 14:12:02 make: Entering directory '/tmp/sdk/build/release' 14:12:02 [ 68%] Built target csdk 14:12:02 [ 72%] Built target template 14:12:02 [ 76%] Built target device-counter 14:12:02 [ 80%] Built target device-random 14:12:02 [ 84%] Built target device-gyro 14:12:02 [ 88%] Built target device-bitfields 14:12:02 [ 92%] Built target template-discovery 14:12:02 [ 96%] Built target device-file 14:12:02 [100%] Built target device-terminal 14:12:02 Install the project... 14:12:02 -- Install configuration: "Release" 14:12:02 -- Installing: /usr/local/lib/libcsdk.so 14:12:02 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:12:02 -- Installing: /usr/local/include 14:12:02 -- Installing: /usr/local/include/devsdk 14:12:02 -- Installing: /usr/local/include/devsdk/devsdk.h 14:12:02 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:12:02 -- Installing: /usr/local/include/edgex 14:12:02 -- Installing: /usr/local/include/edgex/edgex.h 14:12:02 -- Installing: /usr/local/include/edgex/devices.h 14:12:02 -- Installing: /usr/local/include/edgex/profiles.h 14:12:02 -- Installing: /usr/local/include/edgex/edgex-base.h 14:12:02 -- Installing: /usr/local/include/edgex/rest-server.h 14:12:02 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:12:02 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:12:02 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:12:02 make: Leaving directory '/tmp/sdk/build/release' 14:12:03 Removing intermediate container 41613f8d902b 14:12:03 ---> d4f4a9b99488 14:12:03 Step 14/22 : FROM ${BASE} 14:12:03 ---> 6605166a5db4 14:12:03 Step 15/22 : LABEL maintainer="IOTech " 14:12:03 ---> Running in b1235347524e 14:12:03 Removing intermediate container b1235347524e 14:12:03 ---> 184e0702b9fc 14:12:03 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:12:03 ---> Running in d885d2cda825 14:12:04 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:12:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:12:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:12:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:12:04 Removing intermediate container d885d2cda825 14:12:04 ---> 3c5cd57f084a 14:12:04 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:12:04 ---> Running in 07ec7759e181 14:12:05 Removing intermediate container 07ec7759e181 14:12:05 ---> 9f4d09f330e0 14:12:05 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:12:05 ---> Running in ad0ecdab6539 14:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:12:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:12:06 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:12:06 (2/10) Installing curl (8.9.1-r0) 14:12:06 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:12:06 (4/10) Installing dumb-init (1.2.5-r2) 14:12:06 (5/10) Installing hiredis (1.1.0-r2) 14:12:06 (6/10) Installing hiredis-dev (1.1.0-r2) 14:12:06 (7/10) Installing libcbor (0.10.2-r1) 14:12:06 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:12:06 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:12:07 (10/10) Installing libuuid (2.38.1-r8) 14:12:07 Executing busybox-1.36.1-r4.trigger 14:12:07 OK: 331 MiB in 90 packages 14:12:07 Removing intermediate container ad0ecdab6539 14:12:07 ---> 713e9577f092 14:12:07 Step 19/22 : RUN apk --no-cache upgrade 14:12:07 ---> Running in 2894100214ce 14:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:12:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:12:08 Upgrading critical system libraries and apk-tools: 14:12:08 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:12:08 Executing busybox-1.36.1-r4.trigger 14:12:08 Continuing the upgrade transaction with new apk-tools: 14:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:12:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:12:09 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:12:09 Executing busybox-1.36.1-r7.post-upgrade 14:12:09 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:12:09 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:12:09 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:12:09 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:12:09 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:12:09 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:12:09 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:12:09 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:12:09 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:12:09 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:12:09 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:12:09 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:12:09 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:12:09 Executing busybox-1.36.1-r7.trigger 14:12:09 Executing ca-certificates-20240226-r0.trigger 14:12:09 OK: 331 MiB in 90 packages 14:12:10 Removing intermediate container 2894100214ce 14:12:10 ---> fa0e4ba1819a 14:12:10 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:12:10 ---> 353586477022 14:12:10 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:12:10 ---> 83b3d990be95 14:12:10 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:12:10 ---> 699dbc408e92 14:12:10 Successfully built 699dbc408e92 14:12:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:11 + docker inspect -f . ci-base-image-x86_64 14:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:11 prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container 14:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:12:12 $ docker top ef6c891d95094b6f8ad30a5368444005e2680132119f77ed878c1c3110ca900b -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:12 + make test 14:12:12 echo "make test" 14:12:12 make test [Pipeline] } 14:12:12 $ docker stop --time=1 ef6c891d95094b6f8ad30a5368444005e2680132119f77ed878c1c3110ca900b 14:12:13 $ docker rm -f --volumes ef6c891d95094b6f8ad30a5368444005e2680132119f77ed878c1c3110ca900b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:12:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:12:14 + ls -al . 14:12:14 total 212 14:12:14 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 14:11 . 14:12:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:11 .. 14:12:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:11 .git 14:12:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 14:11 .github 14:12:14 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 14:11 .gitignore 14:12:14 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 14:11 .semver 14:12:14 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 14:11 Attribution.txt 14:12:14 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 14:11 CHANGELOG.md 14:12:14 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 14:11 Doxyfile 14:12:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 14:11 GOVERNANCE.md 14:12:14 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 14:11 Jenkinsfile 14:12:14 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 14:11 LICENSE 14:12:14 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 14:11 Makefile 14:12:14 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 14:11 OWNERS.md 14:12:14 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 14:11 README.IOT.md 14:12:14 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 14:11 README.md 14:12:14 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 14:11 README.v3.md 14:12:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 14:11 VERSION 14:12:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:11 docs 14:12:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:11 include 14:12:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:11 scripts 14:12:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:15 + 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=931961d2fe8efa0f08eb657fb22586ee44e66ecf --label arch=amd64 --label version=0.0.0 . 14:12:15 Sending build context to Docker daemon 5.268MB 14:12:15 Step 1/18 : ARG BASE=alpine:3.18 14:12:15 Step 2/18 : FROM ${BASE} 14:12:15 ---> 699dbc408e92 14:12:15 Step 3/18 : LABEL maintainer="IOTech " 14:12:15 ---> Running in aa10dd96c90d 14:12:15 Removing intermediate container aa10dd96c90d 14:12:15 ---> 60ed2d8193f8 14:12:15 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:12:15 ---> Running in 87f3d20b8eab 14:12:15 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:12:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:12:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:12:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:12:16 Removing intermediate container 87f3d20b8eab 14:12:16 ---> 250ddde414f9 14:12:16 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:12:16 ---> Running in bbbe3734e277 14:12:16 Removing intermediate container bbbe3734e277 14:12:16 ---> 0bc28c04e02a 14:12:16 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:12:16 ---> Running in 7ce58c642cc1 14:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:12:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:12:18 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:12:18 (2/11) Installing libcbor-dev (0.10.2-r1) 14:12:18 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:12:18 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:12:18 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:12:18 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:12:18 (7/11) Installing libblkid (2.38.1-r8) 14:12:18 (8/11) Installing libfdisk (2.38.1-r8) 14:12:18 (9/11) Installing libmount (2.38.1-r8) 14:12:18 (10/11) Installing libsmartcols (2.38.1-r8) 14:12:18 (11/11) Installing util-linux-dev (2.38.1-r8) 14:12:18 Executing busybox-1.36.1-r7.trigger 14:12:18 OK: 337 MiB in 101 packages 14:12:18 Removing intermediate container 7ce58c642cc1 14:12:18 ---> de2b95a13871 14:12:18 Step 7/18 : RUN apk --no-cache upgrade 14:12:18 ---> Running in 7316594d5574 14:12:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:12:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:12:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:12:19 OK: 337 MiB in 101 packages 14:12:20 Removing intermediate container 7316594d5574 14:12:20 ---> eb0d875c9294 14:12:20 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:12:20 ---> 816899b18b94 14:12:20 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:12:20 ---> 6f611e5cb9c7 14:12:20 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:12:20 ---> 9214c7192e7d 14:12:20 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:12:20 ---> 0b9ee4e83685 14:12:20 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:12:20 ---> d72a4a6832a0 14:12:20 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:12:20 ---> d95828d047f5 14:12:20 Step 14/18 : WORKDIR /edgex-c-sdk 14:12:20 ---> Running in 3249ec86a09f 14:12:21 Removing intermediate container 3249ec86a09f 14:12:21 ---> 6572c7715615 14:12:21 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:12:21 ---> Running in 575ad4cc24f7 14:12:21 Removing intermediate container 575ad4cc24f7 14:12:21 ---> fc20b0c1fc93 14:12:21 Step 16/18 : LABEL arch=amd64 14:12:21 ---> Running in 8853accfad72 14:12:21 Removing intermediate container 8853accfad72 14:12:21 ---> 63ccb045a01f 14:12:21 Step 17/18 : LABEL git_sha=931961d2fe8efa0f08eb657fb22586ee44e66ecf 14:12:21 ---> Running in 3c486e9c4376 14:12:21 Removing intermediate container 3c486e9c4376 14:12:21 ---> 2226513168db 14:12:21 Step 18/18 : LABEL version=0.0.0 14:12:21 ---> Running in 21e783a9de2b 14:12:21 Removing intermediate container 21e783a9de2b 14:12:21 ---> ee7d9aa9360f 14:12:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:12:21 Successfully built ee7d9aa9360f 14:12:21 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:12:22 14:12:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:12:22 latest: Pulling from edgex-lftools-log-publisher 14:12:22 5eb5b503b376: Pulling fs layer 14:12:22 5c69ac0246d0: Pulling fs layer 14:12:22 ec43610c2a17: Pulling fs layer 14:12:22 3a2ae6a8a46f: Pulling fs layer 14:12:22 33b1e0a273af: Pulling fs layer 14:12:22 5d3b04190fa2: Pulling fs layer 14:12:22 2f39f015ded8: Pulling fs layer 14:12:22 3a2ae6a8a46f: Waiting 14:12:22 5d3b04190fa2: Waiting 14:12:22 33b1e0a273af: Waiting 14:12:22 5c69ac0246d0: Download complete 14:12:22 3a2ae6a8a46f: Verifying Checksum 14:12:22 33b1e0a273af: Verifying Checksum 14:12:22 33b1e0a273af: Download complete 14:12:22 5d3b04190fa2: Verifying Checksum 14:12:22 5d3b04190fa2: Download complete 14:12:22 ec43610c2a17: Download complete 14:12:23 5eb5b503b376: Verifying Checksum 14:12:23 5eb5b503b376: Download complete 14:12:23 2f39f015ded8: Download complete 14:12:24 5eb5b503b376: Pull complete 14:12:24 5c69ac0246d0: Pull complete 14:12:24 ec43610c2a17: Pull complete 14:12:24 3a2ae6a8a46f: Pull complete 14:12:24 33b1e0a273af: Pull complete 14:12:25 5d3b04190fa2: Pull complete 14:12:29 2f39f015ded8: Pull complete 14:12:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:12:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:12:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:29 prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container 14:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:12:34 $ docker top 2dfc48a52cf78a468986dab0e720ea9948e7651f246d00318f5554399edca9f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:12:35 ---> job-cost.sh 14:12:35 lf-activate-venv: SKIPPING 14:12:35 INFO: No Stack... 14:12:35 INFO: Retrieving Pricing Info for: v3-standard-8 14:12:35 INFO: Archiving Costs [Pipeline] sh 14:12:35 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/cost.csv 14:12:35 + cut -d, -f6 [Pipeline] lock 14:12:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] 14:12:35 Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] did not exist. Created. 14:12:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:12:36 + echo total: 0.2199999988079071 [Pipeline] stash 14:12:36 Stashed 1 file(s) [Pipeline] } 14:12:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:12:36 $ docker stop --time=1 2dfc48a52cf78a468986dab0e720ea9948e7651f246d00318f5554399edca9f0 14:12:37 $ docker rm -f --volumes 2dfc48a52cf78a468986dab0e720ea9948e7651f246d00318f5554399edca9f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:13:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11674 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [Pipeline] { [Pipeline] ws 14:13:38 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:13:41 Selected Git installation does not exist. Using Default 14:13:41 The recommended git tool is: NONE 14:13:49 using credential edgex-jenkins-ssh 14:13:49 Cloning the remote Git repository 14:13:49 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:13:49 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:13:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:13:49 > git --version # timeout=10 14:13:49 > git --version # 'git version 2.25.1' 14:13:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:13:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:13:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:13:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:13:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:13:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:13:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:13:52 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 931961d2fe8efa0f08eb657fb22586ee44e66ecf 14:13:52 Merge succeeded, producing 931961d2fe8efa0f08eb657fb22586ee44e66ecf 14:13:52 Checking out Revision 931961d2fe8efa0f08eb657fb22586ee44e66ecf (PR-514) 14:13:52 > git config core.sparsecheckout # timeout=10 14:13:52 > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 14:13:52 > git remote # timeout=10 14:13:52 > git config --get remote.origin.url # timeout=10 14:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:13:52 > git merge 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 14:13:52 > git rev-parse HEAD^{commit} # timeout=10 14:13:52 > git config core.sparsecheckout # timeout=10 14:13:52 > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 14:13:56 Commit message: "feat: add discovery delete function and register into discover/template.c" 14:13:56 > git --version # timeout=10 14:13:56 > git --version # 'git version 2.25.1' 14:13:56 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:13:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:13:58 % Total % Received % Xferd Average Speed Time Time Time Current 14:13:58 Dload Upload Total Spent Left Speed 14:13:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 14:13:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:13:59 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 14:13:59 /etc/docker/daemon.json 14:13:59 { 14:13:59 "registry-mirrors": [ 14:13:59 "https://nexus3.edgexfoundry.org:10001" 14:13:59 ], 14:13:59 "bip": "10.250.0.254/24", 14:13:59 "hosts": [ 14:13:59 "tcp://0.0.0.0:5555", 14:13:59 "unix:///var/run/docker.sock" 14:13:59 ], 14:13:59 "mtu": 1458, 14:13:59 "selinux-enabled": true, 14:13:59 "seccomp-profile": "/etc/docker/seccomp.json" 14:13:59 } [Pipeline] sh 14:13:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:14:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:14:18 provisioning config files... 14:14:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9651356832947974339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:19 ---> ****-login.sh 14:14:19 nexus3.edgexfoundry.org:10001 14:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:14:19 Configure a credential helper to remove this warning. See 14:14:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:14:19 14:14:19 Login Succeeded 14:14:19 nexus3.edgexfoundry.org:10002 14:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:14:20 Configure a credential helper to remove this warning. See 14:14:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:14:20 14:14:20 Login Succeeded 14:14:20 nexus3.edgexfoundry.org:10003 14:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:14:20 Configure a credential helper to remove this warning. See 14:14:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:14:20 14:14:20 Login Succeeded 14:14:20 nexus3.edgexfoundry.org:10004 14:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:14:20 Configure a credential helper to remove this warning. See 14:14:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:14:20 14:14:20 Login Succeeded 14:14:20 ****.io 14:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:14:21 Configure a credential helper to remove this warning. See 14:14:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:14:21 14:14:21 Login Succeeded 14:14:21 ---> ****-login.sh ends [Pipeline] } 14:14:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:14:21 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:14:21 ========================================================= 14:14:21 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:14:21 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:22 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:14:22 Sending build context to Docker daemon 3.223MB 14:14:22 Step 1/22 : ARG BASE=alpine:3.18 14:14:22 Step 2/22 : FROM ${BASE} as builder 14:14:22 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:14:22 579b34f0a95b: Pulling fs layer 14:14:22 e71477ac5e1b: Pulling fs layer 14:14:23 579b34f0a95b: Verifying Checksum 14:14:23 579b34f0a95b: Download complete 14:14:23 579b34f0a95b: Pull complete 14:14:25 e71477ac5e1b: Verifying Checksum 14:14:25 e71477ac5e1b: Download complete 14:14:38 e71477ac5e1b: Pull complete 14:14:38 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:14:38 ---> 2b552cad5dd9 14:14:38 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:14:38 ---> Running in f7fe3a31f72f 14:14:39 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:14:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:14:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:14:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:14:40 Removing intermediate container f7fe3a31f72f 14:14:40 ---> 99d6fca2c046 14:14:40 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:14:40 ---> Running in 16679a783b34 14:14:41 Removing intermediate container 16679a783b34 14:14:41 ---> 575b3f161082 14:14:41 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:14:41 ---> Running in b9a179d2d423 14:14:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:14:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:14:44 (1/17) Installing hiredis (1.1.0-r2) 14:14:45 (2/17) Installing hiredis-dev (1.1.0-r2) 14:14:45 (3/17) Installing libcbor (0.10.2-r1) 14:14:45 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:14:45 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:14:45 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:14:46 (7/17) Installing libcbor-dev (0.10.2-r1) 14:14:46 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:14:46 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:14:46 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:14:46 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:14:46 (12/17) Installing libblkid (2.38.1-r8) 14:14:46 (13/17) Installing libuuid (2.38.1-r8) 14:14:46 (14/17) Installing libfdisk (2.38.1-r8) 14:14:46 (15/17) Installing libmount (2.38.1-r8) 14:14:46 (16/17) Installing libsmartcols (2.38.1-r8) 14:14:46 (17/17) Installing util-linux-dev (2.38.1-r8) 14:14:47 Executing busybox-1.36.1-r4.trigger 14:14:47 OK: 333 MiB in 99 packages 14:14:48 Removing intermediate container b9a179d2d423 14:14:48 ---> 16762fc84337 14:14:48 Step 6/22 : RUN mkdir /tmp/sdk 14:14:48 ---> Running in 2597bc76e052 14:14:49 Removing intermediate container 2597bc76e052 14:14:49 ---> 6a5aceab2556 14:14:49 Step 7/22 : COPY VERSION /tmp/sdk 14:14:50 ---> a3b7707be0bd 14:14:50 Step 8/22 : COPY src /tmp/sdk/src 14:14:51 ---> b1ba512d3c6a 14:14:51 Step 9/22 : COPY include /tmp/sdk/include 14:14:51 ---> a20c4e6510fc 14:14:51 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:14:51 ---> 4a00825f706a 14:14:51 Step 11/22 : COPY LICENSE /tmp/sdk 14:14:52 ---> f4866a8036f5 14:14:52 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:14:53 ---> 56a1d203e8bc 14:14:53 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:14:53 ---> Running in b8e0854a6813 14:14:55 + CPPCHECK=false 14:14:55 + DOCGEN=false 14:14:55 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:14:55 + '[' 0 -gt 0 ] 14:14:55 + readlink -f ./scripts/build.sh 14:14:55 + dirname /tmp/sdk/scripts/build.sh 14:14:55 + dirname /tmp/sdk/scripts 14:14:55 + ROOT=/tmp/sdk 14:14:55 + cd /tmp/sdk 14:14:55 + mkdir -p /tmp/sdk/build/release 14:14:55 + cd /tmp/sdk/build/release 14:14:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:14:55 -- The C compiler identification is GNU 12.2.1 14:14:55 -- Detecting C compiler ABI info 14:14:56 -- Detecting C compiler ABI info - done 14:14:56 -- Check for working C compiler: /usr/bin/cc - skipped 14:14:56 -- Detecting C compile features 14:14:56 -- Detecting C compile features - done 14:14:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:14:56 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:14:56 -- Found LIBYAML: /usr/lib/libyaml.so 14:14:56 -- Found LIBUUID: /usr/lib/libuuid.so 14:14:56 -- Found LIBCBOR: /usr/lib/libcbor.so 14:14:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:14:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:14:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:14:56 -- /opt/iotech/iot/1.5/include 14:14:56 -- C SDK 0.0.0 for Linux 14:14:56 -- Performing Test CSDK_HAVE_ATOMIC 14:14:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:14:57 -- Found Curses: /usr/lib/libcurses.so 14:14:57 -- Configuring done (1.8s) 14:14:57 -- Generating done (0.2s) 14:14:57 -- Build files have been written to: /tmp/sdk/build/release 14:14:57 + make all package 14:14:57 + tee release.log 14:14:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:14:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:14:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:14:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:15:00 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:15:01 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:15:03 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:15:04 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:15:04 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:15:04 294 | while (privateConfig) 14:15:04 | ^~~~~~~~~~~~~ 14:15:04 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:15:04 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:15:04 | ^~~~~~~~~~~~~ 14:15:04 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:15:04 271 | while (result) 14:15:04 | ^~~~~~ 14:15:04 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:15:04 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:15:04 | ^~~~~~ 14:15:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:15:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:15:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:15:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:15:08 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:15:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:15:10 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:15:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:15:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:15:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:15:14 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:15:14 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:15:14 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:15:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:15:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:15:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:15:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:15:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:15:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:15:26 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:15:28 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:15:29 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:15:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:15:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:15:30 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:15:30 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:15:30 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:15:30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:15:30 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:15:30 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:15:30 | ^ 14:15:32 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:15:32 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:15:32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:15:32 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 14:15:32 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:15:32 | ^~~~~~~~~~~~~~~~~~~~~ 14:15:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:15:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:15:34 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:15:34 [ 68%] Linking C shared library libcsdk.so 14:15:35 [ 68%] Built target csdk 14:15:35 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:15:36 [ 72%] Linking C executable template 14:15:36 [ 72%] Built target template 14:15:36 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:15:36 [ 76%] Linking C executable device-counter 14:15:37 [ 76%] Built target device-counter 14:15:37 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:15:37 [ 80%] Linking C executable device-random 14:15:38 [ 80%] Built target device-random 14:15:38 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:15:38 [ 84%] Linking C executable device-gyro 14:15:38 [ 84%] Built target device-gyro 14:15:38 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:15:39 [ 88%] Linking C executable device-bitfields 14:15:39 [ 88%] Built target device-bitfields 14:15:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:15:40 [ 92%] Linking C executable template-discovery 14:15:40 [ 92%] Built target template-discovery 14:15:40 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:15:41 [ 96%] Linking C executable device-file 14:15:42 [ 96%] Built target device-file 14:15:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:15:42 [100%] Linking C executable device-terminal 14:15:42 [100%] Built target device-terminal 14:15:42 Run CPack packaging tool... 14:15:42 CPack: Create package using TGZ 14:15:42 CPack: Install projects 14:15:42 CPack: - Run preinstall target for: Csdk 14:15:43 CPack: - Install project: Csdk [] 14:15:43 CPack: Create package 14:15:43 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:15:43 + '[' false '=' true ] 14:15:43 + '[' false '=' true ] 14:15:43 + mkdir -p /tmp/sdk/build/debug 14:15:43 + cd /tmp/sdk/build/debug 14:15:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:15:44 -- The C compiler identification is GNU 12.2.1 14:15:44 -- Detecting C compiler ABI info 14:15:44 -- Detecting C compiler ABI info - done 14:15:44 -- Check for working C compiler: /usr/bin/cc - skipped 14:15:44 -- Detecting C compile features 14:15:44 -- Detecting C compile features - done 14:15:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:15:45 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:15:45 -- Found LIBYAML: /usr/lib/libyaml.so 14:15:45 -- Found LIBUUID: /usr/lib/libuuid.so 14:15:45 -- Found LIBCBOR: /usr/lib/libcbor.so 14:15:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:15:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:15:45 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:15:45 -- /opt/iotech/iot/1.5/include 14:15:45 -- C SDK 0.0.0 for Linux 14:15:45 -- Performing Test CSDK_HAVE_ATOMIC 14:15:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:15:45 -- Found Curses: /usr/lib/libcurses.so 14:15:45 -- Configuring done (1.8s) 14:15:45 -- Generating done (0.2s) 14:15:46 -- Build files have been written to: /tmp/sdk/build/debug 14:15:46 + make 14:15:46 + tee debug.log 14:15:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:15:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:15:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:15:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:15:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:15:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:15:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:15:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:15:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:15:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:15:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:15:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:15:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:15:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:15:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:15:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:15:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:15:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:15:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:15:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:15:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:15:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:15:55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:15:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:15:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:15:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:15:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:15:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:15:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:15:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:15:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:15:59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:15:59 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:15:59 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:15:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:15:59 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:15:59 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:15:59 | ^ 14:16:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:16:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:16:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:16:01 [ 68%] Linking C shared library libcsdk.so 14:16:01 [ 68%] Built target csdk 14:16:01 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:16:01 [ 72%] Linking C executable template 14:16:02 [ 72%] Built target template 14:16:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:16:02 [ 76%] Linking C executable device-counter 14:16:03 [ 76%] Built target device-counter 14:16:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:16:03 [ 80%] Linking C executable device-random 14:16:03 [ 80%] Built target device-random 14:16:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:16:03 [ 84%] Linking C executable device-gyro 14:16:04 [ 84%] Built target device-gyro 14:16:04 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:16:04 [ 88%] Linking C executable device-bitfields 14:16:04 [ 88%] Built target device-bitfields 14:16:04 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:16:05 [ 92%] Linking C executable template-discovery 14:16:05 [ 92%] Built target template-discovery 14:16:05 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:16:06 [ 96%] Linking C executable device-file 14:16:06 [ 96%] Built target device-file 14:16:06 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:16:06 [100%] Linking C executable device-terminal 14:16:07 [100%] Built target device-terminal 14:16:07 make: Entering directory '/tmp/sdk/build/release' 14:16:07 [ 68%] Built target csdk 14:16:07 [ 72%] Built target template 14:16:07 [ 76%] Built target device-counter 14:16:07 [ 80%] Built target device-random 14:16:07 [ 84%] Built target device-gyro 14:16:07 [ 88%] Built target device-bitfields 14:16:07 [ 92%] Built target template-discovery 14:16:07 [ 96%] Built target device-file 14:16:07 [100%] Built target device-terminal 14:16:07 Install the project... 14:16:07 -- Install configuration: "Release" 14:16:07 -- Installing: /usr/local/lib/libcsdk.so 14:16:07 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:16:07 -- Installing: /usr/local/include 14:16:07 -- Installing: /usr/local/include/devsdk 14:16:07 -- Installing: /usr/local/include/devsdk/devsdk.h 14:16:07 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:16:07 -- Installing: /usr/local/include/edgex 14:16:07 -- Installing: /usr/local/include/edgex/rest-server.h 14:16:07 -- Installing: /usr/local/include/edgex/edgex.h 14:16:07 -- Installing: /usr/local/include/edgex/edgex-base.h 14:16:07 -- Installing: /usr/local/include/edgex/devices.h 14:16:07 -- Installing: /usr/local/include/edgex/profiles.h 14:16:07 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:16:07 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:16:07 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:16:07 make: Leaving directory '/tmp/sdk/build/release' 14:16:09 Removing intermediate container b8e0854a6813 14:16:09 ---> e28f4ff5fcf6 14:16:09 Step 14/22 : FROM ${BASE} 14:16:09 ---> 2b552cad5dd9 14:16:09 Step 15/22 : LABEL maintainer="IOTech " 14:16:09 ---> Running in 3ffc669a9dbe 14:16:09 Removing intermediate container 3ffc669a9dbe 14:16:09 ---> 52cd868ca5c2 14:16:09 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:16:09 ---> Running in d23f178cedc8 14:16:10 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:16:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:16:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:16:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:16:11 Removing intermediate container d23f178cedc8 14:16:11 ---> 8e3a8b03b6ac 14:16:11 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:16:11 ---> Running in f61964e7f1ab 14:16:13 Removing intermediate container f61964e7f1ab 14:16:13 ---> 2a0c410386f2 14:16:13 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:16:13 ---> Running in 256b5eafad88 14:16:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:16:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:16:15 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:16:15 (2/10) Installing curl (8.9.1-r0) 14:16:15 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:16:15 (4/10) Installing dumb-init (1.2.5-r2) 14:16:16 (5/10) Installing hiredis (1.1.0-r2) 14:16:16 (6/10) Installing hiredis-dev (1.1.0-r2) 14:16:16 (7/10) Installing libcbor (0.10.2-r1) 14:16:16 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:16:16 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:16:17 (10/10) Installing libuuid (2.38.1-r8) 14:16:17 Executing busybox-1.36.1-r4.trigger 14:16:17 OK: 328 MiB in 90 packages 14:16:18 Removing intermediate container 256b5eafad88 14:16:18 ---> ec78000f0e29 14:16:18 Step 19/22 : RUN apk --no-cache upgrade 14:16:18 ---> Running in f89bb2c45a75 14:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:16:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:16:20 Upgrading critical system libraries and apk-tools: 14:16:20 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:16:20 Executing busybox-1.36.1-r4.trigger 14:16:20 Continuing the upgrade transaction with new apk-tools: 14:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:16:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:16:22 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:16:22 Executing busybox-1.36.1-r7.post-upgrade 14:16:22 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:16:22 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:16:22 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:16:22 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:16:22 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:16:22 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:16:22 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:16:23 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:16:23 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:16:23 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:16:23 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:16:23 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:16:23 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:16:24 Executing busybox-1.36.1-r7.trigger 14:16:24 Executing ca-certificates-20240226-r0.trigger 14:16:24 OK: 328 MiB in 90 packages 14:16:26 Removing intermediate container f89bb2c45a75 14:16:26 ---> d1beffa929c0 14:16:26 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:16:26 ---> eb58f05e206a 14:16:26 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:16:27 ---> b2c6e55bec68 14:16:27 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:16:27 ---> 5c1418ea450e 14:16:27 Successfully built 5c1418ea450e 14:16:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:28 + docker inspect -f . ci-base-image-arm64 14:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:16:28 prd-ubuntu20.04-docker-arm64-4c-16g-11674 does not seem to be running inside a container 14:16:28 $ 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 14:16:30 $ docker top 926abfc090d24f16457535e829201e136bfb592f054a4b9869a398e128c7bbca -eo pid,comm [Pipeline] { [Pipeline] sh 14:16:31 + make test 14:16:31 echo "make test" 14:16:31 make test [Pipeline] } 14:16:31 $ docker stop --time=1 926abfc090d24f16457535e829201e136bfb592f054a4b9869a398e128c7bbca 14:16:32 $ docker rm -f --volumes 926abfc090d24f16457535e829201e136bfb592f054a4b9869a398e128c7bbca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:16:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:16:34 + ls -al . 14:16:34 total 208 14:16:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:13 . 14:16:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:13 .. 14:16:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:13 .git 14:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 14:13 .github 14:16:34 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 14:13 .gitignore 14:16:34 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 14:13 Attribution.txt 14:16:34 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 14:13 CHANGELOG.md 14:16:34 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 14:13 Doxyfile 14:16:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 14:13 GOVERNANCE.md 14:16:34 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 14:13 Jenkinsfile 14:16:34 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 14:13 LICENSE 14:16:34 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 14:13 Makefile 14:16:34 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 14:13 OWNERS.md 14:16:34 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 14:13 README.IOT.md 14:16:34 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 14:13 README.md 14:16:34 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 14:13 README.v3.md 14:16:34 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 14:11 VERSION 14:16:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:13 docs 14:16:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:13 include 14:16:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:13 scripts 14:16:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:13 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:34 + 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=931961d2fe8efa0f08eb657fb22586ee44e66ecf --label arch=arm64 --label version=0.0.0 . 14:16:35 Sending build context to Docker daemon 3.223MB 14:16:35 Step 1/18 : ARG BASE=alpine:3.18 14:16:35 Step 2/18 : FROM ${BASE} 14:16:35 ---> 5c1418ea450e 14:16:35 Step 3/18 : LABEL maintainer="IOTech " 14:16:35 ---> Running in eca5d1f73c9c 14:16:35 Removing intermediate container eca5d1f73c9c 14:16:35 ---> eff388544c2c 14:16:35 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:16:35 ---> Running in 5968c61bf149 14:16:36 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:16:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:16:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:16:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:16:37 Removing intermediate container 5968c61bf149 14:16:37 ---> aa8582c32a34 14:16:37 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:16:37 ---> Running in 5edba8e8883d 14:16:39 Removing intermediate container 5edba8e8883d 14:16:39 ---> 793daf0b4d4e 14:16:39 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:16:39 ---> Running in d38e1e0c3246 14:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:16:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:16:42 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:16:42 (2/11) Installing libcbor-dev (0.10.2-r1) 14:16:42 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:16:42 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:16:42 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:16:42 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:16:42 (7/11) Installing libblkid (2.38.1-r8) 14:16:42 (8/11) Installing libfdisk (2.38.1-r8) 14:16:42 (9/11) Installing libmount (2.38.1-r8) 14:16:42 (10/11) Installing libsmartcols (2.38.1-r8) 14:16:42 (11/11) Installing util-linux-dev (2.38.1-r8) 14:16:42 Executing busybox-1.36.1-r7.trigger 14:16:42 OK: 334 MiB in 101 packages 14:16:43 Removing intermediate container d38e1e0c3246 14:16:43 ---> bc8ce9863afd 14:16:43 Step 7/18 : RUN apk --no-cache upgrade 14:16:43 ---> Running in 151da1d04044 14:16:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:16:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:16:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:16:46 OK: 334 MiB in 101 packages 14:16:47 Removing intermediate container 151da1d04044 14:16:47 ---> cca0380b6101 14:16:47 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:16:47 ---> ef2cdaec536c 14:16:47 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:16:48 ---> b7115a07c05d 14:16:48 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:16:49 ---> fd1dcc7d9cda 14:16:49 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:16:49 ---> ae8c4d45ef1a 14:16:49 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:16:50 ---> 0ccb3bed3837 14:16:50 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:16:50 ---> 83b49d9368bf 14:16:50 Step 14/18 : WORKDIR /edgex-c-sdk 14:16:50 ---> Running in d40f0e07f427 14:16:50 Removing intermediate container d40f0e07f427 14:16:50 ---> 7c2257810dd8 14:16:50 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:16:50 ---> Running in 952fc53c5e26 14:16:51 Removing intermediate container 952fc53c5e26 14:16:51 ---> 3596c1c71bfb 14:16:51 Step 16/18 : LABEL arch=arm64 14:16:51 ---> Running in c0bc15ec738a 14:16:51 Removing intermediate container c0bc15ec738a 14:16:51 ---> 9261707a7f11 14:16:51 Step 17/18 : LABEL git_sha=931961d2fe8efa0f08eb657fb22586ee44e66ecf 14:16:51 ---> Running in a0ad69b301c7 14:16:51 Removing intermediate container a0ad69b301c7 14:16:51 ---> 53f9b75e9ea7 14:16:51 Step 18/18 : LABEL version=0.0.0 14:16:51 ---> Running in 7cf76c97067e 14:16:52 Removing intermediate container 7cf76c97067e 14:16:52 ---> 30008f6746a6 14:16:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:16:52 Successfully built 30008f6746a6 14:16:52 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:16:53 14:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:16:53 arm64: Pulling from edgex-lftools-log-publisher 14:16:53 8998bd30e6a1: Pulling fs layer 14:16:53 04944245beec: Pulling fs layer 14:16:53 699f458cf7ca: Pulling fs layer 14:16:53 765212b225bb: Pulling fs layer 14:16:53 f23df028b6ca: Pulling fs layer 14:16:53 d65c8cfc05b1: Pulling fs layer 14:16:53 2437ff75d9bd: Pulling fs layer 14:16:53 f23df028b6ca: Waiting 14:16:53 d65c8cfc05b1: Waiting 14:16:53 2437ff75d9bd: Waiting 14:16:53 765212b225bb: Waiting 14:16:53 04944245beec: Verifying Checksum 14:16:53 04944245beec: Download complete 14:16:53 765212b225bb: Verifying Checksum 14:16:53 765212b225bb: Download complete 14:16:53 f23df028b6ca: Verifying Checksum 14:16:53 f23df028b6ca: Download complete 14:16:54 d65c8cfc05b1: Verifying Checksum 14:16:54 d65c8cfc05b1: Download complete 14:16:54 699f458cf7ca: Verifying Checksum 14:16:54 699f458cf7ca: Download complete 14:16:54 8998bd30e6a1: Verifying Checksum 14:16:54 8998bd30e6a1: Download complete 14:16:56 2437ff75d9bd: Verifying Checksum 14:16:56 2437ff75d9bd: Download complete 14:16:59 8998bd30e6a1: Pull complete 14:16:59 04944245beec: Pull complete 14:17:00 699f458cf7ca: Pull complete 14:17:01 765212b225bb: Pull complete 14:17:02 f23df028b6ca: Pull complete 14:17:02 d65c8cfc05b1: Pull complete 14:17:20 2437ff75d9bd: Pull complete 14:17:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:17:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:21 prd-ubuntu20.04-docker-arm64-4c-16g-11674 does not seem to be running inside a container 14:17:21 $ 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 14:17:23 $ docker top 5aef3c659958ad3d7b873a9be8ffff036f5f66d08171b09ba4e89091d663e46a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:24 ---> job-cost.sh 14:17:24 lf-activate-venv: SKIPPING 14:17:24 INFO: No Stack... 14:17:24 INFO: Retrieving Pricing Info for: v3-standard-4 14:17:25 INFO: Archiving Costs [Pipeline] sh 14:17:25 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 14:17:25 + cut -d, -f6 [Pipeline] lock 14:17:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] 14:17:25 Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] did not exist. Created. 14:17:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:17:26 /w/workspace/device-sdk-c/1@tmp/durable-f2358eda/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:17:26 + echo total: 0.10999999940395355 [Pipeline] stash 14:17:26 Warning: overwriting stash ‘stack-cost’ 14:17:27 Stashed 1 file(s) [Pipeline] } 14:17:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:17:27 $ docker stop --time=1 5aef3c659958ad3d7b873a9be8ffff036f5f66d08171b09ba4e89091d663e46a 14:17:28 $ docker rm -f --volumes 5aef3c659958ad3d7b873a9be8ffff036f5f66d08171b09ba4e89091d663e46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:17:30 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives ] 14:17:30 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 14:17:30 total 16 14:17:30 drwxr-xr-x 3 root root 4096 Sep 26 14:12 . 14:17:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 14:12 .. 14:17:30 drwxr-xr-x 2 root root 4096 Sep 26 14:12 cost 14:17:30 -rw-r--r-- 1 root root 84 Sep 26 14:12 cost.csv 14:17:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 14:17:30 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives 14:17:30 total 16 14:17:30 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 14:12 . 14:17:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 14:12 .. 14:17:30 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 14:12 cost 14:17:30 -rw-r--r-- 1 jenkins jenkins 84 Sep 26 14:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:17:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:17:32 ---> package-listing.sh 14:17:32 ++ facter osfamily 14:17:32 ++ tr '[:upper:]' '[:lower:]' 14:17:32 + OS_FAMILY=debian 14:17:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-514 14:17:32 + START_PACKAGES=/tmp/packages_start.txt 14:17:32 + END_PACKAGES=/tmp/packages_end.txt 14:17:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:17:32 + PACKAGES=/tmp/packages_start.txt 14:17:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' 14:17:32 + PACKAGES=/tmp/packages_end.txt 14:17:32 + case "${OS_FAMILY}" in 14:17:32 + dpkg -l 14:17:32 + grep '^ii' 14:17:32 + '[' -f /tmp/packages_start.txt ']' 14:17:32 + '[' -f /tmp/packages_end.txt ']' 14:17:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:17:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' 14:17:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ 14:17:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ [Pipeline] echo 14:17:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:17:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:33 prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container 14:17:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:17:33 $ docker top 468988b7e82f168ac0828363f87dc5deff223629cc095060bbaf741c0e73a334 -eo pid,comm [Pipeline] { [Pipeline] sh 14:17:34 + touch /tmp/pre-build-complete [Pipeline] sh 14:17:34 + mkdir -p /var/log/sysstat [Pipeline] sh 14:17:34 + ls /var/log/sa-host 14:17:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:17:35 provisioning config files... 14:17:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config4499984076376129159tmp [Pipeline] { [Pipeline] echo 14:17:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:17:35 ---> create-netrc.sh [Pipeline] } 14:17:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:17:36 ---> python-tools-install.sh [Pipeline] echo 14:17:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:17:36 ---> sudo-logs.sh 14:17:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:17:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:17:36 ---> job-cost.sh 14:17:36 lf-activate-venv: SKIPPING 14:17:36 DEBUG: total: 0.2199999988079071 14:17:36 INFO: Retrieving Stack Cost... 14:17:37 INFO: Retrieving Pricing Info for: v3-standard-8 14:17:37 INFO: Archiving Costs [Pipeline] echo 14:17:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:17:37 ---> logs-deploy.sh 14:17:37 lf-activate-venv: SKIPPING 14:17:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-514/1 14:17:37 INFO: archiving workspace using pattern(s): 14:17:38 Archives upload complete. 14:17:38 INFO: archiving logs to Nexus