Pull request #521 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 rather than f27bd017b6d72737d04d754e3d2195165e7fc649 Obtained Jenkinsfile from 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 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-ssh18316171660959915698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13018844545163153030.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6701741859589872132.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8875990763553441301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4349217404032215605.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14244713556542359921.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-26486 in /w/workspace/edgexfoundry_device-sdk-c_PR-521 [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-521 # 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/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit f27bd017b6d72737d04d754e3d2195165e7fc649 Merge succeeded, producing f27bd017b6d72737d04d754e3d2195165e7fc649 Checking out Revision f27bd017b6d72737d04d754e3d2195165e7fc649 (PR-521) > git config core.sparsecheckout # timeout=10 > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # timeout=10 Commit message: "fix: Missing discovery delete wrapper for secure mode" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:48:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:48:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:48:04 ========================================================= 14:48:04 EdgeX Global Pipelines Version Info 14:48:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:48:05 ------------------- 14:48:05 stable info: 14:48:05 ------------------- 14:48:05 Commited By: Ginny Guan ginny@iotechsys.com 14:48:05 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 14:48:05 Message: update stable to v1.0.265 14:48:06 ------------------- 14:48:06 experimental info: 14:48:06 ------------------- 14:48:06 Commited By: Cherry Wang cherry@iotechsys.com 14:48:06 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:48:06 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:48:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:48:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:48:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:48:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:48:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:48:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-521 [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-521 [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-521 [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f27bd01 [Pipeline] echo 14:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:48:08 provisioning config files... 14:48:08 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/config17421048418876550971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:08 ---> ****-login.sh 14:48:08 nexus3.edgexfoundry.org:10001 14:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:09 Configure a credential helper to remove this warning. See 14:48:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:09 14:48:09 Login Succeeded 14:48:09 nexus3.edgexfoundry.org:10002 14:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:09 Configure a credential helper to remove this warning. See 14:48:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:09 14:48:09 Login Succeeded 14:48:09 nexus3.edgexfoundry.org:10003 14:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:09 Configure a credential helper to remove this warning. See 14:48:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:09 14:48:09 Login Succeeded 14:48:09 nexus3.edgexfoundry.org:10004 14:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:09 Configure a credential helper to remove this warning. See 14:48:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:09 14:48:09 Login Succeeded 14:48:09 ****.io 14:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:09 Configure a credential helper to remove this warning. See 14:48:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:09 14:48:09 Login Succeeded 14:48:09 ---> ****-login.sh ends [Pipeline] } 14:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:48:10 + git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo 14:48:10 -----------> git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 f27bd017b6d72737d04d754e3d2195165e7fc649 [false] [Pipeline] sh 14:48:10 + git log --format=format:%s -1 f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo 14:48:11 ========================================================= 14:48:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:48:11 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:48:12 + git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo 14:48:12 -----------> git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 f27bd017b6d72737d04d754e3d2195165e7fc649 [false] [Pipeline] sh 14:48:12 + git log --format=format:%s -1 f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo 14:48:12 ========================================================= 14:48:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:48:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:48:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:48:12 + grep -v github /etc/ssh/ssh_known_hosts 14:48:12 + [ -e /tmp/ssh_known_hosts ] 14:48:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:48:12 + + sudo tee -a /etc/ssh/ssh_known_hosts 14:48:12 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:48:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:13 14:48:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:13 0.1.4: Pulling from edgex-devops/py-git-semver 14:48:13 b85a868b505f: Pulling fs layer 14:48:13 e2be974225ed: Pulling fs layer 14:48:13 339a4e72a1f5: Pulling fs layer 14:48:13 988bab9f4d93: Pulling fs layer 14:48:13 1469e6f7b9e6: Pulling fs layer 14:48:13 eaf3925da568: Pulling fs layer 14:48:13 bab4dde63d76: Pulling fs layer 14:48:13 bde34c3a00c8: Pulling fs layer 14:48:13 b352a97aabf1: Pulling fs layer 14:48:13 4872d77fe225: Pulling fs layer 14:48:13 5851b861e8e6: Pulling fs layer 14:48:13 bab4dde63d76: Waiting 14:48:13 bde34c3a00c8: Waiting 14:48:13 b352a97aabf1: Waiting 14:48:13 4872d77fe225: Waiting 14:48:13 5851b861e8e6: Waiting 14:48:13 988bab9f4d93: Waiting 14:48:13 1469e6f7b9e6: Waiting 14:48:13 eaf3925da568: Waiting 14:48:13 e2be974225ed: Verifying Checksum 14:48:13 e2be974225ed: Download complete 14:48:13 988bab9f4d93: Download complete 14:48:13 1469e6f7b9e6: Verifying Checksum 14:48:13 1469e6f7b9e6: Download complete 14:48:14 eaf3925da568: Verifying Checksum 14:48:14 eaf3925da568: Download complete 14:48:14 339a4e72a1f5: Verifying Checksum 14:48:14 339a4e72a1f5: Download complete 14:48:14 bde34c3a00c8: Verifying Checksum 14:48:14 bde34c3a00c8: Download complete 14:48:14 b352a97aabf1: Download complete 14:48:14 4872d77fe225: Download complete 14:48:14 5851b861e8e6: Verifying Checksum 14:48:14 5851b861e8e6: Download complete 14:48:14 b85a868b505f: Verifying Checksum 14:48:14 b85a868b505f: Download complete 14:48:14 bab4dde63d76: Verifying Checksum 14:48:14 bab4dde63d76: Download complete 14:48:15 b85a868b505f: Pull complete 14:48:15 e2be974225ed: Pull complete 14:48:15 339a4e72a1f5: Pull complete 14:48:15 988bab9f4d93: Pull complete 14:48:16 1469e6f7b9e6: Pull complete 14:48:16 eaf3925da568: Pull complete 14:48:18 bab4dde63d76: Pull complete 14:48:18 bde34c3a00c8: Pull complete 14:48:18 b352a97aabf1: Pull complete 14:48:18 4872d77fe225: Pull complete 14:48:18 5851b861e8e6: Pull complete 14:48:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:48:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:48:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:48:18 prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container 14:48:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:48:20 $ docker top b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 -eo pid,comm 14:48:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:48:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:48:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:21 [ssh-agent] Looking for ssh-agent implementation... 14:48:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:21 $ docker exec b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent 14:48:21 SSH_AUTH_SOCK=/tmp/ssh-yFky0YkclQuI/agent.31 14:48:21 SSH_AGENT_PID=37 14:48:21 Running ssh-add (command line suppressed) 14:48:21 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_3141933892259511734.key (/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_3141933892259511734.key) 14:48:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:21 + git tag --points-at HEAD [Pipeline] } 14:48:21 $ docker exec --env ******** --env ******** b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent -k 14:48:21 unset SSH_AUTH_SOCK; 14:48:21 unset SSH_AGENT_PID; 14:48:21 echo Agent pid 37 killed; 14:48:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:48:22 [ssh-agent] Looking for ssh-agent implementation... 14:48:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:48:22 $ docker exec b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent 14:48:22 SSH_AUTH_SOCK=/tmp/ssh-IDgYtO8akV2j/agent.71 14:48:22 SSH_AGENT_PID=77 14:48:22 Running ssh-add (command line suppressed) 14:48:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_15851763422308545856.key (/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_15851763422308545856.key) 14:48:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:48:22 + git semver init 14:48:23 2024-11-15 14:48:22,931 [run_init] DEBUG init version:0.0.0 force:False 14:48:23 2024-11-15 14:48:22,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver 14:48:23 2024-11-15 14:48:22,932 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver 14:48:23 2024-11-15 14:48:22,932 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-521, universal_newlines=False, shell=None, istream=None) 14:48:23 2024-11-15 14:48:23,733 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.git/info/exclude 14:48:23 2024-11-15 14:48:23,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver/PR-521 with force:False 14:48:23 2024-11-15 14:48:23,733 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver/PR-521 14:48:23 2024-11-15 14:48:23,737 [execute] INFO git cat-file --batch-check 14:48:23 2024-11-15 14:48:23,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver, universal_newlines=False, shell=None, istream=) 14:48:23 2024-11-15 14:48:23,743 [execute] INFO git cat-file --batch 14:48:23 2024-11-15 14:48:23,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver, universal_newlines=False, shell=None, istream=) 14:48:23 2024-11-15 14:48:23,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver/PR-521 14:48:23 0.0.0 [Pipeline] } 14:48:23 $ docker exec --env ******** --env ******** b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent -k 14:48:24 unset SSH_AUTH_SOCK; 14:48:24 unset SSH_AGENT_PID; 14:48:24 echo Agent pid 77 killed; 14:48:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:48:24 + git semver [Pipeline] } 14:48:24 $ docker stop --time=1 b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 14:48:26 $ docker rm -f --volumes b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 [Pipeline] // withDockerContainer [Pipeline] sh 14:48:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:48:26 Stashed 1 file(s) [Pipeline] echo 14:48:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:48:27 provisioning config files... 14:48:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/config7924490882503175885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:27 ---> ****-login.sh 14:48:27 nexus3.edgexfoundry.org:10001 14:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:27 Configure a credential helper to remove this warning. See 14:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:27 14:48:27 Login Succeeded 14:48:27 nexus3.edgexfoundry.org:10002 14:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:27 Configure a credential helper to remove this warning. See 14:48:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:27 14:48:27 Login Succeeded 14:48:27 nexus3.edgexfoundry.org:10003 14:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:28 Configure a credential helper to remove this warning. See 14:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:28 14:48:28 Login Succeeded 14:48:28 nexus3.edgexfoundry.org:10004 14:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:28 Configure a credential helper to remove this warning. See 14:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:28 14:48:28 Login Succeeded 14:48:28 ****.io 14:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:48:28 Configure a credential helper to remove this warning. See 14:48:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:48:28 14:48:28 Login Succeeded 14:48:28 ---> ****-login.sh ends [Pipeline] } 14:48:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:48:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:48:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:48:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:48:28 ========================================================= 14:48:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:48:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:29 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:48:29 Sending build context to Docker daemon 5.125MB 14:48:29 Step 1/22 : ARG BASE=alpine:3.18 14:48:29 Step 2/22 : FROM ${BASE} as builder 14:48:29 latest: Pulling from edgex-devops/edgex-gcc-base 14:48:29 96526aa774ef: Pulling fs layer 14:48:29 da60e534fd72: Pulling fs layer 14:48:29 96526aa774ef: Verifying Checksum 14:48:29 96526aa774ef: Download complete 14:48:29 96526aa774ef: Pull complete 14:48:30 da60e534fd72: Verifying Checksum 14:48:30 da60e534fd72: Download complete 14:48:33 da60e534fd72: Pull complete 14:48:33 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:48:33 ---> 6605166a5db4 14:48:33 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:48:34 ---> Running in 0fead750e5e9 14:48:35 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:48:35 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:48:35 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:48:35 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:48:35 Removing intermediate container 0fead750e5e9 14:48:35 ---> a5db86bdf81a 14:48:35 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:48:35 ---> Running in 39a15679f928 14:48:36 Removing intermediate container 39a15679f928 14:48:36 ---> 1505a93949f1 14:48:36 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:48:36 ---> Running in 0c0c4e3e8741 14:48:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:48:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:48:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:48:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:48:37 (1/17) Installing hiredis (1.1.0-r2) 14:48:37 (2/17) Installing hiredis-dev (1.1.0-r2) 14:48:37 (3/17) Installing libcbor (0.10.2-r1) 14:48:37 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:48:38 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:48:38 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:48:38 (7/17) Installing libcbor-dev (0.10.2-r1) 14:48:38 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:48:38 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:48:38 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:48:38 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:48:38 (12/17) Installing libblkid (2.38.1-r8) 14:48:38 (13/17) Installing libuuid (2.38.1-r8) 14:48:38 (14/17) Installing libfdisk (2.38.1-r8) 14:48:38 (15/17) Installing libmount (2.38.1-r8) 14:48:38 (16/17) Installing libsmartcols (2.38.1-r8) 14:48:38 (17/17) Installing util-linux-dev (2.38.1-r8) 14:48:38 Executing busybox-1.36.1-r4.trigger 14:48:38 OK: 336 MiB in 99 packages 14:48:39 Removing intermediate container 0c0c4e3e8741 14:48:39 ---> 34bd4cccb0ce 14:48:39 Step 6/22 : RUN mkdir /tmp/sdk 14:48:39 ---> Running in 056e5ebd418a 14:48:40 Removing intermediate container 056e5ebd418a 14:48:40 ---> 7fb454b4d02d 14:48:40 Step 7/22 : COPY VERSION /tmp/sdk 14:48:40 ---> afd5417a5fa9 14:48:40 Step 8/22 : COPY src /tmp/sdk/src 14:48:40 ---> fa18982a0c0a 14:48:40 Step 9/22 : COPY include /tmp/sdk/include 14:48:40 ---> 45d2a66a7488 14:48:40 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:48:40 ---> 49fa7ee4b21b 14:48:40 Step 11/22 : COPY LICENSE /tmp/sdk 14:48:40 ---> a298533ad97e 14:48:40 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:48:40 ---> f608fb0bed54 14:48:40 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:48:40 ---> Running in 9f5b02f1d20c 14:48:41 + CPPCHECK=false 14:48:41 + DOCGEN=false 14:48:41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:48:41 + '[' 0 -gt 0 ] 14:48:41 + readlink -f ./scripts/build.sh 14:48:41 + dirname /tmp/sdk/scripts/build.sh 14:48:41 + dirname /tmp/sdk/scripts 14:48:41 + ROOT=/tmp/sdk 14:48:41 + cd /tmp/sdk 14:48:41 + mkdir -p /tmp/sdk/build/release 14:48:41 + cd /tmp/sdk/build/release 14:48:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:48:41 -- The C compiler identification is GNU 12.2.1 14:48:41 -- Detecting C compiler ABI info 14:48:41 -- Detecting C compiler ABI info - done 14:48:41 -- Check for working C compiler: /usr/bin/cc - skipped 14:48:41 -- Detecting C compile features 14:48:41 -- Detecting C compile features - done 14:48:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:48:41 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:48:41 -- Found LIBYAML: /usr/lib/libyaml.so 14:48:41 -- Found LIBUUID: /usr/lib/libuuid.so 14:48:41 -- Found LIBCBOR: /usr/lib/libcbor.so 14:48:41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:48:41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:48:41 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:48:41 -- /opt/iotech/iot/1.5/include 14:48:41 -- C SDK 0.0.0 for Linux 14:48:41 -- Performing Test CSDK_HAVE_ATOMIC 14:48:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:48:41 -- Found Curses: /usr/lib/libcurses.so 14:48:41 -- Configuring done (0.4s) 14:48:41 -- Generating done (0.0s) 14:48:41 -- Build files have been written to: /tmp/sdk/build/release 14:48:41 + make all package 14:48:41 + tee release.log 14:48:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:48:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:48:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:48:42 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:48:42 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:48:42 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:48:42 Still waiting to schedule task 14:48:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:48:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:48:42 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:48:42 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:48:42 294 | while (privateConfig) 14:48:42 | ^~~~~~~~~~~~~ 14:48:42 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:48:42 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:48:42 | ^~~~~~~~~~~~~ 14:48:42 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:48:42 271 | while (result) 14:48:42 | ^~~~~~ 14:48:42 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:48:42 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:48:42 | ^~~~~~ 14:48:42 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:48:42 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:48:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:48:43 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:48:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:48:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:48:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:48:43 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:48:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:48:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:48:44 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:48:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:48:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:48:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:48:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:48:45 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:48:45 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:48:45 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:48:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:48:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:48:46 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:48:46 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:48:46 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:48:46 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:48:46 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:48:46 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:48:46 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:48:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:48:46 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:48:46 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:48:46 | ^ 14:48:47 /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:48:47 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:48:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:48:47 /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here 14:48:47 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:48:47 | ^~~~~~~~~~~~~~~~~~~~~ 14:48:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:48:47 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:48:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:48:47 [ 68%] Linking C shared library libcsdk.so 14:48:47 [ 68%] Built target csdk 14:48:47 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:48:47 [ 72%] Linking C executable template 14:48:47 [ 72%] Built target template 14:48:47 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:48:47 [ 76%] Linking C executable device-counter 14:48:47 [ 76%] Built target device-counter 14:48:47 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:48:47 [ 80%] Linking C executable device-random 14:48:47 [ 80%] Built target device-random 14:48:48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:48:48 [ 84%] Linking C executable device-gyro 14:48:48 [ 84%] Built target device-gyro 14:48:48 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:48:48 [ 88%] Linking C executable device-bitfields 14:48:48 [ 88%] Built target device-bitfields 14:48:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:48:48 [ 92%] Linking C executable template-discovery 14:48:48 [ 92%] Built target template-discovery 14:48:48 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:48:48 [ 96%] Linking C executable device-file 14:48:48 [ 96%] Built target device-file 14:48:48 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:48:48 [100%] Linking C executable device-terminal 14:48:48 [100%] Built target device-terminal 14:48:48 Run CPack packaging tool... 14:48:48 CPack: Create package using TGZ 14:48:48 CPack: Install projects 14:48:48 CPack: - Run preinstall target for: Csdk 14:48:49 CPack: - Install project: Csdk [] 14:48:49 CPack: Create package 14:48:49 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:48:49 + '[' false '=' true ] 14:48:49 + '[' false '=' true ] 14:48:49 + mkdir -p /tmp/sdk/build/debug 14:48:49 + cd /tmp/sdk/build/debug 14:48:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:48:49 -- The C compiler identification is GNU 12.2.1 14:48:49 -- Detecting C compiler ABI info 14:48:49 -- Detecting C compiler ABI info - done 14:48:49 -- Check for working C compiler: /usr/bin/cc - skipped 14:48:49 -- Detecting C compile features 14:48:49 -- Detecting C compile features - done 14:48:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:48:49 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:48:49 -- Found LIBYAML: /usr/lib/libyaml.so 14:48:49 -- Found LIBUUID: /usr/lib/libuuid.so 14:48:49 -- Found LIBCBOR: /usr/lib/libcbor.so 14:48:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:48:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:48:49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:48:49 -- /opt/iotech/iot/1.5/include 14:48:49 -- C SDK 0.0.0 for Linux 14:48:49 -- Performing Test CSDK_HAVE_ATOMIC 14:48:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:48:49 -- Found Curses: /usr/lib/libcurses.so 14:48:49 -- Configuring done (0.4s) 14:48:49 -- Generating done (0.0s) 14:48:49 -- Build files have been written to: /tmp/sdk/build/debug 14:48:49 + make 14:48:49 + tee debug.log 14:48:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:48:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:48:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:48:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:48:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:48:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:48:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:48:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:48:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:48:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:48:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:48:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:48:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:48:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:48:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:48:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:48:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:48:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:48:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:48:51 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:48:51 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:48:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:48:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:48:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:48:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:48:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:48:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:48:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:48:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:48:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:48:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:48:52 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:48:52 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:48:52 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:48:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:48:52 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:48:52 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:48:52 | ^ 14:48:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:48:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:48:52 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:48:52 [ 68%] Linking C shared library libcsdk.so 14:48:52 [ 68%] Built target csdk 14:48:52 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:48:53 [ 72%] Linking C executable template 14:48:53 [ 72%] Built target template 14:48:53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:48:53 [ 76%] Linking C executable device-counter 14:48:53 [ 76%] Built target device-counter 14:48:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:48:53 [ 80%] Linking C executable device-random 14:48:53 [ 80%] Built target device-random 14:48:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:48:53 [ 84%] Linking C executable device-gyro 14:48:53 [ 84%] Built target device-gyro 14:48:53 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:48:53 [ 88%] Linking C executable device-bitfields 14:48:53 [ 88%] Built target device-bitfields 14:48:53 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:48:53 [ 92%] Linking C executable template-discovery 14:48:53 [ 92%] Built target template-discovery 14:48:53 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:48:53 [ 96%] Linking C executable device-file 14:48:53 [ 96%] Built target device-file 14:48:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:48:53 [100%] Linking C executable device-terminal 14:48:54 [100%] Built target device-terminal 14:48:54 make: Entering directory '/tmp/sdk/build/release' 14:48:54 [ 68%] Built target csdk 14:48:54 [ 72%] Built target template 14:48:54 [ 76%] Built target device-counter 14:48:54 [ 80%] Built target device-random 14:48:54 [ 84%] Built target device-gyro 14:48:54 [ 88%] Built target device-bitfields 14:48:54 [ 92%] Built target template-discovery 14:48:54 [ 96%] Built target device-file 14:48:54 [100%] Built target device-terminal 14:48:54 Install the project... 14:48:54 -- Install configuration: "Release" 14:48:54 -- Installing: /usr/local/lib/libcsdk.so 14:48:54 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:48:54 -- Installing: /usr/local/include 14:48:54 -- Installing: /usr/local/include/devsdk 14:48:54 -- Installing: /usr/local/include/devsdk/devsdk.h 14:48:54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:48:54 -- Installing: /usr/local/include/edgex 14:48:54 -- Installing: /usr/local/include/edgex/edgex.h 14:48:54 -- Installing: /usr/local/include/edgex/devices.h 14:48:54 -- Installing: /usr/local/include/edgex/profiles.h 14:48:54 -- Installing: /usr/local/include/edgex/edgex-base.h 14:48:54 -- Installing: /usr/local/include/edgex/rest-server.h 14:48:54 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:48:54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:48:54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:48:54 make: Leaving directory '/tmp/sdk/build/release' 14:48:54 Removing intermediate container 9f5b02f1d20c 14:48:54 ---> 23c5dddda1da 14:48:54 Step 14/22 : FROM ${BASE} 14:48:54 ---> 6605166a5db4 14:48:54 Step 15/22 : LABEL maintainer="IOTech " 14:48:54 ---> Running in 5a301ab4f696 14:48:54 Removing intermediate container 5a301ab4f696 14:48:54 ---> b7f7b93fc2fc 14:48:54 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:48:54 ---> Running in 9d9e0a1ebda0 14:48:55 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:48:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:48:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:48:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:48:55 Removing intermediate container 9d9e0a1ebda0 14:48:55 ---> 05e316ab5590 14:48:55 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:48:55 ---> Running in e5b9c8af4714 14:48:56 Removing intermediate container e5b9c8af4714 14:48:56 ---> 31109335e36a 14:48:56 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:48:56 ---> Running in ce1663a26312 14:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:48:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:48:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:48:57 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 14:48:57 (2/10) Installing curl (8.9.1-r1) 14:48:57 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 14:48:57 (4/10) Installing dumb-init (1.2.5-r2) 14:48:57 (5/10) Installing hiredis (1.1.0-r2) 14:48:57 (6/10) Installing hiredis-dev (1.1.0-r2) 14:48:57 (7/10) Installing libcbor (0.10.2-r1) 14:48:57 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:48:58 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:48:58 (10/10) Installing libuuid (2.38.1-r8) 14:48:58 Executing busybox-1.36.1-r4.trigger 14:48:58 OK: 331 MiB in 90 packages 14:48:58 Removing intermediate container ce1663a26312 14:48:58 ---> a89baca57259 14:48:58 Step 19/22 : RUN apk --no-cache upgrade 14:48:59 ---> Running in c4c580637d58 14:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:48:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:48:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:48:59 Upgrading critical system libraries and apk-tools: 14:48:59 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:48:59 Executing busybox-1.36.1-r4.trigger 14:48:59 Continuing the upgrade transaction with new apk-tools: 14:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:49:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:49:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:49:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:49:00 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:49:00 Executing busybox-1.36.1-r7.post-upgrade 14:49:00 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:49:00 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:49:00 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 14:49:00 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 14:49:00 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:49:00 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 14:49:00 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 14:49:00 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:49:00 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 14:49:00 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:49:01 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:49:01 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:49:01 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:49:01 Executing busybox-1.36.1-r7.trigger 14:49:01 Executing ca-certificates-20240226-r0.trigger 14:49:01 OK: 332 MiB in 90 packages 14:49:02 Removing intermediate container c4c580637d58 14:49:02 ---> bff10808286c 14:49:02 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:49:02 ---> ec40bd707e06 14:49:02 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:49:02 ---> 99a3d3c5f1f2 14:49:02 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:49:02 ---> 3ba38a290035 14:49:02 Successfully built 3ba38a290035 14:49:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:03 + docker inspect -f . ci-base-image-x86_64 14:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:03 prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container 14:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@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 ******** ci-base-image-x86_64 cat 14:49:03 $ docker top a1924b3880fe0663c60aaa720d471ecdce2e72aba7593522f8f25cec75b8ea7e -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:04 + make test 14:49:04 echo "make test" 14:49:04 make test [Pipeline] } 14:49:04 $ docker stop --time=1 a1924b3880fe0663c60aaa720d471ecdce2e72aba7593522f8f25cec75b8ea7e 14:49:05 $ docker rm -f --volumes a1924b3880fe0663c60aaa720d471ecdce2e72aba7593522f8f25cec75b8ea7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:49:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:49:06 + ls -al . 14:49:06 total 212 14:49:06 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 14:48 . 14:49:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:47 .. 14:49:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 14:48 .git 14:49:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 14:48 .github 14:49:06 -rw-rw-r-- 1 jenkins jenkins 176 Nov 15 14:48 .gitignore 14:49:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 14:48 .semver 14:49:06 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 15 14:48 Attribution.txt 14:49:06 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 15 14:48 CHANGELOG.md 14:49:06 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 15 14:48 Doxyfile 14:49:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 14:48 GOVERNANCE.md 14:49:06 -rw-rw-r-- 1 jenkins jenkins 784 Nov 15 14:48 Jenkinsfile 14:49:06 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 14:48 LICENSE 14:49:06 -rw-rw-r-- 1 jenkins jenkins 444 Nov 15 14:48 Makefile 14:49:06 -rw-rw-r-- 1 jenkins jenkins 618 Nov 15 14:48 OWNERS.md 14:49:06 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 15 14:48 README.IOT.md 14:49:06 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 15 14:48 README.md 14:49:06 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 15 14:48 README.v3.md 14:49:06 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 14:48 VERSION 14:49:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:48 docs 14:49:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:48 include 14:49:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:48 scripts 14:49:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:48 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:07 + 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=f27bd017b6d72737d04d754e3d2195165e7fc649 --label arch=amd64 --label version=0.0.0 . 14:49:07 Sending build context to Docker daemon 5.125MB 14:49:07 Step 1/18 : ARG BASE=alpine:3.18 14:49:07 Step 2/18 : FROM ${BASE} 14:49:07 ---> 3ba38a290035 14:49:07 Step 3/18 : LABEL maintainer="IOTech " 14:49:07 ---> Running in 46133e06c3e8 14:49:07 Removing intermediate container 46133e06c3e8 14:49:07 ---> 3c049bf8dc94 14:49:07 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:49:07 ---> Running in 67e4530f4c71 14:49:07 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:49:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:49:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:49:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:49:08 Removing intermediate container 67e4530f4c71 14:49:08 ---> 0c724308aad3 14:49:08 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:49:08 ---> Running in 0ebb754adfc2 14:49:08 Removing intermediate container 0ebb754adfc2 14:49:08 ---> 142c1dd7dfd3 14:49:08 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:49:08 ---> Running in 91737f59dd17 14:49:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:49:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:49:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:49:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:49:09 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:49:10 (2/11) Installing libcbor-dev (0.10.2-r1) 14:49:10 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:49:10 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:49:10 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:49:10 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:49:10 (7/11) Installing libblkid (2.38.1-r8) 14:49:10 (8/11) Installing libfdisk (2.38.1-r8) 14:49:10 (9/11) Installing libmount (2.38.1-r8) 14:49:10 (10/11) Installing libsmartcols (2.38.1-r8) 14:49:10 (11/11) Installing util-linux-dev (2.38.1-r8) 14:49:10 Executing busybox-1.36.1-r7.trigger 14:49:10 OK: 337 MiB in 101 packages 14:49:10 Removing intermediate container 91737f59dd17 14:49:10 ---> 38aa83b476e4 14:49:10 Step 7/18 : RUN apk --no-cache upgrade 14:49:10 ---> Running in 6d007fe3bee9 14:49:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:49:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:49:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:49:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:49:11 OK: 337 MiB in 101 packages 14:49:12 Removing intermediate container 6d007fe3bee9 14:49:12 ---> 3839f3cda171 14:49:12 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:49:12 ---> b84af2acb6fc 14:49:12 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:49:12 ---> f8cb7dc65be6 14:49:12 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:49:12 ---> 8f8bce6959cf 14:49:12 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:49:12 ---> ae30fa7c0baf 14:49:12 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:49:13 ---> 5f26cd0cd6d1 14:49:13 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:49:13 ---> 918a5622a1d2 14:49:13 Step 14/18 : WORKDIR /edgex-c-sdk 14:49:13 ---> Running in c8902411dd0e 14:49:13 Removing intermediate container c8902411dd0e 14:49:13 ---> 0e261f90f759 14:49:13 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:49:13 ---> Running in 7e53c3932dc8 14:49:13 Removing intermediate container 7e53c3932dc8 14:49:13 ---> c71e112de369 14:49:13 Step 16/18 : LABEL arch=amd64 14:49:13 ---> Running in 0bb79578c040 14:49:13 Removing intermediate container 0bb79578c040 14:49:13 ---> ef43eec94bc5 14:49:13 Step 17/18 : LABEL git_sha=f27bd017b6d72737d04d754e3d2195165e7fc649 14:49:13 ---> Running in b9027db1aace 14:49:13 Removing intermediate container b9027db1aace 14:49:13 ---> 68a2da3f14f2 14:49:13 Step 18/18 : LABEL version=0.0.0 14:49:13 ---> Running in 3633242fe06c 14:49:13 Removing intermediate container 3633242fe06c 14:49:13 ---> 59b58ac686dd 14:49:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:49:13 Successfully built 59b58ac686dd 14:49:13 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:49:14 14:49:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:49:14 latest: Pulling from edgex-lftools-log-publisher 14:49:14 5eb5b503b376: Pulling fs layer 14:49:14 5c69ac0246d0: Pulling fs layer 14:49:14 ec43610c2a17: Pulling fs layer 14:49:14 3a2ae6a8a46f: Pulling fs layer 14:49:14 33b1e0a273af: Pulling fs layer 14:49:14 5d3b04190fa2: Pulling fs layer 14:49:14 2f39f015ded8: Pulling fs layer 14:49:14 3a2ae6a8a46f: Waiting 14:49:14 33b1e0a273af: Waiting 14:49:14 5d3b04190fa2: Waiting 14:49:14 2f39f015ded8: Waiting 14:49:14 5c69ac0246d0: Download complete 14:49:14 3a2ae6a8a46f: Download complete 14:49:14 33b1e0a273af: Verifying Checksum 14:49:14 33b1e0a273af: Download complete 14:49:14 5d3b04190fa2: Download complete 14:49:14 ec43610c2a17: Verifying Checksum 14:49:14 ec43610c2a17: Download complete 14:49:15 5eb5b503b376: Verifying Checksum 14:49:15 5eb5b503b376: Download complete 14:49:15 2f39f015ded8: Download complete 14:49:16 5eb5b503b376: Pull complete 14:49:16 5c69ac0246d0: Pull complete 14:49:16 ec43610c2a17: Pull complete 14:49:16 3a2ae6a8a46f: Pull complete 14:49:17 33b1e0a273af: Pull complete 14:49:17 5d3b04190fa2: Pull complete 14:49:21 2f39f015ded8: Pull complete 14:49:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:49:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:49:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:21 prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container 14:49:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:49:24 $ docker top cec1cdec01d133bdf72391f54ee12c77c8449584240866bd79ceb5a885522133 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:25 ---> job-cost.sh 14:49:25 lf-activate-venv: SKIPPING 14:49:25 INFO: No Stack... 14:49:25 INFO: Retrieving Pricing Info for: v3-standard-8 14:49:25 INFO: Archiving Costs [Pipeline] sh 14:49:26 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives/cost.csv 14:49:26 + cut -d, -f6 [Pipeline] lock 14:49:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] 14:49:26 Resource [jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] did not exist. Created. 14:49:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:49:26 + echo total: 0.2199999988079071 [Pipeline] stash 14:49:26 Stashed 1 file(s) [Pipeline] } 14:49:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:49:26 $ docker stop --time=1 cec1cdec01d133bdf72391f54ee12c77c8449584240866bd79ceb5a885522133 14:49:27 $ docker rm -f --volumes cec1cdec01d133bdf72391f54ee12c77c8449584240866bd79ceb5a885522133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:50:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26487 in /w/workspace/edgexfoundry_device-sdk-c_PR-521 [Pipeline] { [Pipeline] ws 14:50:38 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:50:41 Selected Git installation does not exist. Using Default 14:50:41 The recommended git tool is: NONE 14:50:48 using credential edgex-jenkins-ssh 14:50:48 Cloning the remote Git repository 14:50:48 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:50:48 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:50:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:50:49 > git --version # timeout=10 14:50:49 > git --version # 'git version 2.25.1' 14:50:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:50:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:50:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:50:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:50:54 Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit f27bd017b6d72737d04d754e3d2195165e7fc649 14:50:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:50:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:50:53 using GIT_SSH to set credentials SSH Credentials for GitHub 14:50:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:50:54 > git config core.sparsecheckout # timeout=10 14:50:55 Merge succeeded, producing f27bd017b6d72737d04d754e3d2195165e7fc649 14:50:55 Checking out Revision f27bd017b6d72737d04d754e3d2195165e7fc649 (PR-521) 14:50:54 > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # timeout=10 14:50:54 > git remote # timeout=10 14:50:54 > git config --get remote.origin.url # timeout=10 14:50:54 using GIT_SSH to set credentials SSH Credentials for GitHub 14:50:54 > git merge 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 14:50:55 > git rev-parse HEAD^{commit} # timeout=10 14:50:55 > git config core.sparsecheckout # timeout=10 14:50:55 > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # timeout=10 14:50:59 Commit message: "fix: Missing discovery delete wrapper for secure mode" 14:50:59 > git --version # timeout=10 14:50:59 > git --version # 'git version 2.25.1' 14:50:59 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:51:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:51:01 % Total % Received % Xferd Average Speed Time Time Time Current 14:51:01 Dload Upload Total Spent Left Speed 14:51:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 12828 96 12393 0 0 89158 0 --:--:-- --:--:-- --:--:-- 88521 100 12828 100 12828 0 0 90978 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh 14:51:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:51:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:51:02 + sudo tee /etc/docker/daemon.new 14:51:02 { 14:51:02 "registry-mirrors": [ 14:51:02 "https://nexus3.edgexfoundry.org:10001" 14:51:02 ], 14:51:02 "bip": "10.250.0.254/24", 14:51:02 "hosts": [ 14:51:02 "tcp://0.0.0.0:5555", 14:51:02 "unix:///var/run/docker.sock" 14:51:02 ], 14:51:02 "mtu": 1458, 14:51:02 "selinux-enabled": true, 14:51:02 "seccomp-profile": "/etc/docker/seccomp.json" 14:51:02 } [Pipeline] sh 14:51:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:51:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:51:21 provisioning config files... 14:51:21 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config13895709005690984533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:21 ---> ****-login.sh 14:51:21 nexus3.edgexfoundry.org:10001 14:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:51:22 Configure a credential helper to remove this warning. See 14:51:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:51:22 14:51:22 Login Succeeded 14:51:22 nexus3.edgexfoundry.org:10002 14:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:51:22 Configure a credential helper to remove this warning. See 14:51:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:51:22 14:51:22 Login Succeeded 14:51:22 nexus3.edgexfoundry.org:10003 14:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:51:23 Configure a credential helper to remove this warning. See 14:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:51:23 14:51:23 Login Succeeded 14:51:23 nexus3.edgexfoundry.org:10004 14:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:51:23 Configure a credential helper to remove this warning. See 14:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:51:23 14:51:23 Login Succeeded 14:51:23 ****.io 14:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:51:23 Configure a credential helper to remove this warning. See 14:51:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:51:23 14:51:23 Login Succeeded 14:51:23 ---> ****-login.sh ends [Pipeline] } 14:51:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:51:24 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:51:24 ========================================================= 14:51:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:51:24 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:24 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:51:25 Sending build context to Docker daemon 3.075MB 14:51:25 Step 1/22 : ARG BASE=alpine:3.18 14:51:25 Step 2/22 : FROM ${BASE} as builder 14:51:25 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:51:25 579b34f0a95b: Pulling fs layer 14:51:25 e71477ac5e1b: Pulling fs layer 14:51:25 579b34f0a95b: Verifying Checksum 14:51:25 579b34f0a95b: Download complete 14:51:26 579b34f0a95b: Pull complete 14:51:28 e71477ac5e1b: Verifying Checksum 14:51:28 e71477ac5e1b: Download complete 14:51:38 e71477ac5e1b: Pull complete 14:51:38 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:51:38 ---> 2b552cad5dd9 14:51:38 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:51:38 ---> Running in 1739e71101b8 14:51:40 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:51:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:51:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:51:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:51:41 Removing intermediate container 1739e71101b8 14:51:41 ---> ecd4d88b0d1c 14:51:41 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:51:41 ---> Running in 1260eb52b5d5 14:51:42 Removing intermediate container 1260eb52b5d5 14:51:42 ---> d15c8ab0016d 14:51:42 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:51:42 ---> Running in 0b7aa85ff726 14:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:51:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:51:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:51:45 (1/17) Installing hiredis (1.1.0-r2) 14:51:45 (2/17) Installing hiredis-dev (1.1.0-r2) 14:51:45 (3/17) Installing libcbor (0.10.2-r1) 14:51:45 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:51:46 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:51:46 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:51:46 (7/17) Installing libcbor-dev (0.10.2-r1) 14:51:47 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:51:47 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:51:47 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:51:47 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:51:47 (12/17) Installing libblkid (2.38.1-r8) 14:51:47 (13/17) Installing libuuid (2.38.1-r8) 14:51:47 (14/17) Installing libfdisk (2.38.1-r8) 14:51:47 (15/17) Installing libmount (2.38.1-r8) 14:51:47 (16/17) Installing libsmartcols (2.38.1-r8) 14:51:47 (17/17) Installing util-linux-dev (2.38.1-r8) 14:51:47 Executing busybox-1.36.1-r4.trigger 14:51:47 OK: 333 MiB in 99 packages 14:51:48 Removing intermediate container 0b7aa85ff726 14:51:48 ---> cabb64a33321 14:51:48 Step 6/22 : RUN mkdir /tmp/sdk 14:51:48 ---> Running in 04ebc64a7798 14:51:50 Removing intermediate container 04ebc64a7798 14:51:50 ---> bc7e581d95c5 14:51:50 Step 7/22 : COPY VERSION /tmp/sdk 14:51:50 ---> 024fe84b18f6 14:51:50 Step 8/22 : COPY src /tmp/sdk/src 14:51:51 ---> 5e0692fd1a40 14:51:51 Step 9/22 : COPY include /tmp/sdk/include 14:51:52 ---> d1a90b5a2b03 14:51:52 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:51:52 ---> 6b91795e30c3 14:51:52 Step 11/22 : COPY LICENSE /tmp/sdk 14:51:52 ---> 0fe9e0a1dade 14:51:52 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:51:53 ---> ebff8484f3b2 14:51:53 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:51:53 ---> Running in e0d02ee966ff 14:51:54 + CPPCHECK=false 14:51:54 + DOCGEN=false 14:51:54 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:51:54 + '[' 0 -gt 0 ] 14:51:54 + readlink -f ./scripts/build.sh 14:51:54 + dirname /tmp/sdk/scripts/build.sh 14:51:54 + dirname /tmp/sdk/scripts 14:51:54 + ROOT=/tmp/sdk 14:51:54 + cd /tmp/sdk 14:51:54 + mkdir -p /tmp/sdk/build/release 14:51:54 + cd /tmp/sdk/build/release 14:51:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:51:54 -- The C compiler identification is GNU 12.2.1 14:51:54 -- Detecting C compiler ABI info 14:51:54 -- Detecting C compiler ABI info - done 14:51:54 -- Check for working C compiler: /usr/bin/cc - skipped 14:51:54 -- Detecting C compile features 14:51:54 -- Detecting C compile features - done 14:51:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:51:55 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:51:55 -- Found LIBYAML: /usr/lib/libyaml.so 14:51:55 -- Found LIBUUID: /usr/lib/libuuid.so 14:51:55 -- Found LIBCBOR: /usr/lib/libcbor.so 14:51:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:51:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:51:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:51:55 -- /opt/iotech/iot/1.5/include 14:51:55 -- C SDK 0.0.0 for Linux 14:51:55 -- Performing Test CSDK_HAVE_ATOMIC 14:51:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:51:55 -- Found Curses: /usr/lib/libcurses.so 14:51:56 -- Configuring done (1.7s) 14:51:56 -- Generating done (0.2s) 14:51:56 -- Build files have been written to: /tmp/sdk/build/release 14:51:56 + make all package 14:51:56 + tee release.log 14:51:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:51:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:51:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:51:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:51:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:51:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:52:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:52:03 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:52:03 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:52:03 294 | while (privateConfig) 14:52:03 | ^~~~~~~~~~~~~ 14:52:03 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:52:03 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:52:03 | ^~~~~~~~~~~~~ 14:52:03 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:52:03 271 | while (result) 14:52:03 | ^~~~~~ 14:52:03 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:52:03 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:52:03 | ^~~~~~ 14:52:03 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:52:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:52:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:52:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:52:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:52:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:52:08 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:52:09 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:52:10 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:52:10 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:52:12 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:52:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:52:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:52:15 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:52:21 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:52:22 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:52:22 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:52:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:52:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:52:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:52:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:52:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:52:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:52:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:52:29 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:52:29 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:52:29 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:52:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:52:29 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:52:29 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:52:29 | ^ 14:52:31 /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:52:31 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:52:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:52:31 /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here 14:52:31 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:52:31 | ^~~~~~~~~~~~~~~~~~~~~ 14:52:32 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:52:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:52:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:52:33 [ 68%] Linking C shared library libcsdk.so 14:52:34 [ 68%] Built target csdk 14:52:34 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:52:35 [ 72%] Linking C executable template 14:52:35 [ 72%] Built target template 14:52:35 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:52:35 [ 76%] Linking C executable device-counter 14:52:36 [ 76%] Built target device-counter 14:52:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:52:37 [ 80%] Linking C executable device-random 14:52:37 [ 80%] Built target device-random 14:52:37 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:52:37 [ 84%] Linking C executable device-gyro 14:52:38 [ 84%] Built target device-gyro 14:52:38 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:52:38 [ 88%] Linking C executable device-bitfields 14:52:39 [ 88%] Built target device-bitfields 14:52:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:52:40 [ 92%] Linking C executable template-discovery 14:52:40 [ 92%] Built target template-discovery 14:52:40 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:52:41 [ 96%] Linking C executable device-file 14:52:41 [ 96%] Built target device-file 14:52:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:52:42 [100%] Linking C executable device-terminal 14:52:42 [100%] Built target device-terminal 14:52:42 Run CPack packaging tool... 14:52:42 CPack: Create package using TGZ 14:52:42 CPack: Install projects 14:52:42 CPack: - Run preinstall target for: Csdk 14:52:43 CPack: - Install project: Csdk [] 14:52:43 CPack: Create package 14:52:43 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:52:43 + '[' false '=' true ] 14:52:43 + '[' false '=' true ] 14:52:43 + mkdir -p /tmp/sdk/build/debug 14:52:43 + cd /tmp/sdk/build/debug 14:52:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:52:44 -- The C compiler identification is GNU 12.2.1 14:52:44 -- Detecting C compiler ABI info 14:52:44 -- Detecting C compiler ABI info - done 14:52:44 -- Check for working C compiler: /usr/bin/cc - skipped 14:52:44 -- Detecting C compile features 14:52:44 -- Detecting C compile features - done 14:52:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:52:44 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:52:44 -- Found LIBYAML: /usr/lib/libyaml.so 14:52:44 -- Found LIBUUID: /usr/lib/libuuid.so 14:52:44 -- Found LIBCBOR: /usr/lib/libcbor.so 14:52:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:52:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:52:44 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:52:44 -- /opt/iotech/iot/1.5/include 14:52:44 -- C SDK 0.0.0 for Linux 14:52:44 -- Performing Test CSDK_HAVE_ATOMIC 14:52:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:52:45 -- Found Curses: /usr/lib/libcurses.so 14:52:45 -- Configuring done (1.7s) 14:52:45 -- Generating done (0.2s) 14:52:45 -- Build files have been written to: /tmp/sdk/build/debug 14:52:45 + + make 14:52:45 tee debug.log 14:52:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:52:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:52:46 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:52:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:52:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:52:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:52:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:52:49 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:52:49 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:52:49 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:52:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:52:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:52:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:52:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:52:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:52:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:52:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:52:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:52:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:52:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:52:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:52:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:52:56 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:52:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:52:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:52:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:52:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:52:59 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:52:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:52:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:52:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:53:00 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:53:00 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:53:00 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:53:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:53:00 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:53:00 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:53:00 | ^ 14:53:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:53:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:53:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:53:01 [ 68%] Linking C shared library libcsdk.so 14:53:02 [ 68%] Built target csdk 14:53:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:53:02 [ 72%] Linking C executable template 14:53:02 [ 72%] Built target template 14:53:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:53:03 [ 76%] Linking C executable device-counter 14:53:03 [ 76%] Built target device-counter 14:53:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:53:03 [ 80%] Linking C executable device-random 14:53:03 [ 80%] Built target device-random 14:53:04 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:53:04 [ 84%] Linking C executable device-gyro 14:53:04 [ 84%] Built target device-gyro 14:53:04 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:53:05 [ 88%] Linking C executable device-bitfields 14:53:05 [ 88%] Built target device-bitfields 14:53:05 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:53:05 [ 92%] Linking C executable template-discovery 14:53:06 [ 92%] Built target template-discovery 14:53:06 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:53:06 [ 96%] Linking C executable device-file 14:53:07 [ 96%] Built target device-file 14:53:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:53:07 [100%] Linking C executable device-terminal 14:53:07 [100%] Built target device-terminal 14:53:07 make: Entering directory '/tmp/sdk/build/release' 14:53:08 [ 68%] Built target csdk 14:53:08 [ 72%] Built target template 14:53:08 [ 76%] Built target device-counter 14:53:08 [ 80%] Built target device-random 14:53:08 [ 84%] Built target device-gyro 14:53:08 [ 88%] Built target device-bitfields 14:53:08 [ 92%] Built target template-discovery 14:53:08 [ 96%] Built target device-file 14:53:08 [100%] Built target device-terminal 14:53:08 Install the project... 14:53:08 -- Install configuration: "Release" 14:53:08 -- Installing: /usr/local/lib/libcsdk.so 14:53:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:53:08 -- Installing: /usr/local/include 14:53:08 -- Installing: /usr/local/include/devsdk 14:53:08 -- Installing: /usr/local/include/devsdk/devsdk.h 14:53:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:53:08 -- Installing: /usr/local/include/edgex 14:53:08 -- Installing: /usr/local/include/edgex/rest-server.h 14:53:08 -- Installing: /usr/local/include/edgex/edgex.h 14:53:08 -- Installing: /usr/local/include/edgex/edgex-base.h 14:53:08 -- Installing: /usr/local/include/edgex/devices.h 14:53:08 -- Installing: /usr/local/include/edgex/profiles.h 14:53:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:53:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:53:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:53:08 make: Leaving directory '/tmp/sdk/build/release' 14:53:10 Removing intermediate container e0d02ee966ff 14:53:10 ---> 7e39370ed072 14:53:10 Step 14/22 : FROM ${BASE} 14:53:10 ---> 2b552cad5dd9 14:53:10 Step 15/22 : LABEL maintainer="IOTech " 14:53:10 ---> Running in 13f431864002 14:53:10 Removing intermediate container 13f431864002 14:53:10 ---> fbba1ba0ee0f 14:53:10 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:53:10 ---> Running in 635cbf0b9d33 14:53:11 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:53:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:53:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:53:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:53:12 Removing intermediate container 635cbf0b9d33 14:53:12 ---> 098ad7de4ab1 14:53:12 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:53:12 ---> Running in c9183eb51ce9 14:53:14 Removing intermediate container c9183eb51ce9 14:53:14 ---> d2dafaabcc13 14:53:14 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:53:14 ---> Running in 04f97d5f8259 14:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:53:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:53:17 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 14:53:17 (2/10) Installing curl (8.9.1-r1) 14:53:17 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 14:53:17 (4/10) Installing dumb-init (1.2.5-r2) 14:53:17 (5/10) Installing hiredis (1.1.0-r2) 14:53:17 (6/10) Installing hiredis-dev (1.1.0-r2) 14:53:17 (7/10) Installing libcbor (0.10.2-r1) 14:53:17 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:53:18 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:53:18 (10/10) Installing libuuid (2.38.1-r8) 14:53:18 Executing busybox-1.36.1-r4.trigger 14:53:18 OK: 328 MiB in 90 packages 14:53:19 Removing intermediate container 04f97d5f8259 14:53:19 ---> 33969ebc74f5 14:53:19 Step 19/22 : RUN apk --no-cache upgrade 14:53:20 ---> Running in d395ea2f01bb 14:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:53:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:53:22 Upgrading critical system libraries and apk-tools: 14:53:22 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:53:22 Executing busybox-1.36.1-r4.trigger 14:53:22 Continuing the upgrade transaction with new apk-tools: 14:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:53:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:53:24 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:53:24 Executing busybox-1.36.1-r7.post-upgrade 14:53:24 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:53:24 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:53:24 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 14:53:24 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 14:53:24 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:53:24 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 14:53:24 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 14:53:24 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:53:24 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 14:53:25 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:53:25 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:53:25 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:53:25 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:53:25 Executing busybox-1.36.1-r7.trigger 14:53:25 Executing ca-certificates-20240226-r0.trigger 14:53:25 OK: 328 MiB in 90 packages 14:53:27 Removing intermediate container d395ea2f01bb 14:53:27 ---> 321b36ebc388 14:53:27 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:53:28 ---> af4f923c437e 14:53:28 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:53:28 ---> c653ca858f69 14:53:28 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:53:29 ---> 8eb357b5b287 14:53:29 Successfully built 8eb357b5b287 14:53:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:30 + docker inspect -f . ci-base-image-arm64 14:53:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:30 prd-ubuntu20.04-docker-arm64-4c-16g-26487 does not seem to be running inside a container 14:53:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:53:31 $ docker top 35e5e929af0e3f705bece0b9e26ac812a2e46bb79cb54ec84d806110edec2687 -eo pid,comm [Pipeline] { [Pipeline] sh 14:53:32 + make test 14:53:32 echo "make test" 14:53:32 make test [Pipeline] } 14:53:32 $ docker stop --time=1 35e5e929af0e3f705bece0b9e26ac812a2e46bb79cb54ec84d806110edec2687 14:53:34 $ docker rm -f --volumes 35e5e929af0e3f705bece0b9e26ac812a2e46bb79cb54ec84d806110edec2687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:53:35 + ls -al . 14:53:35 total 208 14:53:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 14:50 . 14:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:50 .. 14:53:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 14:50 .git 14:53:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 14:50 .github 14:53:35 -rw-rw-r-- 1 jenkins jenkins 176 Nov 15 14:50 .gitignore 14:53:35 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 15 14:50 Attribution.txt 14:53:35 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 15 14:50 CHANGELOG.md 14:53:35 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 15 14:50 Doxyfile 14:53:35 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 14:50 GOVERNANCE.md 14:53:35 -rw-rw-r-- 1 jenkins jenkins 784 Nov 15 14:50 Jenkinsfile 14:53:35 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 14:50 LICENSE 14:53:35 -rw-rw-r-- 1 jenkins jenkins 444 Nov 15 14:50 Makefile 14:53:35 -rw-rw-r-- 1 jenkins jenkins 618 Nov 15 14:50 OWNERS.md 14:53:35 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 15 14:50 README.IOT.md 14:53:35 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 15 14:50 README.md 14:53:35 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 15 14:50 README.v3.md 14:53:35 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 14:48 VERSION 14:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:50 docs 14:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:50 include 14:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:50 scripts 14:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:35 + 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=f27bd017b6d72737d04d754e3d2195165e7fc649 --label arch=arm64 --label version=0.0.0 . 14:53:36 Sending build context to Docker daemon 3.075MB 14:53:36 Step 1/18 : ARG BASE=alpine:3.18 14:53:36 Step 2/18 : FROM ${BASE} 14:53:36 ---> 8eb357b5b287 14:53:36 Step 3/18 : LABEL maintainer="IOTech " 14:53:36 ---> Running in 6ce19dd8ab30 14:53:36 Removing intermediate container 6ce19dd8ab30 14:53:36 ---> 4dbb985b8b43 14:53:36 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:53:36 ---> Running in 0d4101c1389a 14:53:37 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:53:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:53:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:53:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:53:38 Removing intermediate container 0d4101c1389a 14:53:38 ---> 336d31215148 14:53:38 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:53:38 ---> Running in 8c3a48d94810 14:53:40 Removing intermediate container 8c3a48d94810 14:53:40 ---> 9325d3a4b586 14:53:40 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:53:40 ---> Running in 010c359225f5 14:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:53:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:53:42 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:53:42 (2/11) Installing libcbor-dev (0.10.2-r1) 14:53:43 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:53:43 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:53:43 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:53:43 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:53:43 (7/11) Installing libblkid (2.38.1-r8) 14:53:43 (8/11) Installing libfdisk (2.38.1-r8) 14:53:43 (9/11) Installing libmount (2.38.1-r8) 14:53:43 (10/11) Installing libsmartcols (2.38.1-r8) 14:53:43 (11/11) Installing util-linux-dev (2.38.1-r8) 14:53:43 Executing busybox-1.36.1-r7.trigger 14:53:43 OK: 334 MiB in 101 packages 14:53:44 Removing intermediate container 010c359225f5 14:53:44 ---> 978cab1fe4fe 14:53:44 Step 7/18 : RUN apk --no-cache upgrade 14:53:44 ---> Running in be5a78614e8b 14:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:53:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:53:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:53:46 OK: 334 MiB in 101 packages 14:53:47 Removing intermediate container be5a78614e8b 14:53:47 ---> c70a1685d02f 14:53:47 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:53:48 ---> 8a352faf7da7 14:53:48 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:53:49 ---> c66528a4e599 14:53:49 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:53:49 ---> 47b94620823b 14:53:49 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:53:50 ---> 3150e3abc5d2 14:53:50 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:53:50 ---> 37b4965b3cf5 14:53:50 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:53:51 ---> f81844db5eae 14:53:51 Step 14/18 : WORKDIR /edgex-c-sdk 14:53:51 ---> Running in df4cbf9b724c 14:53:51 Removing intermediate container df4cbf9b724c 14:53:51 ---> fd046c9b1139 14:53:51 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:53:52 ---> Running in 228cb768367c 14:53:52 Removing intermediate container 228cb768367c 14:53:52 ---> 23b90111a3de 14:53:52 Step 16/18 : LABEL arch=arm64 14:53:52 ---> Running in 6e0dc4192571 14:53:52 Removing intermediate container 6e0dc4192571 14:53:52 ---> bf5bc36bbc5f 14:53:52 Step 17/18 : LABEL git_sha=f27bd017b6d72737d04d754e3d2195165e7fc649 14:53:52 ---> Running in d1791de0ecbb 14:53:52 Removing intermediate container d1791de0ecbb 14:53:52 ---> c8df9e7336f1 14:53:52 Step 18/18 : LABEL version=0.0.0 14:53:52 ---> Running in 20d290916113 14:53:53 Removing intermediate container 20d290916113 14:53:53 ---> d92eb9f12753 14:53:53 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:53:53 Successfully built d92eb9f12753 14:53:53 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:53:54 14:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:53:55 arm64: Pulling from edgex-lftools-log-publisher 14:53:55 8998bd30e6a1: Pulling fs layer 14:53:55 04944245beec: Pulling fs layer 14:53:55 699f458cf7ca: Pulling fs layer 14:53:55 765212b225bb: Pulling fs layer 14:53:55 f23df028b6ca: Pulling fs layer 14:53:55 d65c8cfc05b1: Pulling fs layer 14:53:55 2437ff75d9bd: Pulling fs layer 14:53:55 f23df028b6ca: Waiting 14:53:55 d65c8cfc05b1: Waiting 14:53:55 2437ff75d9bd: Waiting 14:53:55 765212b225bb: Waiting 14:53:55 04944245beec: Verifying Checksum 14:53:55 04944245beec: Download complete 14:53:55 765212b225bb: Verifying Checksum 14:53:55 765212b225bb: Download complete 14:53:55 f23df028b6ca: Download complete 14:53:55 d65c8cfc05b1: Verifying Checksum 14:53:55 d65c8cfc05b1: Download complete 14:53:55 699f458cf7ca: Verifying Checksum 14:53:55 699f458cf7ca: Download complete 14:53:55 8998bd30e6a1: Verifying Checksum 14:53:55 8998bd30e6a1: Download complete 14:53:58 2437ff75d9bd: Verifying Checksum 14:53:58 2437ff75d9bd: Download complete 14:54:00 8998bd30e6a1: Pull complete 14:54:00 04944245beec: Pull complete 14:54:02 699f458cf7ca: Pull complete 14:54:02 765212b225bb: Pull complete 14:54:03 f23df028b6ca: Pull complete 14:54:03 d65c8cfc05b1: Pull complete 14:54:18 2437ff75d9bd: Pull complete 14:54:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:54:18 prd-ubuntu20.04-docker-arm64-4c-16g-26487 does not seem to be running inside a container 14:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:54:21 $ docker top 011493cd17a88f3ea8995ab8e431df888d9fd15e57aa3d759fd28161e9be34b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:22 ---> job-cost.sh 14:54:22 lf-activate-venv: SKIPPING 14:54:22 INFO: No Stack... 14:54:22 INFO: Retrieving Pricing Info for: v3-standard-4 14:54:23 INFO: Archiving Costs [Pipeline] sh 14:54:24 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 14:54:24 + cut -d, -f6 [Pipeline] lock 14:54:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] 14:54:24 Resource [jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] did not exist. Created. 14:54:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:54:25 /w/workspace/device-sdk-c/1@tmp/durable-a639faa6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:54:25 + echo total: 0.10999999940395355 [Pipeline] stash 14:54:25 Warning: overwriting stash ‘stack-cost’ 14:54:26 Stashed 1 file(s) [Pipeline] } 14:54:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:54:26 $ docker stop --time=1 011493cd17a88f3ea8995ab8e431df888d9fd15e57aa3d759fd28161e9be34b9 14:54:27 $ docker rm -f --volumes 011493cd17a88f3ea8995ab8e431df888d9fd15e57aa3d759fd28161e9be34b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:54:30 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives ] 14:54:30 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives 14:54:30 total 16 14:54:30 drwxr-xr-x 3 root root 4096 Nov 15 14:49 . 14:54:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 14:49 .. 14:54:30 drwxr-xr-x 2 root root 4096 Nov 15 14:49 cost 14:54:30 -rw-r--r-- 1 root root 84 Nov 15 14:49 cost.csv 14:54:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives 14:54:30 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives 14:54:30 total 16 14:54:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 14:49 . 14:54:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 14:49 .. 14:54:30 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 14:49 cost 14:54:30 -rw-r--r-- 1 jenkins jenkins 84 Nov 15 14:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:54:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:54:31 ---> package-listing.sh 14:54:31 ++ facter osfamily 14:54:31 ++ tr '[:upper:]' '[:lower:]' 14:54:31 + OS_FAMILY=debian 14:54:31 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-521 14:54:31 + START_PACKAGES=/tmp/packages_start.txt 14:54:31 + END_PACKAGES=/tmp/packages_end.txt 14:54:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:54:31 + PACKAGES=/tmp/packages_start.txt 14:54:31 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-521 ']' 14:54:31 + PACKAGES=/tmp/packages_end.txt 14:54:31 + case "${OS_FAMILY}" in 14:54:31 + dpkg -l 14:54:31 + grep '^ii' 14:54:31 + '[' -f /tmp/packages_start.txt ']' 14:54:31 + '[' -f /tmp/packages_end.txt ']' 14:54:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:54:31 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-521 ']' 14:54:31 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives/ 14:54:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives/ [Pipeline] echo 14:54:31 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-521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:54:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:54:32 prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container 14:54:32 $ 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-521/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-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:54:32 $ docker top d8d90f7f98962c3efe23601f2c42a042bf79367e29782c7e18dbc79cb01e07ac -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:33 + touch /tmp/pre-build-complete [Pipeline] sh 14:54:33 + mkdir -p /var/log/sysstat [Pipeline] sh 14:54:33 + ls /var/log/sa-host 14:54:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:54:34 provisioning config files... 14:54:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/config13250971585830555859tmp [Pipeline] { [Pipeline] echo 14:54:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:54:34 ---> create-netrc.sh [Pipeline] } 14:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:54:35 ---> python-tools-install.sh [Pipeline] echo 14:54:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:54:35 ---> sudo-logs.sh 14:54:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:54:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:54:35 ---> job-cost.sh 14:54:35 lf-activate-venv: SKIPPING 14:54:35 DEBUG: total: 0.2199999988079071 14:54:35 INFO: Retrieving Stack Cost... 14:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 14:54:36 INFO: Archiving Costs [Pipeline] echo 14:54:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:54:36 ---> logs-deploy.sh 14:54:36 lf-activate-venv: SKIPPING 14:54:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-521/1 14:54:36 INFO: archiving workspace using pattern(s): 14:54:37 Archives upload complete. 14:54:37 INFO: archiving logs to Nexus