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 4293b3e4a4a54949bffd9f429a4df609b362bd9b 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-ssh8417581083581554140.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-ssh16158508850762828375.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-ssh5072391238683390682.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-ssh9422524328610861045.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-ssh9367448497583985043.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10675’ Running on prd-ubuntu20.04-docker-8c-8g-10678 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 > 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 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 4293b3e4a4a54949bffd9f429a4df609b362bd9b Merge succeeded, producing 4293b3e4a4a54949bffd9f429a4df609b362bd9b Checking out Revision 4293b3e4a4a54949bffd9f429a4df609b362bd9b (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 Commit message: "feat: Update docs to mention Event publishing during discovery, updated template.c and discovery/template.c to allow compiling and provide an example of publishing an event" > git rev-list --no-walk b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:24:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:24:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:24:16 ========================================================= 09:24:16 EdgeX Global Pipelines Version Info 09:24:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:24:17 ------------------- 09:24:17 stable info: 09:24:17 ------------------- 09:24:17 Commited By: Cherry Wang cherry@iotechsys.com 09:24:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 09:24:17 Message: update stable to v1.0.263 09:24:17 ------------------- 09:24:17 experimental info: 09:24:17 ------------------- 09:24:17 Commited By: Cherry Wang cherry@iotechsys.com 09:24:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 09:24:17 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:24:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4293b3e [Pipeline] echo 09:24:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:18 provisioning config files... 09:24:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config3741576691853494178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:18 ---> ****-login.sh 09:24:18 nexus3.edgexfoundry.org:10001 09:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:18 Configure a credential helper to remove this warning. See 09:24:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:18 09:24:18 Login Succeeded 09:24:18 nexus3.edgexfoundry.org:10002 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10003 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 nexus3.edgexfoundry.org:10004 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 ****.io 09:24:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:19 Configure a credential helper to remove this warning. See 09:24:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:19 09:24:19 Login Succeeded 09:24:19 ---> ****-login.sh ends [Pipeline] } 09:24:19 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:24:20 + git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo 09:24:20 -----------> git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b 4293b3e4a4a54949bffd9f429a4df609b362bd9b [false] [Pipeline] sh 09:24:20 + git log --format=format:%s -1 4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo 09:24:20 ========================================================= 09:24:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:20 ========================================================= 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:24:20 + git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo 09:24:20 -----------> git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b 4293b3e4a4a54949bffd9f429a4df609b362bd9b [false] [Pipeline] sh 09:24:21 + git log --format=format:%s -1 4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo 09:24:21 ========================================================= 09:24:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 09:24:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:21 + grep -v github /etc/ssh/ssh_known_hosts 09:24:21 + [ -e /tmp/ssh_known_hosts ] 09:24:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:24:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:24:21 + sudo tee -a /etc/ssh/ssh_known_hosts 09:24:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:22 09:24:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:22 0.1.4: Pulling from edgex-devops/py-git-semver 09:24:22 b85a868b505f: Pulling fs layer 09:24:22 e2be974225ed: Pulling fs layer 09:24:22 339a4e72a1f5: Pulling fs layer 09:24:22 988bab9f4d93: Pulling fs layer 09:24:22 1469e6f7b9e6: Pulling fs layer 09:24:22 eaf3925da568: Pulling fs layer 09:24:22 bab4dde63d76: Pulling fs layer 09:24:22 bde34c3a00c8: Pulling fs layer 09:24:22 b352a97aabf1: Pulling fs layer 09:24:22 4872d77fe225: Pulling fs layer 09:24:22 5851b861e8e6: Pulling fs layer 09:24:22 bab4dde63d76: Waiting 09:24:22 b352a97aabf1: Waiting 09:24:22 4872d77fe225: Waiting 09:24:22 bde34c3a00c8: Waiting 09:24:22 1469e6f7b9e6: Waiting 09:24:22 988bab9f4d93: Waiting 09:24:22 eaf3925da568: Waiting 09:24:22 e2be974225ed: Download complete 09:24:22 988bab9f4d93: Verifying Checksum 09:24:22 988bab9f4d93: Download complete 09:24:22 1469e6f7b9e6: Verifying Checksum 09:24:22 1469e6f7b9e6: Download complete 09:24:22 eaf3925da568: Download complete 09:24:22 339a4e72a1f5: Verifying Checksum 09:24:22 339a4e72a1f5: Download complete 09:24:22 bde34c3a00c8: Verifying Checksum 09:24:22 bde34c3a00c8: Download complete 09:24:22 b352a97aabf1: Download complete 09:24:22 4872d77fe225: Verifying Checksum 09:24:22 4872d77fe225: Download complete 09:24:22 5851b861e8e6: Verifying Checksum 09:24:22 5851b861e8e6: Download complete 09:24:22 b85a868b505f: Verifying Checksum 09:24:22 b85a868b505f: Download complete 09:24:22 bab4dde63d76: Verifying Checksum 09:24:22 bab4dde63d76: Download complete 09:24:23 b85a868b505f: Pull complete 09:24:23 e2be974225ed: Pull complete 09:24:24 339a4e72a1f5: Pull complete 09:24:24 988bab9f4d93: Pull complete 09:24:24 1469e6f7b9e6: Pull complete 09:24:24 eaf3925da568: Pull complete 09:24:26 bab4dde63d76: Pull complete 09:24:26 bde34c3a00c8: Pull complete 09:24:26 b352a97aabf1: Pull complete 09:24:26 4872d77fe225: Pull complete 09:24:26 5851b861e8e6: Pull complete 09:24:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:24:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:27 prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container 09:24:27 $ 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:24:29 $ docker top 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 -eo pid,comm 09:24:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:24:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:29 [ssh-agent] Looking for ssh-agent implementation... 09:24:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:29 $ docker exec 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent 09:24:29 SSH_AUTH_SOCK=/tmp/ssh-OwtgHl4koc8S/agent.31 09:24:29 SSH_AGENT_PID=37 09:24:29 Running ssh-add (command line suppressed) 09:24:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3856735502963909786.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3856735502963909786.key) 09:24:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:30 + git tag --points-at HEAD [Pipeline] } 09:24:30 $ docker exec --env ******** --env ******** 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent -k 09:24:30 unset SSH_AUTH_SOCK; 09:24:30 unset SSH_AGENT_PID; 09:24:30 echo Agent pid 37 killed; 09:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:24:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:30 [ssh-agent] Looking for ssh-agent implementation... 09:24:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:30 $ docker exec 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent 09:24:30 SSH_AUTH_SOCK=/tmp/ssh-yu9gM0cAinN7/agent.70 09:24:30 SSH_AGENT_PID=76 09:24:30 Running ssh-add (command line suppressed) 09:24:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_13813116357299835010.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_13813116357299835010.key) 09:24:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:31 + git semver init 09:24:31 2024-09-19 09:24:31,220 [run_init] DEBUG init version:0.0.0 force:False 09:24:31 2024-09-19 09:24:31,221 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 09:24:31 2024-09-19 09:24:31,221 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 09:24:31 2024-09-19 09:24:31,221 [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:24:32 2024-09-19 09:24:32,014 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude 09:24:32 2024-09-19 09:24:32,015 [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:24:32 2024-09-19 09:24:32,015 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 09:24:32 2024-09-19 09:24:32,017 [execute] INFO git cat-file --batch-check 09:24:32 2024-09-19 09:24:32,018 [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:24:32 2024-09-19 09:24:32,025 [execute] INFO git cat-file --batch 09:24:32 2024-09-19 09:24:32,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 09:24:32 2024-09-19 09:24:32,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 09:24:32 0.0.0 [Pipeline] } 09:24:32 $ docker exec --env ******** --env ******** 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent -k 09:24:32 unset SSH_AUTH_SOCK; 09:24:32 unset SSH_AGENT_PID; 09:24:32 echo Agent pid 76 killed; 09:24:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:32 + git semver [Pipeline] } 09:24:32 $ docker stop --time=1 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 09:24:34 $ docker rm -f --volumes 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:24:34 Stashed 1 file(s) [Pipeline] echo 09:24:34 [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:24:34 provisioning config files... 09:24:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config16473572814634052682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:35 ---> ****-login.sh 09:24:35 nexus3.edgexfoundry.org:10001 09:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:35 Configure a credential helper to remove this warning. See 09:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:35 09:24:35 Login Succeeded 09:24:35 nexus3.edgexfoundry.org:10002 09:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:35 Configure a credential helper to remove this warning. See 09:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:35 09:24:35 Login Succeeded 09:24:35 nexus3.edgexfoundry.org:10003 09:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:35 Configure a credential helper to remove this warning. See 09:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:35 09:24:35 Login Succeeded 09:24:35 nexus3.edgexfoundry.org:10004 09:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:35 Configure a credential helper to remove this warning. See 09:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:35 09:24:35 Login Succeeded 09:24:35 ****.io 09:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:35 Configure a credential helper to remove this warning. See 09:24:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:35 09:24:35 Login Succeeded 09:24:35 ---> ****-login.sh ends [Pipeline] } 09:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:24:35 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 09:24:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:24:35 ========================================================= 09:24:35 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:24:35 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:36 + 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:24:36 Sending build context to Docker daemon 5.237MB 09:24:36 Step 1/22 : ARG BASE=alpine:3.18 09:24:36 Step 2/22 : FROM ${BASE} as builder 09:24:36 latest: Pulling from edgex-devops/edgex-gcc-base 09:24:36 96526aa774ef: Pulling fs layer 09:24:36 da60e534fd72: Pulling fs layer 09:24:36 96526aa774ef: Verifying Checksum 09:24:36 96526aa774ef: Download complete 09:24:36 96526aa774ef: Pull complete 09:24:37 da60e534fd72: Verifying Checksum 09:24:40 da60e534fd72: Pull complete 09:24:40 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 09:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:24:40 ---> 6605166a5db4 09:24:40 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:24:42 ---> Running in 1d1d305dd345 09:24:42 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:24:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:24:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:24:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:24:43 Removing intermediate container 1d1d305dd345 09:24:43 ---> 629d29cb46d9 09:24:43 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:24:43 ---> Running in eb75ab26fdc7 09:24:44 Removing intermediate container eb75ab26fdc7 09:24:44 ---> f072aeda2354 09:24:44 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:24:44 ---> Running in bfcab5599bfc 09:24:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:24:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:24:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:24:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:24:45 (1/17) Installing hiredis (1.1.0-r2) 09:24:45 (2/17) Installing hiredis-dev (1.1.0-r2) 09:24:45 (3/17) Installing libcbor (0.10.2-r1) 09:24:45 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 09:24:45 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:24:46 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:24:46 (7/17) Installing libcbor-dev (0.10.2-r1) 09:24:46 (8/17) Installing libmenuw (6.4_p20230506-r0) 09:24:46 (9/17) Installing libpanelw (6.4_p20230506-r0) 09:24:46 (10/17) Installing libncurses++ (6.4_p20230506-r0) 09:24:46 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 09:24:46 (12/17) Installing libblkid (2.38.1-r8) 09:24:46 (13/17) Installing libuuid (2.38.1-r8) 09:24:46 (14/17) Installing libfdisk (2.38.1-r8) 09:24:46 (15/17) Installing libmount (2.38.1-r8) 09:24:46 (16/17) Installing libsmartcols (2.38.1-r8) 09:24:46 (17/17) Installing util-linux-dev (2.38.1-r8) 09:24:46 Executing busybox-1.36.1-r4.trigger 09:24:46 OK: 336 MiB in 99 packages 09:24:47 Removing intermediate container bfcab5599bfc 09:24:47 ---> ea45440aae82 09:24:47 Step 6/22 : RUN mkdir /tmp/sdk 09:24:47 ---> Running in 0da832d81afb 09:24:47 Removing intermediate container 0da832d81afb 09:24:47 ---> fd4d9a071f43 09:24:47 Step 7/22 : COPY VERSION /tmp/sdk 09:24:47 ---> 97ee657a497f 09:24:47 Step 8/22 : COPY src /tmp/sdk/src 09:24:48 ---> 355f73a40977 09:24:48 Step 9/22 : COPY include /tmp/sdk/include 09:24:48 ---> 1127c2e8a52a 09:24:48 Step 10/22 : COPY scripts /tmp/sdk/scripts 09:24:48 ---> 77ea013cff2c 09:24:48 Step 11/22 : COPY LICENSE /tmp/sdk 09:24:48 ---> 9f8803a0d1a7 09:24:48 Step 12/22 : COPY Attribution.txt /tmp/sdk 09:24:48 ---> 3bd7ec032a61 09:24:48 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:24:48 ---> Running in 70eff505b4f8 09:24:48 + CPPCHECK=false 09:24:48 + DOCGEN=false 09:24:48 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:24:48 + '[' 0 -gt 0 ] 09:24:48 + readlink -f ./scripts/build.sh 09:24:48 + dirname /tmp/sdk/scripts/build.sh 09:24:48 + dirname /tmp/sdk/scripts 09:24:48 + ROOT=/tmp/sdk 09:24:48 + cd /tmp/sdk 09:24:48 + mkdir -p /tmp/sdk/build/release 09:24:48 + cd /tmp/sdk/build/release 09:24:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:24:49 -- The C compiler identification is GNU 12.2.1 09:24:49 -- Detecting C compiler ABI info 09:24:49 -- Detecting C compiler ABI info - done 09:24:49 -- Check for working C compiler: /usr/bin/cc - skipped 09:24:49 -- Detecting C compile features 09:24:49 -- Detecting C compile features - done 09:24:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:24:49 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:24:49 -- Found LIBYAML: /usr/lib/libyaml.so 09:24:49 -- Found LIBUUID: /usr/lib/libuuid.so 09:24:49 -- Found LIBCBOR: /usr/lib/libcbor.so 09:24:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:24:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:24:49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:24:49 -- /opt/iotech/iot/1.5/include 09:24:49 -- C SDK 0.0.0 for Linux 09:24:49 -- Performing Test CSDK_HAVE_ATOMIC 09:24:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:24:49 -- Found Curses: /usr/lib/libcurses.so 09:24:49 -- Configuring done (0.4s) 09:24:49 -- Generating done (0.0s) 09:24:49 -- Build files have been written to: /tmp/sdk/build/release 09:24:49 + make all package 09:24:49 + tee release.log 09:24:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:24:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:24:49 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:24:49 Still waiting to schedule task 09:24:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10676’ 09:24:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:24:49 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:24:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:24:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:24:50 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 09:24:50 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 09:24:50 294 | while (privateConfig) 09:24:50 | ^~~~~~~~~~~~~ 09:24:50 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 09:24:50 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:24:50 | ^~~~~~~~~~~~~ 09:24:50 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 09:24:50 271 | while (result) 09:24:50 | ^~~~~~ 09:24:50 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 09:24:50 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:24:50 | ^~~~~~ 09:24:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:24:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:24:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:24:51 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:24:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:24:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:24:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:24:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:24:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:24:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:24:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:24:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:24:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:24:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:24:53 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:24:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:24:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:24:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:24:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:24:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:24:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:24:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:24:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:24:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:24:54 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:24:54 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:24:54 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:24:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:54 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:24:54 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:24:54 | ^ 09:24:54 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 09:24:54 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 09:24:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:54 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 09:24:54 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 09:24:54 | ^~~~~~~~~~~~~~~~~~~~~ 09:24:54 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:24:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:24:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:24:55 [ 68%] Linking C shared library libcsdk.so 09:24:55 [ 68%] Built target csdk 09:24:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:24:55 [ 72%] Linking C executable template 09:24:55 [ 72%] Built target template 09:24:55 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:24:55 [ 76%] Linking C executable device-counter 09:24:55 [ 76%] Built target device-counter 09:24:55 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:24:55 [ 80%] Linking C executable device-random 09:24:55 [ 80%] Built target device-random 09:24:55 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:24:55 [ 84%] Linking C executable device-gyro 09:24:55 [ 84%] Built target device-gyro 09:24:55 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:24:55 [ 88%] Linking C executable device-bitfields 09:24:56 [ 88%] Built target device-bitfields 09:24:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:24:56 [ 92%] Linking C executable template-discovery 09:24:56 [ 92%] Built target template-discovery 09:24:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:24:56 [ 96%] Linking C executable device-file 09:24:56 [ 96%] Built target device-file 09:24:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:24:56 [100%] Linking C executable device-terminal 09:24:56 [100%] Built target device-terminal 09:24:56 Run CPack packaging tool... 09:24:56 CPack: Create package using TGZ 09:24:56 CPack: Install projects 09:24:56 CPack: - Run preinstall target for: Csdk 09:24:56 CPack: - Install project: Csdk [] 09:24:56 CPack: Create package 09:24:56 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:24:56 + '[' false '=' true ] 09:24:56 + '[' false '=' true ] 09:24:56 + mkdir -p /tmp/sdk/build/debug 09:24:56 + cd /tmp/sdk/build/debug 09:24:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:24:56 -- The C compiler identification is GNU 12.2.1 09:24:56 -- Detecting C compiler ABI info 09:24:57 -- Detecting C compiler ABI info - done 09:24:57 -- Check for working C compiler: /usr/bin/cc - skipped 09:24:57 -- Detecting C compile features 09:24:57 -- Detecting C compile features - done 09:24:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:24:57 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:24:57 -- Found LIBYAML: /usr/lib/libyaml.so 09:24:57 -- Found LIBUUID: /usr/lib/libuuid.so 09:24:57 -- Found LIBCBOR: /usr/lib/libcbor.so 09:24:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:24:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:24:57 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:24:57 -- /opt/iotech/iot/1.5/include 09:24:57 -- C SDK 0.0.0 for Linux 09:24:57 -- Performing Test CSDK_HAVE_ATOMIC 09:24:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:24:57 -- Found Curses: /usr/lib/libcurses.so 09:24:57 -- Configuring done (0.4s) 09:24:57 -- Generating done (0.0s) 09:24:57 -- Build files have been written to: /tmp/sdk/build/debug 09:24:57 + make 09:24:57 + tee debug.log 09:24:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:24:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:24:57 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:24:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:24:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:24:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:24:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:24:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:24:58 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:24:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:24:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:24:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:24:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:24:58 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:24:58 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:24:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:24:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:24:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:24:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:24:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:24:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:24:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:24:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:24:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:24:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:24:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:24:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:24:59 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:24:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:24:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:24:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:24:59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:24:59 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:24:59 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:24:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:24:59 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:24:59 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:24:59 | ^ 09:25:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:25:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:25:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:25:00 [ 68%] Linking C shared library libcsdk.so 09:25:00 [ 68%] Built target csdk 09:25:00 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:25:00 [ 72%] Linking C executable template 09:25:00 [ 72%] Built target template 09:25:00 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:25:00 [ 76%] Linking C executable device-counter 09:25:00 [ 76%] Built target device-counter 09:25:00 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:25:00 [ 80%] Linking C executable device-random 09:25:00 [ 80%] Built target device-random 09:25:00 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:25:00 [ 84%] Linking C executable device-gyro 09:25:00 [ 84%] Built target device-gyro 09:25:00 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:25:00 [ 88%] Linking C executable device-bitfields 09:25:00 [ 88%] Built target device-bitfields 09:25:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:25:01 [ 92%] Linking C executable template-discovery 09:25:01 [ 92%] Built target template-discovery 09:25:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:25:01 [ 96%] Linking C executable device-file 09:25:01 [ 96%] Built target device-file 09:25:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:25:01 [100%] Linking C executable device-terminal 09:25:01 [100%] Built target device-terminal 09:25:01 make: Entering directory '/tmp/sdk/build/release' 09:25:01 [ 68%] Built target csdk 09:25:01 [ 72%] Built target template 09:25:01 [ 76%] Built target device-counter 09:25:01 [ 80%] Built target device-random 09:25:01 [ 84%] Built target device-gyro 09:25:01 [ 88%] Built target device-bitfields 09:25:01 [ 92%] Built target template-discovery 09:25:01 [ 96%] Built target device-file 09:25:01 [100%] Built target device-terminal 09:25:01 Install the project... 09:25:01 -- Install configuration: "Release" 09:25:01 -- Installing: /usr/local/lib/libcsdk.so 09:25:01 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:25:01 -- Installing: /usr/local/include 09:25:01 -- Installing: /usr/local/include/devsdk 09:25:01 -- Installing: /usr/local/include/devsdk/devsdk.h 09:25:01 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:25:01 -- Installing: /usr/local/include/edgex 09:25:01 -- Installing: /usr/local/include/edgex/edgex.h 09:25:01 -- Installing: /usr/local/include/edgex/devices.h 09:25:01 -- Installing: /usr/local/include/edgex/profiles.h 09:25:01 -- Installing: /usr/local/include/edgex/edgex-base.h 09:25:01 -- Installing: /usr/local/include/edgex/rest-server.h 09:25:01 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:25:01 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:25:01 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:25:01 make: Leaving directory '/tmp/sdk/build/release' 09:25:02 Removing intermediate container 70eff505b4f8 09:25:02 ---> 6ae714675005 09:25:02 Step 14/22 : FROM ${BASE} 09:25:02 ---> 6605166a5db4 09:25:02 Step 15/22 : LABEL maintainer="IOTech " 09:25:02 ---> Running in 2abad387c17f 09:25:02 Removing intermediate container 2abad387c17f 09:25:02 ---> 07c4208ddb0b 09:25:02 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:25:02 ---> Running in 98a7b1b8f909 09:25:02 Connecting to iotech.jfrog.io (54.73.4.50:443) 09:25:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:25:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:25:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:25:03 Removing intermediate container 98a7b1b8f909 09:25:03 ---> f4bded671e1f 09:25:03 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:25:03 ---> Running in 6a87a7ec35fa 09:25:04 Removing intermediate container 6a87a7ec35fa 09:25:04 ---> 254c295fd8bd 09:25:04 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:25:04 ---> Running in 069369db8e46 09:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:05 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 09:25:05 (2/10) Installing curl (8.9.1-r0) 09:25:05 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 09:25:05 (4/10) Installing dumb-init (1.2.5-r2) 09:25:05 (5/10) Installing hiredis (1.1.0-r2) 09:25:05 (6/10) Installing hiredis-dev (1.1.0-r2) 09:25:05 (7/10) Installing libcbor (0.10.2-r1) 09:25:05 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 09:25:05 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:25:06 (10/10) Installing libuuid (2.38.1-r8) 09:25:06 Executing busybox-1.36.1-r4.trigger 09:25:06 OK: 331 MiB in 90 packages 09:25:06 Removing intermediate container 069369db8e46 09:25:06 ---> 2ffbf8cb342a 09:25:06 Step 19/22 : RUN apk --no-cache upgrade 09:25:06 ---> Running in f384f5fcccc7 09:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:08 Upgrading critical system libraries and apk-tools: 09:25:08 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:25:08 Executing busybox-1.36.1-r4.trigger 09:25:08 Continuing the upgrade transaction with new apk-tools: 09:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:08 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 09:25:08 Executing busybox-1.36.1-r7.post-upgrade 09:25:09 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 09:25:09 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:25:09 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 09:25:09 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 09:25:09 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 09:25:09 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 09:25:09 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 09:25:09 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 09:25:09 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 09:25:09 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 09:25:09 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 09:25:09 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 09:25:09 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 09:25:09 Executing busybox-1.36.1-r7.trigger 09:25:09 Executing ca-certificates-20240226-r0.trigger 09:25:09 OK: 331 MiB in 90 packages 09:25:09 Removing intermediate container f384f5fcccc7 09:25:09 ---> 55b00ce5f369 09:25:09 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:25:10 ---> a6824c90566a 09:25:10 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 09:25:10 ---> 49546b518f3f 09:25:10 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:25:10 ---> 1a175054c343 09:25:10 Successfully built 1a175054c343 09:25:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:10 + docker inspect -f . ci-base-image-x86_64 09:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:10 prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container 09:25:10 $ 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:25:11 $ docker top 1640da2fce6c6eb1b8a31334706ff17ab8c4fa01c76f7d461b4db21de12c9f38 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:11 + make test 09:25:11 echo "make test" 09:25:11 make test [Pipeline] } 09:25:11 $ docker stop --time=1 1640da2fce6c6eb1b8a31334706ff17ab8c4fa01c76f7d461b4db21de12c9f38 09:25:12 $ docker rm -f --volumes 1640da2fce6c6eb1b8a31334706ff17ab8c4fa01c76f7d461b4db21de12c9f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:13 + ls -al . 09:25:13 total 212 09:25:13 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 09:24 . 09:25:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:24 .. 09:25:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:24 .git 09:25:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:24 .github 09:25:13 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:24 .gitignore 09:25:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:24 .semver 09:25:13 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:24 Attribution.txt 09:25:13 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:24 CHANGELOG.md 09:25:13 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:24 Doxyfile 09:25:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:24 GOVERNANCE.md 09:25:13 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:24 Jenkinsfile 09:25:13 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:24 LICENSE 09:25:13 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:24 Makefile 09:25:13 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:24 OWNERS.md 09:25:13 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:24 README.IOT.md 09:25:13 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:24 README.md 09:25:13 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:24 README.v3.md 09:25:13 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:24 VERSION 09:25:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:24 docs 09:25:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:24 include 09:25:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:24 scripts 09:25:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:14 + 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=4293b3e4a4a54949bffd9f429a4df609b362bd9b --label arch=amd64 --label version=0.0.0 . 09:25:14 Sending build context to Docker daemon 5.237MB 09:25:14 Step 1/18 : ARG BASE=alpine:3.18 09:25:14 Step 2/18 : FROM ${BASE} 09:25:14 ---> 1a175054c343 09:25:14 Step 3/18 : LABEL maintainer="IOTech " 09:25:14 ---> Running in 66db6c8ed06e 09:25:14 Removing intermediate container 66db6c8ed06e 09:25:14 ---> ba28cff38a04 09:25:14 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:25:14 ---> Running in 8a232de5027d 09:25:14 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:25:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:25:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:25:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:25:15 Removing intermediate container 8a232de5027d 09:25:15 ---> 87f70917f05c 09:25:15 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:25:15 ---> Running in 37b31b88aa2f 09:25:15 Removing intermediate container 37b31b88aa2f 09:25:15 ---> 119740acb685 09:25:15 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:25:15 ---> Running in 2bf2a3b3464b 09:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:16 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:25:17 (2/11) Installing libcbor-dev (0.10.2-r1) 09:25:17 (3/11) Installing libmenuw (6.4_p20230506-r0) 09:25:17 (4/11) Installing libpanelw (6.4_p20230506-r0) 09:25:17 (5/11) Installing libncurses++ (6.4_p20230506-r0) 09:25:17 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 09:25:17 (7/11) Installing libblkid (2.38.1-r8) 09:25:17 (8/11) Installing libfdisk (2.38.1-r8) 09:25:17 (9/11) Installing libmount (2.38.1-r8) 09:25:17 (10/11) Installing libsmartcols (2.38.1-r8) 09:25:17 (11/11) Installing util-linux-dev (2.38.1-r8) 09:25:17 Executing busybox-1.36.1-r7.trigger 09:25:17 OK: 337 MiB in 101 packages 09:25:17 Removing intermediate container 2bf2a3b3464b 09:25:17 ---> 9ee487594ec4 09:25:17 Step 7/18 : RUN apk --no-cache upgrade 09:25:17 ---> Running in df75db8eca68 09:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:25:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 09:25:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:25:18 OK: 337 MiB in 101 packages 09:25:19 Removing intermediate container df75db8eca68 09:25:19 ---> e124d7236c81 09:25:19 Step 8/18 : COPY VERSION /edgex-c-sdk/ 09:25:19 ---> 32918f91c0f3 09:25:19 Step 9/18 : COPY src /edgex-c-sdk/src/ 09:25:19 ---> 3d3ac8eb0ef0 09:25:19 Step 10/18 : COPY include /edgex-c-sdk/include/ 09:25:19 ---> 97d835437863 09:25:19 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 09:25:19 ---> d8b1672e9789 09:25:19 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 09:25:19 ---> de091bcd324c 09:25:19 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 09:25:19 ---> 92454b7bbd5e 09:25:19 Step 14/18 : WORKDIR /edgex-c-sdk 09:25:19 ---> Running in d4d4e13af288 09:25:19 Removing intermediate container d4d4e13af288 09:25:19 ---> 60578ad2f727 09:25:19 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:25:19 ---> Running in e5fff7cbbf64 09:25:19 Removing intermediate container e5fff7cbbf64 09:25:19 ---> 179b72d05f93 09:25:19 Step 16/18 : LABEL arch=amd64 09:25:19 ---> Running in 085d50d77da9 09:25:20 Removing intermediate container 085d50d77da9 09:25:20 ---> b06c0778b3bc 09:25:20 Step 17/18 : LABEL git_sha=4293b3e4a4a54949bffd9f429a4df609b362bd9b 09:25:20 ---> Running in ee208b529da7 09:25:20 Removing intermediate container ee208b529da7 09:25:20 ---> 96a973d627eb 09:25:20 Step 18/18 : LABEL version=0.0.0 09:25:20 ---> Running in 4a0b8fe88844 09:25:20 Removing intermediate container 4a0b8fe88844 09:25:20 ---> 3c2b39864153 09:25:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:25:20 Successfully built 3c2b39864153 09:25:20 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:25:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:20 09:25:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:21 latest: Pulling from edgex-lftools-log-publisher 09:25:21 5eb5b503b376: Pulling fs layer 09:25:21 5c69ac0246d0: Pulling fs layer 09:25:21 ec43610c2a17: Pulling fs layer 09:25:21 3a2ae6a8a46f: Pulling fs layer 09:25:21 33b1e0a273af: Pulling fs layer 09:25:21 5d3b04190fa2: Pulling fs layer 09:25:21 2f39f015ded8: Pulling fs layer 09:25:21 3a2ae6a8a46f: Waiting 09:25:21 33b1e0a273af: Waiting 09:25:21 5d3b04190fa2: Waiting 09:25:21 2f39f015ded8: Waiting 09:25:21 5c69ac0246d0: Verifying Checksum 09:25:21 5c69ac0246d0: Download complete 09:25:21 3a2ae6a8a46f: Verifying Checksum 09:25:21 3a2ae6a8a46f: Download complete 09:25:21 33b1e0a273af: Verifying Checksum 09:25:21 33b1e0a273af: Download complete 09:25:21 5d3b04190fa2: Verifying Checksum 09:25:21 5d3b04190fa2: Download complete 09:25:21 ec43610c2a17: Verifying Checksum 09:25:21 ec43610c2a17: Download complete 09:25:21 5eb5b503b376: Verifying Checksum 09:25:21 5eb5b503b376: Download complete 09:25:21 2f39f015ded8: Download complete 09:25:22 5eb5b503b376: Pull complete 09:25:22 5c69ac0246d0: Pull complete 09:25:23 ec43610c2a17: Pull complete 09:25:23 3a2ae6a8a46f: Pull complete 09:25:23 33b1e0a273af: Pull complete 09:25:23 5d3b04190fa2: Pull complete 09:25:27 2f39f015ded8: Pull complete 09:25:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:27 prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container 09:25:27 $ 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:25:31 $ docker top 324f1e043f7cdd6cb4b8a6f52ca1a57a5c31bbca96cd155dcd67a9e8c1885287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:31 ---> job-cost.sh 09:25:31 lf-activate-venv: SKIPPING 09:25:31 INFO: No Stack... 09:25:32 INFO: Retrieving Pricing Info for: v3-standard-8 09:25:32 INFO: Archiving Costs [Pipeline] sh 09:25:32 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv 09:25:32 + cut -d, -f6 [Pipeline] lock 09:25:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] 09:25:32 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] did not exist. Created. 09:25:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:33 + echo total: 0.2199999988079071 [Pipeline] stash 09:25:33 Stashed 1 file(s) [Pipeline] } 09:25:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:33 $ docker stop --time=1 324f1e043f7cdd6cb4b8a6f52ca1a57a5c31bbca96cd155dcd67a9e8c1885287 09:25:34 $ docker rm -f --volumes 324f1e043f7cdd6cb4b8a6f52ca1a57a5c31bbca96cd155dcd67a9e8c1885287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:28:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10679 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws 09:28:31 Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout 09:28:31 Selected Git installation does not exist. Using Default 09:28:31 The recommended git tool is: NONE 09:28:39 using credential edgex-jenkins-ssh 09:28:39 Cloning the remote Git repository 09:28:39 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:28:40 > git init /w/workspace/device-sdk-c/6 # timeout=10 09:28:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:28:40 > git --version # timeout=10 09:28:40 > git --version # 'git version 2.25.1' 09:28:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:28:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:28:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:28:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:43 > 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:28:43 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 4293b3e4a4a54949bffd9f429a4df609b362bd9b 09:28:44 Merge succeeded, producing 4293b3e4a4a54949bffd9f429a4df609b362bd9b 09:28:44 Checking out Revision 4293b3e4a4a54949bffd9f429a4df609b362bd9b (PR-513) 09:28:43 > git config core.sparsecheckout # timeout=10 09:28:43 > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 09:28:43 > git remote # timeout=10 09:28:43 > git config --get remote.origin.url # timeout=10 09:28:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:44 > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 09:28:44 > git rev-parse HEAD^{commit} # timeout=10 09:28:44 > git config core.sparsecheckout # timeout=10 09:28:44 > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 09:28:47 Commit message: "feat: Update docs to mention Event publishing during discovery, updated template.c and discovery/template.c to allow compiling and provide an example of publishing an event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:28:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:28:49 % Total % Received % Xferd Average Speed Time Time Time Current 09:28:49 Dload Upload Total Spent Left Speed 09:28:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 63192 0 --:--:-- --:--:-- --:--:-- 63504 [Pipeline] sh 09:28:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:28:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:28:50 + sudo tee /etc/docker/daemon.new 09:28:50 { 09:28:50 "registry-mirrors": [ 09:28:50 "https://nexus3.edgexfoundry.org:10001" 09:28:50 ], 09:28:50 "bip": "10.250.0.254/24", 09:28:50 "hosts": [ 09:28:50 "tcp://0.0.0.0:5555", 09:28:50 "unix:///var/run/docker.sock" 09:28:50 ], 09:28:50 "mtu": 1458, 09:28:50 "selinux-enabled": true, 09:28:50 "seccomp-profile": "/etc/docker/seccomp.json" 09:28:50 } [Pipeline] sh 09:28:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:28:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:09 provisioning config files... 09:29:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config5762103636027846302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:09 ---> ****-login.sh 09:29:09 nexus3.edgexfoundry.org:10001 09:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:10 Configure a credential helper to remove this warning. See 09:29:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:10 09:29:10 Login Succeeded 09:29:10 nexus3.edgexfoundry.org:10002 09:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:10 Configure a credential helper to remove this warning. See 09:29:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:10 09:29:10 Login Succeeded 09:29:10 nexus3.edgexfoundry.org:10003 09:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:10 Configure a credential helper to remove this warning. See 09:29:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:10 09:29:10 Login Succeeded 09:29:11 nexus3.edgexfoundry.org:10004 09:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:11 Configure a credential helper to remove this warning. See 09:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:11 09:29:11 Login Succeeded 09:29:11 ****.io 09:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:11 Configure a credential helper to remove this warning. See 09:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:11 09:29:11 Login Succeeded 09:29:11 ---> ****-login.sh ends [Pipeline] } 09:29:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:29:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:29:12 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 09:29:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:29:12 ========================================================= 09:29:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:29:12 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:12 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 09:29:12 Sending build context to Docker daemon 3.225MB 09:29:12 Step 1/22 : ARG BASE=alpine:3.18 09:29:12 Step 2/22 : FROM ${BASE} as builder 09:29:12 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:29:12 579b34f0a95b: Pulling fs layer 09:29:12 e71477ac5e1b: Pulling fs layer 09:29:13 579b34f0a95b: Verifying Checksum 09:29:13 579b34f0a95b: Download complete 09:29:13 579b34f0a95b: Pull complete 09:29:15 e71477ac5e1b: Verifying Checksum 09:29:15 e71477ac5e1b: Download complete 09:29:28 e71477ac5e1b: Pull complete 09:29:28 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 09:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:29:28 ---> 2b552cad5dd9 09:29:28 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 09:29:28 ---> Running in 7601da014b83 09:29:28 Connecting to iotech.jfrog.io (54.73.4.50:443) 09:29:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:29:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:29:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:29:30 Removing intermediate container 7601da014b83 09:29:30 ---> f32406cc3e9e 09:29:30 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:29:30 ---> Running in 91e99bb17221 09:29:31 Removing intermediate container 91e99bb17221 09:29:31 ---> 023935034701 09:29:31 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:29:31 ---> Running in 3e12c1fbc932 09:29:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:29:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:29:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:29:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:29:34 (1/17) Installing hiredis (1.1.0-r2) 09:29:34 (2/17) Installing hiredis-dev (1.1.0-r2) 09:29:34 (3/17) Installing libcbor (0.10.2-r1) 09:29:34 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 09:29:35 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:29:35 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:29:36 (7/17) Installing libcbor-dev (0.10.2-r1) 09:29:36 (8/17) Installing libmenuw (6.4_p20230506-r0) 09:29:36 (9/17) Installing libpanelw (6.4_p20230506-r0) 09:29:36 (10/17) Installing libncurses++ (6.4_p20230506-r0) 09:29:36 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 09:29:36 (12/17) Installing libblkid (2.38.1-r8) 09:29:36 (13/17) Installing libuuid (2.38.1-r8) 09:29:36 (14/17) Installing libfdisk (2.38.1-r8) 09:29:36 (15/17) Installing libmount (2.38.1-r8) 09:29:36 (16/17) Installing libsmartcols (2.38.1-r8) 09:29:36 (17/17) Installing util-linux-dev (2.38.1-r8) 09:29:36 Executing busybox-1.36.1-r4.trigger 09:29:36 OK: 333 MiB in 99 packages 09:29:37 Removing intermediate container 3e12c1fbc932 09:29:37 ---> bbffede7eaee 09:29:37 Step 6/22 : RUN mkdir /tmp/sdk 09:29:37 ---> Running in 65a10b79af56 09:29:39 Removing intermediate container 65a10b79af56 09:29:39 ---> 274c127dd21b 09:29:39 Step 7/22 : COPY VERSION /tmp/sdk 09:29:39 ---> 2179ca77856a 09:29:39 Step 8/22 : COPY src /tmp/sdk/src 09:29:40 ---> 42ce50c4f4f2 09:29:40 Step 9/22 : COPY include /tmp/sdk/include 09:29:41 ---> 2a6ef93039ec 09:29:41 Step 10/22 : COPY scripts /tmp/sdk/scripts 09:29:41 ---> 50c55ccf8210 09:29:41 Step 11/22 : COPY LICENSE /tmp/sdk 09:29:42 ---> b2b4d1da05e9 09:29:42 Step 12/22 : COPY Attribution.txt /tmp/sdk 09:29:43 ---> 482762343195 09:29:43 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:29:43 ---> Running in 43cec6d3262f 09:29:44 + CPPCHECK=false 09:29:44 + DOCGEN=false 09:29:44 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 09:29:44 + '[' 0 -gt 0 ] 09:29:44 + readlink -f ./scripts/build.sh 09:29:44 + dirname /tmp/sdk/scripts/build.sh 09:29:44 + dirname /tmp/sdk/scripts 09:29:44 + ROOT=/tmp/sdk 09:29:44 + cd /tmp/sdk 09:29:44 + mkdir -p /tmp/sdk/build/release 09:29:44 + cd /tmp/sdk/build/release 09:29:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:29:44 -- The C compiler identification is GNU 12.2.1 09:29:44 -- Detecting C compiler ABI info 09:29:44 -- Detecting C compiler ABI info - done 09:29:44 -- Check for working C compiler: /usr/bin/cc - skipped 09:29:44 -- Detecting C compile features 09:29:44 -- Detecting C compile features - done 09:29:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:29:45 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:29:45 -- Found LIBYAML: /usr/lib/libyaml.so 09:29:45 -- Found LIBUUID: /usr/lib/libuuid.so 09:29:45 -- Found LIBCBOR: /usr/lib/libcbor.so 09:29:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:29:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:29:45 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:29:45 -- /opt/iotech/iot/1.5/include 09:29:45 -- C SDK 0.0.0 for Linux 09:29:45 -- Performing Test CSDK_HAVE_ATOMIC 09:29:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:29:46 -- Found Curses: /usr/lib/libcurses.so 09:29:46 -- Configuring done (2.0s) 09:29:46 -- Generating done (0.3s) 09:29:46 -- Build files have been written to: /tmp/sdk/build/release 09:29:46 + make all package 09:29:46 + tee release.log 09:29:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:29:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:29:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:29:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:29:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:29:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:29:53 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:29:53 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 09:29:53 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 09:29:53 294 | while (privateConfig) 09:29:53 | ^~~~~~~~~~~~~ 09:29:53 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 09:29:53 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:29:53 | ^~~~~~~~~~~~~ 09:29:53 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 09:29:53 271 | while (result) 09:29:53 | ^~~~~~ 09:29:53 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 09:29:53 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 09:29:53 | ^~~~~~ 09:29:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:29:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:29:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:29:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:29:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:29:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:30:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:30:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:30:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:30:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:30:05 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:30:05 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:30:06 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:30:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:30:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:30:17 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:30:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:30:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:30:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:30:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:30:22 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:30:23 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:30:24 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:30:24 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:30:24 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:30:24 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:30:24 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:30:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:30:24 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:30:24 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:30:24 | ^ 09:30:26 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 09:30:26 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 09:30:26 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:30:26 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 09:30:26 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 09:30:26 | ^~~~~~~~~~~~~~~~~~~~~ 09:30:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:30:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:30:29 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:30:30 [ 68%] Linking C shared library libcsdk.so 09:30:30 [ 68%] Built target csdk 09:30:30 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:30:31 [ 72%] Linking C executable template 09:30:31 [ 72%] Built target template 09:30:31 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:30:32 [ 76%] Linking C executable device-counter 09:30:33 [ 76%] Built target device-counter 09:30:33 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:30:33 [ 80%] Linking C executable device-random 09:30:34 [ 80%] Built target device-random 09:30:34 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:30:34 [ 84%] Linking C executable device-gyro 09:30:35 [ 84%] Built target device-gyro 09:30:35 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:30:36 [ 88%] Linking C executable device-bitfields 09:30:36 [ 88%] Built target device-bitfields 09:30:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:30:37 [ 92%] Linking C executable template-discovery 09:30:38 [ 92%] Built target template-discovery 09:30:38 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:30:39 [ 96%] Linking C executable device-file 09:30:39 [ 96%] Built target device-file 09:30:39 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:30:40 [100%] Linking C executable device-terminal 09:30:40 [100%] Built target device-terminal 09:30:40 Run CPack packaging tool... 09:30:40 CPack: Create package using TGZ 09:30:40 CPack: Install projects 09:30:40 CPack: - Run preinstall target for: Csdk 09:30:41 CPack: - Install project: Csdk [] 09:30:41 CPack: Create package 09:30:42 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:30:42 + '[' false '=' true ] 09:30:42 + '[' false '=' true ] 09:30:42 + mkdir -p /tmp/sdk/build/debug 09:30:42 + cd /tmp/sdk/build/debug 09:30:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:30:42 -- The C compiler identification is GNU 12.2.1 09:30:42 -- Detecting C compiler ABI info 09:30:42 -- Detecting C compiler ABI info - done 09:30:42 -- Check for working C compiler: /usr/bin/cc - skipped 09:30:42 -- Detecting C compile features 09:30:42 -- Detecting C compile features - done 09:30:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:30:43 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 09:30:43 -- Found LIBYAML: /usr/lib/libyaml.so 09:30:43 -- Found LIBUUID: /usr/lib/libuuid.so 09:30:43 -- Found LIBCBOR: /usr/lib/libcbor.so 09:30:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:30:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:30:43 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 09:30:43 -- /opt/iotech/iot/1.5/include 09:30:43 -- C SDK 0.0.0 for Linux 09:30:43 -- Performing Test CSDK_HAVE_ATOMIC 09:30:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:30:43 -- Found Curses: /usr/lib/libcurses.so 09:30:44 -- Configuring done (1.9s) 09:30:44 -- Generating done (0.3s) 09:30:44 -- Build files have been written to: /tmp/sdk/build/debug 09:30:44 + make 09:30:44 + tee debug.log 09:30:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:30:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 09:30:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 09:30:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 09:30:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 09:30:46 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:30:47 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:30:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:30:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:30:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:30:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:30:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:30:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:30:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:30:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 09:30:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:30:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:30:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:30:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:30:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:30:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:30:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:30:55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:30:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:30:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 09:30:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:30:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:30:57 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:30:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:30:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:30:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:30:59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 09:30:59 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:30:59 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 09:30:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 09:30:59 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 09:30:59 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 09:30:59 | ^ 09:31:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:31:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 09:31:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:31:01 [ 68%] Linking C shared library libcsdk.so 09:31:01 [ 68%] Built target csdk 09:31:01 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:31:01 [ 72%] Linking C executable template 09:31:02 [ 72%] Built target template 09:31:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:31:02 [ 76%] Linking C executable device-counter 09:31:03 [ 76%] Built target device-counter 09:31:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:31:03 [ 80%] Linking C executable device-random 09:31:03 [ 80%] Built target device-random 09:31:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:31:04 [ 84%] Linking C executable device-gyro 09:31:04 [ 84%] Built target device-gyro 09:31:04 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:31:05 [ 88%] Linking C executable device-bitfields 09:31:05 [ 88%] Built target device-bitfields 09:31:05 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:31:06 [ 92%] Linking C executable template-discovery 09:31:06 [ 92%] Built target template-discovery 09:31:06 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:31:07 [ 96%] Linking C executable device-file 09:31:07 [ 96%] Built target device-file 09:31:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:31:07 [100%] Linking C executable device-terminal 09:31:08 [100%] Built target device-terminal 09:31:08 make: Entering directory '/tmp/sdk/build/release' 09:31:08 [ 68%] Built target csdk 09:31:08 [ 72%] Built target template 09:31:08 [ 76%] Built target device-counter 09:31:08 [ 80%] Built target device-random 09:31:08 [ 84%] Built target device-gyro 09:31:08 [ 88%] Built target device-bitfields 09:31:08 [ 92%] Built target template-discovery 09:31:08 [ 96%] Built target device-file 09:31:08 [100%] Built target device-terminal 09:31:09 Install the project... 09:31:09 -- Install configuration: "Release" 09:31:09 -- Installing: /usr/local/lib/libcsdk.so 09:31:09 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:31:09 -- Installing: /usr/local/include 09:31:09 -- Installing: /usr/local/include/devsdk 09:31:09 -- Installing: /usr/local/include/devsdk/devsdk.h 09:31:09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:31:09 -- Installing: /usr/local/include/edgex 09:31:09 -- Installing: /usr/local/include/edgex/rest-server.h 09:31:09 -- Installing: /usr/local/include/edgex/edgex.h 09:31:09 -- Installing: /usr/local/include/edgex/edgex-base.h 09:31:09 -- Installing: /usr/local/include/edgex/devices.h 09:31:09 -- Installing: /usr/local/include/edgex/profiles.h 09:31:09 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:31:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:31:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:31:09 make: Leaving directory '/tmp/sdk/build/release' 09:31:10 Removing intermediate container 43cec6d3262f 09:31:10 ---> 32d311be3407 09:31:10 Step 14/22 : FROM ${BASE} 09:31:10 ---> 2b552cad5dd9 09:31:10 Step 15/22 : LABEL maintainer="IOTech " 09:31:10 ---> Running in e5102cf912fd 09:31:10 Removing intermediate container e5102cf912fd 09:31:10 ---> 19c4ecbe5074 09:31:10 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:31:11 ---> Running in d69e9d3f19a0 09:31:12 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:31:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:31:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:31:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:31:13 Removing intermediate container d69e9d3f19a0 09:31:13 ---> adac64c15b10 09:31:13 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:31:13 ---> Running in ee17583afc3f 09:31:15 Removing intermediate container ee17583afc3f 09:31:15 ---> 6fa06dbca68d 09:31:15 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:31:15 ---> Running in 307b29fbd37f 09:31:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:31:18 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 09:31:18 (2/10) Installing curl (8.9.1-r0) 09:31:18 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 09:31:18 (4/10) Installing dumb-init (1.2.5-r2) 09:31:18 (5/10) Installing hiredis (1.1.0-r2) 09:31:18 (6/10) Installing hiredis-dev (1.1.0-r2) 09:31:18 (7/10) Installing libcbor (0.10.2-r1) 09:31:18 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 09:31:18 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 09:31:19 (10/10) Installing libuuid (2.38.1-r8) 09:31:19 Executing busybox-1.36.1-r4.trigger 09:31:19 OK: 328 MiB in 90 packages 09:31:20 Removing intermediate container 307b29fbd37f 09:31:20 ---> 47ba11b85c04 09:31:20 Step 19/22 : RUN apk --no-cache upgrade 09:31:20 ---> Running in f86e885bd01b 09:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:31:23 Upgrading critical system libraries and apk-tools: 09:31:23 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:31:23 Executing busybox-1.36.1-r4.trigger 09:31:23 Continuing the upgrade transaction with new apk-tools: 09:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:31:25 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 09:31:25 Executing busybox-1.36.1-r7.post-upgrade 09:31:25 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 09:31:25 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:31:25 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 09:31:25 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 09:31:25 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 09:31:25 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 09:31:25 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 09:31:25 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 09:31:25 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 09:31:26 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 09:31:26 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 09:31:26 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 09:31:26 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 09:31:26 Executing busybox-1.36.1-r7.trigger 09:31:26 Executing ca-certificates-20240226-r0.trigger 09:31:26 OK: 328 MiB in 90 packages 09:31:28 Removing intermediate container f86e885bd01b 09:31:28 ---> 550549ec27ea 09:31:28 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:31:29 ---> 9fb3092619ca 09:31:29 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 09:31:30 ---> 4078b76bb6cd 09:31:30 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:31:30 ---> 08269c297501 09:31:30 Successfully built 08269c297501 09:31:30 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:31:31 + docker inspect -f . ci-base-image-arm64 09:31:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:31:31 prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container 09:31:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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:31:32 $ docker top 85d1cd60ac3fab8c93367247193743ee01977e7a8f1b18f35c2e1b677d450f78 -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:33 + make test 09:31:33 echo "make test" 09:31:33 make test [Pipeline] } 09:31:33 $ docker stop --time=1 85d1cd60ac3fab8c93367247193743ee01977e7a8f1b18f35c2e1b677d450f78 09:31:35 $ docker rm -f --volumes 85d1cd60ac3fab8c93367247193743ee01977e7a8f1b18f35c2e1b677d450f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:31:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:36 + ls -al . 09:31:36 total 208 09:31:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:28 . 09:31:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:28 .. 09:31:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:28 .git 09:31:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:28 .github 09:31:36 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:28 .gitignore 09:31:36 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:28 Attribution.txt 09:31:36 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:28 CHANGELOG.md 09:31:36 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:28 Doxyfile 09:31:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:28 GOVERNANCE.md 09:31:36 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:28 Jenkinsfile 09:31:36 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:28 LICENSE 09:31:36 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:28 Makefile 09:31:36 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:28 OWNERS.md 09:31:36 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:28 README.IOT.md 09:31:36 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:28 README.md 09:31:36 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:28 README.v3.md 09:31:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:24 VERSION 09:31:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:28 docs 09:31:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:28 include 09:31:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:28 scripts 09:31:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:36 + 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=4293b3e4a4a54949bffd9f429a4df609b362bd9b --label arch=arm64 --label version=0.0.0 . 09:31:37 Sending build context to Docker daemon 3.225MB 09:31:37 Step 1/18 : ARG BASE=alpine:3.18 09:31:37 Step 2/18 : FROM ${BASE} 09:31:37 ---> 08269c297501 09:31:37 Step 3/18 : LABEL maintainer="IOTech " 09:31:37 ---> Running in 16298405d47f 09:31:37 Removing intermediate container 16298405d47f 09:31:37 ---> 287df6891381 09:31:37 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:31:37 ---> Running in dc88c7ef9742 09:31:38 Connecting to iotech.jfrog.io (34.247.22.236:443) 09:31:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:31:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:31:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:31:40 Removing intermediate container dc88c7ef9742 09:31:40 ---> 69de822e5bd2 09:31:40 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 09:31:40 ---> Running in 8adcb1ffe8dc 09:31:41 Removing intermediate container 8adcb1ffe8dc 09:31:41 ---> 6ae996755d7b 09:31:41 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:31:41 ---> Running in 826326018f52 09:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:31:44 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 09:31:44 (2/11) Installing libcbor-dev (0.10.2-r1) 09:31:44 (3/11) Installing libmenuw (6.4_p20230506-r0) 09:31:44 (4/11) Installing libpanelw (6.4_p20230506-r0) 09:31:44 (5/11) Installing libncurses++ (6.4_p20230506-r0) 09:31:44 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 09:31:44 (7/11) Installing libblkid (2.38.1-r8) 09:31:44 (8/11) Installing libfdisk (2.38.1-r8) 09:31:44 (9/11) Installing libmount (2.38.1-r8) 09:31:44 (10/11) Installing libsmartcols (2.38.1-r8) 09:31:44 (11/11) Installing util-linux-dev (2.38.1-r8) 09:31:45 Executing busybox-1.36.1-r7.trigger 09:31:45 OK: 334 MiB in 101 packages 09:31:47 Removing intermediate container 826326018f52 09:31:47 ---> 09a429267aaf 09:31:47 Step 7/18 : RUN apk --no-cache upgrade 09:31:47 ---> Running in 60b50c1ca737 09:31:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:31:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 09:31:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:31:49 OK: 334 MiB in 101 packages 09:31:50 Removing intermediate container 60b50c1ca737 09:31:50 ---> b5a06d74f1ab 09:31:50 Step 8/18 : COPY VERSION /edgex-c-sdk/ 09:31:50 ---> 1a755e856bbd 09:31:50 Step 9/18 : COPY src /edgex-c-sdk/src/ 09:31:51 ---> 051da80d0889 09:31:51 Step 10/18 : COPY include /edgex-c-sdk/include/ 09:31:52 ---> 0280018498ae 09:31:52 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 09:31:52 ---> cd113234c0e3 09:31:52 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 09:31:52 ---> 2b1df70c9259 09:31:52 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 09:31:53 ---> 88293eb26ae6 09:31:53 Step 14/18 : WORKDIR /edgex-c-sdk 09:31:53 ---> Running in 93e66129dbfd 09:31:53 Removing intermediate container 93e66129dbfd 09:31:53 ---> 743cb8e5babc 09:31:53 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:31:53 ---> Running in b9bad42b2ecf 09:31:53 Removing intermediate container b9bad42b2ecf 09:31:53 ---> 8024aa08be0e 09:31:53 Step 16/18 : LABEL arch=arm64 09:31:54 ---> Running in 5da0e4225242 09:31:54 Removing intermediate container 5da0e4225242 09:31:54 ---> ca194fffd546 09:31:54 Step 17/18 : LABEL git_sha=4293b3e4a4a54949bffd9f429a4df609b362bd9b 09:31:54 ---> Running in dad25056ff6e 09:31:54 Removing intermediate container dad25056ff6e 09:31:54 ---> eeeb3b0fac20 09:31:54 Step 18/18 : LABEL version=0.0.0 09:31:54 ---> Running in dc3b8ac814dd 09:31:55 Removing intermediate container dc3b8ac814dd 09:31:55 ---> fd901c228029 09:31:55 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:31:55 Successfully built fd901c228029 09:31:55 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:31:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:55 09:31:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:56 arm64: Pulling from edgex-lftools-log-publisher 09:31:56 8998bd30e6a1: Pulling fs layer 09:31:56 04944245beec: Pulling fs layer 09:31:56 699f458cf7ca: Pulling fs layer 09:31:56 765212b225bb: Pulling fs layer 09:31:56 f23df028b6ca: Pulling fs layer 09:31:56 d65c8cfc05b1: Pulling fs layer 09:31:56 2437ff75d9bd: Pulling fs layer 09:31:56 f23df028b6ca: Waiting 09:31:56 d65c8cfc05b1: Waiting 09:31:56 765212b225bb: Waiting 09:31:56 2437ff75d9bd: Waiting 09:31:56 04944245beec: Verifying Checksum 09:31:56 04944245beec: Download complete 09:31:56 765212b225bb: Verifying Checksum 09:31:56 765212b225bb: Download complete 09:31:56 f23df028b6ca: Download complete 09:31:56 d65c8cfc05b1: Verifying Checksum 09:31:56 d65c8cfc05b1: Download complete 09:31:56 699f458cf7ca: Verifying Checksum 09:31:56 699f458cf7ca: Download complete 09:31:56 8998bd30e6a1: Verifying Checksum 09:31:56 8998bd30e6a1: Download complete 09:31:59 2437ff75d9bd: Verifying Checksum 09:32:01 8998bd30e6a1: Pull complete 09:32:02 04944245beec: Pull complete 09:32:03 699f458cf7ca: Pull complete 09:32:03 765212b225bb: Pull complete 09:32:04 f23df028b6ca: Pull complete 09:32:04 d65c8cfc05b1: Pull complete 09:32:22 2437ff75d9bd: Pull complete 09:32:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:32:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:22 prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container 09:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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:32:25 $ docker top e905e367d6ef1789ba1658581a8fecf8a6cd8e2b417496c68b6bc1dee10d28c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:25 ---> job-cost.sh 09:32:26 lf-activate-venv: SKIPPING 09:32:26 INFO: No Stack... 09:32:26 INFO: Retrieving Pricing Info for: v3-standard-4 09:32:27 INFO: Archiving Costs [Pipeline] sh 09:32:27 + + cutcat -d, /w/workspace/device-sdk-c/6/archives/cost.csv -f6 09:32:27 [Pipeline] lock 09:32:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] 09:32:27 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] did not exist. Created. 09:32:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:28 /w/workspace/device-sdk-c/6@tmp/durable-8f05f4e2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:32:28 + echo total: 0.10999999940395355 [Pipeline] stash 09:32:28 Warning: overwriting stash ‘stack-cost’ 09:32:28 Stashed 1 file(s) [Pipeline] } 09:32:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:28 $ docker stop --time=1 e905e367d6ef1789ba1658581a8fecf8a6cd8e2b417496c68b6bc1dee10d28c0 09:32:30 $ docker rm -f --volumes e905e367d6ef1789ba1658581a8fecf8a6cd8e2b417496c68b6bc1dee10d28c0 [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:32:31 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] 09:32:31 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 09:32:31 total 16 09:32:31 drwxr-xr-x 3 root root 4096 Sep 19 09:25 . 09:32:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:25 .. 09:32:31 drwxr-xr-x 2 root root 4096 Sep 19 09:25 cost 09:32:31 -rw-r--r-- 1 root root 84 Sep 19 09:25 cost.csv 09:32:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 09:32:31 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 09:32:31 total 16 09:32:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:25 . 09:32:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:25 .. 09:32:31 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 09:25 cost 09:32:31 -rw-r--r-- 1 jenkins jenkins 84 Sep 19 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:32:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:32:32 ---> package-listing.sh 09:32:32 ++ facter osfamily 09:32:32 ++ tr '[:upper:]' '[:lower:]' 09:32:32 + OS_FAMILY=debian 09:32:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 09:32:32 + START_PACKAGES=/tmp/packages_start.txt 09:32:32 + END_PACKAGES=/tmp/packages_end.txt 09:32:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:32:32 + PACKAGES=/tmp/packages_start.txt 09:32:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 09:32:32 + PACKAGES=/tmp/packages_end.txt 09:32:32 + case "${OS_FAMILY}" in 09:32:32 + dpkg -l 09:32:32 + grep '^ii' 09:32:32 + '[' -f /tmp/packages_start.txt ']' 09:32:32 + '[' -f /tmp/packages_end.txt ']' 09:32:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:32:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 09:32:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ 09:32:32 + 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:32:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:32:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:33 prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container 09:32:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-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:32:33 $ docker top 31d70d635e499287145515cca10c781c5da2816ce35f878932e55942f7583113 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:34 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:34 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:34 + ls /var/log/sa-host 09:32:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:34 provisioning config files... 09:32:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config11042051625842877895tmp [Pipeline] { [Pipeline] echo 09:32:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:35 ---> create-netrc.sh [Pipeline] } 09:32:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:35 ---> python-tools-install.sh [Pipeline] echo 09:32:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:35 ---> sudo-logs.sh 09:32:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:32:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:36 ---> job-cost.sh 09:32:36 lf-activate-venv: SKIPPING 09:32:36 DEBUG: total: 0.2199999988079071 09:32:36 INFO: Retrieving Stack Cost... 09:32:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:36 INFO: Archiving Costs [Pipeline] echo 09:32:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:36 ---> logs-deploy.sh 09:32:36 lf-activate-venv: SKIPPING 09:32:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/6 09:32:36 INFO: archiving workspace using pattern(s): 09:32:37 Archives upload complete. 09:32:37 INFO: archiving logs to Nexus