Pull request #506 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 ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than f82302835794dd089678c2b993c2bca3dcefec8b Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 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-ssh11266764521109192051.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11439021507318850429.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-506/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-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2009182369883160861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12856470063827445812.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-506/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-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15108876319681312856.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26651 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit f82302835794dd089678c2b993c2bca3dcefec8b Merge succeeded, producing f82302835794dd089678c2b993c2bca3dcefec8b Checking out Revision f82302835794dd089678c2b993c2bca3dcefec8b (PR-506) > git config core.sparsecheckout # timeout=10 > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # 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 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 Commit message: "When reading's value is string type, it will be released prematurely" First time build. Skipping changelog. > git rev-list --no-walk 14f0817b121f6b2e3684e1d244620a983d81da4a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:38:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:38:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:38:12 ========================================================= 17:38:12 EdgeX Global Pipelines Version Info 17:38:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:38:13 ------------------- 17:38:13 stable info: 17:38:13 ------------------- 17:38:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:38:13 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:38:13 Message: update stable to v1.0.258 17:38:13 ------------------- 17:38:13 experimental info: 17:38:13 ------------------- 17:38:13 Commited By: **** collab-it+edgex@linuxfoundation.org 17:38:13 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:38:13 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:38:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-506 [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-506 [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-506 [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f823028 [Pipeline] echo 17:38:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:14 provisioning config files... 17:38:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config8211454770859309849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:14 ---> ****-login.sh 17:38:14 nexus3.edgexfoundry.org:10001 17:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:15 Configure a credential helper to remove this warning. See 17:38:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:15 17:38:15 Login Succeeded 17:38:15 nexus3.edgexfoundry.org:10002 17:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:15 Configure a credential helper to remove this warning. See 17:38:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:15 17:38:15 Login Succeeded 17:38:15 nexus3.edgexfoundry.org:10003 17:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:15 Configure a credential helper to remove this warning. See 17:38:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:15 17:38:15 Login Succeeded 17:38:15 nexus3.edgexfoundry.org:10004 17:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:15 Configure a credential helper to remove this warning. See 17:38:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:15 17:38:15 Login Succeeded 17:38:15 ****.io 17:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:15 Configure a credential helper to remove this warning. See 17:38:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:15 17:38:15 Login Succeeded 17:38:15 ---> ****-login.sh ends [Pipeline] } 17:38:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:38:16 + git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo 17:38:16 -----------> git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b f82302835794dd089678c2b993c2bca3dcefec8b [false] [Pipeline] sh 17:38:16 + git log --format=format:%s -1 f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo 17:38:16 ========================================================= 17:38:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:38:16 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:38:17 + git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo 17:38:17 -----------> git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b f82302835794dd089678c2b993c2bca3dcefec8b [false] [Pipeline] sh 17:38:17 + git log --format=format:%s -1 f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo 17:38:17 ========================================================= 17:38:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:38:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:38:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:38:18 + grep -v github /etc/ssh/ssh_known_hosts 17:38:18 + [ -e /tmp/ssh_known_hosts ] 17:38:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:38:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:38:18 + sudo tee -a /etc/ssh/ssh_known_hosts 17:38:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:18 17:38:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:18 0.1.4: Pulling from edgex-devops/py-git-semver 17:38:18 b85a868b505f: Pulling fs layer 17:38:18 e2be974225ed: Pulling fs layer 17:38:18 339a4e72a1f5: Pulling fs layer 17:38:18 988bab9f4d93: Pulling fs layer 17:38:18 1469e6f7b9e6: Pulling fs layer 17:38:18 eaf3925da568: Pulling fs layer 17:38:18 bab4dde63d76: Pulling fs layer 17:38:18 bde34c3a00c8: Pulling fs layer 17:38:18 b352a97aabf1: Pulling fs layer 17:38:18 4872d77fe225: Pulling fs layer 17:38:18 5851b861e8e6: Pulling fs layer 17:38:18 988bab9f4d93: Waiting 17:38:18 1469e6f7b9e6: Waiting 17:38:18 bab4dde63d76: Waiting 17:38:18 4872d77fe225: Waiting 17:38:18 5851b861e8e6: Waiting 17:38:18 bde34c3a00c8: Waiting 17:38:18 b352a97aabf1: Waiting 17:38:18 e2be974225ed: Verifying Checksum 17:38:18 e2be974225ed: Download complete 17:38:18 988bab9f4d93: Verifying Checksum 17:38:18 988bab9f4d93: Download complete 17:38:18 1469e6f7b9e6: Verifying Checksum 17:38:18 1469e6f7b9e6: Download complete 17:38:18 339a4e72a1f5: Verifying Checksum 17:38:18 339a4e72a1f5: Download complete 17:38:18 eaf3925da568: Verifying Checksum 17:38:18 eaf3925da568: Download complete 17:38:19 bde34c3a00c8: Verifying Checksum 17:38:19 bde34c3a00c8: Download complete 17:38:19 b352a97aabf1: Verifying Checksum 17:38:19 b352a97aabf1: Download complete 17:38:19 4872d77fe225: Verifying Checksum 17:38:19 4872d77fe225: Download complete 17:38:19 5851b861e8e6: Download complete 17:38:19 b85a868b505f: Verifying Checksum 17:38:19 b85a868b505f: Download complete 17:38:19 bab4dde63d76: Verifying Checksum 17:38:19 bab4dde63d76: Download complete 17:38:20 b85a868b505f: Pull complete 17:38:20 e2be974225ed: Pull complete 17:38:21 339a4e72a1f5: Pull complete 17:38:21 988bab9f4d93: Pull complete 17:38:21 1469e6f7b9e6: Pull complete 17:38:21 eaf3925da568: Pull complete 17:38:23 bab4dde63d76: Pull complete 17:38:23 bde34c3a00c8: Pull complete 17:38:23 b352a97aabf1: Pull complete 17:38:23 4872d77fe225: Pull complete 17:38:23 5851b861e8e6: Pull complete 17:38:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:38:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:23 prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container 17:38:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:38:26 $ docker top 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 -eo pid,comm 17:38:26 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). 17:38:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:38:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:26 [ssh-agent] Looking for ssh-agent implementation... 17:38:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:26 $ docker exec 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent 17:38:26 SSH_AUTH_SOCK=/tmp/ssh-oIBCAdFjatxW/agent.32 17:38:26 SSH_AGENT_PID=38 17:38:26 Running ssh-add (command line suppressed) 17:38:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_17100687573466443912.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_17100687573466443912.key) 17:38:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:27 + git tag --points-at HEAD [Pipeline] } 17:38:27 $ docker exec --env ******** --env ******** 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent -k 17:38:27 unset SSH_AUTH_SOCK; 17:38:27 unset SSH_AGENT_PID; 17:38:27 echo Agent pid 38 killed; 17:38:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:27 [ssh-agent] Looking for ssh-agent implementation... 17:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:27 $ docker exec 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent 17:38:27 SSH_AUTH_SOCK=/tmp/ssh-mBC7iB9nhOrv/agent.70 17:38:27 SSH_AGENT_PID=76 17:38:27 Running ssh-add (command line suppressed) 17:38:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_4838595286547685792.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_4838595286547685792.key) 17:38:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:28 + git semver init 17:38:28 2024-01-02 17:38:28,321 [run_init] DEBUG init version:0.0.0 force:False 17:38:28 2024-01-02 17:38:28,322 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver 17:38:28 2024-01-02 17:38:28,323 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver 17:38:28 2024-01-02 17:38:28,324 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506, universal_newlines=False, shell=None, istream=None) 17:38:29 2024-01-02 17:38:29,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.git/info/exclude 17:38:29 2024-01-02 17:38:29,199 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 with force:False 17:38:29 2024-01-02 17:38:29,199 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 17:38:29 2024-01-02 17:38:29,204 [execute] INFO git cat-file --batch-check 17:38:29 2024-01-02 17:38:29,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) 17:38:29 2024-01-02 17:38:29,212 [execute] INFO git cat-file --batch 17:38:29 2024-01-02 17:38:29,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) 17:38:29 2024-01-02 17:38:29,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 17:38:29 0.0.0 [Pipeline] } 17:38:29 $ docker exec --env ******** --env ******** 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent -k 17:38:29 unset SSH_AUTH_SOCK; 17:38:29 unset SSH_AGENT_PID; 17:38:29 echo Agent pid 76 killed; 17:38:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:38:29 + git semver [Pipeline] } 17:38:30 $ docker stop --time=1 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 17:38:31 $ docker rm -f --volumes 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:38:31 Stashed 1 file(s) [Pipeline] echo 17:38:31 [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 17:38:32 provisioning config files... 17:38:32 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config15922942818169599597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:32 ---> ****-login.sh 17:38:32 nexus3.edgexfoundry.org:10001 17:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:32 Configure a credential helper to remove this warning. See 17:38:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:32 17:38:32 Login Succeeded 17:38:32 nexus3.edgexfoundry.org:10002 17:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:32 Configure a credential helper to remove this warning. See 17:38:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:32 17:38:32 Login Succeeded 17:38:32 nexus3.edgexfoundry.org:10003 17:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:32 Configure a credential helper to remove this warning. See 17:38:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:32 17:38:32 Login Succeeded 17:38:32 nexus3.edgexfoundry.org:10004 17:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:32 Configure a credential helper to remove this warning. See 17:38:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:32 17:38:32 Login Succeeded 17:38:32 ****.io 17:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:33 Configure a credential helper to remove this warning. See 17:38:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:33 17:38:33 Login Succeeded 17:38:33 ---> ****-login.sh ends [Pipeline] } 17:38:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:38:33 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:38:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:38:33 ========================================================= 17:38:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:38:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:33 + 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 . 17:38:33 Sending build context to Docker daemon 4.968MB 17:38:33 Step 1/21 : ARG BASE=alpine:3.18 17:38:33 Step 2/21 : FROM ${BASE} as builder 17:38:33 latest: Pulling from edgex-devops/edgex-gcc-base 17:38:33 96526aa774ef: Pulling fs layer 17:38:33 da60e534fd72: Pulling fs layer 17:38:33 96526aa774ef: Download complete 17:38:33 96526aa774ef: Pull complete 17:38:34 da60e534fd72: Verifying Checksum 17:38:34 da60e534fd72: Download complete 17:38:38 da60e534fd72: Pull complete 17:38:38 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 17:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:38:38 ---> 6605166a5db4 17:38:38 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:38:40 ---> Running in eb713af4b0dc 17:38:40 Connecting to iotech.jfrog.io (54.73.4.50:443) 17:38:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:38:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:38:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:38:41 Removing intermediate container eb713af4b0dc 17:38:41 ---> 99333145411d 17:38:41 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:38:41 ---> Running in 65c18ff4ed74 17:38:41 Removing intermediate container 65c18ff4ed74 17:38:41 ---> b3fd8229fd60 17:38:41 Step 5/21 : 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 17:38:41 ---> Running in 19e14f90a128 17:38:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:38:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:38:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:38:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:38:43 (1/17) Installing hiredis (1.1.0-r2) 17:38:43 (2/17) Installing hiredis-dev (1.1.0-r2) 17:38:43 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 17:38:43 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:38:43 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:38:43 (6/17) Installing libcbor (0.10.2-r1) 17:38:43 (7/17) Installing libcbor-dev (0.10.2-r1) 17:38:43 (8/17) Installing libmenuw (6.4_p20230506-r0) 17:38:43 (9/17) Installing libpanelw (6.4_p20230506-r0) 17:38:43 (10/17) Installing libncurses++ (6.4_p20230506-r0) 17:38:43 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 17:38:44 (12/17) Installing libblkid (2.38.1-r8) 17:38:44 (13/17) Installing libuuid (2.38.1-r8) 17:38:44 (14/17) Installing libfdisk (2.38.1-r8) 17:38:44 (15/17) Installing libmount (2.38.1-r8) 17:38:44 (16/17) Installing libsmartcols (2.38.1-r8) 17:38:44 (17/17) Installing util-linux-dev (2.38.1-r8) 17:38:44 Executing busybox-1.36.1-r4.trigger 17:38:44 OK: 336 MiB in 99 packages 17:38:45 Removing intermediate container 19e14f90a128 17:38:45 ---> 295e8101924c 17:38:45 Step 6/21 : RUN mkdir /tmp/sdk 17:38:45 ---> Running in eaced4b98063 17:38:45 Removing intermediate container eaced4b98063 17:38:45 ---> 6b25bbe18222 17:38:45 Step 7/21 : COPY VERSION /tmp/sdk 17:38:45 ---> 920cd67d275f 17:38:45 Step 8/21 : COPY src /tmp/sdk/src 17:38:46 ---> fbd603f246a3 17:38:46 Step 9/21 : COPY include /tmp/sdk/include 17:38:46 ---> 208f5ebddd62 17:38:46 Step 10/21 : COPY scripts /tmp/sdk/scripts 17:38:46 ---> f9fdfede7c22 17:38:46 Step 11/21 : COPY LICENSE /tmp/sdk 17:38:46 ---> 179f994b69ea 17:38:46 Step 12/21 : COPY Attribution.txt /tmp/sdk 17:38:46 ---> af9afb3423c2 17:38:46 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:38:46 ---> Running in d9525485497f 17:38:46 + CPPCHECK=false 17:38:46 + DOCGEN=false 17:38:46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:38:46 + '[' 0 -gt 0 ] 17:38:46 + readlink -f ./scripts/build.sh 17:38:46 + dirname /tmp/sdk/scripts/build.sh 17:38:46 + dirname /tmp/sdk/scripts 17:38:46 + ROOT=/tmp/sdk 17:38:46 + cd /tmp/sdk 17:38:46 + mkdir -p /tmp/sdk/build/release 17:38:46 + cd /tmp/sdk/build/release 17:38:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:38:46 -- The C compiler identification is GNU 12.2.1 17:38:46 -- Detecting C compiler ABI info 17:38:47 -- Detecting C compiler ABI info - done 17:38:47 -- Check for working C compiler: /usr/bin/cc - skipped 17:38:47 -- Detecting C compile features 17:38:47 -- Detecting C compile features - done 17:38:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:38:47 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:38:47 -- Found LIBYAML: /usr/lib/libyaml.so 17:38:47 -- Found LIBUUID: /usr/lib/libuuid.so 17:38:47 -- Found LIBCBOR: /usr/lib/libcbor.so 17:38:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:38:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:38:47 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:38:47 -- /opt/iotech/iot/1.5/include 17:38:47 -- C SDK 0.0.0 for Linux 17:38:47 -- Performing Test CSDK_HAVE_ATOMIC 17:38:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:38:47 Still waiting to schedule task 17:38:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:38:47 -- Found Curses: /usr/lib/libcurses.so 17:38:47 -- Configuring done (0.4s) 17:38:47 -- Generating done (0.0s) 17:38:47 -- Build files have been written to: /tmp/sdk/build/release 17:38:47 + make all package 17:38:47 + tee release.log 17:38:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:38:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:38:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:38:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:38:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:38:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:38:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:38:48 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 17:38:48 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 17:38:48 294 | while (privateConfig) 17:38:48 | ^~~~~~~~~~~~~ 17:38:48 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 17:38:48 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:38:48 | ^~~~~~~~~~~~~ 17:38:48 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 17:38:48 271 | while (result) 17:38:48 | ^~~~~~ 17:38:48 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 17:38:48 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:38:48 | ^~~~~~ 17:38:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:38:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:38:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:38:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:38:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:38:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:38:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:38:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:38:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:38:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:38:49 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:38:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:38:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:38:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:38:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:38:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:38:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:38:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:38:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:38:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:38:51 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:38:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:38:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:38:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:38:52 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:38:52 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:38:52 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:38:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:38:52 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:38:52 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:38:52 | ^ 17:38:52 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 17:38:52 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 17:38:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:38:52 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 17:38:52 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 17:38:52 | ^~~~~~~~~~~~~~~~~~~~~ 17:38:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:38:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:38:52 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:38:52 [ 68%] Linking C shared library libcsdk.so 17:38:52 [ 68%] Built target csdk 17:38:52 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:38:53 [ 72%] Linking C executable template 17:38:53 [ 72%] Built target template 17:38:53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:38:53 [ 76%] Linking C executable device-counter 17:38:53 [ 76%] Built target device-counter 17:38:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:38:53 [ 80%] Linking C executable device-random 17:38:53 [ 80%] Built target device-random 17:38:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:38:53 [ 84%] Linking C executable device-gyro 17:38:53 [ 84%] Built target device-gyro 17:38:53 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:38:53 [ 88%] Linking C executable device-bitfields 17:38:53 [ 88%] Built target device-bitfields 17:38:53 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:38:54 [ 92%] Linking C executable template-discovery 17:38:54 [ 92%] Built target template-discovery 17:38:54 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:38:54 [ 96%] Linking C executable device-file 17:38:54 [ 96%] Built target device-file 17:38:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:38:54 [100%] Linking C executable device-terminal 17:38:54 [100%] Built target device-terminal 17:38:54 Run CPack packaging tool... 17:38:54 CPack: Create package using TGZ 17:38:54 CPack: Install projects 17:38:54 CPack: - Run preinstall target for: Csdk 17:38:54 CPack: - Install project: Csdk [] 17:38:54 CPack: Create package 17:38:54 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:38:54 + '[' false '=' true ] 17:38:54 + '[' false '=' true ] 17:38:54 + mkdir -p /tmp/sdk/build/debug 17:38:55 + cd /tmp/sdk/build/debug 17:38:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:38:55 -- The C compiler identification is GNU 12.2.1 17:38:55 -- Detecting C compiler ABI info 17:38:55 -- Detecting C compiler ABI info - done 17:38:55 -- Check for working C compiler: /usr/bin/cc - skipped 17:38:55 -- Detecting C compile features 17:38:55 -- Detecting C compile features - done 17:38:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:38:55 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:38:55 -- Found LIBYAML: /usr/lib/libyaml.so 17:38:55 -- Found LIBUUID: /usr/lib/libuuid.so 17:38:55 -- Found LIBCBOR: /usr/lib/libcbor.so 17:38:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:38:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:38:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:38:55 -- /opt/iotech/iot/1.5/include 17:38:55 -- C SDK 0.0.0 for Linux 17:38:55 -- Performing Test CSDK_HAVE_ATOMIC 17:38:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:38:55 -- Found Curses: /usr/lib/libcurses.so 17:38:55 -- Configuring done (0.4s) 17:38:55 -- Generating done (0.0s) 17:38:55 -- Build files have been written to: /tmp/sdk/build/debug 17:38:55 + make 17:38:55 + tee debug.log 17:38:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:38:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:38:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:38:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:38:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:38:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:38:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:38:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:38:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:38:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:38:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:38:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:38:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:38:56 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:38:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:38:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:38:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:38:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:38:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:38:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:38:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:38:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:38:57 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:38:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:38:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:38:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:38:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:38:57 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:38:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:38:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:38:57 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:38:57 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:38:57 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:38:57 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:38:57 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:38:57 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:38:57 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:38:57 | ^ 17:38:58 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:38:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:38:58 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:38:58 [ 68%] Linking C shared library libcsdk.so 17:38:58 [ 68%] Built target csdk 17:38:58 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:38:58 [ 72%] Linking C executable template 17:38:58 [ 72%] Built target template 17:38:58 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:38:58 [ 76%] Linking C executable device-counter 17:38:58 [ 76%] Built target device-counter 17:38:58 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:38:58 [ 80%] Linking C executable device-random 17:38:58 [ 80%] Built target device-random 17:38:58 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:38:58 [ 84%] Linking C executable device-gyro 17:38:58 [ 84%] Built target device-gyro 17:38:58 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:38:58 [ 88%] Linking C executable device-bitfields 17:38:58 [ 88%] Built target device-bitfields 17:38:58 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:38:59 [ 92%] Linking C executable template-discovery 17:38:59 [ 92%] Built target template-discovery 17:38:59 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:38:59 [ 96%] Linking C executable device-file 17:38:59 [ 96%] Built target device-file 17:38:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:38:59 [100%] Linking C executable device-terminal 17:38:59 [100%] Built target device-terminal 17:38:59 make: Entering directory '/tmp/sdk/build/release' 17:38:59 [ 68%] Built target csdk 17:38:59 [ 72%] Built target template 17:38:59 [ 76%] Built target device-counter 17:38:59 [ 80%] Built target device-random 17:38:59 [ 84%] Built target device-gyro 17:38:59 [ 88%] Built target device-bitfields 17:38:59 [ 92%] Built target template-discovery 17:38:59 [ 96%] Built target device-file 17:38:59 [100%] Built target device-terminal 17:38:59 Install the project... 17:38:59 -- Install configuration: "Release" 17:38:59 -- Installing: /usr/local/lib/libcsdk.so 17:38:59 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:38:59 -- Installing: /usr/local/include 17:38:59 -- Installing: /usr/local/include/devsdk 17:38:59 -- Installing: /usr/local/include/devsdk/devsdk.h 17:38:59 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:38:59 -- Installing: /usr/local/include/edgex 17:38:59 -- Installing: /usr/local/include/edgex/edgex.h 17:38:59 -- Installing: /usr/local/include/edgex/devices.h 17:38:59 -- Installing: /usr/local/include/edgex/profiles.h 17:38:59 -- Installing: /usr/local/include/edgex/edgex-base.h 17:38:59 -- Installing: /usr/local/include/edgex/rest-server.h 17:38:59 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:38:59 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:38:59 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:38:59 make: Leaving directory '/tmp/sdk/build/release' 17:39:00 Removing intermediate container d9525485497f 17:39:00 ---> 7be31284533c 17:39:00 Step 14/21 : FROM ${BASE} 17:39:00 ---> 6605166a5db4 17:39:00 Step 15/21 : LABEL maintainer="IOTech " 17:39:00 ---> Running in b2073556b743 17:39:00 Removing intermediate container b2073556b743 17:39:00 ---> d42a4ed6808c 17:39:00 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:39:00 ---> Running in 4c14902f19e0 17:39:00 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:39:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:39:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:39:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:39:01 Removing intermediate container 4c14902f19e0 17:39:01 ---> 3dc4815189fe 17:39:01 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:39:01 ---> Running in b32f090e9fd1 17:39:02 Removing intermediate container b32f090e9fd1 17:39:02 ---> 8ec650939600 17:39:02 Step 18/21 : 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 17:39:02 ---> Running in 826e5a453135 17:39:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:39:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:39:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:39:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:39:03 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 17:39:03 (2/9) Installing curl (8.5.0-r0) 17:39:03 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 17:39:03 (4/9) Installing hiredis (1.1.0-r2) 17:39:03 (5/9) Installing hiredis-dev (1.1.0-r2) 17:39:03 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) 17:39:03 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:39:04 (8/9) Installing libcbor (0.10.2-r1) 17:39:04 (9/9) Installing libuuid (2.38.1-r8) 17:39:04 Executing busybox-1.36.1-r4.trigger 17:39:04 OK: 331 MiB in 89 packages 17:39:04 Removing intermediate container 826e5a453135 17:39:04 ---> 382466b31fe2 17:39:04 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:39:04 ---> 530c1dcc865c 17:39:04 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 17:39:05 ---> 70647720c1ec 17:39:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:39:05 ---> 1038156d1f21 17:39:05 Successfully built 1038156d1f21 17:39:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:05 + docker inspect -f . ci-base-image-x86_64 17:39:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:05 prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container 17:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:39:06 $ docker top 75a698facc22aaeb4a2a96c10476573f29dafa26a1b86ae9a3dd38d4aef0ebc4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:06 + make test 17:39:06 echo "make test" 17:39:06 make test [Pipeline] } 17:39:06 $ docker stop --time=1 75a698facc22aaeb4a2a96c10476573f29dafa26a1b86ae9a3dd38d4aef0ebc4 17:39:07 $ docker rm -f --volumes 75a698facc22aaeb4a2a96c10476573f29dafa26a1b86ae9a3dd38d4aef0ebc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:39:08 + ls -al . 17:39:08 total 212 17:39:08 drwxrwxr-x 9 jenkins jenkins 4096 Jan 2 17:38 . 17:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:38 .. 17:39:08 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:38 .git 17:39:08 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:38 .github 17:39:08 -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:38 .gitignore 17:39:08 drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:38 .semver 17:39:08 -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:38 Attribution.txt 17:39:08 -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:38 CHANGELOG.md 17:39:08 -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:38 Doxyfile 17:39:08 -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:38 GOVERNANCE.md 17:39:08 -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:38 Jenkinsfile 17:39:08 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:38 LICENSE 17:39:08 -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:38 Makefile 17:39:08 -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:38 OWNERS.md 17:39:08 -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:38 README.IOT.md 17:39:08 -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:38 README.md 17:39:08 -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:38 README.v3.md 17:39:08 -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:38 VERSION 17:39:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:38 docs 17:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:38 include 17:39:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:38 scripts 17:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:09 + 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=f82302835794dd089678c2b993c2bca3dcefec8b --label arch=amd64 --label version=0.0.0 . 17:39:09 Sending build context to Docker daemon 4.968MB 17:39:09 Step 1/17 : ARG BASE=alpine:3.18 17:39:09 Step 2/17 : FROM ${BASE} 17:39:09 ---> 1038156d1f21 17:39:09 Step 3/17 : LABEL maintainer="IOTech " 17:39:09 ---> Running in 024d827b49e5 17:39:09 Removing intermediate container 024d827b49e5 17:39:09 ---> ecda0c188390 17:39:09 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:39:09 ---> Running in fad4887466de 17:39:09 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:39:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:39:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:39:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:39:10 Removing intermediate container fad4887466de 17:39:10 ---> 771ed280dfde 17:39:10 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:39:10 ---> Running in 6c4fd89b85e9 17:39:10 Removing intermediate container 6c4fd89b85e9 17:39:10 ---> 93aa5818560d 17:39:10 Step 6/17 : 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 && mkdir -p /edgex-c-sdk/build 17:39:10 ---> Running in 2650f7432e37 17:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:39:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:39:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:39:11 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:39:12 (2/11) Installing libcbor-dev (0.10.2-r1) 17:39:12 (3/11) Installing libmenuw (6.4_p20230506-r0) 17:39:12 (4/11) Installing libpanelw (6.4_p20230506-r0) 17:39:12 (5/11) Installing libncurses++ (6.4_p20230506-r0) 17:39:12 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 17:39:12 (7/11) Installing libblkid (2.38.1-r8) 17:39:12 (8/11) Installing libfdisk (2.38.1-r8) 17:39:12 (9/11) Installing libmount (2.38.1-r8) 17:39:12 (10/11) Installing libsmartcols (2.38.1-r8) 17:39:12 (11/11) Installing util-linux-dev (2.38.1-r8) 17:39:12 Executing busybox-1.36.1-r4.trigger 17:39:12 OK: 336 MiB in 100 packages 17:39:13 Removing intermediate container 2650f7432e37 17:39:13 ---> 5fd84a31773a 17:39:13 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:39:13 ---> bb1da239f15b 17:39:13 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:39:13 ---> 6ea7a3c2e10d 17:39:13 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:39:13 ---> 2df78faa52a5 17:39:13 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:39:13 ---> 92c63670413c 17:39:13 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:39:13 ---> b7812b75dbd7 17:39:13 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:39:13 ---> 0eedc3a38c8f 17:39:13 Step 13/17 : WORKDIR /edgex-c-sdk 17:39:13 ---> Running in 18e7ce0572a3 17:39:14 Removing intermediate container 18e7ce0572a3 17:39:14 ---> 3daaabf2a2ac 17:39:14 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:39:14 ---> Running in 6a98b354a584 17:39:14 Removing intermediate container 6a98b354a584 17:39:14 ---> cae0066bf980 17:39:14 Step 15/17 : LABEL arch=amd64 17:39:14 ---> Running in a9d8b4b6c017 17:39:14 Removing intermediate container a9d8b4b6c017 17:39:14 ---> b73e9a746372 17:39:14 Step 16/17 : LABEL git_sha=f82302835794dd089678c2b993c2bca3dcefec8b 17:39:14 ---> Running in fd21fe823b4a 17:39:14 Removing intermediate container fd21fe823b4a 17:39:14 ---> 1c295dd9601b 17:39:14 Step 17/17 : LABEL version=0.0.0 17:39:14 ---> Running in 503bd0d6ed92 17:39:14 Removing intermediate container 503bd0d6ed92 17:39:14 ---> 26cbe8c4bc91 17:39:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:39:14 Successfully built 26cbe8c4bc91 17:39:14 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:15 17:39:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:15 latest: Pulling from edgex-lftools-log-publisher 17:39:15 5eb5b503b376: Pulling fs layer 17:39:15 5c69ac0246d0: Pulling fs layer 17:39:15 ec43610c2a17: Pulling fs layer 17:39:15 3a2ae6a8a46f: Pulling fs layer 17:39:15 33b1e0a273af: Pulling fs layer 17:39:15 5d3b04190fa2: Pulling fs layer 17:39:15 2f39f015ded8: Pulling fs layer 17:39:15 3a2ae6a8a46f: Waiting 17:39:15 33b1e0a273af: Waiting 17:39:15 5d3b04190fa2: Waiting 17:39:15 5c69ac0246d0: Download complete 17:39:15 3a2ae6a8a46f: Download complete 17:39:15 33b1e0a273af: Verifying Checksum 17:39:15 33b1e0a273af: Download complete 17:39:15 5d3b04190fa2: Verifying Checksum 17:39:15 5d3b04190fa2: Download complete 17:39:15 ec43610c2a17: Verifying Checksum 17:39:15 ec43610c2a17: Download complete 17:39:15 5eb5b503b376: Verifying Checksum 17:39:15 5eb5b503b376: Download complete 17:39:16 2f39f015ded8: Download complete 17:39:16 5eb5b503b376: Pull complete 17:39:17 5c69ac0246d0: Pull complete 17:39:17 ec43610c2a17: Pull complete 17:39:17 3a2ae6a8a46f: Pull complete 17:39:17 33b1e0a273af: Pull complete 17:39:17 5d3b04190fa2: Pull complete 17:39:22 2f39f015ded8: Pull complete 17:39:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:22 prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container 17:39:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@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 17:39:26 $ docker top 73509be984005dc7a28193711180eb8bb54dff184ca8a6b99e6ff39c9e323d67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:27 ---> job-cost.sh 17:39:27 lf-activate-venv: SKIPPING 17:39:27 INFO: No Stack... 17:39:27 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:28 INFO: Archiving Costs [Pipeline] sh 17:39:28 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/cost.csv 17:39:28 + cut -d, -f6 [Pipeline] lock 17:39:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] 17:39:28 Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] did not exist. Created. 17:39:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:28 + echo total: 0.2199999988079071 [Pipeline] stash 17:39:28 Stashed 1 file(s) [Pipeline] } 17:39:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:28 $ docker stop --time=1 73509be984005dc7a28193711180eb8bb54dff184ca8a6b99e6ff39c9e323d67 17:39:30 $ docker rm -f --volumes 73509be984005dc7a28193711180eb8bb54dff184ca8a6b99e6ff39c9e323d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:40:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26652 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [Pipeline] { [Pipeline] ws 17:40:21 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 17:40:24 Selected Git installation does not exist. Using Default 17:40:24 The recommended git tool is: NONE 17:40:29 using credential edgex-jenkins-ssh 17:40:30 Cloning the remote Git repository 17:40:30 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:40:30 > git init /w/workspace/device-sdk-c/2 # timeout=10 17:40:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:40:30 > git --version # timeout=10 17:40:30 > git --version # 'git version 2.25.1' 17:40:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:40:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:40:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:40:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:40:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:40:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:40:36 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit f82302835794dd089678c2b993c2bca3dcefec8b 17:40:37 Merge succeeded, producing f82302835794dd089678c2b993c2bca3dcefec8b 17:40:37 Checking out Revision f82302835794dd089678c2b993c2bca3dcefec8b (PR-506) 17:40:36 > git config core.sparsecheckout # timeout=10 17:40:37 > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 17:40:37 > git remote # timeout=10 17:40:37 > git config --get remote.origin.url # timeout=10 17:40:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:37 > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 17:40:37 > git rev-parse HEAD^{commit} # timeout=10 17:40:37 > git config core.sparsecheckout # timeout=10 17:40:37 > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 17:40:41 Commit message: "When reading's value is string type, it will be released prematurely" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:40:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:40:42 % Total % Received % Xferd Average Speed Time Time Time Current 17:40:42 Dload Upload Total Spent Left Speed 17:40:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 94641 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] sh 17:40:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:40:43 + + sudo tee /etc/docker/daemon.new 17:40:43 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:40:43 { 17:40:43 "registry-mirrors": [ 17:40:43 "https://nexus3.edgexfoundry.org:10001" 17:40:43 ], 17:40:43 "bip": "10.250.0.254/24", 17:40:43 "hosts": [ 17:40:43 "tcp://0.0.0.0:5555", 17:40:43 "unix:///var/run/docker.sock" 17:40:43 ], 17:40:43 "mtu": 1458, 17:40:43 "selinux-enabled": true, 17:40:43 "seccomp-profile": "/etc/docker/seccomp.json" 17:40:43 } [Pipeline] sh 17:40:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:40:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:02 provisioning config files... 17:41:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config17699990015549039502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:02 ---> ****-login.sh 17:41:02 nexus3.edgexfoundry.org:10001 17:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:03 Configure a credential helper to remove this warning. See 17:41:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:03 17:41:03 Login Succeeded 17:41:03 nexus3.edgexfoundry.org:10002 17:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:03 Configure a credential helper to remove this warning. See 17:41:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:03 17:41:03 Login Succeeded 17:41:03 nexus3.edgexfoundry.org:10003 17:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:03 Configure a credential helper to remove this warning. See 17:41:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:03 17:41:03 Login Succeeded 17:41:03 nexus3.edgexfoundry.org:10004 17:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:03 Configure a credential helper to remove this warning. See 17:41:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:03 17:41:03 Login Succeeded 17:41:03 ****.io 17:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:04 Configure a credential helper to remove this warning. See 17:41:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:04 17:41:04 Login Succeeded 17:41:04 ---> ****-login.sh ends [Pipeline] } 17:41:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:41:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:41:04 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 17:41:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:41:04 ========================================================= 17:41:04 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:41:04 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:05 + 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 . 17:41:06 #0 building with "default" instance using docker driver 17:41:06 17:41:06 #1 [internal] load build definition from Dockerfile.alpine-base 17:41:06 #1 transferring dockerfile: 2.04kB 0.0s done 17:41:06 #1 DONE 0.1s 17:41:06 17:41:06 #2 [internal] load .dockerignore 17:41:06 #2 transferring context: 2B done 17:41:06 #2 DONE 0.1s 17:41:06 17:41:06 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:41:06 #3 DONE 0.1s 17:41:06 17:41:06 #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 17:41:06 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done 17:41:06 #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done 17:41:06 #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s 17:41:06 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s 17:41:06 #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done 17:41:06 #4 ... 17:41:06 17:41:06 #5 [internal] load build context 17:41:06 #5 transferring context: 627.87kB 0.2s done 17:41:06 #5 DONE 0.2s 17:41:06 17:41:06 #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 17:41:06 #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done 17:41:06 #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 17:41:06 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 6.29MB / 109.51MB 0.3s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 14.93MB / 109.51MB 0.5s 17:41:07 #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 27.26MB / 109.51MB 0.7s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 33.23MB / 109.51MB 0.8s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 39.85MB / 109.51MB 0.9s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 53.48MB / 109.51MB 1.1s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 59.77MB / 109.51MB 1.2s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 73.40MB / 109.51MB 1.4s 17:41:07 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 80.74MB / 109.51MB 1.5s 17:41:08 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 87.03MB / 109.51MB 1.6s 17:41:08 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 94.37MB / 109.51MB 1.7s 17:41:08 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 100.66MB / 109.51MB 1.8s 17:41:08 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s 17:41:08 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done 17:41:08 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17:41:14 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s 17:41:20 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.8s 17:41:21 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.0s done 17:41:22 #4 DONE 15.5s 17:41:22 17:41:22 #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:41:22 #6 0.735 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:41:23 #6 1.241 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:41:23 #6 1.241 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:41:23 #6 1.241 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:41:24 #6 DONE 2.0s 17:41:24 17:41:24 #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:41:24 #7 DONE 0.7s 17:41:24 17:41:24 #8 [stage-1 4/7] 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 17:41:25 #8 0.916 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:41:25 #8 1.313 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:41:26 #8 1.886 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 17:41:27 #8 2.792 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:41:27 #8 2.822 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 17:41:27 #8 2.856 (2/9) Installing curl (8.5.0-r0) 17:41:27 #8 2.871 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 17:41:27 #8 2.890 (4/9) Installing hiredis (1.1.0-r2) 17:41:27 #8 2.896 (5/9) Installing hiredis-dev (1.1.0-r2) 17:41:27 #8 2.920 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) 17:41:28 #8 3.677 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:41:28 #8 3.896 (8/9) Installing libcbor (0.10.2-r1) 17:41:28 #8 3.904 (9/9) Installing libuuid (2.38.1-r8) 17:41:28 #8 3.911 Executing busybox-1.36.1-r4.trigger 17:41:28 #8 3.955 OK: 327 MiB in 89 packages 17:41:29 #8 DONE 4.3s 17:41:29 17:41:29 #9 [builder 4/12] 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 17:41:29 #9 0.937 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:41:29 #9 1.320 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:41:29 #9 1.893 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 17:41:29 #9 2.816 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:41:29 #9 2.849 (1/17) Installing hiredis (1.1.0-r2) 17:41:29 #9 2.879 (2/17) Installing hiredis-dev (1.1.0-r2) 17:41:29 #9 2.911 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 17:41:29 #9 3.708 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:41:29 #9 3.830 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:41:29 #9 4.080 (6/17) Installing libcbor (0.10.2-r1) 17:41:29 #9 4.086 (7/17) Installing libcbor-dev (0.10.2-r1) 17:41:29 #9 4.108 (8/17) Installing libmenuw (6.4_p20230506-r0) 17:41:29 #9 4.115 (9/17) Installing libpanelw (6.4_p20230506-r0) 17:41:29 #9 4.128 (10/17) Installing libncurses++ (6.4_p20230506-r0) 17:41:29 #9 4.136 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 17:41:29 #9 4.183 (12/17) Installing libblkid (2.38.1-r8) 17:41:29 #9 4.213 (13/17) Installing libuuid (2.38.1-r8) 17:41:29 #9 4.220 (14/17) Installing libfdisk (2.38.1-r8) 17:41:29 #9 4.236 (15/17) Installing libmount (2.38.1-r8) 17:41:29 #9 4.251 (16/17) Installing libsmartcols (2.38.1-r8) 17:41:29 #9 4.261 (17/17) Installing util-linux-dev (2.38.1-r8) 17:41:29 #9 4.347 Executing busybox-1.36.1-r4.trigger 17:41:29 #9 4.394 OK: 333 MiB in 99 packages 17:41:29 #9 DONE 4.7s 17:41:29 17:41:29 #10 [builder 5/12] RUN mkdir /tmp/sdk 17:41:32 #10 DONE 3.1s 17:41:32 17:41:32 #11 [builder 6/12] COPY VERSION /tmp/sdk 17:41:32 #11 DONE 0.1s 17:41:32 17:41:32 #12 [builder 7/12] COPY src /tmp/sdk/src 17:41:32 #12 DONE 0.2s 17:41:32 17:41:32 #13 [builder 8/12] COPY include /tmp/sdk/include 17:41:32 #13 DONE 0.1s 17:41:33 17:41:33 #14 [builder 9/12] COPY scripts /tmp/sdk/scripts 17:41:33 #14 DONE 0.1s 17:41:33 17:41:33 #15 [builder 10/12] COPY LICENSE /tmp/sdk 17:41:33 #15 DONE 0.1s 17:41:33 17:41:33 #16 [builder 11/12] COPY Attribution.txt /tmp/sdk 17:41:33 #16 DONE 0.1s 17:41:33 17:41:33 #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:41:33 #17 0.552 + CPPCHECK=false 17:41:33 #17 0.552 + DOCGEN=false 17:41:33 #17 0.552 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:41:33 #17 0.552 + '[' 0 -gt 0 ] 17:41:33 #17 0.554 + readlink -f ./scripts/build.sh 17:41:33 #17 0.557 + dirname /tmp/sdk/scripts/build.sh 17:41:33 #17 0.559 + dirname /tmp/sdk/scripts 17:41:33 #17 0.560 + ROOT=/tmp/sdk 17:41:33 #17 0.560 + cd /tmp/sdk 17:41:33 #17 0.560 + mkdir -p /tmp/sdk/build/release 17:41:33 #17 0.564 + cd /tmp/sdk/build/release 17:41:33 #17 0.564 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:41:34 #17 0.872 -- The C compiler identification is GNU 12.2.1 17:41:34 #17 0.933 -- Detecting C compiler ABI info 17:41:34 #17 1.250 -- Detecting C compiler ABI info - done 17:41:34 #17 1.332 -- Check for working C compiler: /usr/bin/cc - skipped 17:41:34 #17 1.334 -- Detecting C compile features 17:41:34 #17 1.337 -- Detecting C compile features - done 17:41:34 #17 1.360 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:41:34 #17 1.538 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:41:34 #17 1.554 -- Found LIBYAML: /usr/lib/libyaml.so 17:41:34 #17 1.569 -- Found LIBUUID: /usr/lib/libuuid.so 17:41:34 #17 1.584 -- Found LIBCBOR: /usr/lib/libcbor.so 17:41:34 #17 1.599 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:41:34 #17 1.614 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:41:34 #17 1.629 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:41:34 #17 1.629 -- /opt/iotech/iot/1.5/include 17:41:34 #17 1.630 -- C SDK 0.0.0 for Linux 17:41:34 #17 1.641 -- Performing Test CSDK_HAVE_ATOMIC 17:41:35 #17 1.941 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:41:35 #17 2.096 -- Found Curses: /usr/lib/libcurses.so 17:41:35 #17 2.201 -- Configuring done (1.6s) 17:41:35 #17 2.451 -- Generating done (0.2s) 17:41:35 #17 2.469 -- Build files have been written to: /tmp/sdk/build/release 17:41:35 #17 2.491 + make all package 17:41:35 #17 2.491 + tee release.log 17:41:35 #17 2.607 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:41:36 #17 3.254 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:41:37 #17 4.033 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:41:37 #17 4.710 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:41:38 #17 5.442 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:41:39 #17 5.998 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:41:41 #17 7.925 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:41:42 #17 8.721 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 17:41:42 #17 8.722 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 17:41:42 #17 8.722 294 | while (privateConfig) 17:41:42 #17 8.722 | ^~~~~~~~~~~~~ 17:41:42 #17 8.722 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 17:41:42 #17 8.722 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:41:42 #17 8.722 | ^~~~~~~~~~~~~ 17:41:42 #17 8.722 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 17:41:42 #17 8.722 271 | while (result) 17:41:42 #17 8.722 | ^~~~~~ 17:41:42 #17 8.722 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 17:41:42 #17 8.722 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:41:42 #17 8.722 | ^~~~~~ 17:41:42 #17 9.028 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:41:42 #17 9.241 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:41:43 #17 10.07 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:41:45 #17 11.84 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:41:45 #17 12.41 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:41:46 #17 13.21 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:41:47 #17 13.92 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:41:47 #17 14.38 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:41:48 #17 15.32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:41:48 #17 15.61 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:41:50 #17 17.55 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:41:51 #17 17.89 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:41:51 #17 18.45 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:41:53 #17 19.88 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:41:59 #17 26.31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:42:00 #17 26.92 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:42:00 #17 27.32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:42:01 #17 27.82 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:42:01 #17 28.13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:42:02 #17 29.50 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:42:04 #17 31.51 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:42:05 #17 31.93 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:42:06 #17 32.77 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:42:06 #17 33.33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:42:06 #17 33.60 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:42:06 #17 33.60 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:42:06 #17 33.60 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:42:06 #17 33.60 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:42:06 #17 33.60 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:42:06 #17 33.60 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:42:06 #17 33.60 | ^ 17:42:08 #17 34.99 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 17:42:08 #17 34.99 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 17:42:08 #17 34.99 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:42:08 #17 34.99 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 17:42:08 #17 34.99 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 17:42:08 #17 34.99 | ^~~~~~~~~~~~~~~~~~~~~ 17:42:09 #17 35.98 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:42:09 #17 36.72 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:42:10 #17 37.06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:42:10 #17 37.55 [ 68%] Linking C shared library libcsdk.so 17:42:11 #17 37.76 [ 68%] Built target csdk 17:42:11 #17 37.81 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:42:12 #17 38.62 [ 72%] Linking C executable template 17:42:12 #17 38.93 [ 72%] Built target template 17:42:12 #17 38.98 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:42:12 #17 39.50 [ 76%] Linking C executable device-counter 17:42:13 #17 39.82 [ 76%] Built target device-counter 17:42:13 #17 39.87 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:42:13 #17 40.38 [ 80%] Linking C executable device-random 17:42:13 #17 40.70 [ 80%] Built target device-random 17:42:13 #17 40.76 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:42:14 #17 41.22 [ 84%] Linking C executable device-gyro 17:42:14 #17 41.54 [ 84%] Built target device-gyro 17:42:14 #17 41.60 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:42:15 #17 42.09 [ 88%] Linking C executable device-bitfields 17:42:15 #17 42.39 [ 88%] Built target device-bitfields 17:42:15 #17 42.44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:42:16 #17 43.25 [ 92%] Linking C executable template-discovery 17:42:16 #17 43.56 [ 92%] Built target template-discovery 17:42:16 #17 43.62 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:42:17 #17 44.34 [ 96%] Linking C executable device-file 17:42:17 #17 44.64 [ 96%] Built target device-file 17:42:18 #17 44.70 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:42:18 #17 45.33 [100%] Linking C executable device-terminal 17:42:18 #17 45.64 [100%] Built target device-terminal 17:42:19 #17 45.69 Run CPack packaging tool... 17:42:19 #17 45.74 CPack: Create package using TGZ 17:42:19 #17 45.74 CPack: Install projects 17:42:19 #17 45.74 CPack: - Run preinstall target for: Csdk 17:42:19 #17 46.48 CPack: - Install project: Csdk [] 17:42:19 #17 46.52 CPack: Create package 17:42:19 #17 46.61 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:42:19 #17 46.61 + '[' false '=' true ] 17:42:19 #17 46.61 + '[' false '=' true ] 17:42:19 #17 46.61 + mkdir -p /tmp/sdk/build/debug 17:42:19 #17 46.62 + cd /tmp/sdk/build/debug 17:42:19 #17 46.62 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:42:20 #17 46.91 -- The C compiler identification is GNU 12.2.1 17:42:20 #17 46.97 -- Detecting C compiler ABI info 17:42:20 #17 47.31 -- Detecting C compiler ABI info - done 17:42:20 #17 47.39 -- Check for working C compiler: /usr/bin/cc - skipped 17:42:20 #17 47.39 -- Detecting C compile features 17:42:20 #17 47.39 -- Detecting C compile features - done 17:42:20 #17 47.42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:42:20 #17 47.60 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:42:20 #17 47.61 -- Found LIBYAML: /usr/lib/libyaml.so 17:42:20 #17 47.63 -- Found LIBUUID: /usr/lib/libuuid.so 17:42:20 #17 47.64 -- Found LIBCBOR: /usr/lib/libcbor.so 17:42:20 #17 47.66 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:42:20 #17 47.67 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:42:21 #17 47.69 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:42:21 #17 47.69 -- /opt/iotech/iot/1.5/include 17:42:21 #17 47.69 -- C SDK 0.0.0 for Linux 17:42:21 #17 47.70 -- Performing Test CSDK_HAVE_ATOMIC 17:42:21 #17 48.01 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:42:21 #17 48.17 -- Found Curses: /usr/lib/libcurses.so 17:42:21 #17 48.27 -- Configuring done (1.6s) 17:42:21 #17 48.52 -- Generating done (0.2s) 17:42:21 #17 48.54 -- Build files have been written to: /tmp/sdk/build/debug 17:42:21 #17 48.56 + make 17:42:21 #17 48.56 + tee debug.log 17:42:21 #17 48.68 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:42:22 #17 49.06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:42:22 #17 49.44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:42:22 #17 49.78 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:42:23 #17 50.14 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:42:23 #17 50.49 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:42:24 #17 51.13 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:42:24 #17 51.56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:42:24 #17 51.72 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:42:25 #17 52.14 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:42:26 #17 52.74 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:42:26 #17 53.06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:42:26 #17 53.46 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:42:26 #17 53.82 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:42:27 #17 54.15 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:42:27 #17 54.49 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:42:28 #17 54.72 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:42:28 #17 55.44 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:42:29 #17 55.68 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:42:29 #17 55.89 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:42:29 #17 56.50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:42:30 #17 57.60 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:42:31 #17 57.94 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:42:31 #17 58.21 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:42:31 #17 58.51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:42:31 #17 58.76 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:42:32 #17 59.25 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:42:33 #17 60.52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:42:34 #17 60.77 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:42:34 #17 61.15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:42:34 #17 61.50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:42:34 #17 61.76 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:42:34 #17 61.76 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:42:34 #17 61.76 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:42:34 #17 61.76 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:42:34 #17 61.76 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:42:34 #17 61.76 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:42:34 #17 61.76 | ^ 17:42:35 #17 62.28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:42:35 #17 62.63 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:42:36 #17 62.91 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:42:36 #17 63.19 [ 68%] Linking C shared library libcsdk.so 17:42:36 #17 63.43 [ 68%] Built target csdk 17:42:36 #17 63.48 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:42:37 #17 63.82 [ 72%] Linking C executable template 17:42:37 #17 64.13 [ 72%] Built target template 17:42:37 #17 64.18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:42:37 #17 64.47 [ 76%] Linking C executable device-counter 17:42:38 #17 64.78 [ 76%] Built target device-counter 17:42:38 #17 64.83 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:42:38 #17 65.12 [ 80%] Linking C executable device-random 17:42:38 #17 65.43 [ 80%] Built target device-random 17:42:38 #17 65.48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:42:39 #17 65.76 [ 84%] Linking C executable device-gyro 17:42:39 #17 66.05 [ 84%] Built target device-gyro 17:42:39 #17 66.11 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:42:39 #17 66.39 [ 88%] Linking C executable device-bitfields 17:42:39 #17 66.70 [ 88%] Built target device-bitfields 17:42:39 #17 66.75 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:42:40 #17 67.11 [ 92%] Linking C executable template-discovery 17:42:40 #17 67.41 [ 92%] Built target template-discovery 17:42:40 #17 67.47 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:42:41 #17 67.79 [ 96%] Linking C executable device-file 17:42:41 #17 68.11 [ 96%] Built target device-file 17:42:41 #17 68.17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:42:41 #17 68.56 [100%] Linking C executable device-terminal 17:42:42 #17 68.91 [100%] Built target device-terminal 17:42:42 #17 69.45 make: Entering directory '/tmp/sdk/build/release' 17:42:42 #17 69.62 [ 68%] Built target csdk 17:42:42 #17 69.68 [ 72%] Built target template 17:42:43 #17 69.74 [ 76%] Built target device-counter 17:42:43 #17 69.79 [ 80%] Built target device-random 17:42:43 #17 69.85 [ 84%] Built target device-gyro 17:42:43 #17 69.91 [ 88%] Built target device-bitfields 17:42:43 #17 69.96 [ 92%] Built target template-discovery 17:42:43 #17 70.02 [ 96%] Built target device-file 17:42:43 #17 70.07 [100%] Built target device-terminal 17:42:43 #17 70.12 Install the project... 17:42:43 #17 70.15 -- Install configuration: "Release" 17:42:43 #17 70.15 -- Installing: /usr/local/lib/libcsdk.so 17:42:43 #17 70.16 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:42:43 #17 70.16 -- Installing: /usr/local/include 17:42:43 #17 70.16 -- Installing: /usr/local/include/devsdk 17:42:43 #17 70.16 -- Installing: /usr/local/include/devsdk/devsdk.h 17:42:43 #17 70.16 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:42:43 #17 70.17 -- Installing: /usr/local/include/edgex 17:42:43 #17 70.17 -- Installing: /usr/local/include/edgex/rest-server.h 17:42:43 #17 70.17 -- Installing: /usr/local/include/edgex/edgex.h 17:42:43 #17 70.17 -- Installing: /usr/local/include/edgex/edgex-base.h 17:42:43 #17 70.17 -- Installing: /usr/local/include/edgex/devices.h 17:42:43 #17 70.17 -- Installing: /usr/local/include/edgex/profiles.h 17:42:43 #17 70.18 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:42:43 #17 70.18 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:42:43 #17 70.18 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:42:43 #17 70.19 make: Leaving directory '/tmp/sdk/build/release' 17:42:43 #17 DONE 70.3s 17:42:43 17:42:43 #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:42:43 #18 DONE 0.1s 17:42:43 17:42:43 #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib 17:42:43 #19 DONE 0.1s 17:42:43 17:42:43 #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:42:43 #20 DONE 0.1s 17:42:43 17:42:43 #21 exporting to image 17:42:43 #21 exporting layers 17:42:44 #21 exporting layers 0.2s done 17:42:44 #21 writing image sha256:532fce95aef27f86a0c2aa304512f2e420bbdb3e519ca65fa5e548ba01425b4b done 17:42:44 #21 naming to docker.io/library/ci-base-image-arm64 0.0s done 17:42:44 #21 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:44 + docker inspect -f . ci-base-image-arm64 17:42:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:45 prd-ubuntu20.04-docker-arm64-4c-16g-26652 does not seem to be running inside a container 17:42:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:42:46 $ docker top 1429bb36720b5d4115149bb5247381b9875c35368db3e747e2cc352d211fe099 -eo pid,comm [Pipeline] { [Pipeline] sh 17:42:46 + make test 17:42:46 echo "make test" 17:42:46 make test [Pipeline] } 17:42:46 $ docker stop --time=1 1429bb36720b5d4115149bb5247381b9875c35368db3e747e2cc352d211fe099 17:42:48 $ docker rm -f --volumes 1429bb36720b5d4115149bb5247381b9875c35368db3e747e2cc352d211fe099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:42:49 + ls -al . 17:42:49 total 208 17:42:49 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:40 . 17:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:40 .. 17:42:49 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:40 .git 17:42:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:40 .github 17:42:49 -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:40 .gitignore 17:42:49 -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:40 Attribution.txt 17:42:49 -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:40 CHANGELOG.md 17:42:49 -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:40 Doxyfile 17:42:49 -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:40 GOVERNANCE.md 17:42:49 -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:40 Jenkinsfile 17:42:49 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:40 LICENSE 17:42:49 -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:40 Makefile 17:42:49 -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:40 OWNERS.md 17:42:49 -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:40 README.IOT.md 17:42:49 -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:40 README.md 17:42:49 -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:40 README.v3.md 17:42:49 -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:38 VERSION 17:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:40 docs 17:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:40 include 17:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:40 scripts 17:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:49 + 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=f82302835794dd089678c2b993c2bca3dcefec8b --label arch=arm64 --label version=0.0.0 . 17:42:50 #0 building with "default" instance using docker driver 17:42:50 17:42:50 #1 [internal] load .dockerignore 17:42:50 #1 transferring context: 2B done 17:42:50 #1 DONE 0.0s 17:42:50 17:42:50 #2 [internal] load build definition from Dockerfile.alpine 17:42:50 #2 transferring dockerfile: 1.44kB done 17:42:50 #2 DONE 0.0s 17:42:50 17:42:50 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 17:42:50 #3 DONE 0.0s 17:42:50 17:42:50 #4 [internal] load build context 17:42:50 #4 transferring context: 8.55kB 0.1s done 17:42:50 #4 DONE 0.1s 17:42:50 17:42:50 #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 17:42:50 #5 DONE 0.2s 17:42:50 17:42:50 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:42:51 #6 0.613 Connecting to iotech.jfrog.io (54.73.4.50:443) 17:42:51 #6 1.117 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:42:51 #6 1.117 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:42:51 #6 1.118 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:42:51 #6 DONE 1.2s 17:42:51 17:42:51 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:42:52 #7 DONE 0.8s 17:42:52 17:42:52 #8 [ 4/11] 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 && mkdir -p /edgex-c-sdk/build 17:42:53 #8 0.739 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:53 #8 1.269 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:54 #8 1.824 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:55 #8 2.768 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:42:55 #8 2.808 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:42:55 #8 3.126 (2/11) Installing libcbor-dev (0.10.2-r1) 17:42:55 #8 3.145 (3/11) Installing libmenuw (6.4_p20230506-r0) 17:42:55 #8 3.151 (4/11) Installing libpanelw (6.4_p20230506-r0) 17:42:55 #8 3.162 (5/11) Installing libncurses++ (6.4_p20230506-r0) 17:42:55 #8 3.171 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 17:42:55 #8 3.197 (7/11) Installing libblkid (2.38.1-r8) 17:42:55 #8 3.211 (8/11) Installing libfdisk (2.38.1-r8) 17:42:55 #8 3.243 (9/11) Installing libmount (2.38.1-r8) 17:42:55 #8 3.261 (10/11) Installing libsmartcols (2.38.1-r8) 17:42:55 #8 3.274 (11/11) Installing util-linux-dev (2.38.1-r8) 17:42:55 #8 3.348 Executing busybox-1.36.1-r4.trigger 17:42:55 #8 3.392 OK: 333 MiB in 100 packages 17:42:57 #8 DONE 5.2s 17:42:57 17:42:57 #9 [ 5/11] COPY VERSION /edgex-c-sdk/ 17:42:57 #9 DONE 0.1s 17:42:57 17:42:57 #10 [ 6/11] COPY src /edgex-c-sdk/src/ 17:42:58 #10 DONE 0.2s 17:42:58 17:42:58 #11 [ 7/11] COPY include /edgex-c-sdk/include/ 17:42:58 #11 DONE 0.1s 17:42:58 17:42:58 #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts 17:42:58 #12 DONE 0.1s 17:42:58 17:42:58 #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ 17:42:58 #13 DONE 0.1s 17:42:58 17:42:58 #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ 17:42:58 #14 DONE 0.1s 17:42:58 17:42:58 #15 [11/11] WORKDIR /edgex-c-sdk 17:42:58 #15 DONE 0.1s 17:42:58 17:42:58 #16 exporting to image 17:42:58 #16 exporting layers 17:42:58 #16 exporting layers 0.3s done 17:42:58 #16 writing image sha256:4b8d8ff5be83234d7f4fdd5c730e84240c8c747880444582964e569b108fe348 done 17:42:58 #16 naming to docker.io/library/device-sdk-arm64 done 17:42:58 #16 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:59 17:42:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:59 arm64: Pulling from edgex-lftools-log-publisher 17:42:59 8998bd30e6a1: Pulling fs layer 17:42:59 04944245beec: Pulling fs layer 17:42:59 699f458cf7ca: Pulling fs layer 17:42:59 765212b225bb: Pulling fs layer 17:42:59 f23df028b6ca: Pulling fs layer 17:42:59 d65c8cfc05b1: Pulling fs layer 17:42:59 2437ff75d9bd: Pulling fs layer 17:42:59 765212b225bb: Waiting 17:42:59 d65c8cfc05b1: Waiting 17:42:59 2437ff75d9bd: Waiting 17:43:00 04944245beec: Verifying Checksum 17:43:00 04944245beec: Download complete 17:43:00 765212b225bb: Verifying Checksum 17:43:00 765212b225bb: Download complete 17:43:00 f23df028b6ca: Verifying Checksum 17:43:00 f23df028b6ca: Download complete 17:43:00 d65c8cfc05b1: Verifying Checksum 17:43:00 d65c8cfc05b1: Download complete 17:43:00 699f458cf7ca: Verifying Checksum 17:43:00 699f458cf7ca: Download complete 17:43:00 8998bd30e6a1: Verifying Checksum 17:43:00 8998bd30e6a1: Download complete 17:43:02 2437ff75d9bd: Verifying Checksum 17:43:02 2437ff75d9bd: Download complete 17:43:06 8998bd30e6a1: Pull complete 17:43:07 04944245beec: Pull complete 17:43:09 699f458cf7ca: Pull complete 17:43:09 765212b225bb: Pull complete 17:43:11 f23df028b6ca: Pull complete 17:43:11 d65c8cfc05b1: Pull complete 17:43:33 2437ff75d9bd: Pull complete 17:43:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:34 prd-ubuntu20.04-docker-arm64-4c-16g-26652 does not seem to be running inside a container 17:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:43:35 $ docker top bfbd409d706d665eed3624b7ffb2980ac253a131c3179907b03a1981fbf53ade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:35 ---> job-cost.sh 17:43:36 lf-activate-venv: SKIPPING 17:43:36 INFO: No Stack... 17:43:36 INFO: Retrieving Pricing Info for: v3-standard-8 17:43:37 INFO: Archiving Costs [Pipeline] sh 17:43:37 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 17:43:37 + cut -d, -f6 [Pipeline] lock 17:43:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] 17:43:37 Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] did not exist. Created. 17:43:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:43:38 /w/workspace/device-sdk-c/2@tmp/durable-f3b9c1c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:43:38 + echo total: 0.2199999988079071 [Pipeline] stash 17:43:38 Warning: overwriting stash ‘stack-cost’ 17:43:38 Stashed 1 file(s) [Pipeline] } 17:43:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:43:38 $ docker stop --time=1 bfbd409d706d665eed3624b7ffb2980ac253a131c3179907b03a1981fbf53ade 17:43:42 $ docker rm -f --volumes bfbd409d706d665eed3624b7ffb2980ac253a131c3179907b03a1981fbf53ade [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] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:43:44 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives ] 17:43:44 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives 17:43:44 total 16 17:43:44 drwxr-xr-x 3 root root 4096 Jan 2 17:39 . 17:43:44 drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:39 .. 17:43:44 drwxr-xr-x 2 root root 4096 Jan 2 17:39 cost 17:43:44 -rw-r--r-- 1 root root 84 Jan 2 17:39 cost.csv 17:43:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives 17:43:44 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives 17:43:44 total 16 17:43:44 drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:39 . 17:43:44 drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:39 .. 17:43:44 drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 17:39 cost 17:43:44 -rw-r--r-- 1 jenkins jenkins 84 Jan 2 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:43:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:43:45 ---> package-listing.sh 17:43:45 ++ facter osfamily 17:43:45 ++ tr '[:upper:]' '[:lower:]' 17:43:45 + OS_FAMILY=debian 17:43:45 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-506 17:43:45 + START_PACKAGES=/tmp/packages_start.txt 17:43:45 + END_PACKAGES=/tmp/packages_end.txt 17:43:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:43:45 + PACKAGES=/tmp/packages_start.txt 17:43:45 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' 17:43:45 + PACKAGES=/tmp/packages_end.txt 17:43:45 + case "${OS_FAMILY}" in 17:43:45 + dpkg -l 17:43:45 + grep '^ii' 17:43:45 + '[' -f /tmp/packages_start.txt ']' 17:43:45 + '[' -f /tmp/packages_end.txt ']' 17:43:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:43:45 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' 17:43:45 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ 17:43:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [Pipeline] echo 17:43:45 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-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:43:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:43:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:46 prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container 17:43:46 $ 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-506/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-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:43:47 $ docker top b8ea29c6b3d2439ef90082ef783e306afa3873394902d05c61c0b61d3516dde0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:47 + touch /tmp/pre-build-complete [Pipeline] sh 17:43:47 + mkdir -p /var/log/sysstat [Pipeline] sh 17:43:48 + ls /var/log/sa-host 17:43:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:48 provisioning config files... 17:43:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config9858004445008889190tmp [Pipeline] { [Pipeline] echo 17:43:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:43:48 ---> create-netrc.sh [Pipeline] } 17:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:43:49 ---> python-tools-install.sh [Pipeline] echo 17:43:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:43:49 ---> sudo-logs.sh 17:43:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:43:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:43:49 ---> job-cost.sh 17:43:49 lf-activate-venv: SKIPPING 17:43:49 DEBUG: total: 0.2199999988079071 17:43:49 INFO: Retrieving Stack Cost... 17:43:50 INFO: Retrieving Pricing Info for: v3-standard-8 17:43:50 INFO: Archiving Costs [Pipeline] echo 17:43:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:43:50 ---> logs-deploy.sh 17:43:50 lf-activate-venv: SKIPPING 17:43:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-506/2 17:43:50 INFO: archiving workspace using pattern(s): 17:43:51 Archives upload complete. 17:43:51 INFO: archiving logs to Nexus