Pull request #513 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3240676991395224906.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14442499293684223942.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh512031058390056119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6764084423985867096.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12899415175225749198.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10617 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 Merge succeeded, producing b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 Checking out Revision b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 (PR-513) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 Commit message: "feat: Update function comment" First time build. Skipping changelog. > git rev-list --no-walk f76fc440d6364581e30103e413241f79fbf200a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:32:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:32:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:32:04 ========================================================= 14:32:04 EdgeX Global Pipelines Version Info 14:32:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:32:05 ------------------- 14:32:05 stable info: 14:32:05 ------------------- 14:32:05 Commited By: Cherry Wang cherry@iotechsys.com 14:32:05 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:32:05 Message: update stable to v1.0.263 14:32:06 ------------------- 14:32:06 experimental info: 14:32:06 ------------------- 14:32:06 Commited By: Cherry Wang cherry@iotechsys.com 14:32:06 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:32:06 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0f3c9a [Pipeline] echo 14:32:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:32:06 provisioning config files... 14:32:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config12299736719307320107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:07 ---> ****-login.sh 14:32:07 nexus3.edgexfoundry.org:10001 14:32:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:07 Configure a credential helper to remove this warning. See 14:32:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:07 14:32:07 Login Succeeded 14:32:07 nexus3.edgexfoundry.org:10002 14:32:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:07 Configure a credential helper to remove this warning. See 14:32:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:07 14:32:07 Login Succeeded 14:32:07 nexus3.edgexfoundry.org:10003 14:32:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:07 Configure a credential helper to remove this warning. See 14:32:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:07 14:32:07 Login Succeeded 14:32:07 nexus3.edgexfoundry.org:10004 14:32:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:07 Configure a credential helper to remove this warning. See 14:32:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:07 14:32:07 Login Succeeded 14:32:07 ****.io 14:32:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:08 Configure a credential helper to remove this warning. See 14:32:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:08 14:32:08 Login Succeeded 14:32:08 ---> ****-login.sh ends [Pipeline] } 14:32:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:32:08 + git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo 14:32:08 -----------> git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [false] [Pipeline] sh 14:32:08 + git log --format=format:%s -1 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo 14:32:08 ========================================================= 14:32:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:32:08 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:32:09 + git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo 14:32:09 -----------> git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [false] [Pipeline] sh 14:32:09 + git log --format=format:%s -1 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo 14:32:09 ========================================================= 14:32:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:32:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:32:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:32:10 + grep -v github /etc/ssh/ssh_known_hosts 14:32:10 + [ -e /tmp/ssh_known_hosts ] 14:32:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:32:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:32:10 + sudo tee -a /etc/ssh/ssh_known_hosts 14:32:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:32:10 14:32:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:32:10 0.1.4: Pulling from edgex-devops/py-git-semver 14:32:10 b85a868b505f: Pulling fs layer 14:32:10 e2be974225ed: Pulling fs layer 14:32:10 339a4e72a1f5: Pulling fs layer 14:32:10 988bab9f4d93: Pulling fs layer 14:32:10 1469e6f7b9e6: Pulling fs layer 14:32:10 eaf3925da568: Pulling fs layer 14:32:10 bab4dde63d76: Pulling fs layer 14:32:10 bde34c3a00c8: Pulling fs layer 14:32:10 b352a97aabf1: Pulling fs layer 14:32:10 4872d77fe225: Pulling fs layer 14:32:10 5851b861e8e6: Pulling fs layer 14:32:10 1469e6f7b9e6: Waiting 14:32:10 eaf3925da568: Waiting 14:32:10 bab4dde63d76: Waiting 14:32:10 bde34c3a00c8: Waiting 14:32:10 b352a97aabf1: Waiting 14:32:10 4872d77fe225: Waiting 14:32:10 5851b861e8e6: Waiting 14:32:10 988bab9f4d93: Waiting 14:32:10 e2be974225ed: Verifying Checksum 14:32:10 e2be974225ed: Download complete 14:32:10 988bab9f4d93: Verifying Checksum 14:32:10 988bab9f4d93: Download complete 14:32:10 1469e6f7b9e6: Verifying Checksum 14:32:10 1469e6f7b9e6: Download complete 14:32:10 339a4e72a1f5: Verifying Checksum 14:32:10 339a4e72a1f5: Download complete 14:32:10 eaf3925da568: Verifying Checksum 14:32:10 eaf3925da568: Download complete 14:32:10 bde34c3a00c8: Verifying Checksum 14:32:10 bde34c3a00c8: Download complete 14:32:10 b352a97aabf1: Verifying Checksum 14:32:10 b352a97aabf1: Download complete 14:32:10 4872d77fe225: Verifying Checksum 14:32:10 4872d77fe225: Download complete 14:32:10 5851b861e8e6: Verifying Checksum 14:32:10 5851b861e8e6: Download complete 14:32:10 b85a868b505f: Verifying Checksum 14:32:10 b85a868b505f: Download complete 14:32:11 bab4dde63d76: Verifying Checksum 14:32:11 bab4dde63d76: Download complete 14:32:12 b85a868b505f: Pull complete 14:32:12 e2be974225ed: Pull complete 14:32:12 339a4e72a1f5: Pull complete 14:32:12 988bab9f4d93: Pull complete 14:32:13 1469e6f7b9e6: Pull complete 14:32:13 eaf3925da568: Pull complete 14:32:14 bab4dde63d76: Pull complete 14:32:14 bde34c3a00c8: Pull complete 14:32:14 b352a97aabf1: Pull complete 14:32:14 4872d77fe225: Pull complete 14:32:14 5851b861e8e6: Pull complete 14:32:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:32:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:15 prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container 14:32:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:32:17 $ docker top ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf -eo pid,comm 14:32:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:32:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:32:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:17 [ssh-agent] Looking for ssh-agent implementation... 14:32:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:17 $ docker exec ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent 14:32:17 SSH_AUTH_SOCK=/tmp/ssh-3c4seeqEbqxR/agent.34 14:32:17 SSH_AGENT_PID=40 14:32:17 Running ssh-add (command line suppressed) 14:32:17 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_5573271437314022232.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_5573271437314022232.key) 14:32:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:18 + git tag --points-at HEAD [Pipeline] } 14:32:18 $ docker exec --env ******** --env ******** ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent -k 14:32:18 unset SSH_AUTH_SOCK; 14:32:18 unset SSH_AGENT_PID; 14:32:18 echo Agent pid 40 killed; 14:32:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:18 [ssh-agent] Looking for ssh-agent implementation... 14:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:18 $ docker exec ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent 14:32:18 SSH_AUTH_SOCK=/tmp/ssh-qtyg5ImfWgLN/agent.73 14:32:18 SSH_AGENT_PID=79 14:32:18 Running ssh-add (command line suppressed) 14:32:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3369252340620001420.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3369252340620001420.key) 14:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:18 + git semver init 14:32:19 2024-09-18 14:32:19,093 [run_init] DEBUG init version:0.0.0 force:False 14:32:19 2024-09-18 14:32:19,094 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:32:19 2024-09-18 14:32:19,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:32:19 2024-09-18 14:32:19,095 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) 14:32:20 2024-09-18 14:32:19,837 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude 14:32:20 2024-09-18 14:32:19,837 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False 14:32:20 2024-09-18 14:32:19,837 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:32:20 2024-09-18 14:32:19,841 [execute] INFO git cat-file --batch-check 14:32:20 2024-09-18 14:32:19,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:32:20 2024-09-18 14:32:19,847 [execute] INFO git cat-file --batch 14:32:20 2024-09-18 14:32:19,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:32:20 2024-09-18 14:32:19,852 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:32:20 0.0.0 [Pipeline] } 14:32:20 $ docker exec --env ******** --env ******** ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent -k 14:32:20 unset SSH_AUTH_SOCK; 14:32:20 unset SSH_AGENT_PID; 14:32:20 echo Agent pid 79 killed; 14:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:32:20 + git semver [Pipeline] } 14:32:20 $ docker stop --time=1 ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf 14:32:22 $ docker rm -f --volumes ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf [Pipeline] // withDockerContainer [Pipeline] sh 14:32:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:32:22 Stashed 1 file(s) [Pipeline] echo 14:32:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:32:23 provisioning config files... 14:32:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config16757154689437259048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:23 ---> ****-login.sh 14:32:23 nexus3.edgexfoundry.org:10001 14:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:23 Configure a credential helper to remove this warning. See 14:32:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:23 14:32:23 Login Succeeded 14:32:23 nexus3.edgexfoundry.org:10002 14:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:23 Configure a credential helper to remove this warning. See 14:32:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:23 14:32:23 Login Succeeded 14:32:23 nexus3.edgexfoundry.org:10003 14:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:23 Configure a credential helper to remove this warning. See 14:32:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:23 14:32:23 Login Succeeded 14:32:23 nexus3.edgexfoundry.org:10004 14:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:23 Configure a credential helper to remove this warning. See 14:32:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:23 14:32:23 Login Succeeded 14:32:23 ****.io 14:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:32:23 Configure a credential helper to remove this warning. See 14:32:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:32:23 14:32:23 Login Succeeded 14:32:23 ---> ****-login.sh ends [Pipeline] } 14:32:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:32:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:32:23 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:32:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:32:24 ========================================================= 14:32:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:32:24 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:24 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:32:24 Sending build context to Docker daemon 5.194MB 14:32:24 Step 1/22 : ARG BASE=alpine:3.18 14:32:24 Step 2/22 : FROM ${BASE} as builder 14:32:24 latest: Pulling from edgex-devops/edgex-gcc-base 14:32:24 96526aa774ef: Pulling fs layer 14:32:24 da60e534fd72: Pulling fs layer 14:32:24 96526aa774ef: Download complete 14:32:24 96526aa774ef: Pull complete 14:32:25 da60e534fd72: Verifying Checksum 14:32:25 da60e534fd72: Download complete 14:32:28 da60e534fd72: Pull complete 14:32:28 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:32:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:32:28 ---> 6605166a5db4 14:32:28 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:32:30 ---> Running in c36b1bb922e8 14:32:30 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:32:30 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:32:30 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:32:30 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:32:31 Removing intermediate container c36b1bb922e8 14:32:31 ---> 0b7d834963ce 14:32:31 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:32:31 ---> Running in 9e85822bb8f3 14:32:31 Removing intermediate container 9e85822bb8f3 14:32:31 ---> 86e7705090ba 14:32:31 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:32:31 ---> Running in 0c1d4f1810a8 14:32:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:32:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:32:32 (1/17) Installing hiredis (1.1.0-r2) 14:32:32 (2/17) Installing hiredis-dev (1.1.0-r2) 14:32:32 (3/17) Installing libcbor (0.10.2-r1) 14:32:32 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:32:33 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:32:33 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:32:33 (7/17) Installing libcbor-dev (0.10.2-r1) 14:32:33 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:32:33 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:32:33 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:32:33 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:32:33 (12/17) Installing libblkid (2.38.1-r8) 14:32:33 (13/17) Installing libuuid (2.38.1-r8) 14:32:33 (14/17) Installing libfdisk (2.38.1-r8) 14:32:33 (15/17) Installing libmount (2.38.1-r8) 14:32:33 (16/17) Installing libsmartcols (2.38.1-r8) 14:32:33 (17/17) Installing util-linux-dev (2.38.1-r8) 14:32:33 Executing busybox-1.36.1-r4.trigger 14:32:33 OK: 336 MiB in 99 packages 14:32:34 Removing intermediate container 0c1d4f1810a8 14:32:34 ---> d78c4004b70e 14:32:34 Step 6/22 : RUN mkdir /tmp/sdk 14:32:34 ---> Running in f43d48d0889e 14:32:35 Removing intermediate container f43d48d0889e 14:32:35 ---> 43302ae5c947 14:32:35 Step 7/22 : COPY VERSION /tmp/sdk 14:32:35 ---> 82f358376d2f 14:32:35 Step 8/22 : COPY src /tmp/sdk/src 14:32:35 ---> a96d11470da7 14:32:35 Step 9/22 : COPY include /tmp/sdk/include 14:32:35 ---> d6ce8e61e956 14:32:35 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:32:35 ---> 9d419e14f885 14:32:35 Step 11/22 : COPY LICENSE /tmp/sdk 14:32:36 ---> e44924ae9546 14:32:36 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:32:36 ---> 8e1941264464 14:32:36 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:32:36 ---> Running in 99934f3c7d0d 14:32:36 + CPPCHECK=false 14:32:36 + DOCGEN=false 14:32:36 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:32:36 + '[' 0 -gt 0 ] 14:32:36 + readlink -f ./scripts/build.sh 14:32:36 + dirname /tmp/sdk/scripts/build.sh 14:32:36 + dirname /tmp/sdk/scripts 14:32:36 + ROOT=/tmp/sdk 14:32:36 + cd /tmp/sdk 14:32:36 + mkdir -p /tmp/sdk/build/release 14:32:36 + cd /tmp/sdk/build/release 14:32:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:32:36 -- The C compiler identification is GNU 12.2.1 14:32:36 -- Detecting C compiler ABI info 14:32:36 -- Detecting C compiler ABI info - done 14:32:36 -- Check for working C compiler: /usr/bin/cc - skipped 14:32:36 -- Detecting C compile features 14:32:36 -- Detecting C compile features - done 14:32:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:32:36 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:32:36 -- Found LIBYAML: /usr/lib/libyaml.so 14:32:36 -- Found LIBUUID: /usr/lib/libuuid.so 14:32:36 -- Found LIBCBOR: /usr/lib/libcbor.so 14:32:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:32:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:32:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:32:36 -- /opt/iotech/iot/1.5/include 14:32:36 -- C SDK 0.0.0 for Linux 14:32:36 -- Performing Test CSDK_HAVE_ATOMIC 14:32:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:32:36 -- Found Curses: /usr/lib/libcurses.so 14:32:36 -- Configuring done (0.4s) 14:32:36 -- Generating done (0.0s) 14:32:36 -- Build files have been written to: /tmp/sdk/build/release 14:32:36 + make all package 14:32:36 + tee release.log 14:32:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:32:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:32:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:32:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:32:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:32:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:32:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:32:37 Still waiting to schedule task 14:32:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:32:37 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:32:37 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:32:37 294 | while (privateConfig) 14:32:37 | ^~~~~~~~~~~~~ 14:32:37 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:32:37 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:32:37 | ^~~~~~~~~~~~~ 14:32:37 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:32:37 271 | while (result) 14:32:37 | ^~~~~~ 14:32:37 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:32:37 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:32:37 | ^~~~~~ 14:32:37 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:32:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:32:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:32:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:32:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:32:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:32:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:32:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:32:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:32:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:32:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:32:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:32:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:32:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:32:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:32:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:32:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:32:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:32:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:32:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:32:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:32:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:32:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:32:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:32:41 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:32:41 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:32:41 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:32:41 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:32:41 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:32:41 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:32:41 | ^ 14:32:42 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:32:42 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:32:42 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:32:42 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 14:32:42 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:32:42 | ^~~~~~~~~~~~~~~~~~~~~ 14:32:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:32:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:32:42 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:32:42 [ 68%] Linking C shared library libcsdk.so 14:32:42 [ 68%] Built target csdk 14:32:42 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:32:42 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:32:42 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:32:42 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:32:42 | ^~~~~~~~~~~~~~~~~ 14:32:42 | | 14:32:42 | void (*)(void *) 14:32:42 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:32:42 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:32:42 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:32:42 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:32:42 [ 72%] Linking C executable template 14:32:42 [ 72%] Built target template 14:32:42 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:32:42 [ 76%] Linking C executable device-counter 14:32:43 [ 76%] Built target device-counter 14:32:43 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:32:43 [ 80%] Linking C executable device-random 14:32:43 [ 80%] Built target device-random 14:32:43 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:32:43 [ 84%] Linking C executable device-gyro 14:32:43 [ 84%] Built target device-gyro 14:32:43 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:32:43 [ 88%] Linking C executable device-bitfields 14:32:43 [ 88%] Built target device-bitfields 14:32:43 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:32:43 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:32:43 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:32:43 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:32:43 | ^~~~~~~~~~~~~~~~~ 14:32:43 | | 14:32:43 | void (*)(void *) 14:32:43 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:32:43 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:32:43 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:32:43 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:32:43 [ 92%] Linking C executable template-discovery 14:32:43 [ 92%] Built target template-discovery 14:32:43 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:32:43 [ 96%] Linking C executable device-file 14:32:43 [ 96%] Built target device-file 14:32:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:32:44 [100%] Linking C executable device-terminal 14:32:44 [100%] Built target device-terminal 14:32:44 Run CPack packaging tool... 14:32:44 CPack: Create package using TGZ 14:32:44 CPack: Install projects 14:32:44 CPack: - Run preinstall target for: Csdk 14:32:44 CPack: - Install project: Csdk [] 14:32:44 CPack: Create package 14:32:44 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:32:44 + '[' false '=' true ] 14:32:44 + '[' false '=' true ] 14:32:44 + mkdir -p /tmp/sdk/build/debug 14:32:44 + cd /tmp/sdk/build/debug 14:32:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:32:44 -- The C compiler identification is GNU 12.2.1 14:32:44 -- Detecting C compiler ABI info 14:32:44 -- Detecting C compiler ABI info - done 14:32:44 -- Check for working C compiler: /usr/bin/cc - skipped 14:32:44 -- Detecting C compile features 14:32:44 -- Detecting C compile features - done 14:32:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:32:44 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:32:44 -- Found LIBYAML: /usr/lib/libyaml.so 14:32:44 -- Found LIBUUID: /usr/lib/libuuid.so 14:32:44 -- Found LIBCBOR: /usr/lib/libcbor.so 14:32:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:32:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:32:44 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:32:44 -- /opt/iotech/iot/1.5/include 14:32:44 -- C SDK 0.0.0 for Linux 14:32:44 -- Performing Test CSDK_HAVE_ATOMIC 14:32:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:32:44 -- Found Curses: /usr/lib/libcurses.so 14:32:44 -- Configuring done (0.4s) 14:32:44 -- Generating done (0.0s) 14:32:44 -- Build files have been written to: /tmp/sdk/build/debug 14:32:44 + make 14:32:44 + tee debug.log 14:32:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:32:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:32:44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:32:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:32:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:32:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:32:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:32:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:32:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:32:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:32:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:32:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:32:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:32:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:32:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:32:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:32:45 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:32:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:32:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:32:46 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:32:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:32:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:32:46 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:32:46 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:32:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:32:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:32:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:32:47 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:32:47 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:32:47 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:32:47 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:32:47 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:32:47 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:32:47 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:32:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:32:47 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:32:47 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:32:47 | ^ 14:32:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:32:47 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:32:47 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:32:47 [ 68%] Linking C shared library libcsdk.so 14:32:47 [ 68%] Built target csdk 14:32:47 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:32:47 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:32:47 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:32:47 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:32:47 | ^~~~~~~~~~~~~~~~~ 14:32:47 | | 14:32:47 | void (*)(void *) 14:32:47 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:32:47 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:32:47 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:32:47 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:32:47 [ 72%] Linking C executable template 14:32:47 [ 72%] Built target template 14:32:47 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:32:48 [ 76%] Linking C executable device-counter 14:32:48 [ 76%] Built target device-counter 14:32:48 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:32:48 [ 80%] Linking C executable device-random 14:32:48 [ 80%] Built target device-random 14:32:48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:32:48 [ 84%] Linking C executable device-gyro 14:32:48 [ 84%] Built target device-gyro 14:32:48 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:32:48 [ 88%] Linking C executable device-bitfields 14:32:48 [ 88%] Built target device-bitfields 14:32:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:32:48 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:32:48 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:32:48 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:32:48 | ^~~~~~~~~~~~~~~~~ 14:32:48 | | 14:32:48 | void (*)(void *) 14:32:48 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:32:48 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:32:48 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:32:48 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:32:48 [ 92%] Linking C executable template-discovery 14:32:48 [ 92%] Built target template-discovery 14:32:48 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:32:48 [ 96%] Linking C executable device-file 14:32:48 [ 96%] Built target device-file 14:32:48 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:32:48 [100%] Linking C executable device-terminal 14:32:48 [100%] Built target device-terminal 14:32:48 make: Entering directory '/tmp/sdk/build/release' 14:32:48 [ 68%] Built target csdk 14:32:48 [ 72%] Built target template 14:32:49 [ 76%] Built target device-counter 14:32:49 [ 80%] Built target device-random 14:32:49 [ 84%] Built target device-gyro 14:32:49 [ 88%] Built target device-bitfields 14:32:49 [ 92%] Built target template-discovery 14:32:49 [ 96%] Built target device-file 14:32:49 [100%] Built target device-terminal 14:32:49 Install the project... 14:32:49 -- Install configuration: "Release" 14:32:49 -- Installing: /usr/local/lib/libcsdk.so 14:32:49 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:32:49 -- Installing: /usr/local/include 14:32:49 -- Installing: /usr/local/include/devsdk 14:32:49 -- Installing: /usr/local/include/devsdk/devsdk.h 14:32:49 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:32:49 -- Installing: /usr/local/include/edgex 14:32:49 -- Installing: /usr/local/include/edgex/edgex.h 14:32:49 -- Installing: /usr/local/include/edgex/devices.h 14:32:49 -- Installing: /usr/local/include/edgex/profiles.h 14:32:49 -- Installing: /usr/local/include/edgex/edgex-base.h 14:32:49 -- Installing: /usr/local/include/edgex/rest-server.h 14:32:49 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:32:49 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:32:49 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:32:49 make: Leaving directory '/tmp/sdk/build/release' 14:32:49 Removing intermediate container 99934f3c7d0d 14:32:49 ---> 06e33182dc60 14:32:49 Step 14/22 : FROM ${BASE} 14:32:49 ---> 6605166a5db4 14:32:49 Step 15/22 : LABEL maintainer="IOTech " 14:32:49 ---> Running in 9c1adb77165c 14:32:49 Removing intermediate container 9c1adb77165c 14:32:49 ---> c2ffb72ae4d2 14:32:49 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:32:49 ---> Running in 20535a06d497 14:32:50 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:32:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:32:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:32:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:32:51 Removing intermediate container 20535a06d497 14:32:51 ---> d6d1e44cb511 14:32:51 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:32:51 ---> Running in b2fb9a94035b 14:32:51 Removing intermediate container b2fb9a94035b 14:32:51 ---> 7d335b6cc709 14:32:51 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:32:51 ---> Running in 85319f15ebba 14:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:32:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:32:52 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:32:52 (2/10) Installing curl (8.9.1-r0) 14:32:52 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:32:52 (4/10) Installing dumb-init (1.2.5-r2) 14:32:52 (5/10) Installing hiredis (1.1.0-r2) 14:32:52 (6/10) Installing hiredis-dev (1.1.0-r2) 14:32:52 (7/10) Installing libcbor (0.10.2-r1) 14:32:52 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:32:53 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:32:53 (10/10) Installing libuuid (2.38.1-r8) 14:32:53 Executing busybox-1.36.1-r4.trigger 14:32:53 OK: 331 MiB in 90 packages 14:32:53 Removing intermediate container 85319f15ebba 14:32:53 ---> 6c48e161a67e 14:32:53 Step 19/22 : RUN apk --no-cache upgrade 14:32:53 ---> Running in 54c1925fde34 14:32:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:32:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:32:54 Upgrading critical system libraries and apk-tools: 14:32:54 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:32:54 Executing busybox-1.36.1-r4.trigger 14:32:54 Continuing the upgrade transaction with new apk-tools: 14:32:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:32:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:32:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:32:55 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:32:55 Executing busybox-1.36.1-r7.post-upgrade 14:32:55 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:32:55 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:32:55 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:32:55 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:32:55 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:32:55 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:32:55 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:32:55 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:32:55 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:32:55 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:32:55 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:32:55 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:32:55 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:32:55 Executing busybox-1.36.1-r7.trigger 14:32:55 Executing ca-certificates-20240226-r0.trigger 14:32:55 OK: 331 MiB in 90 packages 14:32:56 Removing intermediate container 54c1925fde34 14:32:56 ---> f1f9fc763c13 14:32:56 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:32:56 ---> acd47db2b2aa 14:32:56 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:32:56 ---> 48e466058d3f 14:32:56 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:32:56 ---> b500e33159ba 14:32:56 Successfully built b500e33159ba 14:32:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:57 + docker inspect -f . ci-base-image-x86_64 14:32:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:57 prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container 14:32:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:32:57 $ docker top 10f0de16770bcc1b1e319905a8d60ceb71b8accac76d7816ec6d87b14e722927 -eo pid,comm [Pipeline] { [Pipeline] sh 14:32:58 + make test 14:32:58 echo "make test" 14:32:58 make test [Pipeline] } 14:32:58 $ docker stop --time=1 10f0de16770bcc1b1e319905a8d60ceb71b8accac76d7816ec6d87b14e722927 14:32:59 $ docker rm -f --volumes 10f0de16770bcc1b1e319905a8d60ceb71b8accac76d7816ec6d87b14e722927 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:33:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:33:00 + ls -al . 14:33:00 total 212 14:33:00 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 14:32 . 14:33:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:31 .. 14:33:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:32 .git 14:33:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:32 .github 14:33:00 -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:32 .gitignore 14:33:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:32 .semver 14:33:00 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:32 Attribution.txt 14:33:00 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:32 CHANGELOG.md 14:33:00 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:32 Doxyfile 14:33:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:32 GOVERNANCE.md 14:33:00 -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:32 Jenkinsfile 14:33:00 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:32 LICENSE 14:33:00 -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:32 Makefile 14:33:00 -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:32 OWNERS.md 14:33:00 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:32 README.IOT.md 14:33:00 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:32 README.md 14:33:00 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:32 README.v3.md 14:33:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:32 VERSION 14:33:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:32 docs 14:33:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:32 include 14:33:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:32 scripts 14:33:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:33:01 + 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=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 --label arch=amd64 --label version=0.0.0 . 14:33:01 Sending build context to Docker daemon 5.194MB 14:33:01 Step 1/18 : ARG BASE=alpine:3.18 14:33:01 Step 2/18 : FROM ${BASE} 14:33:01 ---> b500e33159ba 14:33:01 Step 3/18 : LABEL maintainer="IOTech " 14:33:01 ---> Running in 608985fabf5a 14:33:01 Removing intermediate container 608985fabf5a 14:33:01 ---> 8caae583e8ee 14:33:01 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:33:01 ---> Running in bf278894dcef 14:33:01 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:33:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:33:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:33:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:33:02 Removing intermediate container bf278894dcef 14:33:02 ---> dfaf91f6bf16 14:33:02 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:33:02 ---> Running in 53b9b0e8d442 14:33:02 Removing intermediate container 53b9b0e8d442 14:33:02 ---> 8225d28676c3 14:33:02 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:33:02 ---> Running in c65c58d049e2 14:33:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:33:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:33:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:33:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:33:06 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:33:09 (2/11) Installing libcbor-dev (0.10.2-r1) 14:33:09 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:33:10 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:33:10 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:33:10 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:33:10 (7/11) Installing libblkid (2.38.1-r8) 14:33:10 (8/11) Installing libfdisk (2.38.1-r8) 14:33:10 (9/11) Installing libmount (2.38.1-r8) 14:33:10 (10/11) Installing libsmartcols (2.38.1-r8) 14:33:10 (11/11) Installing util-linux-dev (2.38.1-r8) 14:33:10 Executing busybox-1.36.1-r7.trigger 14:33:10 OK: 337 MiB in 101 packages 14:33:12 Removing intermediate container c65c58d049e2 14:33:12 ---> 19d0873f7bd0 14:33:12 Step 7/18 : RUN apk --no-cache upgrade 14:33:12 ---> Running in 175fabdfa78d 14:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:33:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:33:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:33:13 OK: 337 MiB in 101 packages 14:33:13 Removing intermediate container 175fabdfa78d 14:33:13 ---> 231314c7dcdc 14:33:13 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:33:13 ---> 574b0d0476a0 14:33:13 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:33:13 ---> 7be592c91cb7 14:33:13 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:33:14 ---> 42024821cbd6 14:33:14 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:33:14 ---> 397d034e468a 14:33:14 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:33:14 ---> eebcc2ceeae8 14:33:14 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:33:14 ---> 68817370f185 14:33:14 Step 14/18 : WORKDIR /edgex-c-sdk 14:33:14 ---> Running in 44dee9c7c0ba 14:33:14 Removing intermediate container 44dee9c7c0ba 14:33:14 ---> e817e5e76d76 14:33:14 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:33:14 ---> Running in b17902dcf99c 14:33:14 Removing intermediate container b17902dcf99c 14:33:14 ---> 92778cbe63ca 14:33:14 Step 16/18 : LABEL arch=amd64 14:33:14 ---> Running in 0eecf2bcdd22 14:33:14 Removing intermediate container 0eecf2bcdd22 14:33:14 ---> 157749fccb1d 14:33:14 Step 17/18 : LABEL git_sha=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 14:33:14 ---> Running in 2c814b2bef5a 14:33:14 Removing intermediate container 2c814b2bef5a 14:33:14 ---> 55fcea1e8ab3 14:33:14 Step 18/18 : LABEL version=0.0.0 14:33:14 ---> Running in 8f3200742fd1 14:33:14 Removing intermediate container 8f3200742fd1 14:33:14 ---> 11cce7f310af 14:33:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:33:14 Successfully built 11cce7f310af 14:33:14 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:33:15 14:33:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:33:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:33:15 latest: Pulling from edgex-lftools-log-publisher 14:33:15 5eb5b503b376: Pulling fs layer 14:33:15 5c69ac0246d0: Pulling fs layer 14:33:15 ec43610c2a17: Pulling fs layer 14:33:15 3a2ae6a8a46f: Pulling fs layer 14:33:15 33b1e0a273af: Pulling fs layer 14:33:15 5d3b04190fa2: Pulling fs layer 14:33:15 2f39f015ded8: Pulling fs layer 14:33:15 3a2ae6a8a46f: Waiting 14:33:15 33b1e0a273af: Waiting 14:33:15 5d3b04190fa2: Waiting 14:33:15 2f39f015ded8: Waiting 14:33:15 5c69ac0246d0: Verifying Checksum 14:33:15 5c69ac0246d0: Download complete 14:33:15 3a2ae6a8a46f: Verifying Checksum 14:33:15 3a2ae6a8a46f: Download complete 14:33:15 33b1e0a273af: Verifying Checksum 14:33:15 33b1e0a273af: Download complete 14:33:15 5d3b04190fa2: Verifying Checksum 14:33:15 5d3b04190fa2: Download complete 14:33:15 ec43610c2a17: Verifying Checksum 14:33:15 ec43610c2a17: Download complete 14:33:15 5eb5b503b376: Verifying Checksum 14:33:15 5eb5b503b376: Download complete 14:33:16 2f39f015ded8: Download complete 14:33:17 5eb5b503b376: Pull complete 14:33:17 5c69ac0246d0: Pull complete 14:33:17 ec43610c2a17: Pull complete 14:33:17 3a2ae6a8a46f: Pull complete 14:33:17 33b1e0a273af: Pull complete 14:33:18 5d3b04190fa2: Pull complete 14:33:22 2f39f015ded8: Pull complete 14:33:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:33:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:33:22 prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container 14:33:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:33:26 $ docker top 9cf0b56c2f38e41a07ab35e1aeddebcc9d3a3c20001bceeb00c1420e7958997b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:33:26 ---> job-cost.sh 14:33:26 lf-activate-venv: SKIPPING 14:33:26 INFO: No Stack... 14:33:27 INFO: Retrieving Pricing Info for: v3-standard-8 14:33:27 INFO: Archiving Costs [Pipeline] sh 14:33:27 + cut -d, -f6 14:33:27 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [Pipeline] lock 14:33:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] 14:33:27 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] did not exist. Created. 14:33:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:33:28 + echo total: 0.2199999988079071 [Pipeline] stash 14:33:28 Stashed 1 file(s) [Pipeline] } 14:33:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] // lock [Pipeline] } 14:33:28 $ docker stop --time=1 9cf0b56c2f38e41a07ab35e1aeddebcc9d3a3c20001bceeb00c1420e7958997b 14:33:29 $ docker rm -f --volumes 9cf0b56c2f38e41a07ab35e1aeddebcc9d3a3c20001bceeb00c1420e7958997b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:34:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10618 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws 14:34:14 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 14:34:17 Selected Git installation does not exist. Using Default 14:34:17 The recommended git tool is: NONE 14:34:26 using credential edgex-jenkins-ssh 14:34:26 Cloning the remote Git repository 14:34:26 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:34:26 > git init /w/workspace/device-sdk-c/5 # timeout=10 14:34:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:34:26 > git --version # timeout=10 14:34:26 > git --version # 'git version 2.25.1' 14:34:26 using GIT_SSH to set credentials SSH Credentials for GitHub 14:34:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:34:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:34:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:34:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:34:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:34:29 using GIT_SSH to set credentials SSH Credentials for GitHub 14:34:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:34:30 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 14:34:30 Merge succeeded, producing b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 14:34:30 Checking out Revision b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 (PR-513) 14:34:30 > git config core.sparsecheckout # timeout=10 14:34:30 > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 14:34:30 > git remote # timeout=10 14:34:30 > git config --get remote.origin.url # timeout=10 14:34:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:34:30 > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 14:34:30 > git rev-parse HEAD^{commit} # timeout=10 14:34:30 > git config core.sparsecheckout # timeout=10 14:34:30 > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 14:34:34 Commit message: "feat: Update function comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:34:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:34:36 % Total % Received % Xferd Average Speed Time Time Time Current 14:34:36 Dload Upload Total Spent Left Speed 14:34:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 60509 0 --:--:-- --:--:-- --:--:-- 60509 [Pipeline] sh 14:34:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:34:36 + + sudo tee /etc/docker/daemon.new 14:34:36 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:34:36 { 14:34:36 "registry-mirrors": [ 14:34:36 "https://nexus3.edgexfoundry.org:10001" 14:34:36 ], 14:34:36 "bip": "10.250.0.254/24", 14:34:36 "hosts": [ 14:34:36 "tcp://0.0.0.0:5555", 14:34:36 "unix:///var/run/docker.sock" 14:34:36 ], 14:34:36 "mtu": 1458, 14:34:36 "selinux-enabled": true, 14:34:36 "seccomp-profile": "/etc/docker/seccomp.json" 14:34:36 } [Pipeline] sh 14:34:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:34:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:55 provisioning config files... 14:34:55 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config965312058766386897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:56 ---> ****-login.sh 14:34:56 nexus3.edgexfoundry.org:10001 14:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:34:56 Configure a credential helper to remove this warning. See 14:34:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:34:56 14:34:56 Login Succeeded 14:34:56 nexus3.edgexfoundry.org:10002 14:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:34:57 Configure a credential helper to remove this warning. See 14:34:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:34:57 14:34:57 Login Succeeded 14:34:57 nexus3.edgexfoundry.org:10003 14:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:34:57 Configure a credential helper to remove this warning. See 14:34:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:34:57 14:34:57 Login Succeeded 14:34:57 nexus3.edgexfoundry.org:10004 14:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:34:57 Configure a credential helper to remove this warning. See 14:34:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:34:57 14:34:57 Login Succeeded 14:34:58 ****.io 14:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:34:58 Configure a credential helper to remove this warning. See 14:34:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:34:58 14:34:58 Login Succeeded 14:34:58 ---> ****-login.sh ends [Pipeline] } 14:34:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:34:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:34:58 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:34:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:34:58 ========================================================= 14:34:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:34:58 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:59 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 14:34:59 Sending build context to Docker daemon 3.168MB 14:34:59 Step 1/22 : ARG BASE=alpine:3.18 14:34:59 Step 2/22 : FROM ${BASE} as builder 14:34:59 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:34:59 579b34f0a95b: Pulling fs layer 14:34:59 e71477ac5e1b: Pulling fs layer 14:34:59 579b34f0a95b: Verifying Checksum 14:34:59 579b34f0a95b: Download complete 14:35:00 579b34f0a95b: Pull complete 14:35:02 e71477ac5e1b: Download complete 14:35:14 e71477ac5e1b: Pull complete 14:35:14 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:35:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:35:14 ---> 2b552cad5dd9 14:35:14 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:35:14 ---> Running in 1e8579a24184 14:35:15 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:35:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:35:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:35:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:35:16 Removing intermediate container 1e8579a24184 14:35:16 ---> e34073a0dd6f 14:35:16 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:35:16 ---> Running in 6330279df8aa 14:35:18 Removing intermediate container 6330279df8aa 14:35:18 ---> 657371adc635 14:35:18 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 14:35:18 ---> Running in 672b2188f0d2 14:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:35:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:35:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:35:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:35:21 (1/17) Installing hiredis (1.1.0-r2) 14:35:21 (2/17) Installing hiredis-dev (1.1.0-r2) 14:35:21 (3/17) Installing libcbor (0.10.2-r1) 14:35:21 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:35:22 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:35:22 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:35:22 (7/17) Installing libcbor-dev (0.10.2-r1) 14:35:22 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:35:22 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:35:22 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:35:22 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:35:22 (12/17) Installing libblkid (2.38.1-r8) 14:35:22 (13/17) Installing libuuid (2.38.1-r8) 14:35:22 (14/17) Installing libfdisk (2.38.1-r8) 14:35:22 (15/17) Installing libmount (2.38.1-r8) 14:35:22 (16/17) Installing libsmartcols (2.38.1-r8) 14:35:22 (17/17) Installing util-linux-dev (2.38.1-r8) 14:35:22 Executing busybox-1.36.1-r4.trigger 14:35:23 OK: 333 MiB in 99 packages 14:35:24 Removing intermediate container 672b2188f0d2 14:35:24 ---> de1166dcf7d3 14:35:24 Step 6/22 : RUN mkdir /tmp/sdk 14:35:24 ---> Running in cc67f9a7377c 14:35:25 Removing intermediate container cc67f9a7377c 14:35:25 ---> 1a2780c340cc 14:35:25 Step 7/22 : COPY VERSION /tmp/sdk 14:35:26 ---> fe65178524bc 14:35:26 Step 8/22 : COPY src /tmp/sdk/src 14:35:27 ---> e8d74d2c243d 14:35:27 Step 9/22 : COPY include /tmp/sdk/include 14:35:27 ---> c38ecb19627f 14:35:27 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:35:28 ---> 12d9100b76fb 14:35:28 Step 11/22 : COPY LICENSE /tmp/sdk 14:35:28 ---> d1f2b245e94b 14:35:28 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:35:29 ---> 38e5dd286098 14:35:29 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:35:29 ---> Running in dfadd3974505 14:35:30 + CPPCHECK=false 14:35:30 + DOCGEN=false 14:35:30 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:35:30 + '[' 0 -gt 0 ] 14:35:30 + readlink -f ./scripts/build.sh 14:35:30 + dirname /tmp/sdk/scripts/build.sh 14:35:30 + dirname /tmp/sdk/scripts 14:35:30 + ROOT=/tmp/sdk 14:35:30 + cd /tmp/sdk 14:35:30 + mkdir -p /tmp/sdk/build/release 14:35:30 + cd /tmp/sdk/build/release 14:35:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:35:30 -- The C compiler identification is GNU 12.2.1 14:35:30 -- Detecting C compiler ABI info 14:35:30 -- Detecting C compiler ABI info - done 14:35:30 -- Check for working C compiler: /usr/bin/cc - skipped 14:35:30 -- Detecting C compile features 14:35:30 -- Detecting C compile features - done 14:35:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:35:31 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:35:31 -- Found LIBYAML: /usr/lib/libyaml.so 14:35:31 -- Found LIBUUID: /usr/lib/libuuid.so 14:35:31 -- Found LIBCBOR: /usr/lib/libcbor.so 14:35:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:35:31 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:35:31 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:35:31 -- /opt/iotech/iot/1.5/include 14:35:31 -- C SDK 0.0.0 for Linux 14:35:31 -- Performing Test CSDK_HAVE_ATOMIC 14:35:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:35:31 -- Found Curses: /usr/lib/libcurses.so 14:35:32 -- Configuring done (1.9s) 14:35:32 -- Generating done (0.2s) 14:35:32 -- Build files have been written to: /tmp/sdk/build/release 14:35:32 + + tee release.log 14:35:32 make all package 14:35:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:35:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:35:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:35:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:35:35 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:35:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:35:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:35:39 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:35:39 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:35:39 294 | while (privateConfig) 14:35:39 | ^~~~~~~~~~~~~ 14:35:39 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:35:39 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:35:39 | ^~~~~~~~~~~~~ 14:35:39 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:35:39 271 | while (result) 14:35:39 | ^~~~~~ 14:35:39 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:35:39 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:35:39 | ^~~~~~ 14:35:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:35:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:35:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:35:42 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:35:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:35:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:35:44 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:35:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:35:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:35:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:35:48 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:35:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:35:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:35:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:35:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:35:58 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:35:58 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:35:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:35:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:36:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:36:03 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:36:03 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:36:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:36:05 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:36:05 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:36:05 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:36:05 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:36:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:36:05 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:36:05 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:36:05 | ^ 14:36:06 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:36:06 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:36:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:36:06 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 14:36:06 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:36:06 | ^~~~~~~~~~~~~~~~~~~~~ 14:36:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:36:08 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:36:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:36:09 [ 68%] Linking C shared library libcsdk.so 14:36:09 [ 68%] Built target csdk 14:36:09 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:36:09 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:36:09 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:09 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:36:09 | ^~~~~~~~~~~~~~~~~ 14:36:09 | | 14:36:09 | void (*)(void *) 14:36:09 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:36:09 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:36:09 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:36:09 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:36:10 [ 72%] Linking C executable template 14:36:10 [ 72%] Built target template 14:36:11 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:36:11 [ 76%] Linking C executable device-counter 14:36:11 [ 76%] Built target device-counter 14:36:11 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:36:12 [ 80%] Linking C executable device-random 14:36:12 [ 80%] Built target device-random 14:36:13 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:36:13 [ 84%] Linking C executable device-gyro 14:36:13 [ 84%] Built target device-gyro 14:36:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:36:14 [ 88%] Linking C executable device-bitfields 14:36:14 [ 88%] Built target device-bitfields 14:36:14 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:36:15 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:36:15 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:15 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:36:15 | ^~~~~~~~~~~~~~~~~ 14:36:15 | | 14:36:15 | void (*)(void *) 14:36:15 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:36:15 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:36:15 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:36:15 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:36:15 [ 92%] Linking C executable template-discovery 14:36:15 [ 92%] Built target template-discovery 14:36:16 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:36:16 [ 96%] Linking C executable device-file 14:36:16 [ 96%] Built target device-file 14:36:16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:36:17 [100%] Linking C executable device-terminal 14:36:18 [100%] Built target device-terminal 14:36:18 Run CPack packaging tool... 14:36:18 CPack: Create package using TGZ 14:36:18 CPack: Install projects 14:36:18 CPack: - Run preinstall target for: Csdk 14:36:19 CPack: - Install project: Csdk [] 14:36:19 CPack: Create package 14:36:19 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:36:19 + '[' false '=' true ] 14:36:19 + '[' false '=' true ] 14:36:19 + mkdir -p /tmp/sdk/build/debug 14:36:19 + cd /tmp/sdk/build/debug 14:36:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:36:19 -- The C compiler identification is GNU 12.2.1 14:36:19 -- Detecting C compiler ABI info 14:36:19 -- Detecting C compiler ABI info - done 14:36:19 -- Check for working C compiler: /usr/bin/cc - skipped 14:36:19 -- Detecting C compile features 14:36:19 -- Detecting C compile features - done 14:36:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:36:20 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:36:20 -- Found LIBYAML: /usr/lib/libyaml.so 14:36:20 -- Found LIBUUID: /usr/lib/libuuid.so 14:36:20 -- Found LIBCBOR: /usr/lib/libcbor.so 14:36:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:36:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:36:20 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:36:20 -- /opt/iotech/iot/1.5/include 14:36:20 -- C SDK 0.0.0 for Linux 14:36:20 -- Performing Test CSDK_HAVE_ATOMIC 14:36:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:36:20 -- Found Curses: /usr/lib/libcurses.so 14:36:20 -- Configuring done (1.7s) 14:36:21 -- Generating done (0.2s) 14:36:21 -- Build files have been written to: /tmp/sdk/build/debug 14:36:21 + make 14:36:21 + tee debug.log 14:36:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:36:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:36:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:36:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:36:22 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:36:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:36:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:36:24 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:36:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:36:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:36:25 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:36:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:36:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:36:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:36:26 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:36:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:36:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:36:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:36:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:36:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:36:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:36:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:36:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:36:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:36:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:36:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:36:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:36:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:36:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:36:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:36:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:36:34 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:36:34 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:36:34 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:36:34 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:36:34 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:36:34 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:36:34 | ^ 14:36:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:36:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:36:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:36:36 [ 68%] Linking C shared library libcsdk.so 14:36:36 [ 68%] Built target csdk 14:36:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:36:36 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:36:36 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:36 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:36:36 | ^~~~~~~~~~~~~~~~~ 14:36:36 | | 14:36:36 | void (*)(void *) 14:36:36 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:36:36 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:36:36 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:36:36 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:36:37 [ 72%] Linking C executable template 14:36:37 [ 72%] Built target template 14:36:37 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:36:37 [ 76%] Linking C executable device-counter 14:36:38 [ 76%] Built target device-counter 14:36:38 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:36:38 [ 80%] Linking C executable device-random 14:36:38 [ 80%] Built target device-random 14:36:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:36:39 [ 84%] Linking C executable device-gyro 14:36:39 [ 84%] Built target device-gyro 14:36:39 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:36:39 [ 88%] Linking C executable device-bitfields 14:36:40 [ 88%] Built target device-bitfields 14:36:40 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:36:40 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:36:40 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:36:40 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:36:40 | ^~~~~~~~~~~~~~~~~ 14:36:40 | | 14:36:40 | void (*)(void *) 14:36:40 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:36:40 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:36:40 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:36:40 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:36:40 [ 92%] Linking C executable template-discovery 14:36:40 [ 92%] Built target template-discovery 14:36:40 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:36:41 [ 96%] Linking C executable device-file 14:36:41 [ 96%] Built target device-file 14:36:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:36:42 [100%] Linking C executable device-terminal 14:36:42 [100%] Built target device-terminal 14:36:42 make: Entering directory '/tmp/sdk/build/release' 14:36:42 [ 68%] Built target csdk 14:36:42 [ 72%] Built target template 14:36:42 [ 76%] Built target device-counter 14:36:42 [ 80%] Built target device-random 14:36:43 [ 84%] Built target device-gyro 14:36:43 [ 88%] Built target device-bitfields 14:36:43 [ 92%] Built target template-discovery 14:36:43 [ 96%] Built target device-file 14:36:43 [100%] Built target device-terminal 14:36:43 Install the project... 14:36:43 -- Install configuration: "Release" 14:36:43 -- Installing: /usr/local/lib/libcsdk.so 14:36:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:36:43 -- Installing: /usr/local/include 14:36:43 -- Installing: /usr/local/include/devsdk 14:36:43 -- Installing: /usr/local/include/devsdk/devsdk.h 14:36:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:36:43 -- Installing: /usr/local/include/edgex 14:36:43 -- Installing: /usr/local/include/edgex/rest-server.h 14:36:43 -- Installing: /usr/local/include/edgex/edgex.h 14:36:43 -- Installing: /usr/local/include/edgex/edgex-base.h 14:36:43 -- Installing: /usr/local/include/edgex/devices.h 14:36:43 -- Installing: /usr/local/include/edgex/profiles.h 14:36:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:36:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:36:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:36:43 make: Leaving directory '/tmp/sdk/build/release' 14:36:44 Removing intermediate container dfadd3974505 14:36:44 ---> 7392903ef4f5 14:36:44 Step 14/22 : FROM ${BASE} 14:36:44 ---> 2b552cad5dd9 14:36:44 Step 15/22 : LABEL maintainer="IOTech " 14:36:44 ---> Running in fab469267025 14:36:45 Removing intermediate container fab469267025 14:36:45 ---> 5c1b973e48d9 14:36:45 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:36:45 ---> Running in 959e8ec08e18 14:36:46 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:36:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:36:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:36:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:36:47 Removing intermediate container 959e8ec08e18 14:36:47 ---> 3b716594db32 14:36:47 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:36:47 ---> Running in e2c15afc9f12 14:36:49 Removing intermediate container e2c15afc9f12 14:36:49 ---> e82ab7c92e51 14:36:49 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 14:36:49 ---> Running in 86a1f047dd45 14:36:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:36:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:36:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:36:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:36:52 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:36:52 (2/10) Installing curl (8.9.1-r0) 14:36:52 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:36:52 (4/10) Installing dumb-init (1.2.5-r2) 14:36:52 (5/10) Installing hiredis (1.1.0-r2) 14:36:52 (6/10) Installing hiredis-dev (1.1.0-r2) 14:36:52 (7/10) Installing libcbor (0.10.2-r1) 14:36:52 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:36:53 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:36:53 (10/10) Installing libuuid (2.38.1-r8) 14:36:53 Executing busybox-1.36.1-r4.trigger 14:36:53 OK: 328 MiB in 90 packages 14:36:54 Removing intermediate container 86a1f047dd45 14:36:54 ---> 62a2348d39ab 14:36:54 Step 19/22 : RUN apk --no-cache upgrade 14:36:54 ---> Running in 7b05d583bec0 14:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:36:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:36:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:36:57 Upgrading critical system libraries and apk-tools: 14:36:57 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:36:57 Executing busybox-1.36.1-r4.trigger 14:36:57 Continuing the upgrade transaction with new apk-tools: 14:36:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:36:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:36:58 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:36:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:36:59 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:36:59 Executing busybox-1.36.1-r7.post-upgrade 14:36:59 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:36:59 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:36:59 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:36:59 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:36:59 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:36:59 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:36:59 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:36:59 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:36:59 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:36:59 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:37:00 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:37:00 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:37:00 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:37:00 Executing busybox-1.36.1-r7.trigger 14:37:00 Executing ca-certificates-20240226-r0.trigger 14:37:00 OK: 328 MiB in 90 packages 14:37:02 Removing intermediate container 7b05d583bec0 14:37:02 ---> 1a89fe624aa5 14:37:02 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:37:02 ---> 78c9c5a8d425 14:37:02 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:37:03 ---> b049def38401 14:37:03 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:37:03 ---> 0b19610a1ecd 14:37:03 Successfully built 0b19610a1ecd 14:37:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:04 + docker inspect -f . ci-base-image-arm64 14:37:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:04 prd-ubuntu20.04-docker-arm64-4c-16g-10618 does not seem to be running inside a container 14:37:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:37:05 $ docker top a243a75c9a06879c3f2991c3c58ffa40a684b3fbd1c9802ee82fe1a2ad789e44 -eo pid,comm [Pipeline] { [Pipeline] sh 14:37:06 + make test 14:37:06 echo "make test" 14:37:06 make test [Pipeline] } 14:37:06 $ docker stop --time=1 a243a75c9a06879c3f2991c3c58ffa40a684b3fbd1c9802ee82fe1a2ad789e44 14:37:07 $ docker rm -f --volumes a243a75c9a06879c3f2991c3c58ffa40a684b3fbd1c9802ee82fe1a2ad789e44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:37:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:37:08 + ls -al . 14:37:08 total 208 14:37:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:34 . 14:37:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:34 .. 14:37:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:34 .git 14:37:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:34 .github 14:37:08 -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:34 .gitignore 14:37:08 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:34 Attribution.txt 14:37:08 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:34 CHANGELOG.md 14:37:08 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:34 Doxyfile 14:37:08 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:34 GOVERNANCE.md 14:37:08 -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:34 Jenkinsfile 14:37:08 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:34 LICENSE 14:37:08 -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:34 Makefile 14:37:08 -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:34 OWNERS.md 14:37:08 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:34 README.IOT.md 14:37:08 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:34 README.md 14:37:08 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:34 README.v3.md 14:37:08 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:32 VERSION 14:37:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:34 docs 14:37:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:34 include 14:37:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:34 scripts 14:37:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:34 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:09 + 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=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 --label arch=arm64 --label version=0.0.0 . 14:37:09 Sending build context to Docker daemon 3.168MB 14:37:09 Step 1/18 : ARG BASE=alpine:3.18 14:37:09 Step 2/18 : FROM ${BASE} 14:37:09 ---> 0b19610a1ecd 14:37:09 Step 3/18 : LABEL maintainer="IOTech " 14:37:09 ---> Running in 3762232b5035 14:37:10 Removing intermediate container 3762232b5035 14:37:10 ---> a6a8324bfc2a 14:37:10 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 14:37:10 ---> Running in 588e86d035b6 14:37:10 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:37:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:37:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:37:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:37:12 Removing intermediate container 588e86d035b6 14:37:12 ---> 8b6eb4d463d3 14:37:12 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:37:12 ---> Running in 5237733eec90 14:37:13 Removing intermediate container 5237733eec90 14:37:13 ---> e85f81604b48 14:37:13 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 14:37:13 ---> Running in d943198fe968 14:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:37:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:37:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:37:16 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:37:16 (2/11) Installing libcbor-dev (0.10.2-r1) 14:37:16 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:37:16 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:37:16 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:37:16 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:37:16 (7/11) Installing libblkid (2.38.1-r8) 14:37:16 (8/11) Installing libfdisk (2.38.1-r8) 14:37:16 (9/11) Installing libmount (2.38.1-r8) 14:37:16 (10/11) Installing libsmartcols (2.38.1-r8) 14:37:16 (11/11) Installing util-linux-dev (2.38.1-r8) 14:37:16 Executing busybox-1.36.1-r7.trigger 14:37:16 OK: 334 MiB in 101 packages 14:37:18 Removing intermediate container d943198fe968 14:37:18 ---> 1bcea2db1217 14:37:18 Step 7/18 : RUN apk --no-cache upgrade 14:37:18 ---> Running in 8c08e34a1f54 14:37:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:37:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:37:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:37:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:37:20 OK: 334 MiB in 101 packages 14:37:21 Removing intermediate container 8c08e34a1f54 14:37:21 ---> fcb4b2557a94 14:37:21 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:37:22 ---> 5da1a473280d 14:37:22 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:37:23 ---> 6adab2cd8d2e 14:37:23 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:37:23 ---> 236dcfcc8791 14:37:23 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:37:24 ---> 914d4f8cf90e 14:37:24 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:37:24 ---> 3b8bfa03d893 14:37:24 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:37:24 ---> dd42359e43a5 14:37:24 Step 14/18 : WORKDIR /edgex-c-sdk 14:37:24 ---> Running in 41947576ffe3 14:37:25 Removing intermediate container 41947576ffe3 14:37:25 ---> 0335626c0505 14:37:25 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:37:25 ---> Running in 3b1036fe18e3 14:37:25 Removing intermediate container 3b1036fe18e3 14:37:25 ---> 3c9951636e22 14:37:25 Step 16/18 : LABEL arch=arm64 14:37:25 ---> Running in a8b86a7672e8 14:37:26 Removing intermediate container a8b86a7672e8 14:37:26 ---> 5126f847a069 14:37:26 Step 17/18 : LABEL git_sha=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 14:37:26 ---> Running in c49b2f7b4e36 14:37:26 Removing intermediate container c49b2f7b4e36 14:37:26 ---> 62f5bb8d7fd9 14:37:26 Step 18/18 : LABEL version=0.0.0 14:37:26 ---> Running in fa41c38d9885 14:37:26 Removing intermediate container fa41c38d9885 14:37:26 ---> c3111785d538 14:37:26 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:37:26 Successfully built c3111785d538 14:37:26 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:37:27 14:37:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:37:27 arm64: Pulling from edgex-lftools-log-publisher 14:37:27 8998bd30e6a1: Pulling fs layer 14:37:27 04944245beec: Pulling fs layer 14:37:27 699f458cf7ca: Pulling fs layer 14:37:27 765212b225bb: Pulling fs layer 14:37:27 f23df028b6ca: Pulling fs layer 14:37:27 d65c8cfc05b1: Pulling fs layer 14:37:27 2437ff75d9bd: Pulling fs layer 14:37:27 765212b225bb: Waiting 14:37:27 f23df028b6ca: Waiting 14:37:27 d65c8cfc05b1: Waiting 14:37:27 2437ff75d9bd: Waiting 14:37:27 04944245beec: Verifying Checksum 14:37:27 04944245beec: Download complete 14:37:27 765212b225bb: Verifying Checksum 14:37:27 765212b225bb: Download complete 14:37:28 f23df028b6ca: Verifying Checksum 14:37:28 f23df028b6ca: Download complete 14:37:28 d65c8cfc05b1: Download complete 14:37:28 699f458cf7ca: Verifying Checksum 14:37:28 699f458cf7ca: Download complete 14:37:28 8998bd30e6a1: Verifying Checksum 14:37:28 8998bd30e6a1: Download complete 14:37:31 2437ff75d9bd: Verifying Checksum 14:37:31 2437ff75d9bd: Download complete 14:37:33 8998bd30e6a1: Pull complete 14:37:33 04944245beec: Pull complete 14:37:35 699f458cf7ca: Pull complete 14:37:35 765212b225bb: Pull complete 14:37:36 f23df028b6ca: Pull complete 14:37:36 d65c8cfc05b1: Pull complete 14:37:54 2437ff75d9bd: Pull complete 14:37:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:37:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:37:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:55 prd-ubuntu20.04-docker-arm64-4c-16g-10618 does not seem to be running inside a container 14:37:55 $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:37:57 $ docker top 867054a199948f6786ff9dfd873e0fbe4cd2cb3ad7ec4699be7c16dc24d7e0fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:37:58 ---> job-cost.sh 14:37:58 lf-activate-venv: SKIPPING 14:37:58 INFO: No Stack... 14:37:58 INFO: Retrieving Pricing Info for: v3-standard-4 14:37:59 INFO: Archiving Costs [Pipeline] sh 14:38:00 + cat /w/workspace/device-sdk-c/5/archives/cost.csv 14:38:00 + cut -d, -f6 [Pipeline] lock 14:38:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] 14:38:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] did not exist. Created. 14:38:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:38:01 /w/workspace/device-sdk-c/5@tmp/durable-4bf79a5f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:38:01 + echo total: 0.10999999940395355 [Pipeline] stash 14:38:01 Warning: overwriting stash ‘stack-cost’ 14:38:02 Stashed 1 file(s) [Pipeline] } 14:38:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] // lock [Pipeline] } 14:38:02 $ docker stop --time=1 867054a199948f6786ff9dfd873e0fbe4cd2cb3ad7ec4699be7c16dc24d7e0fd 14:38:04 $ docker rm -f --volumes 867054a199948f6786ff9dfd873e0fbe4cd2cb3ad7ec4699be7c16dc24d7e0fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:38:04 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] 14:38:04 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:38:04 total 16 14:38:04 drwxr-xr-x 3 root root 4096 Sep 18 14:33 . 14:38:04 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:33 .. 14:38:04 drwxr-xr-x 2 root root 4096 Sep 18 14:33 cost 14:38:04 -rw-r--r-- 1 root root 84 Sep 18 14:33 cost.csv 14:38:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:38:04 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:38:04 total 16 14:38:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:33 . 14:38:04 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:33 .. 14:38:04 drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 14:33 cost 14:38:04 -rw-r--r-- 1 jenkins jenkins 84 Sep 18 14:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:38:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:38:06 ---> package-listing.sh 14:38:06 ++ facter osfamily 14:38:06 ++ tr '[:upper:]' '[:lower:]' 14:38:06 + OS_FAMILY=debian 14:38:06 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 14:38:06 + START_PACKAGES=/tmp/packages_start.txt 14:38:06 + END_PACKAGES=/tmp/packages_end.txt 14:38:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:38:06 + PACKAGES=/tmp/packages_start.txt 14:38:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:38:06 + PACKAGES=/tmp/packages_end.txt 14:38:06 + case "${OS_FAMILY}" in 14:38:06 + grep '^ii' 14:38:06 + dpkg -l 14:38:06 + '[' -f /tmp/packages_start.txt ']' 14:38:06 + '[' -f /tmp/packages_end.txt ']' 14:38:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:38:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:38:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ 14:38:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo 14:38:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:38:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:38:07 prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container 14:38:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:38:07 $ docker top 6bed44dea6fb6e66cdcb5442d80e61e8757c2616c85aab9e62e38b3a89aa08e9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:07 + touch /tmp/pre-build-complete [Pipeline] sh 14:38:08 + mkdir -p /var/log/sysstat [Pipeline] sh 14:38:08 + ls /var/log/sa-host 14:38:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:38:08 provisioning config files... 14:38:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config7594519700080855018tmp [Pipeline] { [Pipeline] echo 14:38:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:38:08 ---> create-netrc.sh [Pipeline] } 14:38:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:38:09 ---> python-tools-install.sh [Pipeline] echo 14:38:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:38:09 ---> sudo-logs.sh 14:38:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:38:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:38:09 ---> job-cost.sh 14:38:09 lf-activate-venv: SKIPPING 14:38:09 DEBUG: total: 0.2199999988079071 14:38:09 INFO: Retrieving Stack Cost... 14:38:10 INFO: Retrieving Pricing Info for: v3-standard-8 14:38:10 INFO: Archiving Costs [Pipeline] echo 14:38:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:38:10 ---> logs-deploy.sh 14:38:10 lf-activate-venv: SKIPPING 14:38:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/5 14:38:10 INFO: archiving workspace using pattern(s): 14:38:11 Archives upload complete. 14:38:11 INFO: archiving logs to Nexus 14:38:12 ---> uname -a: 14:38:12 Linux prd-ubuntu20-04-docker-8c-8g-10617 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 14:38:12 14:38:12 14:38:12 ---> lscpu: 14:38:12 Architecture: x86_64 14:38:12 CPU op-mode(s): 32-bit, 64-bit 14:38:12 Byte Order: Little Endian 14:38:12 Address sizes: 40 bits physical, 48 bits virtual 14:38:12 CPU(s): 8 14:38:12 On-line CPU(s) list: 0-7 14:38:12 Thread(s) per core: 1 14:38:12 Core(s) per socket: 1 14:38:12 Socket(s): 8 14:38:12 NUMA node(s): 1 14:38:12 Vendor ID: AuthenticAMD 14:38:12 CPU family: 23 14:38:12 Model: 49 14:38:12 Model name: AMD EPYC-Rome Processor 14:38:12 Stepping: 0 14:38:12 CPU MHz: 2800.000 14:38:12 BogoMIPS: 5600.00 14:38:12 Virtualization: AMD-V 14:38:12 Hypervisor vendor: KVM 14:38:12 Virtualization type: full 14:38:12 L1d cache: 256 KiB 14:38:12 L1i cache: 256 KiB 14:38:12 L2 cache: 4 MiB 14:38:12 L3 cache: 128 MiB 14:38:12 NUMA node0 CPU(s): 0-7 14:38:12 Vulnerability Itlb multihit: Not affected 14:38:12 Vulnerability L1tf: Not affected 14:38:12 Vulnerability Mds: Not affected 14:38:12 Vulnerability Meltdown: Not affected 14:38:12 Vulnerability Mmio stale data: Not affected 14:38:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:38:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:38:12 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:38:12 Vulnerability Srbds: Not affected 14:38:12 Vulnerability Tsx async abort: Not affected 14:38:12 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 14:38:12 14:38:12 14:38:12 ---> nproc: 14:38:12 8 14:38:12 14:38:12 14:38:12 ---> df -h: 14:38:12 Filesystem Size Used Avail Use% Mounted on 14:38:12 overlay 155G 11G 145G 7% / 14:38:12 tmpfs 64M 0 64M 0% /dev 14:38:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:38:12 shm 64M 0 64M 0% /dev/shm 14:38:12 /dev/vda1 155G 11G 145G 7% /facter-os 14:38:12 14:38:12 14:38:12 ---> sar -b -r -n DEV: 14:38:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10617) 09/18/24 _x86_64_ (8 CPU) 14:38:12 14:38:12 14:30:52 LINUX RESTART (8 CPU) 14:38:12 14:38:12 14:31:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:38:12 14:32:02 213.20 38.31 174.89 0.00 3693.38 117157.54 0.00 14:38:12 14:33:01 301.05 10.47 290.58 0.00 1797.39 29086.73 0.00 14:38:12 14:34:01 110.76 0.20 110.56 0.00 14.40 18301.25 0.00 14:38:12 14:35:01 3.12 1.57 1.55 0.00 36.92 20.39 0.00 14:38:12 14:36:01 16.28 2.33 13.95 0.00 101.05 1826.90 0.00 14:38:12 14:37:01 34.93 2.82 32.11 0.00 4250.62 6682.35 0.00 14:38:12 14:38:01 4.95 1.03 3.92 0.00 22.00 104.52 0.00 14:38:12 Average: 97.27 8.10 89.17 0.00 1415.56 24728.84 0.00 14:38:12 14:38:12 14:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:38:12 14:32:02 30383572 31679200 699196 2.13 47904 1560404 1680488 4.95 791312 1423644 4312 14:38:12 14:33:01 29454808 31529244 797344 2.42 70260 2284436 1915320 5.64 1083996 1970896 608 14:38:12 14:34:01 28958452 31541172 765468 2.33 90952 2738644 1741268 5.13 1088720 2407812 4 14:38:12 14:35:01 28952408 31537404 768988 2.34 91004 2739744 1757320 5.18 1094996 2408148 184 14:38:12 14:36:01 28800208 31466120 818444 2.49 103584 2815084 1763908 5.20 1203720 2435372 1016 14:38:12 14:37:01 28509948 31523956 752552 2.29 119892 3137988 1705332 5.03 1363476 2545596 16 14:38:12 14:38:01 28518552 31528908 747840 2.27 118516 3135352 1725532 5.09 1358484 2542880 12 14:38:12 Average: 29082564 31543715 764262 2.32 91730 2630236 1755595 5.17 1140672 2247764 879 14:38:12 14:38:12 14:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:38:12 14:32:02 ens3 202.52 161.56 717.93 50.46 0.00 0.00 0.00 0.00 14:38:12 14:32:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:12 14:32:02 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 14:38:12 14:33:01 ens3 258.77 172.92 4180.62 59.58 0.00 0.00 0.00 0.00 14:38:12 14:33:01 veth64ab850 0.20 0.22 0.02 0.09 0.00 0.00 0.00 0.00 14:38:12 14:33:01 docker0 22.79 33.59 1.63 346.41 0.00 0.00 0.00 0.00 14:38:12 14:33:01 lo 6.03 6.03 0.59 0.59 0.00 0.00 0.00 0.00 14:38:12 14:34:01 ens3 101.93 62.85 2613.70 13.49 0.00 0.00 0.00 0.00 14:38:12 14:34:01 docker0 4.63 7.31 0.34 88.04 0.00 0.00 0.00 0.00 14:38:12 14:34:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 14:38:12 14:35:01 ens3 11.63 9.75 17.31 6.55 0.00 0.00 0.00 0.00 14:38:12 14:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:12 14:35:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 14:38:12 14:36:01 ens3 40.49 15.06 666.99 1.23 0.00 0.00 0.00 0.00 14:38:12 14:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:12 14:36:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 14:38:12 14:37:01 ens3 141.04 78.39 2079.34 5.38 0.00 0.00 0.00 0.00 14:38:12 14:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:12 14:37:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 14:38:12 14:38:01 ens3 0.25 0.12 0.07 0.01 0.00 0.00 0.00 0.00 14:38:12 14:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:12 14:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:12 Average: ens3 107.73 71.28 1461.51 19.43 0.00 0.00 0.00 0.00 14:38:12 Average: docker0 3.87 5.78 0.28 61.38 0.00 0.00 0.00 0.00 14:38:12 Average: lo 1.29 1.29 0.12 0.12 0.00 0.00 0.00 0.00 14:38:12 14:38:12 14:38:12 ---> sar -P ALL: 14:38:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10617) 09/18/24 _x86_64_ (8 CPU) 14:38:12 14:38:12 14:30:52 LINUX RESTART (8 CPU) 14:38:12 14:38:12 14:31:01 CPU %user %nice %system %iowait %steal %idle 14:38:12 14:32:02 all 3.56 0.00 0.76 16.92 0.06 78.70 14:38:12 14:32:02 0 2.06 0.00 0.55 42.27 0.37 54.75 14:38:12 14:32:02 1 5.71 0.00 0.50 0.18 0.02 93.59 14:38:12 14:32:02 2 5.95 0.00 0.30 0.20 0.03 93.51 14:38:12 14:32:02 3 2.41 0.00 1.74 7.72 0.02 88.12 14:38:12 14:32:02 4 4.33 0.00 0.62 37.30 0.03 57.71 14:38:12 14:32:02 5 2.92 0.00 0.55 38.21 0.02 58.31 14:38:12 14:32:02 6 1.24 0.00 0.53 7.20 0.02 91.01 14:38:12 14:32:02 7 3.86 0.00 1.29 2.15 0.02 92.69 14:38:12 14:33:01 all 8.14 0.00 3.24 1.84 0.07 86.71 14:38:12 14:33:01 0 9.87 0.00 3.11 0.43 0.07 86.53 14:38:12 14:33:01 1 11.07 0.00 3.72 2.02 0.09 83.11 14:38:12 14:33:01 2 5.59 0.00 2.63 3.64 0.09 88.06 14:38:12 14:33:01 3 8.56 0.00 3.59 0.20 0.07 87.58 14:38:12 14:33:01 4 8.70 0.00 3.48 3.16 0.07 84.60 14:38:12 14:33:01 5 7.48 0.00 2.72 1.42 0.07 88.31 14:38:12 14:33:01 6 5.00 0.00 2.91 0.69 0.09 91.31 14:38:12 14:33:01 7 8.81 0.00 3.72 3.19 0.07 84.20 14:38:12 14:34:01 all 3.20 0.00 1.40 1.27 0.05 94.08 14:38:12 14:34:01 0 2.82 0.00 1.24 1.34 0.03 94.57 14:38:12 14:34:01 1 3.05 0.00 1.22 0.52 0.05 95.16 14:38:12 14:34:01 2 3.98 0.00 1.52 1.67 0.02 92.81 14:38:12 14:34:01 3 3.47 0.00 1.56 0.74 0.05 94.19 14:38:12 14:34:01 4 3.43 0.00 1.62 0.07 0.03 94.85 14:38:12 14:34:01 5 4.17 0.00 1.37 5.43 0.13 88.89 14:38:12 14:34:01 6 2.08 0.00 1.07 0.15 0.03 96.66 14:38:12 14:34:01 7 2.61 0.00 1.62 0.22 0.02 95.53 14:38:12 14:35:01 all 0.32 0.00 0.04 0.10 0.01 99.54 14:38:12 14:35:01 0 0.02 0.00 0.02 0.23 0.00 99.73 14:38:12 14:35:01 1 0.07 0.00 0.07 0.00 0.02 99.85 14:38:12 14:35:01 2 0.40 0.00 0.02 0.02 0.02 99.55 14:38:12 14:35:01 3 0.50 0.00 0.07 0.35 0.00 99.08 14:38:12 14:35:01 4 0.27 0.00 0.03 0.12 0.02 99.57 14:38:12 14:35:01 5 1.15 0.00 0.00 0.00 0.00 98.85 14:38:12 14:35:01 6 0.15 0.00 0.05 0.00 0.00 99.80 14:38:12 14:35:01 7 0.03 0.00 0.07 0.05 0.00 99.85 14:38:12 14:36:01 all 0.78 0.00 0.50 0.14 0.02 98.56 14:38:12 14:36:01 0 0.52 0.00 0.57 1.02 0.02 97.88 14:38:12 14:36:01 1 1.17 0.00 1.27 0.02 0.02 97.53 14:38:12 14:36:01 2 1.13 0.00 0.28 0.00 0.02 98.57 14:38:12 14:36:01 3 0.90 0.00 0.33 0.03 0.02 98.71 14:38:12 14:36:01 4 0.42 0.00 0.25 0.02 0.02 99.30 14:38:12 14:36:01 5 0.92 0.00 0.30 0.02 0.02 98.75 14:38:12 14:36:01 6 0.47 0.00 0.63 0.02 0.02 98.87 14:38:12 14:36:01 7 0.72 0.00 0.37 0.03 0.02 98.87 14:38:12 14:37:01 all 1.84 0.00 0.84 0.57 0.02 96.74 14:38:12 14:37:01 0 0.68 0.00 0.58 0.08 0.02 98.63 14:38:12 14:37:01 1 2.39 0.00 1.40 1.04 0.02 95.16 14:38:12 14:37:01 2 2.64 0.00 0.88 0.37 0.02 96.09 14:38:12 14:37:01 3 2.22 0.00 0.94 1.07 0.03 95.74 14:38:12 14:37:01 4 1.62 0.00 0.58 1.12 0.02 96.66 14:38:12 14:37:01 5 2.15 0.00 0.58 0.22 0.00 97.05 14:38:12 14:37:01 6 1.07 0.00 0.84 0.63 0.02 97.44 14:38:12 14:37:01 7 1.94 0.00 0.89 0.02 0.02 97.14 14:38:12 14:38:01 all 0.24 0.00 0.08 0.01 0.01 99.66 14:38:12 14:38:01 0 0.10 0.00 0.10 0.00 0.02 99.78 14:38:12 14:38:01 1 0.08 0.00 0.07 0.07 0.02 99.77 14:38:12 14:38:01 2 1.13 0.00 0.05 0.00 0.00 98.82 14:38:12 14:38:01 3 0.02 0.00 0.08 0.02 0.00 99.88 14:38:12 14:38:01 4 0.13 0.00 0.08 0.00 0.00 99.78 14:38:12 14:38:01 5 0.20 0.00 0.10 0.02 0.02 99.67 14:38:12 14:38:01 6 0.08 0.00 0.08 0.00 0.00 99.83 14:38:12 14:38:01 7 0.18 0.00 0.10 0.00 0.00 99.72 14:38:12 Average: all 2.56 0.00 0.97 2.98 0.03 93.45 14:38:12 Average: 0 2.27 0.00 0.87 6.52 0.07 90.27 14:38:12 Average: 1 3.33 0.00 1.17 0.54 0.03 94.93 14:38:12 Average: 2 2.96 0.00 0.81 0.83 0.03 95.38 14:38:12 Average: 3 2.56 0.00 1.18 1.45 0.03 94.78 14:38:12 Average: 4 2.68 0.00 0.95 5.96 0.03 90.38 14:38:12 Average: 5 2.70 0.00 0.80 6.49 0.04 89.98 14:38:12 Average: 6 1.43 0.00 0.87 1.24 0.02 96.44 14:38:12 Average: 7 2.57 0.00 1.14 0.80 0.02 95.47 14:38:12 14:38:12 14:38:12