Pull request #518 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e2add50ccdab89b2c40ac172acd1f847ade8ae14+de2f7dd484aed31b8929cc3252062c81ad15313f (e96dea112cd8ed46748937258ac76a33fee8cb3b) 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-ssh6235890371105734852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7792542548932502826.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2638869142315797651.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7585513210519556366.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7212122612057289435.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23548 in /w/workspace/edgexfoundry_device-sdk-c_PR-518 [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-518 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit e2add50ccdab89b2c40ac172acd1f847ade8ae14 Merge succeeded, producing e2add50ccdab89b2c40ac172acd1f847ade8ae14 Checking out Revision e2add50ccdab89b2c40ac172acd1f847ade8ae14 (PR-518) > git config core.sparsecheckout # timeout=10 > git checkout -f e2add50ccdab89b2c40ac172acd1f847ade8ae14 # 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 de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2add50ccdab89b2c40ac172acd1f847ade8ae14 # timeout=10 Commit message: "fix: Only 20 devices end up in devmap (#555)" First time build. Skipping changelog. > git rev-list --no-walk ed5efed169abac3de29651138726e3fff7b5cf65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:10 ========================================================= 00:13:10 EdgeX Global Pipelines Version Info 00:13:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:11 ------------------- 00:13:11 stable info: 00:13:11 ------------------- 00:13:11 Commited By: Ginny Guan ginny@iotechsys.com 00:13:11 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 00:13:11 Message: update stable to v1.0.265 00:13:12 ------------------- 00:13:12 experimental info: 00:13:12 ------------------- 00:13:12 Commited By: Cherry Wang cherry@iotechsys.com 00:13:12 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 00:13:12 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo 00:13:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo 00:13:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo 00:13:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2add50ccdab89b2c40ac172acd1f847ade8ae14 [Pipeline] echo 00:13:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2add50 [Pipeline] echo 00:13:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:13 provisioning config files... 00:13:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/config11955853316814043619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:13 ---> ****-login.sh 00:13:13 nexus3.edgexfoundry.org:10001 00:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:13 Configure a credential helper to remove this warning. See 00:13:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:13 00:13:13 Login Succeeded 00:13:13 nexus3.edgexfoundry.org:10002 00:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:14 Configure a credential helper to remove this warning. See 00:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:14 00:13:14 Login Succeeded 00:13:14 nexus3.edgexfoundry.org:10003 00:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:14 Configure a credential helper to remove this warning. See 00:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:14 00:13:14 Login Succeeded 00:13:14 nexus3.edgexfoundry.org:10004 00:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:14 Configure a credential helper to remove this warning. See 00:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:14 00:13:14 Login Succeeded 00:13:14 ****.io 00:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:14 Configure a credential helper to remove this warning. See 00:13:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:14 00:13:14 Login Succeeded 00:13:14 ---> ****-login.sh ends [Pipeline] } 00:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 00:13:14 + git rev-list -1 --merges e2add50ccdab89b2c40ac172acd1f847ade8ae14~1..e2add50ccdab89b2c40ac172acd1f847ade8ae14 [Pipeline] echo 00:13:14 -----------> git rev-list -1 --merges e2add50ccdab89b2c40ac172acd1f847ade8ae14~1..e2add50ccdab89b2c40ac172acd1f847ade8ae14 e2add50ccdab89b2c40ac172acd1f847ade8ae14 [false] [Pipeline] sh 00:13:15 + git log --format=format:%s -1 e2add50ccdab89b2c40ac172acd1f847ade8ae14 [Pipeline] echo 00:13:15 ========================================================= 00:13:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:13:15 ========================================================= 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 00:13:15 + git rev-list -1 --merges e2add50ccdab89b2c40ac172acd1f847ade8ae14~1..e2add50ccdab89b2c40ac172acd1f847ade8ae14 [Pipeline] echo 00:13:15 -----------> git rev-list -1 --merges e2add50ccdab89b2c40ac172acd1f847ade8ae14~1..e2add50ccdab89b2c40ac172acd1f847ade8ae14 e2add50ccdab89b2c40ac172acd1f847ade8ae14 [false] [Pipeline] sh 00:13:16 + git log --format=format:%s -1 e2add50ccdab89b2c40ac172acd1f847ade8ae14 [Pipeline] echo 00:13:16 ========================================================= 00:13:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:13:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 00:13:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:13:16 + grep -v github /etc/ssh/ssh_known_hosts 00:13:16 + [ -e /tmp/ssh_known_hosts ] 00:13:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:13:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:13:16 + sudo tee -a /etc/ssh/ssh_known_hosts 00:13:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:16 00:13:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:17 0.1.4: Pulling from edgex-devops/py-git-semver 00:13:17 b85a868b505f: Pulling fs layer 00:13:17 e2be974225ed: Pulling fs layer 00:13:17 339a4e72a1f5: Pulling fs layer 00:13:17 988bab9f4d93: Pulling fs layer 00:13:17 1469e6f7b9e6: Pulling fs layer 00:13:17 eaf3925da568: Pulling fs layer 00:13:17 bab4dde63d76: Pulling fs layer 00:13:17 bde34c3a00c8: Pulling fs layer 00:13:17 b352a97aabf1: Pulling fs layer 00:13:17 4872d77fe225: Pulling fs layer 00:13:17 5851b861e8e6: Pulling fs layer 00:13:17 988bab9f4d93: Waiting 00:13:17 bde34c3a00c8: Waiting 00:13:17 1469e6f7b9e6: Waiting 00:13:17 b352a97aabf1: Waiting 00:13:17 4872d77fe225: Waiting 00:13:17 5851b861e8e6: Waiting 00:13:17 bab4dde63d76: Waiting 00:13:17 eaf3925da568: Waiting 00:13:17 e2be974225ed: Verifying Checksum 00:13:17 e2be974225ed: Download complete 00:13:17 988bab9f4d93: Download complete 00:13:17 1469e6f7b9e6: Verifying Checksum 00:13:17 1469e6f7b9e6: Download complete 00:13:17 eaf3925da568: Verifying Checksum 00:13:17 eaf3925da568: Download complete 00:13:17 339a4e72a1f5: Verifying Checksum 00:13:17 339a4e72a1f5: Download complete 00:13:17 bde34c3a00c8: Download complete 00:13:17 b352a97aabf1: Download complete 00:13:17 4872d77fe225: Verifying Checksum 00:13:17 4872d77fe225: Download complete 00:13:17 5851b861e8e6: Download complete 00:13:17 b85a868b505f: Download complete 00:13:17 bab4dde63d76: Verifying Checksum 00:13:17 bab4dde63d76: Download complete 00:13:18 b85a868b505f: Pull complete 00:13:18 e2be974225ed: Pull complete 00:13:19 339a4e72a1f5: Pull complete 00:13:19 988bab9f4d93: Pull complete 00:13:19 1469e6f7b9e6: Pull complete 00:13:19 eaf3925da568: Pull complete 00:13:21 bab4dde63d76: Pull complete 00:13:21 bde34c3a00c8: Pull complete 00:13:21 b352a97aabf1: Pull complete 00:13:21 4872d77fe225: Pull complete 00:13:21 5851b861e8e6: Pull complete 00:13:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:13:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:22 prd-ubuntu20.04-docker-8c-8g-23548 does not seem to be running inside a container 00:13:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:13:24 $ docker top 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b -eo pid,comm 00:13:25 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). 00:13:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:25 [ssh-agent] Looking for ssh-agent implementation... 00:13:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:25 $ docker exec 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b ssh-agent 00:13:25 SSH_AUTH_SOCK=/tmp/ssh-8sGRpcFt1WCc/agent.32 00:13:25 SSH_AGENT_PID=38 00:13:25 Running ssh-add (command line suppressed) 00:13:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_17025027974201614705.key (/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_17025027974201614705.key) 00:13:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:25 + git tag --points-at HEAD [Pipeline] } 00:13:25 $ docker exec --env ******** --env ******** 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b ssh-agent -k 00:13:25 unset SSH_AUTH_SOCK; 00:13:25 unset SSH_AGENT_PID; 00:13:25 echo Agent pid 38 killed; 00:13:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:25 [ssh-agent] Looking for ssh-agent implementation... 00:13:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:25 $ docker exec 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b ssh-agent 00:13:26 SSH_AUTH_SOCK=/tmp/ssh-jClOiuvHoVl3/agent.71 00:13:26 SSH_AGENT_PID=77 00:13:26 Running ssh-add (command line suppressed) 00:13:26 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_8053230463758873596.key (/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/private_key_8053230463758873596.key) 00:13:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:26 + git semver init 00:13:26 2024-10-23 00:13:26,679 [run_init] DEBUG init version:0.0.0 force:False 00:13:26 2024-10-23 00:13:26,680 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver 00:13:26 2024-10-23 00:13:26,680 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver 00:13:26 2024-10-23 00:13:26,681 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-518, universal_newlines=False, shell=None, istream=None) 00:13:27 2024-10-23 00:13:27,479 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.git/info/exclude 00:13:27 2024-10-23 00:13:27,480 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver/PR-518 with force:False 00:13:27 2024-10-23 00:13:27,480 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver/PR-518 00:13:27 2024-10-23 00:13:27,484 [execute] INFO git cat-file --batch-check 00:13:27 2024-10-23 00:13:27,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver, universal_newlines=False, shell=None, istream=) 00:13:27 2024-10-23 00:13:27,491 [execute] INFO git cat-file --batch 00:13:27 2024-10-23 00:13:27,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver, universal_newlines=False, shell=None, istream=) 00:13:27 2024-10-23 00:13:27,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-518/.semver/PR-518 00:13:27 0.0.0 [Pipeline] } 00:13:27 $ docker exec --env ******** --env ******** 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b ssh-agent -k 00:13:27 unset SSH_AUTH_SOCK; 00:13:27 unset SSH_AGENT_PID; 00:13:27 echo Agent pid 77 killed; 00:13:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:28 + git semver [Pipeline] } 00:13:28 $ docker stop --time=1 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b 00:13:29 $ docker rm -f --volumes 9773f5ac5660bb257cdde81674b56a6ac9bf3014b7b27076ccc0cb157695867b [Pipeline] // withDockerContainer [Pipeline] sh 00:13:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:30 Stashed 1 file(s) [Pipeline] echo 00:13:30 [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 00:13:30 provisioning config files... 00:13:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/config17133228563211891793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:30 ---> ****-login.sh 00:13:30 nexus3.edgexfoundry.org:10001 00:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:30 Configure a credential helper to remove this warning. See 00:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:30 00:13:30 Login Succeeded 00:13:30 nexus3.edgexfoundry.org:10002 00:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:30 Configure a credential helper to remove this warning. See 00:13:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:30 00:13:30 Login Succeeded 00:13:30 nexus3.edgexfoundry.org:10003 00:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:31 Configure a credential helper to remove this warning. See 00:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:31 00:13:31 Login Succeeded 00:13:31 nexus3.edgexfoundry.org:10004 00:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:31 Configure a credential helper to remove this warning. See 00:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:31 00:13:31 Login Succeeded 00:13:31 ****.io 00:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:13:31 Configure a credential helper to remove this warning. See 00:13:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:13:31 00:13:31 Login Succeeded 00:13:31 ---> ****-login.sh ends [Pipeline] } 00:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:13:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:13:31 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 00:13:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:13:31 ========================================================= 00:13:31 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 00:13:31 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:31 + 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 . 00:13:31 Sending build context to Docker daemon 5.125MB 00:13:31 Step 1/22 : ARG BASE=alpine:3.18 00:13:31 Step 2/22 : FROM ${BASE} as builder 00:13:31 latest: Pulling from edgex-devops/edgex-gcc-base 00:13:31 96526aa774ef: Pulling fs layer 00:13:31 da60e534fd72: Pulling fs layer 00:13:32 96526aa774ef: Verifying Checksum 00:13:32 96526aa774ef: Download complete 00:13:32 96526aa774ef: Pull complete 00:13:32 da60e534fd72: Verifying Checksum 00:13:32 da60e534fd72: Download complete 00:13:36 da60e534fd72: Pull complete 00:13:36 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 00:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 00:13:36 ---> 6605166a5db4 00:13:36 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 00:13:37 ---> Running in 4818d416a884 00:13:37 Connecting to iotech.jfrog.io (34.247.22.236:443) 00:13:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:13:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:13:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:13:38 Removing intermediate container 4818d416a884 00:13:38 ---> 5dd13492d0aa 00:13:38 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 00:13:38 ---> Running in 6ee416c04812 00:13:39 Removing intermediate container 6ee416c04812 00:13:39 ---> bbd5cacc9fea 00:13:39 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 00:13:39 ---> Running in e9a8188b6874 00:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:13:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 00:13:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:13:40 (1/17) Installing hiredis (1.1.0-r2) 00:13:40 (2/17) Installing hiredis-dev (1.1.0-r2) 00:13:40 (3/17) Installing libcbor (0.10.2-r1) 00:13:40 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 00:13:40 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 00:13:41 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 00:13:41 (7/17) Installing libcbor-dev (0.10.2-r1) 00:13:41 (8/17) Installing libmenuw (6.4_p20230506-r0) 00:13:41 (9/17) Installing libpanelw (6.4_p20230506-r0) 00:13:41 (10/17) Installing libncurses++ (6.4_p20230506-r0) 00:13:41 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 00:13:41 (12/17) Installing libblkid (2.38.1-r8) 00:13:41 (13/17) Installing libuuid (2.38.1-r8) 00:13:41 (14/17) Installing libfdisk (2.38.1-r8) 00:13:41 (15/17) Installing libmount (2.38.1-r8) 00:13:41 (16/17) Installing libsmartcols (2.38.1-r8) 00:13:41 (17/17) Installing util-linux-dev (2.38.1-r8) 00:13:41 Executing busybox-1.36.1-r4.trigger 00:13:41 OK: 336 MiB in 99 packages 00:13:42 Removing intermediate container e9a8188b6874 00:13:42 ---> 9fd31b6a0046 00:13:42 Step 6/22 : RUN mkdir /tmp/sdk 00:13:42 ---> Running in 99ba5da05cda 00:13:42 Removing intermediate container 99ba5da05cda 00:13:42 ---> 83ff20b88045 00:13:42 Step 7/22 : COPY VERSION /tmp/sdk 00:13:42 ---> 08742b59b95a 00:13:42 Step 8/22 : COPY src /tmp/sdk/src 00:13:42 ---> d335f1cd339c 00:13:42 Step 9/22 : COPY include /tmp/sdk/include 00:13:43 ---> ff366d61f7d7 00:13:43 Step 10/22 : COPY scripts /tmp/sdk/scripts 00:13:43 ---> 0007a4d39b3b 00:13:43 Step 11/22 : COPY LICENSE /tmp/sdk 00:13:43 ---> cdd211c95efd 00:13:43 Step 12/22 : COPY Attribution.txt /tmp/sdk 00:13:43 ---> e5b1d9dfb60d 00:13:43 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 00:13:43 ---> Running in 7f84d54ec630 00:13:43 + CPPCHECK=false 00:13:43 + DOCGEN=false 00:13:43 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 00:13:43 + '[' 0 -gt 0 ] 00:13:43 + readlink -f ./scripts/build.sh 00:13:43 + dirname /tmp/sdk/scripts/build.sh 00:13:43 + dirname /tmp/sdk/scripts 00:13:43 + ROOT=/tmp/sdk 00:13:43 + cd /tmp/sdk 00:13:43 + mkdir -p /tmp/sdk/build/release 00:13:43 + cd /tmp/sdk/build/release 00:13:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 00:13:43 -- The C compiler identification is GNU 12.2.1 00:13:43 -- Detecting C compiler ABI info 00:13:43 -- Detecting C compiler ABI info - done 00:13:43 -- Check for working C compiler: /usr/bin/cc - skipped 00:13:43 -- Detecting C compile features 00:13:43 -- Detecting C compile features - done 00:13:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:13:44 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 00:13:44 -- Found LIBYAML: /usr/lib/libyaml.so 00:13:44 -- Found LIBUUID: /usr/lib/libuuid.so 00:13:44 -- Found LIBCBOR: /usr/lib/libcbor.so 00:13:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:13:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:13:44 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 00:13:44 -- /opt/iotech/iot/1.5/include 00:13:44 -- C SDK 0.0.0 for Linux 00:13:44 -- Performing Test CSDK_HAVE_ATOMIC 00:13:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:13:44 -- Found Curses: /usr/lib/libcurses.so 00:13:44 -- Configuring done (0.4s) 00:13:44 -- Generating done (0.0s) 00:13:44 -- Build files have been written to: /tmp/sdk/build/release 00:13:44 + make all package 00:13:44 + tee release.log 00:13:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:13:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 00:13:44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 00:13:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 00:13:44 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 00:13:44 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:13:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:13:45 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 00:13:45 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 00:13:45 294 | while (privateConfig) 00:13:45 | ^~~~~~~~~~~~~ 00:13:45 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 00:13:45 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 00:13:45 | ^~~~~~~~~~~~~ 00:13:45 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 00:13:45 271 | while (result) 00:13:45 | ^~~~~~ 00:13:45 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 00:13:45 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 00:13:45 | ^~~~~~ 00:13:45 Still waiting to schedule task 00:13:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:13:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:13:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:13:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:13:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:13:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:13:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:13:46 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:13:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 00:13:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:13:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:13:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:13:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:13:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:13:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:13:48 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:13:48 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:13:48 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:13:48 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 00:13:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:13:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:13:49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:13:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:13:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:13:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:13:49 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 00:13:49 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:13:49 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 00:13:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:13:49 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:13:49 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 00:13:49 | ^ 00:13:49 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 00:13:49 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 00:13:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:13:49 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 00:13:49 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 00:13:49 | ^~~~~~~~~~~~~~~~~~~~~ 00:13:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:13:49 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 00:13:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:13:50 [ 68%] Linking C shared library libcsdk.so 00:13:50 [ 68%] Built target csdk 00:13:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:13:50 [ 72%] Linking C executable template 00:13:50 [ 72%] Built target template 00:13:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:13:50 [ 76%] Linking C executable device-counter 00:13:50 [ 76%] Built target device-counter 00:13:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:13:50 [ 80%] Linking C executable device-random 00:13:50 [ 80%] Built target device-random 00:13:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:13:50 [ 84%] Linking C executable device-gyro 00:13:50 [ 84%] Built target device-gyro 00:13:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:13:50 [ 88%] Linking C executable device-bitfields 00:13:51 [ 88%] Built target device-bitfields 00:13:51 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:13:51 [ 92%] Linking C executable template-discovery 00:13:51 [ 92%] Built target template-discovery 00:13:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:13:51 [ 96%] Linking C executable device-file 00:13:51 [ 96%] Built target device-file 00:13:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:13:51 [100%] Linking C executable device-terminal 00:13:51 [100%] Built target device-terminal 00:13:51 Run CPack packaging tool... 00:13:51 CPack: Create package using TGZ 00:13:51 CPack: Install projects 00:13:51 CPack: - Run preinstall target for: Csdk 00:13:51 CPack: - Install project: Csdk [] 00:13:51 CPack: Create package 00:13:51 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 00:13:51 + '[' false '=' true ] 00:13:51 + '[' false '=' true ] 00:13:51 + mkdir -p /tmp/sdk/build/debug 00:13:51 + cd /tmp/sdk/build/debug 00:13:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 00:13:52 -- The C compiler identification is GNU 12.2.1 00:13:52 -- Detecting C compiler ABI info 00:13:52 -- Detecting C compiler ABI info - done 00:13:52 -- Check for working C compiler: /usr/bin/cc - skipped 00:13:52 -- Detecting C compile features 00:13:52 -- Detecting C compile features - done 00:13:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:13:52 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 00:13:52 -- Found LIBYAML: /usr/lib/libyaml.so 00:13:52 -- Found LIBUUID: /usr/lib/libuuid.so 00:13:52 -- Found LIBCBOR: /usr/lib/libcbor.so 00:13:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:13:52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:13:52 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 00:13:52 -- /opt/iotech/iot/1.5/include 00:13:52 -- C SDK 0.0.0 for Linux 00:13:52 -- Performing Test CSDK_HAVE_ATOMIC 00:13:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:13:52 -- Found Curses: /usr/lib/libcurses.so 00:13:52 -- Configuring done (0.4s) 00:13:52 -- Generating done (0.0s) 00:13:52 -- Build files have been written to: /tmp/sdk/build/debug 00:13:52 + make 00:13:52 + tee debug.log 00:13:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:13:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 00:13:52 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 00:13:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 00:13:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 00:13:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:13:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:13:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:13:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:13:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:13:53 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:13:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:13:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:13:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:13:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 00:13:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:13:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:13:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:13:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:13:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:13:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:13:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:13:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:13:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:13:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 00:13:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:13:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:13:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:13:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:13:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:13:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:13:54 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 00:13:54 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:13:54 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 00:13:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:13:54 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:13:54 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 00:13:54 | ^ 00:13:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:13:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 00:13:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:13:55 [ 68%] Linking C shared library libcsdk.so 00:13:55 [ 68%] Built target csdk 00:13:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:13:55 [ 72%] Linking C executable template 00:13:55 [ 72%] Built target template 00:13:55 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:13:55 [ 76%] Linking C executable device-counter 00:13:55 [ 76%] Built target device-counter 00:13:55 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:13:55 [ 80%] Linking C executable device-random 00:13:55 [ 80%] Built target device-random 00:13:55 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:13:56 [ 84%] Linking C executable device-gyro 00:13:56 [ 84%] Built target device-gyro 00:13:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:13:56 [ 88%] Linking C executable device-bitfields 00:13:56 [ 88%] Built target device-bitfields 00:13:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:13:56 [ 92%] Linking C executable template-discovery 00:13:56 [ 92%] Built target template-discovery 00:13:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:13:56 [ 96%] Linking C executable device-file 00:13:56 [ 96%] Built target device-file 00:13:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:13:56 [100%] Linking C executable device-terminal 00:13:56 [100%] Built target device-terminal 00:13:56 make: Entering directory '/tmp/sdk/build/release' 00:13:56 [ 68%] Built target csdk 00:13:56 [ 72%] Built target template 00:13:56 [ 76%] Built target device-counter 00:13:56 [ 80%] Built target device-random 00:13:56 [ 84%] Built target device-gyro 00:13:56 [ 88%] Built target device-bitfields 00:13:56 [ 92%] Built target template-discovery 00:13:56 [ 96%] Built target device-file 00:13:56 [100%] Built target device-terminal 00:13:56 Install the project... 00:13:56 -- Install configuration: "Release" 00:13:56 -- Installing: /usr/local/lib/libcsdk.so 00:13:56 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 00:13:56 -- Installing: /usr/local/include 00:13:56 -- Installing: /usr/local/include/devsdk 00:13:56 -- Installing: /usr/local/include/devsdk/devsdk.h 00:13:56 -- Installing: /usr/local/include/devsdk/devsdk-base.h 00:13:56 -- Installing: /usr/local/include/edgex 00:13:56 -- Installing: /usr/local/include/edgex/edgex.h 00:13:56 -- Installing: /usr/local/include/edgex/devices.h 00:13:56 -- Installing: /usr/local/include/edgex/profiles.h 00:13:56 -- Installing: /usr/local/include/edgex/edgex-base.h 00:13:56 -- Installing: /usr/local/include/edgex/rest-server.h 00:13:56 -- Installing: /usr/local/include/edgex/csdk-defs.h 00:13:56 -- Installing: /usr/local/share/device-sdk-c/LICENSE 00:13:56 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 00:13:56 make: Leaving directory '/tmp/sdk/build/release' 00:13:57 Removing intermediate container 7f84d54ec630 00:13:57 ---> 3c6b032124c5 00:13:57 Step 14/22 : FROM ${BASE} 00:13:57 ---> 6605166a5db4 00:13:57 Step 15/22 : LABEL maintainer="IOTech " 00:13:57 ---> Running in 0304233bd505 00:13:57 Removing intermediate container 0304233bd505 00:13:57 ---> 781bc0f1e7da 00:13:57 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 00:13:57 ---> Running in 3e0bedcede75 00:13:57 Connecting to iotech.jfrog.io (54.73.4.50:443) 00:13:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:13:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:13:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:13:58 Removing intermediate container 3e0bedcede75 00:13:58 ---> 5bf2dd06e22b 00:13:58 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 00:13:58 ---> Running in dc98e9e841e0 00:13:59 Removing intermediate container dc98e9e841e0 00:13:59 ---> 04611da35b50 00:13:59 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 00:13:59 ---> Running in 48ac3013675c 00:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:13:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:14:00 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 00:14:00 (2/10) Installing curl (8.9.1-r1) 00:14:00 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 00:14:00 (4/10) Installing dumb-init (1.2.5-r2) 00:14:00 (5/10) Installing hiredis (1.1.0-r2) 00:14:00 (6/10) Installing hiredis-dev (1.1.0-r2) 00:14:00 (7/10) Installing libcbor (0.10.2-r1) 00:14:00 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 00:14:00 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 00:14:00 (10/10) Installing libuuid (2.38.1-r8) 00:14:00 Executing busybox-1.36.1-r4.trigger 00:14:00 OK: 331 MiB in 90 packages 00:14:01 Removing intermediate container 48ac3013675c 00:14:01 ---> 0f0dbc951923 00:14:01 Step 19/22 : RUN apk --no-cache upgrade 00:14:01 ---> Running in ae91d7415adb 00:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:14:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:14:02 Upgrading critical system libraries and apk-tools: 00:14:02 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 00:14:02 Executing busybox-1.36.1-r4.trigger 00:14:02 Continuing the upgrade transaction with new apk-tools: 00:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:14:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:14:03 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 00:14:03 Executing busybox-1.36.1-r7.post-upgrade 00:14:03 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 00:14:03 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 00:14:03 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 00:14:03 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 00:14:03 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 00:14:03 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 00:14:03 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) 00:14:03 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 00:14:03 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 00:14:03 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 00:14:03 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 00:14:03 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 00:14:03 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 00:14:03 Executing busybox-1.36.1-r7.trigger 00:14:03 Executing ca-certificates-20240226-r0.trigger 00:14:03 OK: 332 MiB in 90 packages 00:14:04 Removing intermediate container ae91d7415adb 00:14:04 ---> 9637ac0ee1fa 00:14:04 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 00:14:04 ---> 620c312485c8 00:14:04 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 00:14:04 ---> 53682e12e20e 00:14:04 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 00:14:05 ---> 052a5725078a 00:14:05 Successfully built 052a5725078a 00:14:05 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 00:14:05 + docker inspect -f . ci-base-image-x86_64 00:14:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:05 prd-ubuntu20.04-docker-8c-8g-23548 does not seem to be running inside a container 00:14:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:14:05 $ docker top b6e6391ab10f4e1eaf0a8da6b19d5f34f2bc51ffc438196e7374f6336011f547 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:06 + make test 00:14:06 echo "make test" 00:14:06 make test [Pipeline] } 00:14:06 $ docker stop --time=1 b6e6391ab10f4e1eaf0a8da6b19d5f34f2bc51ffc438196e7374f6336011f547 00:14:07 $ docker rm -f --volumes b6e6391ab10f4e1eaf0a8da6b19d5f34f2bc51ffc438196e7374f6336011f547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:08 + ls -al . 00:14:08 total 212 00:14:08 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 00:13 . 00:14:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:13 .. 00:14:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 00:13 .git 00:14:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 00:13 .github 00:14:08 -rw-rw-r-- 1 jenkins jenkins 176 Oct 23 00:13 .gitignore 00:14:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 00:13 .semver 00:14:08 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 23 00:13 Attribution.txt 00:14:08 -rw-rw-r-- 1 jenkins jenkins 11953 Oct 23 00:13 CHANGELOG.md 00:14:08 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 23 00:13 Doxyfile 00:14:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 00:13 GOVERNANCE.md 00:14:08 -rw-rw-r-- 1 jenkins jenkins 784 Oct 23 00:13 Jenkinsfile 00:14:08 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 00:13 LICENSE 00:14:08 -rw-rw-r-- 1 jenkins jenkins 444 Oct 23 00:13 Makefile 00:14:08 -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 00:13 OWNERS.md 00:14:08 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 23 00:13 README.IOT.md 00:14:08 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 23 00:13 README.md 00:14:08 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 23 00:13 README.v3.md 00:14:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 00:13 VERSION 00:14:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:13 docs 00:14:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:13 include 00:14:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:13 scripts 00:14:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:13 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:08 + 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=e2add50ccdab89b2c40ac172acd1f847ade8ae14 --label arch=amd64 --label version=0.0.0 . 00:14:08 Sending build context to Docker daemon 5.125MB 00:14:08 Step 1/18 : ARG BASE=alpine:3.18 00:14:08 Step 2/18 : FROM ${BASE} 00:14:08 ---> 052a5725078a 00:14:08 Step 3/18 : LABEL maintainer="IOTech " 00:14:09 ---> Running in 863b841afa8b 00:14:09 Removing intermediate container 863b841afa8b 00:14:09 ---> 408b3a587ca9 00:14:09 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 00:14:09 ---> Running in 72ee5250e94d 00:14:09 Connecting to iotech.jfrog.io (34.247.22.236:443) 00:14:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:14:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:14:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:14:09 Removing intermediate container 72ee5250e94d 00:14:09 ---> 56a42cba497d 00:14:09 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 00:14:09 ---> Running in 6d748d33f8df 00:14:10 Removing intermediate container 6d748d33f8df 00:14:10 ---> 9b1b6c774804 00:14:10 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 00:14:10 ---> Running in 190711ee7adf 00:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:14:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:14:11 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 00:14:11 (2/11) Installing libcbor-dev (0.10.2-r1) 00:14:11 (3/11) Installing libmenuw (6.4_p20230506-r0) 00:14:11 (4/11) Installing libpanelw (6.4_p20230506-r0) 00:14:11 (5/11) Installing libncurses++ (6.4_p20230506-r0) 00:14:12 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 00:14:12 (7/11) Installing libblkid (2.38.1-r8) 00:14:12 (8/11) Installing libfdisk (2.38.1-r8) 00:14:12 (9/11) Installing libmount (2.38.1-r8) 00:14:12 (10/11) Installing libsmartcols (2.38.1-r8) 00:14:12 (11/11) Installing util-linux-dev (2.38.1-r8) 00:14:12 Executing busybox-1.36.1-r7.trigger 00:14:12 OK: 337 MiB in 101 packages 00:14:12 Removing intermediate container 190711ee7adf 00:14:12 ---> 5a038ae5350f 00:14:12 Step 7/18 : RUN apk --no-cache upgrade 00:14:12 ---> Running in 0664ebb93ee6 00:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:14:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 00:14:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:14:13 OK: 337 MiB in 101 packages 00:14:13 Removing intermediate container 0664ebb93ee6 00:14:13 ---> 8985686e73fe 00:14:13 Step 8/18 : COPY VERSION /edgex-c-sdk/ 00:14:13 ---> 78d9fc172ea6 00:14:13 Step 9/18 : COPY src /edgex-c-sdk/src/ 00:14:14 ---> ae20e3602275 00:14:14 Step 10/18 : COPY include /edgex-c-sdk/include/ 00:14:14 ---> a116d9f19b98 00:14:14 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 00:14:14 ---> 29c2c4251b7f 00:14:14 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 00:14:14 ---> 46d91b59601f 00:14:14 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 00:14:14 ---> 15797de16218 00:14:14 Step 14/18 : WORKDIR /edgex-c-sdk 00:14:14 ---> Running in c6d29d8dcc15 00:14:14 Removing intermediate container c6d29d8dcc15 00:14:14 ---> 41b003ae11de 00:14:14 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 00:14:14 ---> Running in dc6010cf9e45 00:14:14 Removing intermediate container dc6010cf9e45 00:14:14 ---> de35cb1752a0 00:14:14 Step 16/18 : LABEL arch=amd64 00:14:14 ---> Running in d8d53a8f0919 00:14:14 Removing intermediate container d8d53a8f0919 00:14:14 ---> 9bba108f3a15 00:14:14 Step 17/18 : LABEL git_sha=e2add50ccdab89b2c40ac172acd1f847ade8ae14 00:14:14 ---> Running in 288f8160d51b 00:14:14 Removing intermediate container 288f8160d51b 00:14:14 ---> 8c1929caafce 00:14:14 Step 18/18 : LABEL version=0.0.0 00:14:15 ---> Running in e52fff689995 00:14:15 Removing intermediate container e52fff689995 00:14:15 ---> 106a4b1a1166 00:14:15 [Warning] One or more build-args [MAKE ARCH] were not consumed 00:14:15 Successfully built 106a4b1a1166 00:14:15 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 00:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:15 00:14:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:16 latest: Pulling from edgex-lftools-log-publisher 00:14:16 5eb5b503b376: Pulling fs layer 00:14:16 5c69ac0246d0: Pulling fs layer 00:14:16 ec43610c2a17: Pulling fs layer 00:14:16 3a2ae6a8a46f: Pulling fs layer 00:14:16 33b1e0a273af: Pulling fs layer 00:14:16 5d3b04190fa2: Pulling fs layer 00:14:16 2f39f015ded8: Pulling fs layer 00:14:16 33b1e0a273af: Waiting 00:14:16 5d3b04190fa2: Waiting 00:14:16 3a2ae6a8a46f: Waiting 00:14:16 2f39f015ded8: Waiting 00:14:16 5c69ac0246d0: Download complete 00:14:16 3a2ae6a8a46f: Verifying Checksum 00:14:16 3a2ae6a8a46f: Download complete 00:14:16 33b1e0a273af: Verifying Checksum 00:14:16 33b1e0a273af: Download complete 00:14:16 5d3b04190fa2: Verifying Checksum 00:14:16 5d3b04190fa2: Download complete 00:14:16 ec43610c2a17: Verifying Checksum 00:14:16 5eb5b503b376: Verifying Checksum 00:14:16 5eb5b503b376: Download complete 00:14:16 2f39f015ded8: Download complete 00:14:17 5eb5b503b376: Pull complete 00:14:17 5c69ac0246d0: Pull complete 00:14:17 ec43610c2a17: Pull complete 00:14:17 3a2ae6a8a46f: Pull complete 00:14:18 33b1e0a273af: Pull complete 00:14:18 5d3b04190fa2: Pull complete 00:14:22 2f39f015ded8: Pull complete 00:14:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:14:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:22 prd-ubuntu20.04-docker-8c-8g-23548 does not seem to be running inside a container 00:14:22 $ 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-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:14:27 $ docker top 628c3ce65c2f568d8b437ae56b3f5dc327462997f6138e9dcd142c3c7d2f9e70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:27 ---> job-cost.sh 00:14:27 lf-activate-venv: SKIPPING 00:14:27 INFO: No Stack... 00:14:27 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:28 INFO: Archiving Costs [Pipeline] sh 00:14:28 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives/cost.csv 00:14:28 + cut -d, -f6 [Pipeline] lock 00:14:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] 00:14:28 Resource [jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] did not exist. Created. 00:14:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:28 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:28 Stashed 1 file(s) [Pipeline] } 00:14:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:28 $ docker stop --time=1 628c3ce65c2f568d8b437ae56b3f5dc327462997f6138e9dcd142c3c7d2f9e70 00:14:30 $ docker rm -f --volumes 628c3ce65c2f568d8b437ae56b3f5dc327462997f6138e9dcd142c3c7d2f9e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23550 in /w/workspace/edgexfoundry_device-sdk-c_PR-518 [Pipeline] { [Pipeline] ws 00:15:29 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 00:15:29 Selected Git installation does not exist. Using Default 00:15:29 The recommended git tool is: NONE 00:15:38 using credential edgex-jenkins-ssh 00:15:38 Cloning the remote Git repository 00:15:38 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 00:15:38 > git init /w/workspace/device-sdk-c/2 # timeout=10 00:15:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 00:15:38 > git --version # timeout=10 00:15:38 > git --version # 'git version 2.25.1' 00:15:38 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 00:15:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:43 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit e2add50ccdab89b2c40ac172acd1f847ade8ae14 00:15:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 00:15:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 00:15:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:15:43 > git config core.sparsecheckout # timeout=10 00:15:43 > git checkout -f e2add50ccdab89b2c40ac172acd1f847ade8ae14 # timeout=10 00:15:43 > git remote # timeout=10 00:15:43 > git config --get remote.origin.url # timeout=10 00:15:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:43 > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 00:15:43 Merge succeeded, producing e2add50ccdab89b2c40ac172acd1f847ade8ae14 00:15:43 Checking out Revision e2add50ccdab89b2c40ac172acd1f847ade8ae14 (PR-518) 00:15:43 > git rev-parse HEAD^{commit} # timeout=10 00:15:43 > git config core.sparsecheckout # timeout=10 00:15:43 > git checkout -f e2add50ccdab89b2c40ac172acd1f847ade8ae14 # timeout=10 00:15:47 Commit message: "fix: Only 20 devices end up in devmap (#555)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:49 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:49 Dload Upload Total Spent Left Speed 00:15:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 81707 0 --:--:-- --:--:-- --:--:-- 82230 [Pipeline] sh 00:15:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:50 + sudo tee /etc/docker/daemon.new 00:15:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:50 { 00:15:50 "registry-mirrors": [ 00:15:50 "https://nexus3.edgexfoundry.org:10001" 00:15:50 ], 00:15:50 "bip": "10.250.0.254/24", 00:15:50 "hosts": [ 00:15:50 "tcp://0.0.0.0:5555", 00:15:50 "unix:///var/run/docker.sock" 00:15:50 ], 00:15:50 "mtu": 1458, 00:15:50 "selinux-enabled": true, 00:15:50 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:50 } [Pipeline] sh 00:15:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:09 provisioning config files... 00:16:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config10131436291557694848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:09 ---> ****-login.sh 00:16:09 nexus3.edgexfoundry.org:10001 00:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:16:10 Configure a credential helper to remove this warning. See 00:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:16:10 00:16:10 Login Succeeded 00:16:10 nexus3.edgexfoundry.org:10002 00:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:16:10 Configure a credential helper to remove this warning. See 00:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:16:10 00:16:10 Login Succeeded 00:16:10 nexus3.edgexfoundry.org:10003 00:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:16:10 Configure a credential helper to remove this warning. See 00:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:16:10 00:16:10 Login Succeeded 00:16:10 nexus3.edgexfoundry.org:10004 00:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:16:11 Configure a credential helper to remove this warning. See 00:16:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:16:11 00:16:11 Login Succeeded 00:16:11 ****.io 00:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:16:11 Configure a credential helper to remove this warning. See 00:16:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:16:11 00:16:11 Login Succeeded 00:16:11 ---> ****-login.sh ends [Pipeline] } 00:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:16:11 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 00:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:16:11 ========================================================= 00:16:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 00:16:11 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:12 + 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 . 00:16:12 Sending build context to Docker daemon 3.068MB 00:16:12 Step 1/22 : ARG BASE=alpine:3.18 00:16:12 Step 2/22 : FROM ${BASE} as builder 00:16:12 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 00:16:12 579b34f0a95b: Pulling fs layer 00:16:12 e71477ac5e1b: Pulling fs layer 00:16:12 579b34f0a95b: Verifying Checksum 00:16:12 579b34f0a95b: Download complete 00:16:13 579b34f0a95b: Pull complete 00:16:15 e71477ac5e1b: Verifying Checksum 00:16:15 e71477ac5e1b: Download complete 00:16:28 e71477ac5e1b: Pull complete 00:16:28 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 00:16:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 00:16:28 ---> 2b552cad5dd9 00:16:28 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 00:16:28 ---> Running in 2e5066d04b60 00:16:29 Connecting to iotech.jfrog.io (34.246.139.145:443) 00:16:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:16:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:16:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:16:30 Removing intermediate container 2e5066d04b60 00:16:30 ---> 0481d97c3822 00:16:30 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 00:16:30 ---> Running in e922a89e4309 00:16:32 Removing intermediate container e922a89e4309 00:16:32 ---> b268e0dcb107 00:16:32 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 00:16:32 ---> Running in e764de88a633 00:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:16:34 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 00:16:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:16:35 (1/17) Installing hiredis (1.1.0-r2) 00:16:35 (2/17) Installing hiredis-dev (1.1.0-r2) 00:16:35 (3/17) Installing libcbor (0.10.2-r1) 00:16:35 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 00:16:36 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 00:16:36 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 00:16:36 (7/17) Installing libcbor-dev (0.10.2-r1) 00:16:36 (8/17) Installing libmenuw (6.4_p20230506-r0) 00:16:36 (9/17) Installing libpanelw (6.4_p20230506-r0) 00:16:36 (10/17) Installing libncurses++ (6.4_p20230506-r0) 00:16:36 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 00:16:36 (12/17) Installing libblkid (2.38.1-r8) 00:16:36 (13/17) Installing libuuid (2.38.1-r8) 00:16:36 (14/17) Installing libfdisk (2.38.1-r8) 00:16:36 (15/17) Installing libmount (2.38.1-r8) 00:16:36 (16/17) Installing libsmartcols (2.38.1-r8) 00:16:36 (17/17) Installing util-linux-dev (2.38.1-r8) 00:16:36 Executing busybox-1.36.1-r4.trigger 00:16:36 OK: 333 MiB in 99 packages 00:16:38 Removing intermediate container e764de88a633 00:16:38 ---> f04f9204ad8b 00:16:38 Step 6/22 : RUN mkdir /tmp/sdk 00:16:38 ---> Running in 54d57e53f465 00:16:40 Removing intermediate container 54d57e53f465 00:16:40 ---> efa1bb5a7afb 00:16:40 Step 7/22 : COPY VERSION /tmp/sdk 00:16:40 ---> bc7449d2ea14 00:16:40 Step 8/22 : COPY src /tmp/sdk/src 00:16:41 ---> 8e5d0af90d94 00:16:41 Step 9/22 : COPY include /tmp/sdk/include 00:16:42 ---> bd3aa7dac692 00:16:42 Step 10/22 : COPY scripts /tmp/sdk/scripts 00:16:43 ---> 287b1d91aa11 00:16:43 Step 11/22 : COPY LICENSE /tmp/sdk 00:16:43 ---> 671204843f35 00:16:43 Step 12/22 : COPY Attribution.txt /tmp/sdk 00:16:44 ---> c60d9a9df636 00:16:44 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 00:16:44 ---> Running in 7426f7cf8279 00:16:46 + CPPCHECK=false 00:16:46 + DOCGEN=false 00:16:46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 00:16:46 + '[' 0 -gt 0 ] 00:16:46 + readlink -f ./scripts/build.sh 00:16:46 + dirname /tmp/sdk/scripts/build.sh 00:16:46 + dirname /tmp/sdk/scripts 00:16:46 + ROOT=/tmp/sdk 00:16:46 + cd /tmp/sdk 00:16:46 + mkdir -p /tmp/sdk/build/release 00:16:46 + cd /tmp/sdk/build/release 00:16:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 00:16:46 -- The C compiler identification is GNU 12.2.1 00:16:46 -- Detecting C compiler ABI info 00:16:47 -- Detecting C compiler ABI info - done 00:16:47 -- Check for working C compiler: /usr/bin/cc - skipped 00:16:47 -- Detecting C compile features 00:16:47 -- Detecting C compile features - done 00:16:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:16:47 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 00:16:47 -- Found LIBYAML: /usr/lib/libyaml.so 00:16:47 -- Found LIBUUID: /usr/lib/libuuid.so 00:16:47 -- Found LIBCBOR: /usr/lib/libcbor.so 00:16:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:16:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:16:47 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 00:16:47 -- /opt/iotech/iot/1.5/include 00:16:47 -- C SDK 0.0.0 for Linux 00:16:47 -- Performing Test CSDK_HAVE_ATOMIC 00:16:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:16:48 -- Found Curses: /usr/lib/libcurses.so 00:16:48 -- Configuring done (1.9s) 00:16:48 -- Generating done (0.3s) 00:16:48 -- Build files have been written to: /tmp/sdk/build/release 00:16:48 + make all package 00:16:48 + tee release.log 00:16:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:16:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 00:16:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 00:16:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 00:16:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 00:16:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:16:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:16:56 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 00:16:56 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 00:16:56 294 | while (privateConfig) 00:16:56 | ^~~~~~~~~~~~~ 00:16:56 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 00:16:56 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 00:16:56 | ^~~~~~~~~~~~~ 00:16:56 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 00:16:56 271 | while (result) 00:16:56 | ^~~~~~ 00:16:56 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 00:16:56 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 00:16:56 | ^~~~~~ 00:16:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:16:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:16:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:17:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:17:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:17:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:17:02 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:17:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 00:17:04 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:17:04 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:17:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:17:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:17:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:17:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:17:17 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:17:17 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:17:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:17:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 00:17:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:17:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:17:22 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:17:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:17:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:17:23 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:17:24 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 00:17:24 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:17:24 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 00:17:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:17:24 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:17:24 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 00:17:24 | ^ 00:17:25 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 00:17:25 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 00:17:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:17:25 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 00:17:25 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 00:17:25 | ^~~~~~~~~~~~~~~~~~~~~ 00:17:26 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:17:27 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 00:17:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:17:28 [ 68%] Linking C shared library libcsdk.so 00:17:28 [ 68%] Built target csdk 00:17:28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:17:29 [ 72%] Linking C executable template 00:17:29 [ 72%] Built target template 00:17:29 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:17:30 [ 76%] Linking C executable device-counter 00:17:30 [ 76%] Built target device-counter 00:17:30 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:17:31 [ 80%] Linking C executable device-random 00:17:31 [ 80%] Built target device-random 00:17:31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:17:31 [ 84%] Linking C executable device-gyro 00:17:32 [ 84%] Built target device-gyro 00:17:32 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:17:32 [ 88%] Linking C executable device-bitfields 00:17:33 [ 88%] Built target device-bitfields 00:17:33 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:17:34 [ 92%] Linking C executable template-discovery 00:17:34 [ 92%] Built target template-discovery 00:17:34 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:17:35 [ 96%] Linking C executable device-file 00:17:35 [ 96%] Built target device-file 00:17:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:17:36 [100%] Linking C executable device-terminal 00:17:36 [100%] Built target device-terminal 00:17:36 Run CPack packaging tool... 00:17:36 CPack: Create package using TGZ 00:17:36 CPack: Install projects 00:17:36 CPack: - Run preinstall target for: Csdk 00:17:37 CPack: - Install project: Csdk [] 00:17:37 CPack: Create package 00:17:37 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 00:17:37 + '[' false '=' true ] 00:17:37 + '[' false '=' true ] 00:17:37 + mkdir -p /tmp/sdk/build/debug 00:17:37 + cd /tmp/sdk/build/debug 00:17:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 00:17:37 -- The C compiler identification is GNU 12.2.1 00:17:38 -- Detecting C compiler ABI info 00:17:38 -- Detecting C compiler ABI info - done 00:17:38 -- Check for working C compiler: /usr/bin/cc - skipped 00:17:38 -- Detecting C compile features 00:17:38 -- Detecting C compile features - done 00:17:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:17:38 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 00:17:38 -- Found LIBYAML: /usr/lib/libyaml.so 00:17:38 -- Found LIBUUID: /usr/lib/libuuid.so 00:17:38 -- Found LIBCBOR: /usr/lib/libcbor.so 00:17:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:17:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:17:38 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 00:17:38 -- /opt/iotech/iot/1.5/include 00:17:38 -- C SDK 0.0.0 for Linux 00:17:38 -- Performing Test CSDK_HAVE_ATOMIC 00:17:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:17:39 -- Found Curses: /usr/lib/libcurses.so 00:17:39 -- Configuring done (1.7s) 00:17:39 -- Generating done (0.2s) 00:17:39 -- Build files have been written to: /tmp/sdk/build/debug 00:17:39 + make 00:17:39 + tee debug.log 00:17:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:17:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 00:17:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 00:17:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 00:17:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 00:17:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:17:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:17:42 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:17:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:17:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:17:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:17:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:17:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:17:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:17:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 00:17:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:17:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:17:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:17:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:17:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:17:48 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:17:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:17:50 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:17:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:17:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 00:17:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:17:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:17:53 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:17:53 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:17:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:17:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:17:54 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 00:17:54 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:17:54 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 00:17:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:17:54 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 00:17:54 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 00:17:54 | ^ 00:17:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:17:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 00:17:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:17:56 [ 68%] Linking C shared library libcsdk.so 00:17:56 [ 68%] Built target csdk 00:17:56 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:17:57 [ 72%] Linking C executable template 00:17:57 [ 72%] Built target template 00:17:57 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:17:57 [ 76%] Linking C executable device-counter 00:17:58 [ 76%] Built target device-counter 00:17:58 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:17:58 [ 80%] Linking C executable device-random 00:17:58 [ 80%] Built target device-random 00:17:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:17:59 [ 84%] Linking C executable device-gyro 00:17:59 [ 84%] Built target device-gyro 00:17:59 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:17:59 [ 88%] Linking C executable device-bitfields 00:18:00 [ 88%] Built target device-bitfields 00:18:00 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:18:00 [ 92%] Linking C executable template-discovery 00:18:01 [ 92%] Built target template-discovery 00:18:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:18:01 [ 96%] Linking C executable device-file 00:18:01 [ 96%] Built target device-file 00:18:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:18:02 [100%] Linking C executable device-terminal 00:18:02 [100%] Built target device-terminal 00:18:02 make: Entering directory '/tmp/sdk/build/release' 00:18:02 [ 68%] Built target csdk 00:18:02 [ 72%] Built target template 00:18:02 [ 76%] Built target device-counter 00:18:02 [ 80%] Built target device-random 00:18:02 [ 84%] Built target device-gyro 00:18:02 [ 88%] Built target device-bitfields 00:18:02 [ 92%] Built target template-discovery 00:18:03 [ 96%] Built target device-file 00:18:03 [100%] Built target device-terminal 00:18:03 Install the project... 00:18:03 -- Install configuration: "Release" 00:18:03 -- Installing: /usr/local/lib/libcsdk.so 00:18:03 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 00:18:03 -- Installing: /usr/local/include 00:18:03 -- Installing: /usr/local/include/devsdk 00:18:03 -- Installing: /usr/local/include/devsdk/devsdk.h 00:18:03 -- Installing: /usr/local/include/devsdk/devsdk-base.h 00:18:03 -- Installing: /usr/local/include/edgex 00:18:03 -- Installing: /usr/local/include/edgex/rest-server.h 00:18:03 -- Installing: /usr/local/include/edgex/edgex.h 00:18:03 -- Installing: /usr/local/include/edgex/edgex-base.h 00:18:03 -- Installing: /usr/local/include/edgex/devices.h 00:18:03 -- Installing: /usr/local/include/edgex/profiles.h 00:18:03 -- Installing: /usr/local/include/edgex/csdk-defs.h 00:18:03 -- Installing: /usr/local/share/device-sdk-c/LICENSE 00:18:03 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 00:18:03 make: Leaving directory '/tmp/sdk/build/release' 00:18:04 Removing intermediate container 7426f7cf8279 00:18:04 ---> f40aaaec7c94 00:18:04 Step 14/22 : FROM ${BASE} 00:18:04 ---> 2b552cad5dd9 00:18:04 Step 15/22 : LABEL maintainer="IOTech " 00:18:04 ---> Running in 2feca67fce09 00:18:04 Removing intermediate container 2feca67fce09 00:18:04 ---> 9691f2c1a045 00:18:04 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 00:18:04 ---> Running in 1e67c61964dc 00:18:05 Connecting to iotech.jfrog.io (54.73.4.50:443) 00:18:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:18:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:18:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:18:06 Removing intermediate container 1e67c61964dc 00:18:06 ---> 2ef80862b882 00:18:06 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 00:18:06 ---> Running in f5fd99af37ea 00:18:08 Removing intermediate container f5fd99af37ea 00:18:08 ---> cfd0b39a58f7 00:18:08 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 00:18:08 ---> Running in 0bbc7a90515a 00:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:18:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:18:11 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 00:18:11 (2/10) Installing curl (8.9.1-r1) 00:18:11 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 00:18:11 (4/10) Installing dumb-init (1.2.5-r2) 00:18:11 (5/10) Installing hiredis (1.1.0-r2) 00:18:11 (6/10) Installing hiredis-dev (1.1.0-r2) 00:18:11 (7/10) Installing libcbor (0.10.2-r1) 00:18:11 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 00:18:12 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 00:18:12 (10/10) Installing libuuid (2.38.1-r8) 00:18:12 Executing busybox-1.36.1-r4.trigger 00:18:12 OK: 328 MiB in 90 packages 00:18:13 Removing intermediate container 0bbc7a90515a 00:18:13 ---> e8672f9bcccb 00:18:13 Step 19/22 : RUN apk --no-cache upgrade 00:18:13 ---> Running in 9b4ff708563d 00:18:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:18:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:18:16 Upgrading critical system libraries and apk-tools: 00:18:16 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 00:18:16 Executing busybox-1.36.1-r4.trigger 00:18:16 Continuing the upgrade transaction with new apk-tools: 00:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:18:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:18:18 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 00:18:18 Executing busybox-1.36.1-r7.post-upgrade 00:18:18 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 00:18:18 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 00:18:18 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 00:18:18 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 00:18:18 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 00:18:18 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 00:18:18 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) 00:18:18 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 00:18:18 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 00:18:18 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 00:18:18 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 00:18:19 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 00:18:19 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 00:18:19 Executing busybox-1.36.1-r7.trigger 00:18:19 Executing ca-certificates-20240226-r0.trigger 00:18:19 OK: 328 MiB in 90 packages 00:18:21 Removing intermediate container 9b4ff708563d 00:18:21 ---> 0956d2c35759 00:18:21 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 00:18:21 ---> 3a9564dd3ef8 00:18:21 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 00:18:22 ---> fd0462e5f136 00:18:22 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 00:18:22 ---> d29a47cae22b 00:18:22 Successfully built d29a47cae22b 00:18:22 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 00:18:23 + docker inspect -f . ci-base-image-arm64 00:18:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:23 prd-ubuntu20.04-docker-arm64-4c-16g-23550 does not seem to be running inside a container 00:18:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:24 $ docker top 66d39bb4211253545ddc8c392045eb3a4a8e67c492e571d08b038f741009e352 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:25 + make test 00:18:25 echo "make test" 00:18:25 make test [Pipeline] } 00:18:25 $ docker stop --time=1 66d39bb4211253545ddc8c392045eb3a4a8e67c492e571d08b038f741009e352 00:18:27 $ docker rm -f --volumes 66d39bb4211253545ddc8c392045eb3a4a8e67c492e571d08b038f741009e352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:28 + ls -al . 00:18:28 total 208 00:18:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 00:15 . 00:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:15 .. 00:18:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 00:15 .git 00:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 00:15 .github 00:18:28 -rw-rw-r-- 1 jenkins jenkins 176 Oct 23 00:15 .gitignore 00:18:28 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 23 00:15 Attribution.txt 00:18:28 -rw-rw-r-- 1 jenkins jenkins 11953 Oct 23 00:15 CHANGELOG.md 00:18:28 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 23 00:15 Doxyfile 00:18:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 00:15 GOVERNANCE.md 00:18:28 -rw-rw-r-- 1 jenkins jenkins 784 Oct 23 00:15 Jenkinsfile 00:18:28 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 00:15 LICENSE 00:18:28 -rw-rw-r-- 1 jenkins jenkins 444 Oct 23 00:15 Makefile 00:18:28 -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 00:15 OWNERS.md 00:18:28 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 23 00:15 README.IOT.md 00:18:28 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 23 00:15 README.md 00:18:28 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 23 00:15 README.v3.md 00:18:28 -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 00:13 VERSION 00:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:15 docs 00:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:15 include 00:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:15 scripts 00:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:15 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:28 + 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=e2add50ccdab89b2c40ac172acd1f847ade8ae14 --label arch=arm64 --label version=0.0.0 . 00:18:28 Sending build context to Docker daemon 3.068MB 00:18:29 Step 1/18 : ARG BASE=alpine:3.18 00:18:29 Step 2/18 : FROM ${BASE} 00:18:29 ---> d29a47cae22b 00:18:29 Step 3/18 : LABEL maintainer="IOTech " 00:18:29 ---> Running in 80cee903d96a 00:18:29 Removing intermediate container 80cee903d96a 00:18:29 ---> d5088a9b1617 00:18:29 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 00:18:29 ---> Running in 39e43c1bb583 00:18:30 Connecting to iotech.jfrog.io (34.246.139.145:443) 00:18:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:18:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:18:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:18:31 Removing intermediate container 39e43c1bb583 00:18:31 ---> 43682b938ddc 00:18:31 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 00:18:31 ---> Running in d04cbc9c2b80 00:18:33 Removing intermediate container d04cbc9c2b80 00:18:33 ---> 1af7dc5c46d3 00:18:33 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 00:18:33 ---> Running in 8abb775a9d2e 00:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:18:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:18:36 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 00:18:36 (2/11) Installing libcbor-dev (0.10.2-r1) 00:18:36 (3/11) Installing libmenuw (6.4_p20230506-r0) 00:18:36 (4/11) Installing libpanelw (6.4_p20230506-r0) 00:18:36 (5/11) Installing libncurses++ (6.4_p20230506-r0) 00:18:36 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 00:18:36 (7/11) Installing libblkid (2.38.1-r8) 00:18:36 (8/11) Installing libfdisk (2.38.1-r8) 00:18:36 (9/11) Installing libmount (2.38.1-r8) 00:18:36 (10/11) Installing libsmartcols (2.38.1-r8) 00:18:36 (11/11) Installing util-linux-dev (2.38.1-r8) 00:18:36 Executing busybox-1.36.1-r7.trigger 00:18:36 OK: 334 MiB in 101 packages 00:18:38 Removing intermediate container 8abb775a9d2e 00:18:38 ---> 1ab58f56e7b9 00:18:38 Step 7/18 : RUN apk --no-cache upgrade 00:18:38 ---> Running in f4f402d7dd62 00:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:18:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 00:18:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:18:41 OK: 334 MiB in 101 packages 00:18:41 Removing intermediate container f4f402d7dd62 00:18:41 ---> 16c0d1b2f881 00:18:41 Step 8/18 : COPY VERSION /edgex-c-sdk/ 00:18:43 ---> 8e1288a49705 00:18:43 Step 9/18 : COPY src /edgex-c-sdk/src/ 00:18:44 ---> a2629bf7ee46 00:18:44 Step 10/18 : COPY include /edgex-c-sdk/include/ 00:18:45 ---> f529049449b0 00:18:45 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 00:18:45 ---> d13386f2ffe5 00:18:45 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 00:18:45 ---> ba45c88459f2 00:18:45 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 00:18:46 ---> 5bf120acec2b 00:18:46 Step 14/18 : WORKDIR /edgex-c-sdk 00:18:46 ---> Running in 9bcaa9532ab1 00:18:46 Removing intermediate container 9bcaa9532ab1 00:18:46 ---> 4d3b040c0536 00:18:46 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 00:18:46 ---> Running in 9b91f23f8a9c 00:18:47 Removing intermediate container 9b91f23f8a9c 00:18:47 ---> cce928d03497 00:18:47 Step 16/18 : LABEL arch=arm64 00:18:47 ---> Running in f2df881fd2d3 00:18:47 Removing intermediate container f2df881fd2d3 00:18:47 ---> f56b3bcd9296 00:18:47 Step 17/18 : LABEL git_sha=e2add50ccdab89b2c40ac172acd1f847ade8ae14 00:18:47 ---> Running in ebc48afe5287 00:18:47 Removing intermediate container ebc48afe5287 00:18:47 ---> b3e1d1aeb128 00:18:47 Step 18/18 : LABEL version=0.0.0 00:18:47 ---> Running in adbfbd1aa1dd 00:18:48 Removing intermediate container adbfbd1aa1dd 00:18:48 ---> ba5d2e73454a 00:18:48 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:18:48 Successfully built ba5d2e73454a 00:18:48 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 00:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:18:48 00:18:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:18:49 arm64: Pulling from edgex-lftools-log-publisher 00:18:49 8998bd30e6a1: Pulling fs layer 00:18:49 04944245beec: Pulling fs layer 00:18:49 699f458cf7ca: Pulling fs layer 00:18:49 765212b225bb: Pulling fs layer 00:18:49 f23df028b6ca: Pulling fs layer 00:18:49 d65c8cfc05b1: Pulling fs layer 00:18:49 2437ff75d9bd: Pulling fs layer 00:18:49 f23df028b6ca: Waiting 00:18:49 d65c8cfc05b1: Waiting 00:18:49 2437ff75d9bd: Waiting 00:18:49 765212b225bb: Waiting 00:18:49 04944245beec: Verifying Checksum 00:18:49 04944245beec: Download complete 00:18:49 765212b225bb: Verifying Checksum 00:18:49 765212b225bb: Download complete 00:18:49 f23df028b6ca: Verifying Checksum 00:18:49 f23df028b6ca: Download complete 00:18:49 d65c8cfc05b1: Verifying Checksum 00:18:49 d65c8cfc05b1: Download complete 00:18:49 699f458cf7ca: Verifying Checksum 00:18:49 699f458cf7ca: Download complete 00:18:50 8998bd30e6a1: Download complete 00:18:52 2437ff75d9bd: Verifying Checksum 00:18:52 2437ff75d9bd: Download complete 00:18:54 8998bd30e6a1: Pull complete 00:18:55 04944245beec: Pull complete 00:18:56 699f458cf7ca: Pull complete 00:18:57 765212b225bb: Pull complete 00:18:58 f23df028b6ca: Pull complete 00:18:58 d65c8cfc05b1: Pull complete 00:19:16 2437ff75d9bd: Pull complete 00:19:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:16 prd-ubuntu20.04-docker-arm64-4c-16g-23550 does not seem to be running inside a container 00:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:19:19 $ docker top 71ffee903dce60983c9d34bed0751cbdb45407565cd65bd8f3f2ed0f37e8cf55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:19 ---> job-cost.sh 00:19:19 lf-activate-venv: SKIPPING 00:19:19 INFO: No Stack... 00:19:20 INFO: Retrieving Pricing Info for: v3-standard-4 00:19:21 INFO: Archiving Costs [Pipeline] sh 00:19:21 + cut -d, -f6 00:19:21 + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock 00:19:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] 00:19:21 Resource [jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] did not exist. Created. 00:19:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:22 /w/workspace/device-sdk-c/2@tmp/durable-67acf13e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:19:23 + echo total: 0.10999999940395355 [Pipeline] stash 00:19:23 Warning: overwriting stash ‘stack-cost’ 00:19:23 Stashed 1 file(s) [Pipeline] } 00:19:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-518-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:19:23 $ docker stop --time=1 71ffee903dce60983c9d34bed0751cbdb45407565cd65bd8f3f2ed0f37e8cf55 00:19:25 $ docker rm -f --volumes 71ffee903dce60983c9d34bed0751cbdb45407565cd65bd8f3f2ed0f37e8cf55 [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 00:19:26 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives ] 00:19:26 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives 00:19:26 total 16 00:19:26 drwxr-xr-x 3 root root 4096 Oct 23 00:14 . 00:19:26 drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 00:14 .. 00:19:26 drwxr-xr-x 2 root root 4096 Oct 23 00:14 cost 00:19:26 -rw-r--r-- 1 root root 84 Oct 23 00:14 cost.csv 00:19:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives 00:19:26 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives 00:19:26 total 16 00:19:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 00:14 . 00:19:26 drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 00:14 .. 00:19:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 00:14 cost 00:19:26 -rw-r--r-- 1 jenkins jenkins 84 Oct 23 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:19:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:19:27 ---> package-listing.sh 00:19:27 ++ facter osfamily 00:19:27 ++ tr '[:upper:]' '[:lower:]' 00:19:27 + OS_FAMILY=debian 00:19:27 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-518 00:19:27 + START_PACKAGES=/tmp/packages_start.txt 00:19:27 + END_PACKAGES=/tmp/packages_end.txt 00:19:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:19:27 + PACKAGES=/tmp/packages_start.txt 00:19:27 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-518 ']' 00:19:27 + PACKAGES=/tmp/packages_end.txt 00:19:27 + case "${OS_FAMILY}" in 00:19:27 + dpkg -l 00:19:27 + grep '^ii' 00:19:27 + '[' -f /tmp/packages_start.txt ']' 00:19:27 + '[' -f /tmp/packages_end.txt ']' 00:19:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:19:27 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-518 ']' 00:19:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives/ 00:19:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-518/archives/ [Pipeline] echo 00:19:27 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:19:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:19:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:28 prd-ubuntu20.04-docker-8c-8g-23548 does not seem to be running inside a container 00:19:28 $ 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-518/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-518 -v /w/workspace/edgexfoundry_device-sdk-c_PR-518:/w/workspace/edgexfoundry_device-sdk-c_PR-518:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:19:28 $ docker top b267d27c49f625dea228c5bd99b027b64b179f713df649ebf75f3c51ca80e8a8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:19:29 + touch /tmp/pre-build-complete [Pipeline] sh 00:19:29 + mkdir -p /var/log/sysstat [Pipeline] sh 00:19:29 + ls /var/log/sa-host 00:19:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:29 provisioning config files... 00:19:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-518@tmp/config4228715645446856754tmp [Pipeline] { [Pipeline] echo 00:19:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:19:30 ---> create-netrc.sh [Pipeline] } 00:19:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:19:30 ---> python-tools-install.sh [Pipeline] echo 00:19:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:19:30 ---> sudo-logs.sh 00:19:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:19:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:19:31 ---> job-cost.sh 00:19:31 lf-activate-venv: SKIPPING 00:19:31 DEBUG: total: 0.2199999988079071 00:19:31 INFO: Retrieving Stack Cost... 00:19:31 INFO: Retrieving Pricing Info for: v3-standard-8 00:19:31 INFO: Archiving Costs [Pipeline] echo 00:19:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:19:31 ---> logs-deploy.sh 00:19:31 lf-activate-venv: SKIPPING 00:19:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-518/2 00:19:31 INFO: archiving workspace using pattern(s): 00:19:33 Archives upload complete. 00:19:33 INFO: archiving logs to Nexus 00:19:34 ---> uname -a: 00:19:34 Linux prd-ubuntu20-04-docker-8c-8g-23548 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:19:34 00:19:34 00:19:34 ---> lscpu: 00:19:34 Architecture: x86_64 00:19:34 CPU op-mode(s): 32-bit, 64-bit 00:19:34 Byte Order: Little Endian 00:19:34 Address sizes: 40 bits physical, 48 bits virtual 00:19:34 CPU(s): 8 00:19:34 On-line CPU(s) list: 0-7 00:19:34 Thread(s) per core: 1 00:19:34 Core(s) per socket: 1 00:19:34 Socket(s): 8 00:19:34 NUMA node(s): 1 00:19:34 Vendor ID: AuthenticAMD 00:19:34 CPU family: 23 00:19:34 Model: 49 00:19:34 Model name: AMD EPYC-Rome Processor 00:19:34 Stepping: 0 00:19:34 CPU MHz: 2799.996 00:19:34 BogoMIPS: 5599.99 00:19:34 Virtualization: AMD-V 00:19:34 Hypervisor vendor: KVM 00:19:34 Virtualization type: full 00:19:34 L1d cache: 256 KiB 00:19:34 L1i cache: 256 KiB 00:19:34 L2 cache: 4 MiB 00:19:34 L3 cache: 128 MiB 00:19:34 NUMA node0 CPU(s): 0-7 00:19:34 Vulnerability Itlb multihit: Not affected 00:19:34 Vulnerability L1tf: Not affected 00:19:34 Vulnerability Mds: Not affected 00:19:34 Vulnerability Meltdown: Not affected 00:19:34 Vulnerability Mmio stale data: Not affected 00:19:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:19:34 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:19:34 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:19:34 Vulnerability Srbds: Not affected 00:19:34 Vulnerability Tsx async abort: Not affected 00:19:34 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:19:34 00:19:34 00:19:34 ---> nproc: 00:19:34 8 00:19:34 00:19:34