Pull request #517 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from c5e9af27f55e0d8940fc2a74df67f7e916361754+de2f7dd484aed31b8929cc3252062c81ad15313f (fc4d2fe559d9fc3d10585547268aa6f304829273) 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-ssh16912804283796815349.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-ssh15497585185428566690.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14195564668638956144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4804233140432062663.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10452456793539134730.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23532 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [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-517 # 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/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit c5e9af27f55e0d8940fc2a74df67f7e916361754 Merge succeeded, producing c5e9af27f55e0d8940fc2a74df67f7e916361754 Checking out Revision c5e9af27f55e0d8940fc2a74df67f7e916361754 (PR-517) > git config core.sparsecheckout # timeout=10 > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 Commit message: "bug: Wait for MQTT subscriptions to take effect before returning (#516)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:11:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:11:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:11:52 ========================================================= 18:11:52 EdgeX Global Pipelines Version Info 18:11:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:11:53 ------------------- 18:11:53 stable info: 18:11:53 ------------------- 18:11:53 Commited By: Ginny Guan ginny@iotechsys.com 18:11:53 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 18:11:53 Message: update stable to v1.0.265 18:11:54 ------------------- 18:11:54 experimental info: 18:11:54 ------------------- 18:11:54 Commited By: Cherry Wang cherry@iotechsys.com 18:11:54 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 18:11:54 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5e9af2 [Pipeline] echo 18:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:54 provisioning config files... 18:11:54 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config4619049333988762186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:55 ---> ****-login.sh 18:11:55 nexus3.edgexfoundry.org:10001 18:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:55 Configure a credential helper to remove this warning. See 18:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:55 18:11:55 Login Succeeded 18:11:55 nexus3.edgexfoundry.org:10002 18:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:55 Configure a credential helper to remove this warning. See 18:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:55 18:11:55 Login Succeeded 18:11:55 nexus3.edgexfoundry.org:10003 18:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:55 Configure a credential helper to remove this warning. See 18:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:55 18:11:55 Login Succeeded 18:11:55 nexus3.edgexfoundry.org:10004 18:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:55 Configure a credential helper to remove this warning. See 18:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:55 18:11:55 Login Succeeded 18:11:55 ****.io 18:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:11:55 Configure a credential helper to remove this warning. See 18:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:11:55 18:11:55 Login Succeeded 18:11:55 ---> ****-login.sh ends [Pipeline] } 18:11:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 18:11:56 + git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo 18:11:56 -----------> git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 c5e9af27f55e0d8940fc2a74df67f7e916361754 [false] [Pipeline] sh 18:11:56 + git log --format=format:%s -1 c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo 18:11:56 ========================================================= 18:11:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:56 ========================================================= 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 18:11:57 + git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo 18:11:57 -----------> git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 c5e9af27f55e0d8940fc2a74df67f7e916361754 [false] [Pipeline] sh 18:11:57 + git log --format=format:%s -1 c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo 18:11:57 ========================================================= 18:11:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:11:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:11:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:57 + grep -v github /etc/ssh/ssh_known_hosts 18:11:57 + [ -e /tmp/ssh_known_hosts ] 18:11:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:11:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:11:57 + sudo tee -a /etc/ssh/ssh_known_hosts 18:11:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:58 18:11:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:58 0.1.4: Pulling from edgex-devops/py-git-semver 18:11:58 b85a868b505f: Pulling fs layer 18:11:58 e2be974225ed: Pulling fs layer 18:11:58 339a4e72a1f5: Pulling fs layer 18:11:58 988bab9f4d93: Pulling fs layer 18:11:58 1469e6f7b9e6: Pulling fs layer 18:11:58 eaf3925da568: Pulling fs layer 18:11:58 bab4dde63d76: Pulling fs layer 18:11:58 bde34c3a00c8: Pulling fs layer 18:11:58 b352a97aabf1: Pulling fs layer 18:11:58 4872d77fe225: Pulling fs layer 18:11:58 5851b861e8e6: Pulling fs layer 18:11:58 988bab9f4d93: Waiting 18:11:58 1469e6f7b9e6: Waiting 18:11:58 eaf3925da568: Waiting 18:11:58 bde34c3a00c8: Waiting 18:11:58 b352a97aabf1: Waiting 18:11:58 4872d77fe225: Waiting 18:11:58 5851b861e8e6: Waiting 18:11:58 e2be974225ed: Download complete 18:11:58 988bab9f4d93: Download complete 18:11:58 1469e6f7b9e6: Verifying Checksum 18:11:58 1469e6f7b9e6: Download complete 18:11:58 eaf3925da568: Verifying Checksum 18:11:58 eaf3925da568: Download complete 18:11:58 339a4e72a1f5: Verifying Checksum 18:11:58 339a4e72a1f5: Download complete 18:11:58 bde34c3a00c8: Verifying Checksum 18:11:58 bde34c3a00c8: Download complete 18:11:58 b352a97aabf1: Download complete 18:11:58 4872d77fe225: Verifying Checksum 18:11:58 4872d77fe225: Download complete 18:11:58 5851b861e8e6: Download complete 18:11:58 b85a868b505f: Verifying Checksum 18:11:58 b85a868b505f: Download complete 18:11:59 bab4dde63d76: Verifying Checksum 18:11:59 bab4dde63d76: Download complete 18:12:00 b85a868b505f: Pull complete 18:12:00 e2be974225ed: Pull complete 18:12:00 339a4e72a1f5: Pull complete 18:12:00 988bab9f4d93: Pull complete 18:12:01 1469e6f7b9e6: Pull complete 18:12:01 eaf3925da568: Pull complete 18:12:03 bab4dde63d76: Pull complete 18:12:03 bde34c3a00c8: Pull complete 18:12:03 b352a97aabf1: Pull complete 18:12:03 4872d77fe225: Pull complete 18:12:03 5851b861e8e6: Pull complete 18:12:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:12:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:03 prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container 18:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@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-devops/py-git-semver:0.1.4 cat 18:12:06 $ docker top b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b -eo pid,comm 18:12:07 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). 18:12:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:12:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:12:07 [ssh-agent] Looking for ssh-agent implementation... 18:12:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:07 $ docker exec b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent 18:12:07 SSH_AUTH_SOCK=/tmp/ssh-ufuYJWcqFInJ/agent.32 18:12:07 SSH_AGENT_PID=38 18:12:07 Running ssh-add (command line suppressed) 18:12:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_1164386423510853773.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_1164386423510853773.key) 18:12:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:12:07 + git tag --points-at HEAD [Pipeline] } 18:12:07 $ docker exec --env ******** --env ******** b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent -k 18:12:07 unset SSH_AUTH_SOCK; 18:12:07 unset SSH_AGENT_PID; 18:12:07 echo Agent pid 38 killed; 18:12:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:12:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:12:07 [ssh-agent] Looking for ssh-agent implementation... 18:12:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:08 $ docker exec b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent 18:12:08 SSH_AUTH_SOCK=/tmp/ssh-wIWBKZEWiVdA/agent.71 18:12:08 SSH_AGENT_PID=77 18:12:08 Running ssh-add (command line suppressed) 18:12:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_4854992570646696738.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_4854992570646696738.key) 18:12:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:12:08 + git semver init 18:12:08 2024-10-22 18:12:08,702 [run_init] DEBUG init version:0.0.0 force:False 18:12:08 2024-10-22 18:12:08,703 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver 18:12:08 2024-10-22 18:12:08,703 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver 18:12:08 2024-10-22 18:12:08,703 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517, universal_newlines=False, shell=None, istream=None) 18:12:09 2024-10-22 18:12:09,501 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude 18:12:09 2024-10-22 18:12:09,502 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 with force:False 18:12:09 2024-10-22 18:12:09,502 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 18:12:09 2024-10-22 18:12:09,506 [execute] INFO git cat-file --batch-check 18:12:09 2024-10-22 18:12:09,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) 18:12:09 2024-10-22 18:12:09,513 [execute] INFO git cat-file --batch 18:12:09 2024-10-22 18:12:09,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) 18:12:09 2024-10-22 18:12:09,518 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 18:12:09 0.0.0 [Pipeline] } 18:12:09 $ docker exec --env ******** --env ******** b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent -k 18:12:09 unset SSH_AUTH_SOCK; 18:12:09 unset SSH_AGENT_PID; 18:12:09 echo Agent pid 77 killed; 18:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:12:10 + git semver [Pipeline] } 18:12:10 $ docker stop --time=1 b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b 18:12:11 $ docker rm -f --volumes b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b [Pipeline] // withDockerContainer [Pipeline] sh 18:12:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:12:12 Stashed 1 file(s) [Pipeline] echo 18:12:12 [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 18:12:12 provisioning config files... 18:12:12 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config10446700523594744916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:12 ---> ****-login.sh 18:12:12 nexus3.edgexfoundry.org:10001 18:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:12:12 Configure a credential helper to remove this warning. See 18:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:12:12 18:12:12 Login Succeeded 18:12:12 nexus3.edgexfoundry.org:10002 18:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:12:12 Configure a credential helper to remove this warning. See 18:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:12:12 18:12:12 Login Succeeded 18:12:12 nexus3.edgexfoundry.org:10003 18:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:12:12 Configure a credential helper to remove this warning. See 18:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:12:12 18:12:12 Login Succeeded 18:12:12 nexus3.edgexfoundry.org:10004 18:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:12:12 Configure a credential helper to remove this warning. See 18:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:12:12 18:12:12 Login Succeeded 18:12:12 ****.io 18:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:12:13 Configure a credential helper to remove this warning. See 18:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:12:13 18:12:13 Login Succeeded 18:12:13 ---> ****-login.sh ends [Pipeline] } 18:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:12:13 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:12:13 ========================================================= 18:12:13 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:12:13 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:13 + 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 . 18:12:13 Sending build context to Docker daemon 5.107MB 18:12:13 Step 1/22 : ARG BASE=alpine:3.18 18:12:13 Step 2/22 : FROM ${BASE} as builder 18:12:13 latest: Pulling from edgex-devops/edgex-gcc-base 18:12:13 96526aa774ef: Pulling fs layer 18:12:13 da60e534fd72: Pulling fs layer 18:12:13 96526aa774ef: Verifying Checksum 18:12:13 96526aa774ef: Download complete 18:12:13 96526aa774ef: Pull complete 18:12:14 da60e534fd72: Verifying Checksum 18:12:14 da60e534fd72: Download complete 18:12:18 da60e534fd72: Pull complete 18:12:18 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 18:12:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:12:18 ---> 6605166a5db4 18:12:18 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 18:12:20 ---> Running in 19f54b414b1e 18:12:20 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:12:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:12:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:12:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:12:21 Removing intermediate container 19f54b414b1e 18:12:21 ---> 4c6cce8fbe31 18:12:21 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:12:21 ---> Running in 46e92d649713 18:12:21 Removing intermediate container 46e92d649713 18:12:21 ---> 71f6a8a21fed 18:12:21 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 18:12:21 ---> Running in bfa41063d5b3 18:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:12:22 (1/17) Installing hiredis (1.1.0-r2) 18:12:23 (2/17) Installing hiredis-dev (1.1.0-r2) 18:12:23 (3/17) Installing libcbor (0.10.2-r1) 18:12:23 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 18:12:24 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 18:12:24 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:12:24 (7/17) Installing libcbor-dev (0.10.2-r1) 18:12:24 (8/17) Installing libmenuw (6.4_p20230506-r0) 18:12:24 (9/17) Installing libpanelw (6.4_p20230506-r0) 18:12:24 (10/17) Installing libncurses++ (6.4_p20230506-r0) 18:12:24 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 18:12:24 (12/17) Installing libblkid (2.38.1-r8) 18:12:24 (13/17) Installing libuuid (2.38.1-r8) 18:12:24 (14/17) Installing libfdisk (2.38.1-r8) 18:12:24 (15/17) Installing libmount (2.38.1-r8) 18:12:24 (16/17) Installing libsmartcols (2.38.1-r8) 18:12:24 (17/17) Installing util-linux-dev (2.38.1-r8) 18:12:24 Executing busybox-1.36.1-r4.trigger 18:12:24 OK: 336 MiB in 99 packages 18:12:25 Removing intermediate container bfa41063d5b3 18:12:25 ---> 7674db73a584 18:12:25 Step 6/22 : RUN mkdir /tmp/sdk 18:12:25 ---> Running in a65ebb5f7bb7 18:12:25 Removing intermediate container a65ebb5f7bb7 18:12:25 ---> 9b0ba4606dbe 18:12:25 Step 7/22 : COPY VERSION /tmp/sdk 18:12:26 ---> 59a7944da0dd 18:12:26 Step 8/22 : COPY src /tmp/sdk/src 18:12:26 ---> d49fb84db69d 18:12:26 Step 9/22 : COPY include /tmp/sdk/include 18:12:26 ---> 1726249cbd53 18:12:26 Step 10/22 : COPY scripts /tmp/sdk/scripts 18:12:26 ---> 0faf6752ca3b 18:12:26 Step 11/22 : COPY LICENSE /tmp/sdk 18:12:26 ---> ccce12d2e7ee 18:12:26 Step 12/22 : COPY Attribution.txt /tmp/sdk 18:12:26 ---> 028b8ebf9e0b 18:12:26 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:12:26 ---> Running in 0737d1675855 18:12:27 + CPPCHECK=false 18:12:27 + DOCGEN=false 18:12:27 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:12:27 + '[' 0 -gt 0 ] 18:12:27 + readlink -f ./scripts/build.sh 18:12:27 + dirname /tmp/sdk/scripts/build.sh 18:12:27 + dirname /tmp/sdk/scripts 18:12:27 + ROOT=/tmp/sdk 18:12:27 + cd /tmp/sdk 18:12:27 + mkdir -p /tmp/sdk/build/release 18:12:27 + cd /tmp/sdk/build/release 18:12:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:12:27 -- The C compiler identification is GNU 12.2.1 18:12:27 -- Detecting C compiler ABI info 18:12:27 -- Detecting C compiler ABI info - done 18:12:27 -- Check for working C compiler: /usr/bin/cc - skipped 18:12:27 -- Detecting C compile features 18:12:27 -- Detecting C compile features - done 18:12:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:12:27 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:12:27 -- Found LIBYAML: /usr/lib/libyaml.so 18:12:27 -- Found LIBUUID: /usr/lib/libuuid.so 18:12:27 -- Found LIBCBOR: /usr/lib/libcbor.so 18:12:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:12:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:12:27 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:12:27 -- /opt/iotech/iot/1.5/include 18:12:27 -- C SDK 0.0.0 for Linux 18:12:27 -- Performing Test CSDK_HAVE_ATOMIC 18:12:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:12:27 -- Found Curses: /usr/lib/libcurses.so 18:12:27 Still waiting to schedule task 18:12:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23529’ 18:12:27 -- Configuring done (0.4s) 18:12:27 -- Generating done (0.0s) 18:12:27 -- Build files have been written to: /tmp/sdk/build/release 18:12:27 + tee release.log 18:12:27 + make all package 18:12:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:12:27 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:12:27 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:12:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:12:28 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:12:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:12:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:12:28 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 18:12:28 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 18:12:28 294 | while (privateConfig) 18:12:28 | ^~~~~~~~~~~~~ 18:12:28 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 18:12:28 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:12:28 | ^~~~~~~~~~~~~ 18:12:28 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 18:12:28 271 | while (result) 18:12:28 | ^~~~~~ 18:12:28 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 18:12:28 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:12:28 | ^~~~~~ 18:12:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:12:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:12:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:12:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:12:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:12:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:12:29 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:12:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:12:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:12:29 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:12:30 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:12:30 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:12:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:12:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:12:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:12:31 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:12:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:12:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:12:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:12:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:12:32 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:12:32 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:12:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:12:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:12:32 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:12:32 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:12:32 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:12:32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:12:32 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:12:32 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:12:32 | ^ 18:12:33 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 18:12:33 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 18:12:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:12:33 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 18:12:33 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 18:12:33 | ^~~~~~~~~~~~~~~~~~~~~ 18:12:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:12:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:12:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:12:33 [ 68%] Linking C shared library libcsdk.so 18:12:33 [ 68%] Built target csdk 18:12:33 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:12:33 [ 72%] Linking C executable template 18:12:33 [ 72%] Built target template 18:12:33 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:12:33 [ 76%] Linking C executable device-counter 18:12:33 [ 76%] Built target device-counter 18:12:33 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:12:33 [ 80%] Linking C executable device-random 18:12:34 [ 80%] Built target device-random 18:12:34 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:12:34 [ 84%] Linking C executable device-gyro 18:12:34 [ 84%] Built target device-gyro 18:12:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:12:34 [ 88%] Linking C executable device-bitfields 18:12:34 [ 88%] Built target device-bitfields 18:12:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:12:34 [ 92%] Linking C executable template-discovery 18:12:34 [ 92%] Built target template-discovery 18:12:34 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:12:34 [ 96%] Linking C executable device-file 18:12:34 [ 96%] Built target device-file 18:12:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:12:34 [100%] Linking C executable device-terminal 18:12:34 [100%] Built target device-terminal 18:12:35 Run CPack packaging tool... 18:12:35 CPack: Create package using TGZ 18:12:35 CPack: Install projects 18:12:35 CPack: - Run preinstall target for: Csdk 18:12:35 CPack: - Install project: Csdk [] 18:12:35 CPack: Create package 18:12:35 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:12:35 + '[' false '=' true ] 18:12:35 + '[' false '=' true ] 18:12:35 + mkdir -p /tmp/sdk/build/debug 18:12:35 + cd /tmp/sdk/build/debug 18:12:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:12:35 -- The C compiler identification is GNU 12.2.1 18:12:35 -- Detecting C compiler ABI info 18:12:35 -- Detecting C compiler ABI info - done 18:12:35 -- Check for working C compiler: /usr/bin/cc - skipped 18:12:35 -- Detecting C compile features 18:12:35 -- Detecting C compile features - done 18:12:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:12:35 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:12:35 -- Found LIBYAML: /usr/lib/libyaml.so 18:12:35 -- Found LIBUUID: /usr/lib/libuuid.so 18:12:35 -- Found LIBCBOR: /usr/lib/libcbor.so 18:12:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:12:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:12:35 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:12:35 -- /opt/iotech/iot/1.5/include 18:12:35 -- C SDK 0.0.0 for Linux 18:12:35 -- Performing Test CSDK_HAVE_ATOMIC 18:12:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:12:35 -- Found Curses: /usr/lib/libcurses.so 18:12:35 -- Configuring done (0.4s) 18:12:35 -- Generating done (0.0s) 18:12:35 -- Build files have been written to: /tmp/sdk/build/debug 18:12:35 + make 18:12:35 + tee debug.log 18:12:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:12:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:12:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:12:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:12:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:12:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:12:36 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:12:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:12:36 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:12:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:12:36 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:12:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:12:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:12:36 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:12:36 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:12:36 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:12:36 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:12:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:12:37 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:12:37 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:12:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:12:37 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:12:37 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:12:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:12:37 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:12:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:12:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:12:38 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:12:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:12:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:12:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:12:38 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:12:38 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:12:38 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:12:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:12:38 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:12:38 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:12:38 | ^ 18:12:38 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:12:38 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:12:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:12:38 [ 68%] Linking C shared library libcsdk.so 18:12:38 [ 68%] Built target csdk 18:12:38 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:12:38 [ 72%] Linking C executable template 18:12:38 [ 72%] Built target template 18:12:38 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:12:38 [ 76%] Linking C executable device-counter 18:12:38 [ 76%] Built target device-counter 18:12:38 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:12:39 [ 80%] Linking C executable device-random 18:12:39 [ 80%] Built target device-random 18:12:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:12:39 [ 84%] Linking C executable device-gyro 18:12:39 [ 84%] Built target device-gyro 18:12:39 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:12:39 [ 88%] Linking C executable device-bitfields 18:12:39 [ 88%] Built target device-bitfields 18:12:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:12:39 [ 92%] Linking C executable template-discovery 18:12:39 [ 92%] Built target template-discovery 18:12:39 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:12:39 [ 96%] Linking C executable device-file 18:12:39 [ 96%] Built target device-file 18:12:39 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:12:39 [100%] Linking C executable device-terminal 18:12:40 [100%] Built target device-terminal 18:12:40 make: Entering directory '/tmp/sdk/build/release' 18:12:40 [ 68%] Built target csdk 18:12:40 [ 72%] Built target template 18:12:40 [ 76%] Built target device-counter 18:12:40 [ 80%] Built target device-random 18:12:40 [ 84%] Built target device-gyro 18:12:40 [ 88%] Built target device-bitfields 18:12:40 [ 92%] Built target template-discovery 18:12:40 [ 96%] Built target device-file 18:12:40 [100%] Built target device-terminal 18:12:40 Install the project... 18:12:40 -- Install configuration: "Release" 18:12:40 -- Installing: /usr/local/lib/libcsdk.so 18:12:40 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:12:40 -- Installing: /usr/local/include 18:12:40 -- Installing: /usr/local/include/devsdk 18:12:40 -- Installing: /usr/local/include/devsdk/devsdk.h 18:12:40 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:12:40 -- Installing: /usr/local/include/edgex 18:12:40 -- Installing: /usr/local/include/edgex/edgex.h 18:12:40 -- Installing: /usr/local/include/edgex/devices.h 18:12:40 -- Installing: /usr/local/include/edgex/profiles.h 18:12:40 -- Installing: /usr/local/include/edgex/edgex-base.h 18:12:40 -- Installing: /usr/local/include/edgex/rest-server.h 18:12:40 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:12:40 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:12:40 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:12:40 make: Leaving directory '/tmp/sdk/build/release' 18:12:40 Removing intermediate container 0737d1675855 18:12:40 ---> e9777cba66d4 18:12:40 Step 14/22 : FROM ${BASE} 18:12:40 ---> 6605166a5db4 18:12:40 Step 15/22 : LABEL maintainer="IOTech " 18:12:40 ---> Running in 9ec335cc7997 18:12:41 Removing intermediate container 9ec335cc7997 18:12:41 ---> b1231b1db7fc 18:12:41 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 18:12:41 ---> Running in 559248eb6ffe 18:12:41 Connecting to iotech.jfrog.io (34.247.22.236:443) 18:12:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:12:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:12:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:12:41 Removing intermediate container 559248eb6ffe 18:12:41 ---> 4a2c9b7daf73 18:12:41 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:12:42 ---> Running in ef665d81d0bd 18:12:42 Removing intermediate container ef665d81d0bd 18:12:42 ---> b0bc3e1c7420 18:12:42 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 18:12:42 ---> Running in 0cff53a93192 18:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:12:43 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 18:12:43 (2/10) Installing curl (8.9.1-r1) 18:12:43 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 18:12:43 (4/10) Installing dumb-init (1.2.5-r2) 18:12:43 (5/10) Installing hiredis (1.1.0-r2) 18:12:43 (6/10) Installing hiredis-dev (1.1.0-r2) 18:12:43 (7/10) Installing libcbor (0.10.2-r1) 18:12:43 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 18:12:44 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:12:44 (10/10) Installing libuuid (2.38.1-r8) 18:12:44 Executing busybox-1.36.1-r4.trigger 18:12:44 OK: 331 MiB in 90 packages 18:12:45 Removing intermediate container 0cff53a93192 18:12:45 ---> d48daf3f1847 18:12:45 Step 19/22 : RUN apk --no-cache upgrade 18:12:45 ---> Running in 111860e2b45a 18:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:12:46 Upgrading critical system libraries and apk-tools: 18:12:46 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 18:12:46 Executing busybox-1.36.1-r4.trigger 18:12:46 Continuing the upgrade transaction with new apk-tools: 18:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:12:47 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 18:12:47 Executing busybox-1.36.1-r7.post-upgrade 18:12:47 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 18:12:47 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:12:47 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 18:12:47 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 18:12:47 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 18:12:47 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 18:12:47 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) 18:12:47 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 18:12:47 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 18:12:47 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 18:12:47 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 18:12:47 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 18:12:47 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 18:12:47 Executing busybox-1.36.1-r7.trigger 18:12:47 Executing ca-certificates-20240226-r0.trigger 18:12:47 OK: 332 MiB in 90 packages 18:12:48 Removing intermediate container 111860e2b45a 18:12:48 ---> 79e8ff66c445 18:12:48 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:12:48 ---> 86db7b294aaf 18:12:48 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 18:12:49 ---> b2b80f7077c9 18:12:49 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:12:49 ---> d23f1dee972c 18:12:49 Successfully built d23f1dee972c 18:12:49 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 18:12:49 + docker inspect -f . ci-base-image-x86_64 18:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:49 prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container 18:12:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:12:49 $ docker top ec8b1853fa7fa0ca007a3f53a6fb1dbe04dee3161ffc835cf1efcbb51683b805 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:50 + make test 18:12:50 echo "make test" 18:12:50 make test [Pipeline] } 18:12:50 $ docker stop --time=1 ec8b1853fa7fa0ca007a3f53a6fb1dbe04dee3161ffc835cf1efcbb51683b805 18:12:51 $ docker rm -f --volumes ec8b1853fa7fa0ca007a3f53a6fb1dbe04dee3161ffc835cf1efcbb51683b805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:12:52 + ls -al . 18:12:52 total 212 18:12:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:12 . 18:12:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:11 .. 18:12:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:12 .git 18:12:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:11 .github 18:12:52 -rw-rw-r-- 1 jenkins jenkins 176 Oct 22 18:11 .gitignore 18:12:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:12 .semver 18:12:52 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 22 18:11 Attribution.txt 18:12:52 -rw-rw-r-- 1 jenkins jenkins 11953 Oct 22 18:11 CHANGELOG.md 18:12:52 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 22 18:11 Doxyfile 18:12:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:11 GOVERNANCE.md 18:12:52 -rw-rw-r-- 1 jenkins jenkins 784 Oct 22 18:11 Jenkinsfile 18:12:52 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 18:11 LICENSE 18:12:52 -rw-rw-r-- 1 jenkins jenkins 444 Oct 22 18:11 Makefile 18:12:52 -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 18:11 OWNERS.md 18:12:52 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 22 18:11 README.IOT.md 18:12:52 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 22 18:11 README.md 18:12:52 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 22 18:11 README.v3.md 18:12:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:12 VERSION 18:12:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:11 docs 18:12:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:11 include 18:12:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:11 scripts 18:12:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:52 + 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=c5e9af27f55e0d8940fc2a74df67f7e916361754 --label arch=amd64 --label version=0.0.0 . 18:12:52 Sending build context to Docker daemon 5.107MB 18:12:52 Step 1/18 : ARG BASE=alpine:3.18 18:12:52 Step 2/18 : FROM ${BASE} 18:12:52 ---> d23f1dee972c 18:12:52 Step 3/18 : LABEL maintainer="IOTech " 18:12:52 ---> Running in cff63f909ef3 18:12:52 Removing intermediate container cff63f909ef3 18:12:52 ---> 058a25662a08 18:12:52 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 18:12:52 ---> Running in 154290e4e4f2 18:12:53 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:12:53 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:12:53 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:12:53 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:12:53 Removing intermediate container 154290e4e4f2 18:12:53 ---> 0a35f99928c1 18:12:53 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:12:53 ---> Running in 63a95588be8d 18:12:54 Removing intermediate container 63a95588be8d 18:12:54 ---> 7a03b652ca1c 18:12:54 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 18:12:54 ---> Running in abcab9a416e7 18:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:12:55 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 18:12:55 (2/11) Installing libcbor-dev (0.10.2-r1) 18:12:55 (3/11) Installing libmenuw (6.4_p20230506-r0) 18:12:55 (4/11) Installing libpanelw (6.4_p20230506-r0) 18:12:55 (5/11) Installing libncurses++ (6.4_p20230506-r0) 18:12:55 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 18:12:55 (7/11) Installing libblkid (2.38.1-r8) 18:12:55 (8/11) Installing libfdisk (2.38.1-r8) 18:12:55 (9/11) Installing libmount (2.38.1-r8) 18:12:55 (10/11) Installing libsmartcols (2.38.1-r8) 18:12:55 (11/11) Installing util-linux-dev (2.38.1-r8) 18:12:55 Executing busybox-1.36.1-r7.trigger 18:12:55 OK: 337 MiB in 101 packages 18:12:56 Removing intermediate container abcab9a416e7 18:12:56 ---> 1d41e6f93336 18:12:56 Step 7/18 : RUN apk --no-cache upgrade 18:12:56 ---> Running in 1e0d5d1344bf 18:12:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:12:57 OK: 337 MiB in 101 packages 18:12:57 Removing intermediate container 1e0d5d1344bf 18:12:57 ---> f9af22ad4d0a 18:12:57 Step 8/18 : COPY VERSION /edgex-c-sdk/ 18:12:57 ---> faf6ec29cf07 18:12:57 Step 9/18 : COPY src /edgex-c-sdk/src/ 18:12:58 ---> 2d61de31e816 18:12:58 Step 10/18 : COPY include /edgex-c-sdk/include/ 18:12:58 ---> 2e90f03ea203 18:12:58 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 18:12:58 ---> 568c875347ee 18:12:58 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 18:12:58 ---> 119703dadbc7 18:12:58 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 18:12:58 ---> d99e87230ddd 18:12:58 Step 14/18 : WORKDIR /edgex-c-sdk 18:12:58 ---> Running in e28eb352b4ec 18:12:58 Removing intermediate container e28eb352b4ec 18:12:58 ---> 77f36fbd4bf1 18:12:58 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:12:58 ---> Running in 25a05b995a8b 18:12:58 Removing intermediate container 25a05b995a8b 18:12:58 ---> 3ce77572310f 18:12:58 Step 16/18 : LABEL arch=amd64 18:12:58 ---> Running in 29a3236d42ca 18:12:58 Removing intermediate container 29a3236d42ca 18:12:58 ---> ef21799468e5 18:12:58 Step 17/18 : LABEL git_sha=c5e9af27f55e0d8940fc2a74df67f7e916361754 18:12:58 ---> Running in ccbdcf1286f8 18:12:58 Removing intermediate container ccbdcf1286f8 18:12:58 ---> 25614357cf63 18:12:58 Step 18/18 : LABEL version=0.0.0 18:12:59 ---> Running in 76d1bc7c06bf 18:12:59 Removing intermediate container 76d1bc7c06bf 18:12:59 ---> 5be0e655c015 18:12:59 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:12:59 Successfully built 5be0e655c015 18:12:59 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:12:59 18:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:00 latest: Pulling from edgex-lftools-log-publisher 18:13:00 5eb5b503b376: Pulling fs layer 18:13:00 5c69ac0246d0: Pulling fs layer 18:13:00 ec43610c2a17: Pulling fs layer 18:13:00 3a2ae6a8a46f: Pulling fs layer 18:13:00 33b1e0a273af: Pulling fs layer 18:13:00 5d3b04190fa2: Pulling fs layer 18:13:00 2f39f015ded8: Pulling fs layer 18:13:00 3a2ae6a8a46f: Waiting 18:13:00 5d3b04190fa2: Waiting 18:13:00 33b1e0a273af: Waiting 18:13:00 5c69ac0246d0: Download complete 18:13:00 3a2ae6a8a46f: Download complete 18:13:00 33b1e0a273af: Verifying Checksum 18:13:00 33b1e0a273af: Download complete 18:13:00 5d3b04190fa2: Download complete 18:13:00 ec43610c2a17: Verifying Checksum 18:13:00 ec43610c2a17: Download complete 18:13:01 5eb5b503b376: Verifying Checksum 18:13:01 5eb5b503b376: Download complete 18:13:01 2f39f015ded8: Download complete 18:13:02 5eb5b503b376: Pull complete 18:13:02 5c69ac0246d0: Pull complete 18:13:03 ec43610c2a17: Pull complete 18:13:03 3a2ae6a8a46f: Pull complete 18:13:03 33b1e0a273af: Pull complete 18:13:03 5d3b04190fa2: Pull complete 18:13:08 2f39f015ded8: Pull complete 18:13:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:08 prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container 18:13:08 $ 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-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:13:13 $ docker top 2ea73ed6b0244c43a6c3296c475d121b5d1039d5ac67ca39e30f254beec84a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:14 ---> job-cost.sh 18:13:14 lf-activate-venv: SKIPPING 18:13:14 INFO: No Stack... 18:13:14 INFO: Retrieving Pricing Info for: v3-standard-8 18:13:14 INFO: Archiving Costs [Pipeline] sh 18:13:15 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv 18:13:15 + cut -d, -f6 [Pipeline] lock 18:13:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] 18:13:15 Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] did not exist. Created. 18:13:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:13:15 + echo total: 0.2199999988079071 [Pipeline] stash 18:13:15 Stashed 1 file(s) [Pipeline] } 18:13:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:15 $ docker stop --time=1 2ea73ed6b0244c43a6c3296c475d121b5d1039d5ac67ca39e30f254beec84a6e 18:13:16 $ docker rm -f --volumes 2ea73ed6b0244c43a6c3296c475d121b5d1039d5ac67ca39e30f254beec84a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:16:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23534 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] ws 18:16:18 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 18:16:18 Selected Git installation does not exist. Using Default 18:16:18 The recommended git tool is: NONE 18:16:27 using credential edgex-jenkins-ssh 18:16:27 Cloning the remote Git repository 18:16:27 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:16:27 > git init /w/workspace/device-sdk-c/2 # timeout=10 18:16:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:16:28 > git --version # timeout=10 18:16:28 > git --version # 'git version 2.25.1' 18:16:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:16:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:16:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:16:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:16:31 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit c5e9af27f55e0d8940fc2a74df67f7e916361754 18:16:31 Merge succeeded, producing c5e9af27f55e0d8940fc2a74df67f7e916361754 18:16:31 Checking out Revision c5e9af27f55e0d8940fc2a74df67f7e916361754 (PR-517) 18:16:31 > git config core.sparsecheckout # timeout=10 18:16:31 > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 18:16:31 > git remote # timeout=10 18:16:31 > git config --get remote.origin.url # timeout=10 18:16:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:31 > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 18:16:31 > git rev-parse HEAD^{commit} # timeout=10 18:16:31 > git config core.sparsecheckout # timeout=10 18:16:31 > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 18:16:35 Commit message: "bug: Wait for MQTT subscriptions to take effect before returning (#516)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:16:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:16:37 % Total % Received % Xferd Average Speed Time Time Time Current 18:16:37 Dload Upload Total Spent Left Speed 18:16:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 18:16:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:16:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:16:38 + sudo tee /etc/docker/daemon.new 18:16:38 { 18:16:38 "registry-mirrors": [ 18:16:38 "https://nexus3.edgexfoundry.org:10001" 18:16:38 ], 18:16:38 "bip": "10.250.0.254/24", 18:16:38 "hosts": [ 18:16:38 "tcp://0.0.0.0:5555", 18:16:38 "unix:///var/run/docker.sock" 18:16:38 ], 18:16:38 "mtu": 1458, 18:16:38 "selinux-enabled": true, 18:16:38 "seccomp-profile": "/etc/docker/seccomp.json" 18:16:38 } [Pipeline] sh 18:16:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:16:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:57 provisioning config files... 18:16:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7908220502662759238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:57 ---> ****-login.sh 18:16:57 nexus3.edgexfoundry.org:10001 18:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:58 Configure a credential helper to remove this warning. See 18:16:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:58 18:16:58 Login Succeeded 18:16:58 nexus3.edgexfoundry.org:10002 18:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:58 Configure a credential helper to remove this warning. See 18:16:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:58 18:16:58 Login Succeeded 18:16:58 nexus3.edgexfoundry.org:10003 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 nexus3.edgexfoundry.org:10004 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 ****.io 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:17:00 Configure a credential helper to remove this warning. See 18:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:17:00 18:17:00 Login Succeeded 18:17:00 ---> ****-login.sh ends [Pipeline] } 18:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:17:00 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 18:17:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:17:00 ========================================================= 18:17:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:17:00 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:01 + 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 . 18:17:01 Sending build context to Docker daemon 3.068MB 18:17:01 Step 1/22 : ARG BASE=alpine:3.18 18:17:01 Step 2/22 : FROM ${BASE} as builder 18:17:01 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:17:01 579b34f0a95b: Pulling fs layer 18:17:01 e71477ac5e1b: Pulling fs layer 18:17:01 579b34f0a95b: Verifying Checksum 18:17:01 579b34f0a95b: Download complete 18:17:02 579b34f0a95b: Pull complete 18:17:04 e71477ac5e1b: Verifying Checksum 18:17:04 e71477ac5e1b: Download complete 18:17:16 e71477ac5e1b: Pull complete 18:17:16 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 18:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:17:16 ---> 2b552cad5dd9 18:17:16 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 18:17:16 ---> Running in a95c78824fee 18:17:17 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:17:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:17:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:17:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:17:18 Removing intermediate container a95c78824fee 18:17:18 ---> 13a00a48ac03 18:17:18 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:17:18 ---> Running in c89db6a07aed 18:17:20 Removing intermediate container c89db6a07aed 18:17:20 ---> 4b618c7f7c28 18:17:20 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 18:17:20 ---> Running in 52df65a377bb 18:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:17:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:17:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:17:23 (1/17) Installing hiredis (1.1.0-r2) 18:17:23 (2/17) Installing hiredis-dev (1.1.0-r2) 18:17:23 (3/17) Installing libcbor (0.10.2-r1) 18:17:23 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 18:17:24 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 18:17:24 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:17:24 (7/17) Installing libcbor-dev (0.10.2-r1) 18:17:24 (8/17) Installing libmenuw (6.4_p20230506-r0) 18:17:25 (9/17) Installing libpanelw (6.4_p20230506-r0) 18:17:25 (10/17) Installing libncurses++ (6.4_p20230506-r0) 18:17:25 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 18:17:25 (12/17) Installing libblkid (2.38.1-r8) 18:17:25 (13/17) Installing libuuid (2.38.1-r8) 18:17:25 (14/17) Installing libfdisk (2.38.1-r8) 18:17:25 (15/17) Installing libmount (2.38.1-r8) 18:17:25 (16/17) Installing libsmartcols (2.38.1-r8) 18:17:25 (17/17) Installing util-linux-dev (2.38.1-r8) 18:17:25 Executing busybox-1.36.1-r4.trigger 18:17:25 OK: 333 MiB in 99 packages 18:17:26 Removing intermediate container 52df65a377bb 18:17:26 ---> 0beb32c8a9e1 18:17:26 Step 6/22 : RUN mkdir /tmp/sdk 18:17:26 ---> Running in c885d574d975 18:17:28 Removing intermediate container c885d574d975 18:17:28 ---> 920e22267752 18:17:28 Step 7/22 : COPY VERSION /tmp/sdk 18:17:28 ---> 1bb0deb0ac36 18:17:28 Step 8/22 : COPY src /tmp/sdk/src 18:17:29 ---> 73d14a2d892a 18:17:29 Step 9/22 : COPY include /tmp/sdk/include 18:17:30 ---> 0098ca68b762 18:17:30 Step 10/22 : COPY scripts /tmp/sdk/scripts 18:17:32 ---> 78f384ff2872 18:17:32 Step 11/22 : COPY LICENSE /tmp/sdk 18:17:32 ---> 43a0308f2c09 18:17:32 Step 12/22 : COPY Attribution.txt /tmp/sdk 18:17:33 ---> f493486228c1 18:17:33 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:17:33 ---> Running in c1806fa2730b 18:17:34 + CPPCHECK=false 18:17:34 + DOCGEN=false 18:17:34 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:17:34 + '[' 0 -gt 0 ] 18:17:34 + readlink -f ./scripts/build.sh 18:17:34 + dirname /tmp/sdk/scripts/build.sh 18:17:34 + dirname /tmp/sdk/scripts 18:17:34 + ROOT=/tmp/sdk 18:17:34 + cd /tmp/sdk 18:17:34 + mkdir -p /tmp/sdk/build/release 18:17:34 + cd /tmp/sdk/build/release 18:17:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:17:34 -- The C compiler identification is GNU 12.2.1 18:17:34 -- Detecting C compiler ABI info 18:17:35 -- Detecting C compiler ABI info - done 18:17:35 -- Check for working C compiler: /usr/bin/cc - skipped 18:17:35 -- Detecting C compile features 18:17:35 -- Detecting C compile features - done 18:17:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:17:35 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:17:35 -- Found LIBYAML: /usr/lib/libyaml.so 18:17:35 -- Found LIBUUID: /usr/lib/libuuid.so 18:17:35 -- Found LIBCBOR: /usr/lib/libcbor.so 18:17:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:17:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:17:35 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:17:35 -- /opt/iotech/iot/1.5/include 18:17:35 -- C SDK 0.0.0 for Linux 18:17:35 -- Performing Test CSDK_HAVE_ATOMIC 18:17:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:17:35 -- Found Curses: /usr/lib/libcurses.so 18:17:36 -- Configuring done (1.8s) 18:17:36 -- Generating done (0.2s) 18:17:36 -- Build files have been written to: /tmp/sdk/build/release 18:17:36 + make all package 18:17:36 + tee release.log 18:17:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:17:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:17:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:17:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:17:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:17:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:17:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:17:43 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 18:17:43 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 18:17:43 294 | while (privateConfig) 18:17:43 | ^~~~~~~~~~~~~ 18:17:43 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 18:17:43 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:17:43 | ^~~~~~~~~~~~~ 18:17:43 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 18:17:43 271 | while (result) 18:17:43 | ^~~~~~ 18:17:43 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 18:17:43 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:17:43 | ^~~~~~ 18:17:43 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:17:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:17:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:17:46 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:17:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:17:47 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:17:48 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:17:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:17:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:17:50 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:17:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:17:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:17:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:17:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:18:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:18:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:18:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:18:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:18:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:18:05 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:18:07 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:18:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:18:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:18:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:18:09 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:18:10 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:18:10 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:18:10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:18:10 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:18:10 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:18:10 | ^ 18:18:12 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 18:18:12 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 18:18:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:18:12 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 18:18:12 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 18:18:12 | ^~~~~~~~~~~~~~~~~~~~~ 18:18:13 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:18:14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:18:14 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:18:15 [ 68%] Linking C shared library libcsdk.so 18:18:15 [ 68%] Built target csdk 18:18:15 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:18:16 [ 72%] Linking C executable template 18:18:16 [ 72%] Built target template 18:18:16 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:18:17 [ 76%] Linking C executable device-counter 18:18:17 [ 76%] Built target device-counter 18:18:17 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:18:18 [ 80%] Linking C executable device-random 18:18:18 [ 80%] Built target device-random 18:18:18 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:18:19 [ 84%] Linking C executable device-gyro 18:18:19 [ 84%] Built target device-gyro 18:18:19 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:18:20 [ 88%] Linking C executable device-bitfields 18:18:20 [ 88%] Built target device-bitfields 18:18:20 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:18:21 [ 92%] Linking C executable template-discovery 18:18:21 [ 92%] Built target template-discovery 18:18:21 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:18:22 [ 96%] Linking C executable device-file 18:18:23 [ 96%] Built target device-file 18:18:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:18:24 [100%] Linking C executable device-terminal 18:18:24 [100%] Built target device-terminal 18:18:24 Run CPack packaging tool... 18:18:24 CPack: Create package using TGZ 18:18:24 CPack: Install projects 18:18:24 CPack: - Run preinstall target for: Csdk 18:18:25 CPack: - Install project: Csdk [] 18:18:25 CPack: Create package 18:18:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:18:25 + '[' false '=' true ] 18:18:25 + '[' false '=' true ] 18:18:25 + mkdir -p /tmp/sdk/build/debug 18:18:25 + cd /tmp/sdk/build/debug 18:18:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:18:25 -- The C compiler identification is GNU 12.2.1 18:18:25 -- Detecting C compiler ABI info 18:18:26 -- Detecting C compiler ABI info - done 18:18:26 -- Check for working C compiler: /usr/bin/cc - skipped 18:18:26 -- Detecting C compile features 18:18:26 -- Detecting C compile features - done 18:18:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:18:26 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:18:26 -- Found LIBYAML: /usr/lib/libyaml.so 18:18:26 -- Found LIBUUID: /usr/lib/libuuid.so 18:18:26 -- Found LIBCBOR: /usr/lib/libcbor.so 18:18:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:18:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:18:26 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:18:26 -- /opt/iotech/iot/1.5/include 18:18:26 -- C SDK 0.0.0 for Linux 18:18:26 -- Performing Test CSDK_HAVE_ATOMIC 18:18:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:18:27 -- Found Curses: /usr/lib/libcurses.so 18:18:27 -- Configuring done (1.8s) 18:18:27 -- Generating done (0.2s) 18:18:27 -- Build files have been written to: /tmp/sdk/build/debug 18:18:27 + make 18:18:27 + tee debug.log 18:18:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:18:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:18:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:18:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:18:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:18:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:18:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:18:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:18:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:18:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:18:32 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:18:32 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:18:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:18:33 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:18:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:18:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:18:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:18:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:18:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:18:36 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:18:37 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:18:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:18:38 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:18:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:18:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:18:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:18:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:18:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:18:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:18:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:18:42 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:18:43 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:18:43 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:18:43 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:18:43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:18:43 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:18:43 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:18:43 | ^ 18:18:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:18:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:18:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:18:44 [ 68%] Linking C shared library libcsdk.so 18:18:45 [ 68%] Built target csdk 18:18:45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:18:45 [ 72%] Linking C executable template 18:18:46 [ 72%] Built target template 18:18:46 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:18:46 [ 76%] Linking C executable device-counter 18:18:46 [ 76%] Built target device-counter 18:18:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:18:47 [ 80%] Linking C executable device-random 18:18:47 [ 80%] Built target device-random 18:18:47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:18:48 [ 84%] Linking C executable device-gyro 18:18:48 [ 84%] Built target device-gyro 18:18:48 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:18:48 [ 88%] Linking C executable device-bitfields 18:18:49 [ 88%] Built target device-bitfields 18:18:49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:18:49 [ 92%] Linking C executable template-discovery 18:18:49 [ 92%] Built target template-discovery 18:18:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:18:50 [ 96%] Linking C executable device-file 18:18:50 [ 96%] Built target device-file 18:18:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:18:50 [100%] Linking C executable device-terminal 18:18:51 [100%] Built target device-terminal 18:18:51 make: Entering directory '/tmp/sdk/build/release' 18:18:51 [ 68%] Built target csdk 18:18:51 [ 72%] Built target template 18:18:51 [ 76%] Built target device-counter 18:18:51 [ 80%] Built target device-random 18:18:51 [ 84%] Built target device-gyro 18:18:51 [ 88%] Built target device-bitfields 18:18:51 [ 92%] Built target template-discovery 18:18:51 [ 96%] Built target device-file 18:18:51 [100%] Built target device-terminal 18:18:51 Install the project... 18:18:51 -- Install configuration: "Release" 18:18:51 -- Installing: /usr/local/lib/libcsdk.so 18:18:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:18:51 -- Installing: /usr/local/include 18:18:51 -- Installing: /usr/local/include/devsdk 18:18:51 -- Installing: /usr/local/include/devsdk/devsdk.h 18:18:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:18:51 -- Installing: /usr/local/include/edgex 18:18:51 -- Installing: /usr/local/include/edgex/rest-server.h 18:18:51 -- Installing: /usr/local/include/edgex/edgex.h 18:18:51 -- Installing: /usr/local/include/edgex/edgex-base.h 18:18:51 -- Installing: /usr/local/include/edgex/devices.h 18:18:51 -- Installing: /usr/local/include/edgex/profiles.h 18:18:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:18:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:18:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:18:51 make: Leaving directory '/tmp/sdk/build/release' 18:18:53 Removing intermediate container c1806fa2730b 18:18:53 ---> fcdf8d7e3b05 18:18:53 Step 14/22 : FROM ${BASE} 18:18:53 ---> 2b552cad5dd9 18:18:53 Step 15/22 : LABEL maintainer="IOTech " 18:18:53 ---> Running in edff832b5716 18:18:53 Removing intermediate container edff832b5716 18:18:53 ---> b6b5fbca57bd 18:18:53 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 18:18:53 ---> Running in f22b74038736 18:18:54 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:18:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:18:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:18:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:18:56 Removing intermediate container f22b74038736 18:18:56 ---> 5ab192645f45 18:18:56 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:18:56 ---> Running in bf4a7ebd044f 18:18:57 Removing intermediate container bf4a7ebd044f 18:18:57 ---> 89550bdac303 18:18:57 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 18:18:57 ---> Running in 17825fac768d 18:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:18:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:18:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:19:00 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 18:19:00 (2/10) Installing curl (8.9.1-r1) 18:19:00 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 18:19:00 (4/10) Installing dumb-init (1.2.5-r2) 18:19:01 (5/10) Installing hiredis (1.1.0-r2) 18:19:01 (6/10) Installing hiredis-dev (1.1.0-r2) 18:19:01 (7/10) Installing libcbor (0.10.2-r1) 18:19:01 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 18:19:02 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:19:02 (10/10) Installing libuuid (2.38.1-r8) 18:19:02 Executing busybox-1.36.1-r4.trigger 18:19:02 OK: 328 MiB in 90 packages 18:19:03 Removing intermediate container 17825fac768d 18:19:03 ---> f016285de9fe 18:19:03 Step 19/22 : RUN apk --no-cache upgrade 18:19:03 ---> Running in a281d6e069af 18:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:19:06 Upgrading critical system libraries and apk-tools: 18:19:06 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 18:19:06 Executing busybox-1.36.1-r4.trigger 18:19:06 Continuing the upgrade transaction with new apk-tools: 18:19:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:19:08 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 18:19:08 Executing busybox-1.36.1-r7.post-upgrade 18:19:08 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 18:19:08 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:19:08 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 18:19:08 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 18:19:08 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 18:19:08 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 18:19:08 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) 18:19:08 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 18:19:08 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 18:19:08 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 18:19:09 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 18:19:09 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 18:19:09 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 18:19:09 Executing busybox-1.36.1-r7.trigger 18:19:09 Executing ca-certificates-20240226-r0.trigger 18:19:09 OK: 328 MiB in 90 packages 18:19:11 Removing intermediate container a281d6e069af 18:19:11 ---> e1621df27fdb 18:19:11 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:19:12 ---> df355665560d 18:19:12 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 18:19:12 ---> 7351283fde43 18:19:12 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:19:13 ---> 3860f4aaa50f 18:19:13 Successfully built 3860f4aaa50f 18:19:13 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 18:19:13 + docker inspect -f . ci-base-image-arm64 18:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:14 prd-ubuntu20.04-docker-arm64-4c-16g-23534 does not seem to be running inside a container 18:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:15 $ docker top 2e24f2f01395e72bfa6118fea74258a7907310326bd2579fec0eb7e200756dff -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:16 + make test 18:19:16 echo "make test" 18:19:16 make test [Pipeline] } 18:19:16 $ docker stop --time=1 2e24f2f01395e72bfa6118fea74258a7907310326bd2579fec0eb7e200756dff 18:19:17 $ docker rm -f --volumes 2e24f2f01395e72bfa6118fea74258a7907310326bd2579fec0eb7e200756dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:19:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:19:18 + ls -al . 18:19:18 total 208 18:19:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:16 . 18:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 .. 18:19:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:16 .git 18:19:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:16 .github 18:19:18 -rw-rw-r-- 1 jenkins jenkins 176 Oct 22 18:16 .gitignore 18:19:18 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 22 18:16 Attribution.txt 18:19:18 -rw-rw-r-- 1 jenkins jenkins 11953 Oct 22 18:16 CHANGELOG.md 18:19:18 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 22 18:16 Doxyfile 18:19:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:16 GOVERNANCE.md 18:19:18 -rw-rw-r-- 1 jenkins jenkins 784 Oct 22 18:16 Jenkinsfile 18:19:18 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 18:16 LICENSE 18:19:18 -rw-rw-r-- 1 jenkins jenkins 444 Oct 22 18:16 Makefile 18:19:18 -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 18:16 OWNERS.md 18:19:18 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 22 18:16 README.IOT.md 18:19:18 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 22 18:16 README.md 18:19:18 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 22 18:16 README.v3.md 18:19:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:12 VERSION 18:19:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:16 docs 18:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 include 18:19:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:16 scripts 18:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:19 + 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=c5e9af27f55e0d8940fc2a74df67f7e916361754 --label arch=arm64 --label version=0.0.0 . 18:19:19 Sending build context to Docker daemon 3.068MB 18:19:19 Step 1/18 : ARG BASE=alpine:3.18 18:19:19 Step 2/18 : FROM ${BASE} 18:19:19 ---> 3860f4aaa50f 18:19:19 Step 3/18 : LABEL maintainer="IOTech " 18:19:20 ---> Running in 2546dcdf43ab 18:19:20 Removing intermediate container 2546dcdf43ab 18:19:20 ---> 790c4052ae1b 18:19:20 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 18:19:20 ---> Running in 795c3dbc3360 18:19:21 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:19:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:19:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:19:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:19:23 Removing intermediate container 795c3dbc3360 18:19:23 ---> f98d2f3d0796 18:19:23 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:19:23 ---> Running in 43f96ead9dab 18:19:25 Removing intermediate container 43f96ead9dab 18:19:25 ---> 58cb30e7437d 18:19:25 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 18:19:25 ---> Running in 23276351321c 18:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:19:27 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 18:19:28 (2/11) Installing libcbor-dev (0.10.2-r1) 18:19:28 (3/11) Installing libmenuw (6.4_p20230506-r0) 18:19:28 (4/11) Installing libpanelw (6.4_p20230506-r0) 18:19:28 (5/11) Installing libncurses++ (6.4_p20230506-r0) 18:19:28 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 18:19:28 (7/11) Installing libblkid (2.38.1-r8) 18:19:28 (8/11) Installing libfdisk (2.38.1-r8) 18:19:28 (9/11) Installing libmount (2.38.1-r8) 18:19:28 (10/11) Installing libsmartcols (2.38.1-r8) 18:19:28 (11/11) Installing util-linux-dev (2.38.1-r8) 18:19:28 Executing busybox-1.36.1-r7.trigger 18:19:28 OK: 334 MiB in 101 packages 18:19:29 Removing intermediate container 23276351321c 18:19:29 ---> 2a99dfa02358 18:19:29 Step 7/18 : RUN apk --no-cache upgrade 18:19:29 ---> Running in 2468e0528861 18:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:19:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:19:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:19:32 OK: 334 MiB in 101 packages 18:19:33 Removing intermediate container 2468e0528861 18:19:33 ---> 881cc2232ae2 18:19:33 Step 8/18 : COPY VERSION /edgex-c-sdk/ 18:19:33 ---> 7d999177e033 18:19:33 Step 9/18 : COPY src /edgex-c-sdk/src/ 18:19:34 ---> 1226744ab1a8 18:19:34 Step 10/18 : COPY include /edgex-c-sdk/include/ 18:19:34 ---> acda3f503191 18:19:34 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 18:19:35 ---> b91c66172519 18:19:35 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 18:19:35 ---> b238021ab91a 18:19:35 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 18:19:36 ---> 74cd5df6ecca 18:19:36 Step 14/18 : WORKDIR /edgex-c-sdk 18:19:36 ---> Running in f40f3f98c1eb 18:19:36 Removing intermediate container f40f3f98c1eb 18:19:36 ---> 8cc0e3e705a7 18:19:36 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:19:37 ---> Running in 068cfdeb1e7b 18:19:37 Removing intermediate container 068cfdeb1e7b 18:19:37 ---> 9fa7d41b5377 18:19:37 Step 16/18 : LABEL arch=arm64 18:19:37 ---> Running in 2bfc40199764 18:19:37 Removing intermediate container 2bfc40199764 18:19:37 ---> ae4e25ba9399 18:19:37 Step 17/18 : LABEL git_sha=c5e9af27f55e0d8940fc2a74df67f7e916361754 18:19:37 ---> Running in cfa5dbc2150f 18:19:38 Removing intermediate container cfa5dbc2150f 18:19:38 ---> f90f550f6cb7 18:19:38 Step 18/18 : LABEL version=0.0.0 18:19:38 ---> Running in 6c9c71650d64 18:19:38 Removing intermediate container 6c9c71650d64 18:19:38 ---> 275a3fe3451c 18:19:38 [Warning] One or more build-args [MAKE ARCH] were not consumed 18:19:38 Successfully built 275a3fe3451c 18:19:38 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 18:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:38 18:19:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:39 arm64: Pulling from edgex-lftools-log-publisher 18:19:39 8998bd30e6a1: Pulling fs layer 18:19:39 04944245beec: Pulling fs layer 18:19:39 699f458cf7ca: Pulling fs layer 18:19:39 765212b225bb: Pulling fs layer 18:19:39 f23df028b6ca: Pulling fs layer 18:19:39 d65c8cfc05b1: Pulling fs layer 18:19:39 2437ff75d9bd: Pulling fs layer 18:19:39 765212b225bb: Waiting 18:19:39 f23df028b6ca: Waiting 18:19:39 d65c8cfc05b1: Waiting 18:19:39 2437ff75d9bd: Waiting 18:19:39 04944245beec: Verifying Checksum 18:19:39 04944245beec: Download complete 18:19:39 765212b225bb: Verifying Checksum 18:19:39 765212b225bb: Download complete 18:19:39 f23df028b6ca: Download complete 18:19:39 d65c8cfc05b1: Verifying Checksum 18:19:39 d65c8cfc05b1: Download complete 18:19:39 699f458cf7ca: Verifying Checksum 18:19:39 699f458cf7ca: Download complete 18:19:40 8998bd30e6a1: Verifying Checksum 18:19:40 8998bd30e6a1: Download complete 18:19:42 2437ff75d9bd: Verifying Checksum 18:19:42 2437ff75d9bd: Download complete 18:19:44 8998bd30e6a1: Pull complete 18:19:45 04944245beec: Pull complete 18:19:46 699f458cf7ca: Pull complete 18:19:47 765212b225bb: Pull complete 18:19:48 f23df028b6ca: Pull complete 18:19:48 d65c8cfc05b1: Pull complete 18:20:06 2437ff75d9bd: Pull complete 18:20:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:20:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:06 prd-ubuntu20.04-docker-arm64-4c-16g-23534 does not seem to be running inside a container 18:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:20:09 $ docker top 9d548d60dac4067f357ed436eeb6d6b05089cfd60ace7c9adc2ae91ddb3b662b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:10 ---> job-cost.sh 18:20:10 lf-activate-venv: SKIPPING 18:20:10 INFO: No Stack... 18:20:11 INFO: Retrieving Pricing Info for: v3-standard-4 18:20:11 INFO: Archiving Costs [Pipeline] sh 18:20:12 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 18:20:12 + cut -d, -f6 [Pipeline] lock 18:20:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] 18:20:12 Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] did not exist. Created. 18:20:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:13 /w/workspace/device-sdk-c/2@tmp/durable-94af8140/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:20:13 + echo total: 0.10999999940395355 [Pipeline] stash 18:20:13 Warning: overwriting stash ‘stack-cost’ 18:20:14 Stashed 1 file(s) [Pipeline] } 18:20:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:20:14 $ docker stop --time=1 9d548d60dac4067f357ed436eeb6d6b05089cfd60ace7c9adc2ae91ddb3b662b 18:20:15 $ docker rm -f --volumes 9d548d60dac4067f357ed436eeb6d6b05089cfd60ace7c9adc2ae91ddb3b662b [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 18:20:16 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] 18:20:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives 18:20:16 total 16 18:20:16 drwxr-xr-x 3 root root 4096 Oct 22 18:13 . 18:20:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:13 .. 18:20:16 drwxr-xr-x 2 root root 4096 Oct 22 18:13 cost 18:20:16 -rw-r--r-- 1 root root 84 Oct 22 18:13 cost.csv 18:20:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives 18:20:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives 18:20:16 total 16 18:20:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:13 . 18:20:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:13 .. 18:20:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:13 cost 18:20:16 -rw-r--r-- 1 jenkins jenkins 84 Oct 22 18:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:20:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:20:18 ---> package-listing.sh 18:20:18 ++ facter osfamily 18:20:18 ++ tr '[:upper:]' '[:lower:]' 18:20:18 + OS_FAMILY=debian 18:20:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 18:20:18 + START_PACKAGES=/tmp/packages_start.txt 18:20:18 + END_PACKAGES=/tmp/packages_end.txt 18:20:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:20:18 + PACKAGES=/tmp/packages_start.txt 18:20:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' 18:20:18 + PACKAGES=/tmp/packages_end.txt 18:20:18 + case "${OS_FAMILY}" in 18:20:18 + dpkg -l 18:20:18 + grep '^ii' 18:20:18 + '[' -f /tmp/packages_start.txt ']' 18:20:18 + '[' -f /tmp/packages_end.txt ']' 18:20:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:20:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' 18:20:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ 18:20:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [Pipeline] echo 18:20:18 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-517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:20:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:19 prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container 18:20:19 $ 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-517/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-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@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:latest cat 18:20:19 $ docker top 71806ec456e70ef018129aa1ad2eaab0e1214aee5ea8a477d3faff4854ca7cc2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:20:20 + mkdir -p /var/log/sysstat [Pipeline] sh 18:20:20 + ls /var/log/sa-host 18:20:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:20 provisioning config files... 18:20:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config7134122983848334442tmp [Pipeline] { [Pipeline] echo 18:20:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:20:20 ---> create-netrc.sh [Pipeline] } 18:20:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:20:21 ---> python-tools-install.sh [Pipeline] echo 18:20:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:20:21 ---> sudo-logs.sh 18:20:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:20:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:20:21 ---> job-cost.sh 18:20:21 lf-activate-venv: SKIPPING 18:20:21 DEBUG: total: 0.2199999988079071 18:20:21 INFO: Retrieving Stack Cost... 18:20:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:20:22 INFO: Archiving Costs [Pipeline] echo 18:20:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:20:22 ---> logs-deploy.sh 18:20:22 lf-activate-venv: SKIPPING 18:20:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/2 18:20:22 INFO: archiving workspace using pattern(s): 18:20:23 Archives upload complete. 18:20:23 INFO: archiving logs to Nexus