Pull request #513 updated Pull request #513 updated Pull request #513 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17740471835244279142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5983062875962712931.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8791656138062465012.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17924615575241685262.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12914008157500332969.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-10680 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 Merge succeeded, producing 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f Checking out Revision 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f (PR-513) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 Commit message: "feat: fix format of discovery/template.c" First time build. Skipping changelog. > git rev-list --no-walk 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:33:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:33:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:33:56 ========================================================= 09:33:56 EdgeX Global Pipelines Version Info 09:33:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:33:57 ------------------- 09:33:57 stable info: 09:33:57 ------------------- 09:33:57 Commited By: Cherry Wang cherry@iotechsys.com 09:33:57 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 09:33:57 Message: update stable to v1.0.263 09:33:57 ------------------- 09:33:57 experimental info: 09:33:57 ------------------- 09:33:57 Commited By: Cherry Wang cherry@iotechsys.com 09:33:57 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 09:33:57 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:33:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:33:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:33:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:33:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:33:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6734daf [Pipeline] echo 09:33:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:58 provisioning config files... 09:33:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config12226633401881538760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:58 ---> ****-login.sh 09:33:58 nexus3.edgexfoundry.org:10001 09:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:59 Configure a credential helper to remove this warning. See 09:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:59 09:33:59 Login Succeeded 09:33:59 nexus3.edgexfoundry.org:10002 09:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:59 Configure a credential helper to remove this warning. See 09:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:59 09:33:59 Login Succeeded 09:33:59 nexus3.edgexfoundry.org:10003 09:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:59 Configure a credential helper to remove this warning. See 09:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:59 09:33:59 Login Succeeded 09:33:59 nexus3.edgexfoundry.org:10004 09:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:59 Configure a credential helper to remove this warning. See 09:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:59 09:33:59 Login Succeeded 09:33:59 ****.io 09:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:33:59 Configure a credential helper to remove this warning. See 09:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:33:59 09:33:59 Login Succeeded 09:33:59 ---> ****-login.sh ends [Pipeline] } 09:33:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 09:33:59 + git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo 09:34:00 -----------> git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [false] [Pipeline] sh 09:34:00 + git log --format=format:%s -1 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo 09:34:00 ========================================================= 09:34:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:34:00 ========================================================= 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 09:34:00 + git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo 09:34:00 -----------> git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [false] [Pipeline] sh 09:34:01 + git log --format=format:%s -1 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo 09:34:01 ========================================================= 09:34:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:34:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 09:34:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:34:01 + grep -v github /etc/ssh/ssh_known_hosts 09:34:01 + [ -e /tmp/ssh_known_hosts ] 09:34:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:34:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:34:01 + sudo tee -a /etc/ssh/ssh_known_hosts 09:34:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:01 09:34:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:02 0.1.4: Pulling from edgex-devops/py-git-semver 09:34:02 b85a868b505f: Pulling fs layer 09:34:02 e2be974225ed: Pulling fs layer 09:34:02 339a4e72a1f5: Pulling fs layer 09:34:02 988bab9f4d93: Pulling fs layer 09:34:02 1469e6f7b9e6: Pulling fs layer 09:34:02 eaf3925da568: Pulling fs layer 09:34:02 bab4dde63d76: Pulling fs layer 09:34:02 bde34c3a00c8: Pulling fs layer 09:34:02 b352a97aabf1: Pulling fs layer 09:34:02 4872d77fe225: Pulling fs layer 09:34:02 5851b861e8e6: Pulling fs layer 09:34:02 b352a97aabf1: Waiting 09:34:02 eaf3925da568: Waiting 09:34:02 bde34c3a00c8: Waiting 09:34:02 4872d77fe225: Waiting 09:34:02 5851b861e8e6: Waiting 09:34:02 1469e6f7b9e6: Waiting 09:34:02 988bab9f4d93: Waiting 09:34:02 bab4dde63d76: Waiting 09:34:02 e2be974225ed: Verifying Checksum 09:34:02 e2be974225ed: Download complete 09:34:02 988bab9f4d93: Download complete 09:34:02 1469e6f7b9e6: Verifying Checksum 09:34:02 1469e6f7b9e6: Download complete 09:34:02 339a4e72a1f5: Verifying Checksum 09:34:02 339a4e72a1f5: Download complete 09:34:02 eaf3925da568: Verifying Checksum 09:34:02 eaf3925da568: Download complete 09:34:02 bde34c3a00c8: Verifying Checksum 09:34:02 bde34c3a00c8: Download complete 09:34:02 b352a97aabf1: Verifying Checksum 09:34:02 b352a97aabf1: Download complete 09:34:02 4872d77fe225: Download complete 09:34:02 5851b861e8e6: Verifying Checksum 09:34:02 5851b861e8e6: Download complete 09:34:02 b85a868b505f: Verifying Checksum 09:34:02 b85a868b505f: Download complete 09:34:02 bab4dde63d76: Verifying Checksum 09:34:02 bab4dde63d76: Download complete 09:34:03 b85a868b505f: Pull complete 09:34:03 e2be974225ed: Pull complete 09:34:04 339a4e72a1f5: Pull complete 09:34:04 988bab9f4d93: Pull complete 09:34:04 1469e6f7b9e6: Pull complete 09:34:04 eaf3925da568: Pull complete 09:34:06 bab4dde63d76: Pull complete 09:34:06 bde34c3a00c8: Pull complete 09:34:06 b352a97aabf1: Pull complete 09:34:06 4872d77fe225: Pull complete 09:34:06 5851b861e8e6: Pull complete 09:34:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:34:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:34:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:07 prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container 09:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:34:09 $ docker top 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 -eo pid,comm 09:34:09 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). 09:34:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:10 [ssh-agent] Looking for ssh-agent implementation... 09:34:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:10 $ docker exec 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent 09:34:10 SSH_AUTH_SOCK=/tmp/ssh-SbbBhk9OauBx/agent.32 09:34:10 SSH_AGENT_PID=38 09:34:10 Running ssh-add (command line suppressed) 09:34:10 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_15859900537997132485.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_15859900537997132485.key) 09:34:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:10 + git tag --points-at HEAD [Pipeline] } 09:34:10 $ docker exec --env ******** --env ******** 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent -k 09:34:10 unset SSH_AUTH_SOCK; 09:34:10 unset SSH_AGENT_PID; 09:34:10 echo Agent pid 38 killed; 09:34:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:34:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:10 [ssh-agent] Looking for ssh-agent implementation... 09:34:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:10 $ docker exec 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent 09:34:11 SSH_AUTH_SOCK=/tmp/ssh-Ok6kULc1fYhe/agent.71 09:34:11 SSH_AGENT_PID=77 09:34:11 Running ssh-add (command line suppressed) 09:34:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_11670682637426905292.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_11670682637426905292.key) 09:34:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:11 + git semver init 09:34:11 2024-09-19 09:34:11,674 [run_init] DEBUG init version:0.0.0 force:False 09:34:11 2024-09-19 09:34:11,675 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 09:34:11 2024-09-19 09:34:11,675 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 09:34:11 2024-09-19 09:34:11,676 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) 09:34:12 2024-09-19 09:34:12,471 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude 09:34:12 2024-09-19 09:34:12,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False 09:34:12 2024-09-19 09:34:12,472 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 09:34:12 2024-09-19 09:34:12,476 [execute] INFO git cat-file --batch-check 09:34:12 2024-09-19 09:34:12,476 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 09:34:12 2024-09-19 09:34:12,480 [execute] INFO git cat-file --batch 09:34:12 2024-09-19 09:34:12,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 09:34:12 2024-09-19 09:34:12,485 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 09:34:12 0.0.0 [Pipeline] } 09:34:12 $ docker exec --env ******** --env ******** 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent -k 09:34:12 unset SSH_AUTH_SOCK; 09:34:12 unset SSH_AGENT_PID; 09:34:12 echo Agent pid 77 killed; 09:34:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:13 + git semver [Pipeline] } 09:34:13 $ docker stop --time=1 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 09:34:14 $ docker rm -f --volumes 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:34:15 Stashed 1 file(s) [Pipeline] echo 09:34:15 [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 09:34:15 provisioning config files... 09:34:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config6165945659523188628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:15 ---> ****-login.sh 09:34:15 nexus3.edgexfoundry.org:10001 09:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:15 Configure a credential helper to remove this warning. See 09:34:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:15 09:34:15 Login Succeeded 09:34:15 nexus3.edgexfoundry.org:10002 09:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:15 Configure a credential helper to remove this warning. See 09:34:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:15 09:34:15 Login Succeeded 09:34:15 nexus3.edgexfoundry.org:10003 09:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:16 Configure a credential helper to remove this warning. See 09:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:16 09:34:16 Login Succeeded 09:34:16 nexus3.edgexfoundry.org:10004 09:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:16 Configure a credential helper to remove this warning. See 09:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:16 09:34:16 Login Succeeded 09:34:16 ****.io 09:34:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:16 Configure a credential helper to remove this warning. See 09:34:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:16 09:34:16 Login Succeeded 09:34:16 ---> ****-login.sh ends [Pipeline] } 09:34:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:34:16 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 09:34:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:34:16 ========================================================= 09:34:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:34:16 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:16 + 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 . 09:34:16 Sending build context to Docker daemon 5.251MB 09:34:16 Step 1/22 : ARG BASE=alpine:3.18 09:34:16 Step 2/22 : FROM ${BASE} as builder 09:34:16 latest: Pulling from edgex-devops/edgex-gcc-base 09:34:16 96526aa774ef: Pulling fs layer 09:34:16 da60e534fd72: Pulling fs layer 09:34:17 96526aa774ef: Verifying Checksum 09:34:17 96526aa774ef: Download complete 09:34:17 96526aa774ef: Pull complete 09:34:17 da60e534fd72: Verifying Checksum 09:34:17 da60e534fd72: Download complete 09:34:21 da60e534fd72: Pull complete 09:34:21 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 09:34:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:34:21 ---> 6605166a5db4 09:34:21 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 09:34:23 ---> Running in 4d74a9b857ee 09:34:23 Connecting to iotech.jfrog.io (54.73.4.50:443) 09:34:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:34:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:34:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:34:23 Removing intermediate container 4d74a9b857ee 09:34:23 ---> f67c5adcdd51 09:34:23 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:34:23 ---> Running in 9d446fef8975 09:34:24 Removing intermediate container 9d446fef8975 09:34:24 ---> 2dba61328ff0 09:34:24 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 09:34:24 ---> Running in ce4148dd6ae7 09:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:34:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:34:25 (1/17) Installing hiredis (1.1.0-r2) 09:34:25 (2/17) Installing hiredis-dev (1.1.0-r2) 09:34:25 (3/17) Installing libcbor (0.10.2-r1) 09:34:25 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 09:34:26 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:34:26 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:34:26 (7/17) Installing libcbor-dev (0.10.2-r1) 09:34:26 (8/17) Installing libmenuw (6.4_p20230506-r0) 09:34:27 (9/17) Installing libpanelw (6.4_p20230506-r0) 09:34:27 (10/17) Installing libncurses++ (6.4_p20230506-r0) 09:34:27 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 09:34:27 (12/17) Installing libblkid (2.38.1-r8) 09:34:27 (13/17) Installing libuuid (2.38.1-r8) 09:34:27 (14/17) Installing libfdisk (2.38.1-r8) 09:34:27 (15/17) Installing libmount (2.38.1-r8) 09:34:27 (16/17) Installing libsmartcols (2.38.1-r8) 09:34:27 (17/17) Installing util-linux-dev (2.38.1-r8) 09:34:27 Executing busybox-1.36.1-r4.trigger 09:34:27 OK: 336 MiB in 99 packages 09:34:27 Removing intermediate container ce4148dd6ae7 09:34:27 ---> 241ad61760ec 09:34:27 Step 6/22 : RUN mkdir /tmp/sdk 09:34:27 ---> Running in e238d4e18597 09:34:28 Removing intermediate container e238d4e18597 09:34:28 ---> 0bc2ea6fa0ce 09:34:28 Step 7/22 : COPY VERSION /tmp/sdk 09:34:28 ---> 7fd615c3f948 09:34:28 Step 8/22 : COPY src /tmp/sdk/src 09:34:28 ---> bd10eb51616c 09:34:28 Step 9/22 : COPY include /tmp/sdk/include 09:34:28 ---> 0a6057d57224 09:34:28 Step 10/22 : COPY scripts /tmp/sdk/scripts 09:34:28 ---> 1195353d5a07 09:34:28 Step 11/22 : COPY LICENSE /tmp/sdk 09:34:28 ---> cbd63b1a486d 09:34:28 Step 12/22 : COPY Attribution.txt /tmp/sdk 09:34:28 ---> 028c38d3323d 09:34:28 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:34:29 ---> Running in 80654912bd58 09:34:29 + CPPCHECK=false 09:34:29 + DOCGEN=false 09:34:29 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:34:29 + '[' 0 -gt 0 ] 09:34:29 + readlink -f ./scripts/build.sh 09:34:29 + dirname /tmp/sdk/scripts/build.sh 09:34:29 + dirname /tmp/sdk/scripts 09:34:29 + ROOT=/tmp/sdk 09:34:29 + cd /tmp/sdk 09:34:29 + mkdir -p /tmp/sdk/build/release 09:34:29 + cd /tmp/sdk/build/release 09:34:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:34:29 -- The C compiler identification is GNU 12.2.1 09:34:29 -- Detecting C compiler ABI info 09:34:29 -- Detecting C compiler ABI info - done 09:34:29 -- Check for working C compiler: /usr/bin/cc - skipped 09:34:29 -- Detecting C compile features 09:34:29 -- Detecting C compile features - done 09:34:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:34:29 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:34:29 -- Found LIBYAML: /usr/lib/libyaml.so 09:34:29 -- Found LIBUUID: /usr/lib/libuuid.so 09:34:29 -- Found LIBCBOR: /usr/lib/libcbor.so 09:34:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:34:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:34:29 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:34:29 -- /opt/iotech/iot/1.5/include 09:34:29 -- C SDK 0.0.0 for Linux 09:34:29 -- Performing Test CSDK_HAVE_ATOMIC 09:34:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:34:29 -- Found Curses: /usr/lib/libcurses.so 09:34:29 -- Configuring done (0.4s) 09:34:29 -- Generating done (0.0s) 09:34:29 -- Build files have been written to: /tmp/sdk/build/release 09:34:29 + make all package 09:34:29 + tee release.log 09:34:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:34:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:34:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:34:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:34:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:34:30 Still waiting to schedule task 09:34:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:34:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:34:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:34:30 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 09:34:30 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 09:34:30 294 | while (privateConfig) 09:34:30 | ^~~~~~~~~~~~~ 09:34:30 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 09:34:30 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:34:30 | ^~~~~~~~~~~~~ 09:34:30 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 09:34:30 271 | while (result) 09:34:30 | ^~~~~~ 09:34:30 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 09:34:30 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:34:30 | ^~~~~~ 09:34:30 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:34:30 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:34:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:34:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:34:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:34:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:34:31 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:34:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:34:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:34:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:34:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:34:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:34:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:34:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:34:33 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:34:33 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:34:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:34:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:34:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:34:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:34:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:34:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:34:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:34:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:34:34 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:34:34 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:34:34 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:34:34 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:34:34 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:34:34 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:34:34 | ^ 09:34:34 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 09:34:34 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 09:34:34 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:34:34 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 09:34:34 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 09:34:34 | ^~~~~~~~~~~~~~~~~~~~~ 09:34:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:34:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:34:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:34:35 [ 68%] Linking C shared library libcsdk.so 09:34:35 [ 68%] Built target csdk 09:34:35 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:34:35 [ 72%] Linking C executable template 09:34:35 [ 72%] Built target template 09:34:35 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:34:35 [ 76%] Linking C executable device-counter 09:34:35 [ 76%] Built target device-counter 09:34:35 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:34:35 [ 80%] Linking C executable device-random 09:34:36 [ 80%] Built target device-random 09:34:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:34:36 [ 84%] Linking C executable device-gyro 09:34:36 [ 84%] Built target device-gyro 09:34:36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:34:36 [ 88%] Linking C executable device-bitfields 09:34:36 [ 88%] Built target device-bitfields 09:34:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:34:36 [ 92%] Linking C executable template-discovery 09:34:36 [ 92%] Built target template-discovery 09:34:36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:34:36 [ 96%] Linking C executable device-file 09:34:37 [ 96%] Built target device-file 09:34:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:34:37 [100%] Linking C executable device-terminal 09:34:37 [100%] Built target device-terminal 09:34:37 Run CPack packaging tool... 09:34:37 CPack: Create package using TGZ 09:34:37 CPack: Install projects 09:34:37 CPack: - Run preinstall target for: Csdk 09:34:37 CPack: - Install project: Csdk [] 09:34:37 CPack: Create package 09:34:37 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:34:37 + '[' false '=' true ] 09:34:37 + '[' false '=' true ] 09:34:37 + mkdir -p /tmp/sdk/build/debug 09:34:37 + cd /tmp/sdk/build/debug 09:34:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:34:37 -- The C compiler identification is GNU 12.2.1 09:34:37 -- Detecting C compiler ABI info 09:34:37 -- Detecting C compiler ABI info - done 09:34:37 -- Check for working C compiler: /usr/bin/cc - skipped 09:34:37 -- Detecting C compile features 09:34:37 -- Detecting C compile features - done 09:34:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:34:37 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:34:37 -- Found LIBYAML: /usr/lib/libyaml.so 09:34:37 -- Found LIBUUID: /usr/lib/libuuid.so 09:34:37 -- Found LIBCBOR: /usr/lib/libcbor.so 09:34:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:34:37 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:34:37 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:34:37 -- /opt/iotech/iot/1.5/include 09:34:37 -- C SDK 0.0.0 for Linux 09:34:37 -- Performing Test CSDK_HAVE_ATOMIC 09:34:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:34:38 -- Found Curses: /usr/lib/libcurses.so 09:34:38 -- Configuring done (0.4s) 09:34:38 -- Generating done (0.0s) 09:34:38 -- Build files have been written to: /tmp/sdk/build/debug 09:34:38 + make 09:34:38 + tee debug.log 09:34:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:34:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:34:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:34:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:34:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:34:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:34:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:34:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:34:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:34:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:34:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:34:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:34:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:34:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:34:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:34:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:34:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:34:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:34:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:34:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:34:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:34:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:34:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:34:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:34:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:34:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:34:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:34:40 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:34:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:34:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:34:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:34:40 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:34:40 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:34:40 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:34:40 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:34:40 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:34:40 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:34:40 | ^ 09:34:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:34:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:34:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:34:40 [ 68%] Linking C shared library libcsdk.so 09:34:40 [ 68%] Built target csdk 09:34:40 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:34:40 [ 72%] Linking C executable template 09:34:41 [ 72%] Built target template 09:34:41 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:34:41 [ 76%] Linking C executable device-counter 09:34:41 [ 76%] Built target device-counter 09:34:41 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:34:41 [ 80%] Linking C executable device-random 09:34:41 [ 80%] Built target device-random 09:34:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:34:41 [ 84%] Linking C executable device-gyro 09:34:41 [ 84%] Built target device-gyro 09:34:41 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:34:41 [ 88%] Linking C executable device-bitfields 09:34:41 [ 88%] Built target device-bitfields 09:34:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:34:41 [ 92%] Linking C executable template-discovery 09:34:41 [ 92%] Built target template-discovery 09:34:41 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:34:41 [ 96%] Linking C executable device-file 09:34:41 [ 96%] Built target device-file 09:34:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:34:41 [100%] Linking C executable device-terminal 09:34:42 [100%] Built target device-terminal 09:34:42 make: Entering directory '/tmp/sdk/build/release' 09:34:42 [ 68%] Built target csdk 09:34:42 [ 72%] Built target template 09:34:42 [ 76%] Built target device-counter 09:34:42 [ 80%] Built target device-random 09:34:42 [ 84%] Built target device-gyro 09:34:42 [ 88%] Built target device-bitfields 09:34:42 [ 92%] Built target template-discovery 09:34:42 [ 96%] Built target device-file 09:34:42 [100%] Built target device-terminal 09:34:42 Install the project... 09:34:42 -- Install configuration: "Release" 09:34:42 -- Installing: /usr/local/lib/libcsdk.so 09:34:42 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:34:42 -- Installing: /usr/local/include 09:34:42 -- Installing: /usr/local/include/devsdk 09:34:42 -- Installing: /usr/local/include/devsdk/devsdk.h 09:34:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:34:42 -- Installing: /usr/local/include/edgex 09:34:42 -- Installing: /usr/local/include/edgex/edgex.h 09:34:42 -- Installing: /usr/local/include/edgex/devices.h 09:34:42 -- Installing: /usr/local/include/edgex/profiles.h 09:34:42 -- Installing: /usr/local/include/edgex/edgex-base.h 09:34:42 -- Installing: /usr/local/include/edgex/rest-server.h 09:34:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:34:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:34:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:34:42 make: Leaving directory '/tmp/sdk/build/release' 09:34:42 Removing intermediate container 80654912bd58 09:34:42 ---> 1f3017c994d2 09:34:42 Step 14/22 : FROM ${BASE} 09:34:42 ---> 6605166a5db4 09:34:42 Step 15/22 : LABEL maintainer="IOTech " 09:34:42 ---> Running in ebde26abec8f 09:34:42 Removing intermediate container ebde26abec8f 09:34:42 ---> 4d46a1f25815 09:34:42 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 09:34:42 ---> Running in 62674bf8f935 09:34:43 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:34:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:34:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:34:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:34:43 Removing intermediate container 62674bf8f935 09:34:43 ---> f77605b76c1f 09:34:43 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:34:43 ---> Running in 40c54d011eda 09:34:44 Removing intermediate container 40c54d011eda 09:34:44 ---> a0da882b8bd6 09:34:44 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 09:34:44 ---> Running in 16f64d900ef1 09:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:34:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:34:45 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 09:34:45 (2/10) Installing curl (8.9.1-r0) 09:34:45 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 09:34:45 (4/10) Installing dumb-init (1.2.5-r2) 09:34:45 (5/10) Installing hiredis (1.1.0-r2) 09:34:45 (6/10) Installing hiredis-dev (1.1.0-r2) 09:34:45 (7/10) Installing libcbor (0.10.2-r1) 09:34:45 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 09:34:46 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:34:46 (10/10) Installing libuuid (2.38.1-r8) 09:34:46 Executing busybox-1.36.1-r4.trigger 09:34:46 OK: 331 MiB in 90 packages 09:34:47 Removing intermediate container 16f64d900ef1 09:34:47 ---> a2a9d3f633c3 09:34:47 Step 19/22 : RUN apk --no-cache upgrade 09:34:47 ---> Running in f91a222c5d69 09:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:34:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:34:47 Upgrading critical system libraries and apk-tools: 09:34:47 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:34:47 Executing busybox-1.36.1-r4.trigger 09:34:47 Continuing the upgrade transaction with new apk-tools: 09:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:34:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:34:48 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 09:34:48 Executing busybox-1.36.1-r7.post-upgrade 09:34:48 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 09:34:48 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:34:48 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 09:34:48 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 09:34:48 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 09:34:48 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 09:34:48 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 09:34:48 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 09:34:48 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 09:34:48 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 09:34:48 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 09:34:48 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 09:34:48 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 09:34:48 Executing busybox-1.36.1-r7.trigger 09:34:48 Executing ca-certificates-20240226-r0.trigger 09:34:48 OK: 331 MiB in 90 packages 09:34:49 Removing intermediate container f91a222c5d69 09:34:49 ---> 43d1929f559f 09:34:49 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:34:49 ---> 869469765631 09:34:49 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 09:34:50 ---> d420c85a9793 09:34:50 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:34:50 ---> 593cea431d44 09:34:50 Successfully built 593cea431d44 09:34:50 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 09:34:50 + docker inspect -f . ci-base-image-x86_64 09:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:50 prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container 09:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:50 $ docker top acf8358a82024686946fa3362e3d19f1cf02fe367e0623d1a67499fc830c65cc -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:51 + make test 09:34:51 echo "make test" 09:34:51 make test [Pipeline] } 09:34:51 $ docker stop --time=1 acf8358a82024686946fa3362e3d19f1cf02fe367e0623d1a67499fc830c65cc 09:34:52 $ docker rm -f --volumes acf8358a82024686946fa3362e3d19f1cf02fe367e0623d1a67499fc830c65cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:34:53 + ls -al . 09:34:53 total 212 09:34:53 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 09:34 . 09:34:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:33 .. 09:34:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:34 .git 09:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:33 .github 09:34:53 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:33 .gitignore 09:34:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:34 .semver 09:34:53 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:33 Attribution.txt 09:34:53 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:33 CHANGELOG.md 09:34:53 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:33 Doxyfile 09:34:53 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:33 GOVERNANCE.md 09:34:53 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:33 Jenkinsfile 09:34:53 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:33 LICENSE 09:34:53 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:33 Makefile 09:34:53 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:33 OWNERS.md 09:34:53 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:33 README.IOT.md 09:34:53 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:33 README.md 09:34:53 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:33 README.v3.md 09:34:53 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:34 VERSION 09:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:33 docs 09:34:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:33 include 09:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:33 scripts 09:34:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:33 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:53 + 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=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f --label arch=amd64 --label version=0.0.0 . 09:34:53 Sending build context to Docker daemon 5.251MB 09:34:53 Step 1/18 : ARG BASE=alpine:3.18 09:34:53 Step 2/18 : FROM ${BASE} 09:34:53 ---> 593cea431d44 09:34:53 Step 3/18 : LABEL maintainer="IOTech " 09:34:53 ---> Running in a71134f278f4 09:34:53 Removing intermediate container a71134f278f4 09:34:53 ---> 8723ae61ab89 09:34:53 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 09:34:53 ---> Running in ec3ed3ac20c1 09:34:54 Connecting to iotech.jfrog.io (54.73.4.50:443) 09:34:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:34:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:34:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:34:54 Removing intermediate container ec3ed3ac20c1 09:34:54 ---> 313f0b4c3acf 09:34:54 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:34:54 ---> Running in 7d5914286a41 09:34:55 Removing intermediate container 7d5914286a41 09:34:55 ---> fcb81e76319a 09:34:55 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 09:34:55 ---> Running in fdf99ff847e5 09:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:34:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:34:56 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:34:56 (2/11) Installing libcbor-dev (0.10.2-r1) 09:34:56 (3/11) Installing libmenuw (6.4_p20230506-r0) 09:34:56 (4/11) Installing libpanelw (6.4_p20230506-r0) 09:34:56 (5/11) Installing libncurses++ (6.4_p20230506-r0) 09:34:56 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 09:34:56 (7/11) Installing libblkid (2.38.1-r8) 09:34:56 (8/11) Installing libfdisk (2.38.1-r8) 09:34:56 (9/11) Installing libmount (2.38.1-r8) 09:34:56 (10/11) Installing libsmartcols (2.38.1-r8) 09:34:56 (11/11) Installing util-linux-dev (2.38.1-r8) 09:34:56 Executing busybox-1.36.1-r7.trigger 09:34:56 OK: 337 MiB in 101 packages 09:34:57 Removing intermediate container fdf99ff847e5 09:34:57 ---> 0f1c99b07820 09:34:57 Step 7/18 : RUN apk --no-cache upgrade 09:34:57 ---> Running in e4e1012f932d 09:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:34:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:34:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:34:58 OK: 337 MiB in 101 packages 09:34:58 Removing intermediate container e4e1012f932d 09:34:58 ---> 8620b171fb15 09:34:58 Step 8/18 : COPY VERSION /edgex-c-sdk/ 09:34:58 ---> 7c6d490dd4a5 09:34:58 Step 9/18 : COPY src /edgex-c-sdk/src/ 09:34:58 ---> 13d5ecf66636 09:34:58 Step 10/18 : COPY include /edgex-c-sdk/include/ 09:34:59 ---> ce6af7c9bb92 09:34:59 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 09:34:59 ---> 143c3656c1f6 09:34:59 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 09:34:59 ---> 1c702dd2ebf7 09:34:59 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 09:34:59 ---> 801e66cc4869 09:34:59 Step 14/18 : WORKDIR /edgex-c-sdk 09:34:59 ---> Running in d4fe4dbe2c68 09:34:59 Removing intermediate container d4fe4dbe2c68 09:34:59 ---> 67e482778e54 09:34:59 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:34:59 ---> Running in 9cc48eb8d48d 09:34:59 Removing intermediate container 9cc48eb8d48d 09:34:59 ---> 7ad43d9e3842 09:34:59 Step 16/18 : LABEL arch=amd64 09:34:59 ---> Running in db7fcd9bacc9 09:34:59 Removing intermediate container db7fcd9bacc9 09:34:59 ---> f0c0adbad1e5 09:34:59 Step 17/18 : LABEL git_sha=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 09:34:59 ---> Running in 0a261cb518b9 09:34:59 Removing intermediate container 0a261cb518b9 09:34:59 ---> 94a2ebc26088 09:34:59 Step 18/18 : LABEL version=0.0.0 09:34:59 ---> Running in 0ab28072fec3 09:34:59 Removing intermediate container 0ab28072fec3 09:34:59 ---> d10258a71d48 09:34:59 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:34:59 Successfully built d10258a71d48 09:34:59 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 09:35:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:00 09:35:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:00 latest: Pulling from edgex-lftools-log-publisher 09:35:00 5eb5b503b376: Pulling fs layer 09:35:00 5c69ac0246d0: Pulling fs layer 09:35:00 ec43610c2a17: Pulling fs layer 09:35:00 3a2ae6a8a46f: Pulling fs layer 09:35:00 33b1e0a273af: Pulling fs layer 09:35:00 5d3b04190fa2: Pulling fs layer 09:35:00 2f39f015ded8: Pulling fs layer 09:35:00 3a2ae6a8a46f: Waiting 09:35:00 33b1e0a273af: Waiting 09:35:00 5d3b04190fa2: Waiting 09:35:00 2f39f015ded8: Waiting 09:35:00 5c69ac0246d0: Download complete 09:35:00 3a2ae6a8a46f: Verifying Checksum 09:35:00 3a2ae6a8a46f: Download complete 09:35:00 33b1e0a273af: Verifying Checksum 09:35:00 33b1e0a273af: Download complete 09:35:00 5d3b04190fa2: Verifying Checksum 09:35:00 5d3b04190fa2: Download complete 09:35:00 ec43610c2a17: Verifying Checksum 09:35:00 ec43610c2a17: Download complete 09:35:00 5eb5b503b376: Verifying Checksum 09:35:00 5eb5b503b376: Download complete 09:35:01 2f39f015ded8: Verifying Checksum 09:35:01 2f39f015ded8: Download complete 09:35:02 5eb5b503b376: Pull complete 09:35:02 5c69ac0246d0: Pull complete 09:35:02 ec43610c2a17: Pull complete 09:35:02 3a2ae6a8a46f: Pull complete 09:35:02 33b1e0a273af: Pull complete 09:35:03 5d3b04190fa2: Pull complete 09:35:07 2f39f015ded8: Pull complete 09:35:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:07 prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container 09:35:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:35:11 $ docker top 560faebd747d50d7fba561a64597373a7a7cbb3f5fbef620cab5a1a26bca0284 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:11 ---> job-cost.sh 09:35:11 lf-activate-venv: SKIPPING 09:35:11 INFO: No Stack... 09:35:12 INFO: Retrieving Pricing Info for: v3-standard-8 09:35:12 INFO: Archiving Costs [Pipeline] sh 09:35:12 + cut -d, -f6 09:35:12 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [Pipeline] lock 09:35:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] 09:35:12 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] did not exist. Created. 09:35:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:35:13 + echo total: 0.2199999988079071 [Pipeline] stash 09:35:13 Stashed 1 file(s) [Pipeline] } 09:35:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] // lock [Pipeline] } 09:35:13 $ docker stop --time=1 560faebd747d50d7fba561a64597373a7a7cbb3f5fbef620cab5a1a26bca0284 09:35:14 $ docker rm -f --volumes 560faebd747d50d7fba561a64597373a7a7cbb3f5fbef620cab5a1a26bca0284 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:36:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10681 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws 09:36:11 Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout 09:36:11 Selected Git installation does not exist. Using Default 09:36:11 The recommended git tool is: NONE 09:36:15 using credential edgex-jenkins-ssh 09:36:15 Cloning the remote Git repository 09:36:15 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:36:16 > git init /w/workspace/device-sdk-c/7 # timeout=10 09:36:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:36:16 > git --version # timeout=10 09:36:16 > git --version # 'git version 2.25.1' 09:36:16 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:36:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:36:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:36:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:36:18 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 09:36:19 Merge succeeded, producing 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 09:36:19 Checking out Revision 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f (PR-513) 09:36:18 > git config core.sparsecheckout # timeout=10 09:36:19 > git checkout -f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 09:36:19 > git remote # timeout=10 09:36:19 > git config --get remote.origin.url # timeout=10 09:36:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:19 > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 09:36:19 > git rev-parse HEAD^{commit} # timeout=10 09:36:19 > git config core.sparsecheckout # timeout=10 09:36:19 > git checkout -f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 09:36:22 Commit message: "feat: fix format of discovery/template.c" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:36:24 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:24 Dload Upload Total Spent Left Speed 09:36:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 09:36:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:36:25 + + sudo tee /etc/docker/daemon.new 09:36:25 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:36:25 { 09:36:25 "registry-mirrors": [ 09:36:25 "https://nexus3.edgexfoundry.org:10001" 09:36:25 ], 09:36:25 "bip": "10.250.0.254/24", 09:36:25 "hosts": [ 09:36:25 "tcp://0.0.0.0:5555", 09:36:25 "unix:///var/run/docker.sock" 09:36:25 ], 09:36:25 "mtu": 1458, 09:36:25 "selinux-enabled": true, 09:36:25 "seccomp-profile": "/etc/docker/seccomp.json" 09:36:25 } [Pipeline] sh 09:36:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:36:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:44 provisioning config files... 09:36:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config10479829756417691159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:44 ---> ****-login.sh 09:36:44 nexus3.edgexfoundry.org:10001 09:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:45 Configure a credential helper to remove this warning. See 09:36:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:45 09:36:45 Login Succeeded 09:36:45 nexus3.edgexfoundry.org:10002 09:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:45 Configure a credential helper to remove this warning. See 09:36:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:45 09:36:45 Login Succeeded 09:36:45 nexus3.edgexfoundry.org:10003 09:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:45 Configure a credential helper to remove this warning. See 09:36:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:45 09:36:45 Login Succeeded 09:36:45 nexus3.edgexfoundry.org:10004 09:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:46 Configure a credential helper to remove this warning. See 09:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:46 09:36:46 Login Succeeded 09:36:46 ****.io 09:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:46 Configure a credential helper to remove this warning. See 09:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:46 09:36:46 Login Succeeded 09:36:46 ---> ****-login.sh ends [Pipeline] } 09:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:36:47 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 09:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:36:47 ========================================================= 09:36:47 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:36:47 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:47 + 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 . 09:36:47 Sending build context to Docker daemon 3.225MB 09:36:48 Step 1/22 : ARG BASE=alpine:3.18 09:36:48 Step 2/22 : FROM ${BASE} as builder 09:36:48 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:36:48 579b34f0a95b: Pulling fs layer 09:36:48 e71477ac5e1b: Pulling fs layer 09:36:48 579b34f0a95b: Verifying Checksum 09:36:48 579b34f0a95b: Download complete 09:36:48 579b34f0a95b: Pull complete 09:36:50 e71477ac5e1b: Verifying Checksum 09:36:50 e71477ac5e1b: Download complete 09:37:03 e71477ac5e1b: Pull complete 09:37:03 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 09:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:37:03 ---> 2b552cad5dd9 09:37:03 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 09:37:03 ---> Running in ebcc9f29e522 09:37:03 Connecting to iotech.jfrog.io (34.246.139.145:443) 09:37:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:37:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:37:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:37:04 Removing intermediate container ebcc9f29e522 09:37:04 ---> 61aa34e1124d 09:37:04 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:37:04 ---> Running in b8f63571480c 09:37:06 Removing intermediate container b8f63571480c 09:37:06 ---> e03103b0768f 09:37:06 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 09:37:06 ---> Running in 196e88f04117 09:37:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:37:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:37:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:37:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:37:08 (1/17) Installing hiredis (1.1.0-r2) 09:37:08 (2/17) Installing hiredis-dev (1.1.0-r2) 09:37:08 (3/17) Installing libcbor (0.10.2-r1) 09:37:08 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 09:37:09 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:37:09 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:37:09 (7/17) Installing libcbor-dev (0.10.2-r1) 09:37:09 (8/17) Installing libmenuw (6.4_p20230506-r0) 09:37:09 (9/17) Installing libpanelw (6.4_p20230506-r0) 09:37:09 (10/17) Installing libncurses++ (6.4_p20230506-r0) 09:37:09 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 09:37:09 (12/17) Installing libblkid (2.38.1-r8) 09:37:09 (13/17) Installing libuuid (2.38.1-r8) 09:37:09 (14/17) Installing libfdisk (2.38.1-r8) 09:37:09 (15/17) Installing libmount (2.38.1-r8) 09:37:09 (16/17) Installing libsmartcols (2.38.1-r8) 09:37:09 (17/17) Installing util-linux-dev (2.38.1-r8) 09:37:09 Executing busybox-1.36.1-r4.trigger 09:37:10 OK: 333 MiB in 99 packages 09:37:11 Removing intermediate container 196e88f04117 09:37:11 ---> 94a666841e7b 09:37:11 Step 6/22 : RUN mkdir /tmp/sdk 09:37:11 ---> Running in 2e56aed210ab 09:37:12 Removing intermediate container 2e56aed210ab 09:37:12 ---> cb9da4961a08 09:37:12 Step 7/22 : COPY VERSION /tmp/sdk 09:37:13 ---> 47763aef4ced 09:37:13 Step 8/22 : COPY src /tmp/sdk/src 09:37:14 ---> 620699002790 09:37:14 Step 9/22 : COPY include /tmp/sdk/include 09:37:14 ---> 3b0a821140b2 09:37:14 Step 10/22 : COPY scripts /tmp/sdk/scripts 09:37:15 ---> e6e9a278cf6b 09:37:15 Step 11/22 : COPY LICENSE /tmp/sdk 09:37:15 ---> 871f340c5a2e 09:37:15 Step 12/22 : COPY Attribution.txt /tmp/sdk 09:37:15 ---> 9753bb9a5129 09:37:15 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:37:16 ---> Running in ed071cca8abf 09:37:17 + CPPCHECK=false 09:37:17 + DOCGEN=false 09:37:17 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:37:17 + '[' 0 -gt 0 ] 09:37:17 + readlink -f ./scripts/build.sh 09:37:17 + dirname /tmp/sdk/scripts/build.sh 09:37:17 + dirname /tmp/sdk/scripts 09:37:17 + ROOT=/tmp/sdk 09:37:17 + cd /tmp/sdk 09:37:17 + mkdir -p /tmp/sdk/build/release 09:37:17 + cd /tmp/sdk/build/release 09:37:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:37:17 -- The C compiler identification is GNU 12.2.1 09:37:17 -- Detecting C compiler ABI info 09:37:17 -- Detecting C compiler ABI info - done 09:37:17 -- Check for working C compiler: /usr/bin/cc - skipped 09:37:17 -- Detecting C compile features 09:37:17 -- Detecting C compile features - done 09:37:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:37:17 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:37:17 -- Found LIBYAML: /usr/lib/libyaml.so 09:37:17 -- Found LIBUUID: /usr/lib/libuuid.so 09:37:17 -- Found LIBCBOR: /usr/lib/libcbor.so 09:37:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:37:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:37:17 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:37:17 -- /opt/iotech/iot/1.5/include 09:37:17 -- C SDK 0.0.0 for Linux 09:37:17 -- Performing Test CSDK_HAVE_ATOMIC 09:37:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:37:18 -- Found Curses: /usr/lib/libcurses.so 09:37:18 -- Configuring done (1.6s) 09:37:18 -- Generating done (0.2s) 09:37:18 -- Build files have been written to: /tmp/sdk/build/release 09:37:19 + make all package 09:37:19 + tee release.log 09:37:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:37:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:37:20 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:37:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:37:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:37:22 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:37:24 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:37:25 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 09:37:25 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 09:37:25 294 | while (privateConfig) 09:37:25 | ^~~~~~~~~~~~~ 09:37:25 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 09:37:25 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:37:25 | ^~~~~~~~~~~~~ 09:37:25 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 09:37:25 271 | while (result) 09:37:25 | ^~~~~~ 09:37:25 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 09:37:25 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:37:25 | ^~~~~~ 09:37:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:37:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:37:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:37:28 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:37:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:37:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:37:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:37:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:37:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:37:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:37:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:37:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:37:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:37:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:37:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:37:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:37:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:37:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:37:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:37:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:37:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:37:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:37:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:37:50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:37:50 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:37:50 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:37:50 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:37:50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:37:50 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:37:50 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:37:50 | ^ 09:37:52 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 09:37:52 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 09:37:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:37:52 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 09:37:52 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 09:37:52 | ^~~~~~~~~~~~~~~~~~~~~ 09:37:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:37:54 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:37:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:37:55 [ 68%] Linking C shared library libcsdk.so 09:37:55 [ 68%] Built target csdk 09:37:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:37:56 [ 72%] Linking C executable template 09:37:56 [ 72%] Built target template 09:37:56 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:37:57 [ 76%] Linking C executable device-counter 09:37:57 [ 76%] Built target device-counter 09:37:57 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:37:57 [ 80%] Linking C executable device-random 09:37:58 [ 80%] Built target device-random 09:37:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:37:58 [ 84%] Linking C executable device-gyro 09:37:59 [ 84%] Built target device-gyro 09:37:59 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:37:59 [ 88%] Linking C executable device-bitfields 09:37:59 [ 88%] Built target device-bitfields 09:37:59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:38:00 [ 92%] Linking C executable template-discovery 09:38:01 [ 92%] Built target template-discovery 09:38:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:38:02 [ 96%] Linking C executable device-file 09:38:02 [ 96%] Built target device-file 09:38:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:38:02 [100%] Linking C executable device-terminal 09:38:03 [100%] Built target device-terminal 09:38:03 Run CPack packaging tool... 09:38:03 CPack: Create package using TGZ 09:38:03 CPack: Install projects 09:38:03 CPack: - Run preinstall target for: Csdk 09:38:04 CPack: - Install project: Csdk [] 09:38:04 CPack: Create package 09:38:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:38:04 + '[' false '=' true ] 09:38:04 + '[' false '=' true ] 09:38:04 + mkdir -p /tmp/sdk/build/debug 09:38:04 + cd /tmp/sdk/build/debug 09:38:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:38:04 -- The C compiler identification is GNU 12.2.1 09:38:04 -- Detecting C compiler ABI info 09:38:05 -- Detecting C compiler ABI info - done 09:38:05 -- Check for working C compiler: /usr/bin/cc - skipped 09:38:05 -- Detecting C compile features 09:38:05 -- Detecting C compile features - done 09:38:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:38:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:38:05 -- Found LIBYAML: /usr/lib/libyaml.so 09:38:05 -- Found LIBUUID: /usr/lib/libuuid.so 09:38:05 -- Found LIBCBOR: /usr/lib/libcbor.so 09:38:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:38:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:38:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:38:05 -- /opt/iotech/iot/1.5/include 09:38:05 -- C SDK 0.0.0 for Linux 09:38:05 -- Performing Test CSDK_HAVE_ATOMIC 09:38:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:38:05 -- Found Curses: /usr/lib/libcurses.so 09:38:06 -- Configuring done (1.7s) 09:38:06 -- Generating done (0.2s) 09:38:06 -- Build files have been written to: /tmp/sdk/build/debug 09:38:06 + make 09:38:06 + tee debug.log 09:38:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:38:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:38:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:38:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:38:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:38:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:38:09 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:38:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:38:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:38:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:38:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:38:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:38:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:38:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:38:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:38:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:38:12 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:38:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:38:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:38:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:38:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:38:15 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:38:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:38:16 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:38:16 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:38:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:38:17 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:38:18 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:38:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:38:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:38:19 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:38:19 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:38:19 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:38:19 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:38:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:38:19 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:38:19 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:38:19 | ^ 09:38:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:38:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:38:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:38:21 [ 68%] Linking C shared library libcsdk.so 09:38:21 [ 68%] Built target csdk 09:38:21 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:38:21 [ 72%] Linking C executable template 09:38:22 [ 72%] Built target template 09:38:22 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:38:22 [ 76%] Linking C executable device-counter 09:38:22 [ 76%] Built target device-counter 09:38:22 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:38:23 [ 80%] Linking C executable device-random 09:38:23 [ 80%] Built target device-random 09:38:23 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:38:23 [ 84%] Linking C executable device-gyro 09:38:24 [ 84%] Built target device-gyro 09:38:24 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:38:24 [ 88%] Linking C executable device-bitfields 09:38:24 [ 88%] Built target device-bitfields 09:38:24 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:38:25 [ 92%] Linking C executable template-discovery 09:38:25 [ 92%] Built target template-discovery 09:38:25 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:38:25 [ 96%] Linking C executable device-file 09:38:26 [ 96%] Built target device-file 09:38:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:38:26 [100%] Linking C executable device-terminal 09:38:26 [100%] Built target device-terminal 09:38:26 make: Entering directory '/tmp/sdk/build/release' 09:38:26 [ 68%] Built target csdk 09:38:26 [ 72%] Built target template 09:38:27 [ 76%] Built target device-counter 09:38:27 [ 80%] Built target device-random 09:38:27 [ 84%] Built target device-gyro 09:38:27 [ 88%] Built target device-bitfields 09:38:27 [ 92%] Built target template-discovery 09:38:27 [ 96%] Built target device-file 09:38:27 [100%] Built target device-terminal 09:38:27 Install the project... 09:38:27 -- Install configuration: "Release" 09:38:27 -- Installing: /usr/local/lib/libcsdk.so 09:38:27 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:38:27 -- Installing: /usr/local/include 09:38:27 -- Installing: /usr/local/include/devsdk 09:38:27 -- Installing: /usr/local/include/devsdk/devsdk.h 09:38:27 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:38:27 -- Installing: /usr/local/include/edgex 09:38:27 -- Installing: /usr/local/include/edgex/rest-server.h 09:38:27 -- Installing: /usr/local/include/edgex/edgex.h 09:38:27 -- Installing: /usr/local/include/edgex/edgex-base.h 09:38:27 -- Installing: /usr/local/include/edgex/devices.h 09:38:27 -- Installing: /usr/local/include/edgex/profiles.h 09:38:27 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:38:27 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:38:27 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:38:27 make: Leaving directory '/tmp/sdk/build/release' 09:38:28 Removing intermediate container ed071cca8abf 09:38:28 ---> a18963a59c14 09:38:28 Step 14/22 : FROM ${BASE} 09:38:28 ---> 2b552cad5dd9 09:38:28 Step 15/22 : LABEL maintainer="IOTech " 09:38:29 ---> Running in 934871ccfeaf 09:38:29 Removing intermediate container 934871ccfeaf 09:38:29 ---> a270a7f333ce 09:38:29 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 09:38:29 ---> Running in 1c5bfa90c028 09:38:30 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:38:30 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:38:30 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 09:38:30 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:38:31 Removing intermediate container 1c5bfa90c028 09:38:31 ---> bab811474a52 09:38:31 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:38:31 ---> Running in 8b5afb9f3841 09:38:33 Removing intermediate container 8b5afb9f3841 09:38:33 ---> 39a7ca75a457 09:38:33 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 09:38:33 ---> Running in 1dd814f51a51 09:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:38:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:38:36 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 09:38:36 (2/10) Installing curl (8.9.1-r0) 09:38:36 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 09:38:36 (4/10) Installing dumb-init (1.2.5-r2) 09:38:36 (5/10) Installing hiredis (1.1.0-r2) 09:38:36 (6/10) Installing hiredis-dev (1.1.0-r2) 09:38:36 (7/10) Installing libcbor (0.10.2-r1) 09:38:36 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 09:38:36 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:38:36 (10/10) Installing libuuid (2.38.1-r8) 09:38:36 Executing busybox-1.36.1-r4.trigger 09:38:37 OK: 328 MiB in 90 packages 09:38:38 Removing intermediate container 1dd814f51a51 09:38:38 ---> 02d4f92ddf26 09:38:38 Step 19/22 : RUN apk --no-cache upgrade 09:38:38 ---> Running in 238fd093b141 09:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:38:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:38:40 Upgrading critical system libraries and apk-tools: 09:38:40 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:38:40 Executing busybox-1.36.1-r4.trigger 09:38:41 Continuing the upgrade transaction with new apk-tools: 09:38:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:38:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:38:42 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 09:38:42 Executing busybox-1.36.1-r7.post-upgrade 09:38:42 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 09:38:42 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:38:42 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 09:38:42 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 09:38:42 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 09:38:42 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 09:38:42 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 09:38:42 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 09:38:42 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 09:38:43 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 09:38:43 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 09:38:43 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 09:38:43 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 09:38:43 Executing busybox-1.36.1-r7.trigger 09:38:43 Executing ca-certificates-20240226-r0.trigger 09:38:43 OK: 328 MiB in 90 packages 09:38:45 Removing intermediate container 238fd093b141 09:38:45 ---> 2fe482ff1875 09:38:45 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:38:46 ---> 7aa3a3186031 09:38:46 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 09:38:46 ---> 8ab0d01370c1 09:38:46 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:38:47 ---> e9cdd2075812 09:38:47 Successfully built e9cdd2075812 09:38:47 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 09:38:47 + docker inspect -f . ci-base-image-arm64 09:38:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:38:47 prd-ubuntu20.04-docker-arm64-4c-16g-10681 does not seem to be running inside a container 09:38:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:38:49 $ docker top 70780bd85b2114c71e651d201862b5d334625e3836130993087740da1a988662 -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:49 + make test 09:38:49 echo "make test" 09:38:49 make test [Pipeline] } 09:38:49 $ docker stop --time=1 70780bd85b2114c71e651d201862b5d334625e3836130993087740da1a988662 09:38:51 $ docker rm -f --volumes 70780bd85b2114c71e651d201862b5d334625e3836130993087740da1a988662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:38:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:38:52 + ls -al . 09:38:52 total 208 09:38:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:36 . 09:38:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:36 .. 09:38:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:36 .git 09:38:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:36 .github 09:38:52 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:36 .gitignore 09:38:52 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:36 Attribution.txt 09:38:52 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:36 CHANGELOG.md 09:38:52 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:36 Doxyfile 09:38:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:36 GOVERNANCE.md 09:38:52 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:36 Jenkinsfile 09:38:52 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:36 LICENSE 09:38:52 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:36 Makefile 09:38:52 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:36 OWNERS.md 09:38:52 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:36 README.IOT.md 09:38:52 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:36 README.md 09:38:52 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:36 README.v3.md 09:38:52 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:34 VERSION 09:38:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:36 docs 09:38:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:36 include 09:38:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:36 scripts 09:38:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:52 + 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=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f --label arch=arm64 --label version=0.0.0 . 09:38:53 Sending build context to Docker daemon 3.225MB 09:38:53 Step 1/18 : ARG BASE=alpine:3.18 09:38:53 Step 2/18 : FROM ${BASE} 09:38:53 ---> e9cdd2075812 09:38:53 Step 3/18 : LABEL maintainer="IOTech " 09:38:53 ---> Running in 2839b36f37df 09:38:53 Removing intermediate container 2839b36f37df 09:38:53 ---> 3a2cf858f867 09:38:53 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 09:38:53 ---> Running in 32312a578102 09:38:54 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:38:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:38:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:38:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:38:56 Removing intermediate container 32312a578102 09:38:56 ---> 95e011527e91 09:38:56 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:38:56 ---> Running in 419a1ce5bb7a 09:38:58 Removing intermediate container 419a1ce5bb7a 09:38:58 ---> 5b760a5bd075 09:38:58 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 09:38:58 ---> Running in a5941f4b6f95 09:38:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:38:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:39:00 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:39:00 (2/11) Installing libcbor-dev (0.10.2-r1) 09:39:00 (3/11) Installing libmenuw (6.4_p20230506-r0) 09:39:00 (4/11) Installing libpanelw (6.4_p20230506-r0) 09:39:00 (5/11) Installing libncurses++ (6.4_p20230506-r0) 09:39:00 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 09:39:00 (7/11) Installing libblkid (2.38.1-r8) 09:39:00 (8/11) Installing libfdisk (2.38.1-r8) 09:39:00 (9/11) Installing libmount (2.38.1-r8) 09:39:00 (10/11) Installing libsmartcols (2.38.1-r8) 09:39:00 (11/11) Installing util-linux-dev (2.38.1-r8) 09:39:00 Executing busybox-1.36.1-r7.trigger 09:39:01 OK: 334 MiB in 101 packages 09:39:02 Removing intermediate container a5941f4b6f95 09:39:02 ---> c533204721e2 09:39:02 Step 7/18 : RUN apk --no-cache upgrade 09:39:02 ---> Running in d3961b890387 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:39:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:39:05 OK: 334 MiB in 101 packages 09:39:06 Removing intermediate container d3961b890387 09:39:06 ---> 22388364fa70 09:39:06 Step 8/18 : COPY VERSION /edgex-c-sdk/ 09:39:06 ---> 431783549ea1 09:39:06 Step 9/18 : COPY src /edgex-c-sdk/src/ 09:39:07 ---> f7a60dc261a8 09:39:07 Step 10/18 : COPY include /edgex-c-sdk/include/ 09:39:07 ---> 08726c854bb0 09:39:07 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 09:39:08 ---> aca5adbfd887 09:39:08 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 09:39:08 ---> 18972e43629e 09:39:08 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 09:39:08 ---> 66e0f67f05c3 09:39:08 Step 14/18 : WORKDIR /edgex-c-sdk 09:39:08 ---> Running in 23cbf1e548c0 09:39:09 Removing intermediate container 23cbf1e548c0 09:39:09 ---> b81e427b81d4 09:39:09 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:39:09 ---> Running in 47e6ff654018 09:39:09 Removing intermediate container 47e6ff654018 09:39:09 ---> e62e58251615 09:39:09 Step 16/18 : LABEL arch=arm64 09:39:09 ---> Running in 096b3f922c78 09:39:10 Removing intermediate container 096b3f922c78 09:39:10 ---> dc7ca210e46a 09:39:10 Step 17/18 : LABEL git_sha=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 09:39:10 ---> Running in 001d20662358 09:39:10 Removing intermediate container 001d20662358 09:39:10 ---> 195f13dc117e 09:39:10 Step 18/18 : LABEL version=0.0.0 09:39:10 ---> Running in bb43421d7a25 09:39:10 Removing intermediate container bb43421d7a25 09:39:10 ---> 4b7a79b8ae00 09:39:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:39:10 Successfully built 4b7a79b8ae00 09:39:10 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 09:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:39:11 09:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:39:11 arm64: Pulling from edgex-lftools-log-publisher 09:39:11 8998bd30e6a1: Pulling fs layer 09:39:11 04944245beec: Pulling fs layer 09:39:11 699f458cf7ca: Pulling fs layer 09:39:11 765212b225bb: Pulling fs layer 09:39:11 f23df028b6ca: Pulling fs layer 09:39:11 d65c8cfc05b1: Pulling fs layer 09:39:11 2437ff75d9bd: Pulling fs layer 09:39:11 f23df028b6ca: Waiting 09:39:11 d65c8cfc05b1: Waiting 09:39:11 2437ff75d9bd: Waiting 09:39:11 765212b225bb: Waiting 09:39:12 04944245beec: Verifying Checksum 09:39:12 04944245beec: Download complete 09:39:12 765212b225bb: Verifying Checksum 09:39:12 765212b225bb: Download complete 09:39:12 f23df028b6ca: Verifying Checksum 09:39:12 f23df028b6ca: Download complete 09:39:12 d65c8cfc05b1: Verifying Checksum 09:39:12 d65c8cfc05b1: Download complete 09:39:12 699f458cf7ca: Verifying Checksum 09:39:12 699f458cf7ca: Download complete 09:39:12 8998bd30e6a1: Verifying Checksum 09:39:12 8998bd30e6a1: Download complete 09:39:15 2437ff75d9bd: Verifying Checksum 09:39:15 2437ff75d9bd: Download complete 09:39:17 8998bd30e6a1: Pull complete 09:39:17 04944245beec: Pull complete 09:39:19 699f458cf7ca: Pull complete 09:39:19 765212b225bb: Pull complete 09:39:20 f23df028b6ca: Pull complete 09:39:20 d65c8cfc05b1: Pull complete 09:39:38 2437ff75d9bd: Pull complete 09:39:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:39:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:39 prd-ubuntu20.04-docker-arm64-4c-16g-10681 does not seem to be running inside a container 09:39:39 $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:39:41 $ docker top 668bfd6070a142963e43ae9fbf9dd2814a900c37dd2e8a87ae84a9ae63f4ecda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:42 ---> job-cost.sh 09:39:42 lf-activate-venv: SKIPPING 09:39:42 INFO: No Stack... 09:39:42 INFO: Retrieving Pricing Info for: v3-standard-4 09:39:43 INFO: Archiving Costs [Pipeline] sh 09:39:43 + cat /w/workspace/device-sdk-c/7/archives/cost.csv 09:39:44 + cut -d, -f6 [Pipeline] lock 09:39:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] 09:39:44 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] did not exist. Created. 09:39:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:39:44 /w/workspace/device-sdk-c/7@tmp/durable-1de5206a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:39:45 + echo total: 0.10999999940395355 [Pipeline] stash 09:39:45 Warning: overwriting stash ‘stack-cost’ 09:39:46 Stashed 1 file(s) [Pipeline] } 09:39:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] // lock [Pipeline] } 09:39:46 $ docker stop --time=1 668bfd6070a142963e43ae9fbf9dd2814a900c37dd2e8a87ae84a9ae63f4ecda 09:39:47 $ docker rm -f --volumes 668bfd6070a142963e43ae9fbf9dd2814a900c37dd2e8a87ae84a9ae63f4ecda [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 09:39:49 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] 09:39:49 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 09:39:49 total 16 09:39:49 drwxr-xr-x 3 root root 4096 Sep 19 09:35 . 09:39:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:35 .. 09:39:49 drwxr-xr-x 2 root root 4096 Sep 19 09:35 cost 09:39:49 -rw-r--r-- 1 root root 84 Sep 19 09:35 cost.csv 09:39:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 09:39:49 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 09:39:49 total 16 09:39:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:35 . 09:39:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:35 .. 09:39:49 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 09:35 cost 09:39:49 -rw-r--r-- 1 jenkins jenkins 84 Sep 19 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:39:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:39:50 ---> package-listing.sh 09:39:50 ++ facter osfamily 09:39:50 ++ tr '[:upper:]' '[:lower:]' 09:39:51 + OS_FAMILY=debian 09:39:51 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 09:39:51 + START_PACKAGES=/tmp/packages_start.txt 09:39:51 + END_PACKAGES=/tmp/packages_end.txt 09:39:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:39:51 + PACKAGES=/tmp/packages_start.txt 09:39:51 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 09:39:51 + PACKAGES=/tmp/packages_end.txt 09:39:51 + case "${OS_FAMILY}" in 09:39:51 + dpkg -l 09:39:51 + grep '^ii' 09:39:51 + '[' -f /tmp/packages_start.txt ']' 09:39:51 + '[' -f /tmp/packages_end.txt ']' 09:39:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:39:51 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 09:39:51 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ 09:39:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo 09:39:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:39:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:39:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:52 prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container 09:39:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:39:52 $ docker top 81167081d499a0170055a683dd686ed1c89a07dc02eea8d09039eddacc521bad -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:52 + touch /tmp/pre-build-complete [Pipeline] sh 09:39:52 + mkdir -p /var/log/sysstat [Pipeline] sh 09:39:53 + ls /var/log/sa-host 09:39:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:39:53 provisioning config files... 09:39:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config1469271840716442837tmp [Pipeline] { [Pipeline] echo 09:39:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:39:53 ---> create-netrc.sh [Pipeline] } 09:39:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:39:54 ---> python-tools-install.sh [Pipeline] echo 09:39:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:39:54 ---> sudo-logs.sh 09:39:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:39:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:39:54 ---> job-cost.sh 09:39:54 lf-activate-venv: SKIPPING 09:39:54 DEBUG: total: 0.2199999988079071 09:39:54 INFO: Retrieving Stack Cost... 09:39:54 INFO: Retrieving Pricing Info for: v3-standard-8 09:39:55 INFO: Archiving Costs [Pipeline] echo 09:39:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:39:55 ---> logs-deploy.sh 09:39:55 lf-activate-venv: SKIPPING 09:39:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/7 09:39:55 INFO: archiving workspace using pattern(s): 09:39:56 Archives upload complete. 09:39:56 INFO: archiving logs to Nexus