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 18ef029f0b9c93e898a41544d9b324e54955c5ca 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-ssh9985241564936968373.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-ssh6849156670291050179.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-ssh6571000926153214774.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-ssh3026606003284064241.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-ssh5160221075624287143.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 ‘prd-ubuntu20.04-docker-8c-8g-10689’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10691 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 18ef029f0b9c93e898a41544d9b324e54955c5ca Merge succeeded, producing 18ef029f0b9c93e898a41544d9b324e54955c5ca Checking out Revision 18ef029f0b9c93e898a41544d9b324e54955c5ca (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f 18ef029f0b9c93e898a41544d9b324e54955c5ca # 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 18ef029f0b9c93e898a41544d9b324e54955c5ca # timeout=10 Commit message: "feat: Update system event topic name for publishing" > git rev-list --no-walk 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-19T14:16:28.448Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-19T14:16:28.512Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-19T14:16:28.533Z] ========================================================= [2024-09-19T14:16:28.533Z] EdgeX Global Pipelines Version Info [2024-09-19T14:16:28.533Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:16:29.274Z] ------------------- [2024-09-19T14:16:29.274Z] stable info: [2024-09-19T14:16:29.274Z] ------------------- [2024-09-19T14:16:29.274Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T14:16:29.274Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T14:16:29.274Z] Message: update stable to v1.0.263 [2024-09-19T14:16:29.844Z] ------------------- [2024-09-19T14:16:29.844Z] experimental info: [2024-09-19T14:16:29.844Z] ------------------- [2024-09-19T14:16:29.844Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T14:16:29.844Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T14:16:29.844Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-19T14:16:29.921Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-19T14:16:29.940Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-19T14:16:29.957Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-19T14:16:29.973Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-19T14:16:29.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-19T14:16:30.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-19T14:16:30.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-19T14:16:30.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-19T14:16:30.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-19T14:16:30.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-19T14:16:30.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-19T14:16:30.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-19T14:16:30.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-19T14:16:30.174Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-19T14:16:30.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-19T14:16:30.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-19T14:16:30.230Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-19T14:16:30.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-19T14:16:30.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-19T14:16:30.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-19T14:16:30.320Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18ef029f0b9c93e898a41544d9b324e54955c5ca [Pipeline] echo [2024-09-19T14:16:30.338Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18ef029 [Pipeline] echo [2024-09-19T14:16:30.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:16:30.421Z] provisioning config files... [2024-09-19T14:16:30.432Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config4486459960923610488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:16:30.773Z] ---> ****-login.sh [2024-09-19T14:16:30.773Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:16:31.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:31.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:31.035Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:31.035Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:31.035Z] [2024-09-19T14:16:31.035Z] Login Succeeded [2024-09-19T14:16:31.035Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:16:31.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:31.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:31.296Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:31.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:31.296Z] [2024-09-19T14:16:31.296Z] Login Succeeded [2024-09-19T14:16:31.296Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:16:31.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:31.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:31.296Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:31.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:31.296Z] [2024-09-19T14:16:31.296Z] Login Succeeded [2024-09-19T14:16:31.296Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:16:31.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:31.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:31.296Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:31.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:31.296Z] [2024-09-19T14:16:31.296Z] Login Succeeded [2024-09-19T14:16:31.296Z] ****.io [2024-09-19T14:16:31.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:31.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:31.816Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:31.816Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:31.816Z] [2024-09-19T14:16:31.816Z] Login Succeeded [2024-09-19T14:16:31.816Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:16:31.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-09-19T14:16:32.227Z] + git rev-list -1 --merges 18ef029f0b9c93e898a41544d9b324e54955c5ca~1..18ef029f0b9c93e898a41544d9b324e54955c5ca [Pipeline] echo [2024-09-19T14:16:32.256Z] -----------> git rev-list -1 --merges 18ef029f0b9c93e898a41544d9b324e54955c5ca~1..18ef029f0b9c93e898a41544d9b324e54955c5ca 18ef029f0b9c93e898a41544d9b324e54955c5ca [false] [Pipeline] sh [2024-09-19T14:16:32.546Z] + git log --format=format:%s -1 18ef029f0b9c93e898a41544d9b324e54955c5ca [Pipeline] echo [2024-09-19T14:16:32.562Z] ========================================================= [2024-09-19T14:16:32.562Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T14:16:32.562Z] ========================================================= 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 [2024-09-19T14:16:33.014Z] + git rev-list -1 --merges 18ef029f0b9c93e898a41544d9b324e54955c5ca~1..18ef029f0b9c93e898a41544d9b324e54955c5ca [Pipeline] echo [2024-09-19T14:16:33.026Z] -----------> git rev-list -1 --merges 18ef029f0b9c93e898a41544d9b324e54955c5ca~1..18ef029f0b9c93e898a41544d9b324e54955c5ca 18ef029f0b9c93e898a41544d9b324e54955c5ca [false] [Pipeline] sh [2024-09-19T14:16:33.322Z] + git log --format=format:%s -1 18ef029f0b9c93e898a41544d9b324e54955c5ca [Pipeline] echo [2024-09-19T14:16:33.340Z] ========================================================= [2024-09-19T14:16:33.340Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T14:16:33.340Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-19T14:16:33.712Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T14:16:33.712Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-19T14:16:33.712Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-19T14:16:33.712Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-19T14:16:33.712Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-19T14:16:33.712Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-19T14:16:33.712Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:16:34.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:16:34.066Z] [2024-09-19T14:16:34.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:16:34.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:16:34.365Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-19T14:16:34.365Z] b85a868b505f: Pulling fs layer [2024-09-19T14:16:34.365Z] e2be974225ed: Pulling fs layer [2024-09-19T14:16:34.365Z] 339a4e72a1f5: Pulling fs layer [2024-09-19T14:16:34.365Z] 988bab9f4d93: Pulling fs layer [2024-09-19T14:16:34.365Z] 1469e6f7b9e6: Pulling fs layer [2024-09-19T14:16:34.365Z] eaf3925da568: Pulling fs layer [2024-09-19T14:16:34.365Z] bab4dde63d76: Pulling fs layer [2024-09-19T14:16:34.365Z] bde34c3a00c8: Pulling fs layer [2024-09-19T14:16:34.365Z] b352a97aabf1: Pulling fs layer [2024-09-19T14:16:34.365Z] 4872d77fe225: Pulling fs layer [2024-09-19T14:16:34.365Z] 5851b861e8e6: Pulling fs layer [2024-09-19T14:16:34.365Z] 1469e6f7b9e6: Waiting [2024-09-19T14:16:34.365Z] eaf3925da568: Waiting [2024-09-19T14:16:34.365Z] bab4dde63d76: Waiting [2024-09-19T14:16:34.365Z] 4872d77fe225: Waiting [2024-09-19T14:16:34.365Z] bde34c3a00c8: Waiting [2024-09-19T14:16:34.365Z] b352a97aabf1: Waiting [2024-09-19T14:16:34.365Z] 5851b861e8e6: Waiting [2024-09-19T14:16:34.365Z] 988bab9f4d93: Waiting [2024-09-19T14:16:34.365Z] e2be974225ed: Verifying Checksum [2024-09-19T14:16:34.365Z] e2be974225ed: Download complete [2024-09-19T14:16:34.365Z] 988bab9f4d93: Verifying Checksum [2024-09-19T14:16:34.365Z] 988bab9f4d93: Download complete [2024-09-19T14:16:34.365Z] 1469e6f7b9e6: Verifying Checksum [2024-09-19T14:16:34.365Z] 1469e6f7b9e6: Download complete [2024-09-19T14:16:34.632Z] eaf3925da568: Verifying Checksum [2024-09-19T14:16:34.632Z] eaf3925da568: Download complete [2024-09-19T14:16:34.632Z] 339a4e72a1f5: Verifying Checksum [2024-09-19T14:16:34.632Z] 339a4e72a1f5: Download complete [2024-09-19T14:16:34.632Z] bde34c3a00c8: Verifying Checksum [2024-09-19T14:16:34.632Z] bde34c3a00c8: Download complete [2024-09-19T14:16:34.632Z] b352a97aabf1: Download complete [2024-09-19T14:16:34.632Z] 4872d77fe225: Verifying Checksum [2024-09-19T14:16:34.632Z] 4872d77fe225: Download complete [2024-09-19T14:16:34.632Z] 5851b861e8e6: Verifying Checksum [2024-09-19T14:16:34.632Z] b85a868b505f: Verifying Checksum [2024-09-19T14:16:34.632Z] b85a868b505f: Download complete [2024-09-19T14:16:34.891Z] bab4dde63d76: Verifying Checksum [2024-09-19T14:16:34.891Z] bab4dde63d76: Download complete [2024-09-19T14:16:36.274Z] b85a868b505f: Pull complete [2024-09-19T14:16:36.274Z] e2be974225ed: Pull complete [2024-09-19T14:16:36.841Z] 339a4e72a1f5: Pull complete [2024-09-19T14:16:36.841Z] 988bab9f4d93: Pull complete [2024-09-19T14:16:37.101Z] 1469e6f7b9e6: Pull complete [2024-09-19T14:16:37.101Z] eaf3925da568: Pull complete [2024-09-19T14:16:39.004Z] bab4dde63d76: Pull complete [2024-09-19T14:16:39.004Z] bde34c3a00c8: Pull complete [2024-09-19T14:16:39.004Z] b352a97aabf1: Pull complete [2024-09-19T14:16:39.004Z] 4872d77fe225: Pull complete [2024-09-19T14:16:39.264Z] 5851b861e8e6: Pull complete [2024-09-19T14:16:39.264Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-19T14:16:39.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:16:39.264Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:16:39.403Z] prd-ubuntu20.04-docker-8c-8g-10691 does not seem to be running inside a container [2024-09-19T14:16:39.436Z] $ 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 [2024-09-19T14:16:42.844Z] $ docker top aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 -eo pid,comm [2024-09-19T14:16:42.904Z] 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). [2024-09-19T14:16:42.904Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T14:16:42.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:16:42.966Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:16:43.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:16:43.083Z] $ docker exec aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 ssh-agent [2024-09-19T14:16:43.202Z] SSH_AUTH_SOCK=/tmp/ssh-vC2IkXYlGoTz/agent.34 [2024-09-19T14:16:43.202Z] SSH_AGENT_PID=40 [2024-09-19T14:16:43.207Z] Running ssh-add (command line suppressed) [2024-09-19T14:16:43.323Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_15379342707407966846.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_15379342707407966846.key) [2024-09-19T14:16:43.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:16:43.634Z] + git tag --points-at HEAD [Pipeline] } [2024-09-19T14:16:43.643Z] $ docker exec --env ******** --env ******** aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 ssh-agent -k [2024-09-19T14:16:43.731Z] unset SSH_AUTH_SOCK; [2024-09-19T14:16:43.731Z] unset SSH_AGENT_PID; [2024-09-19T14:16:43.731Z] echo Agent pid 40 killed; [2024-09-19T14:16:43.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-19T14:16:43.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:16:43.785Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:16:43.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:16:43.890Z] $ docker exec aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 ssh-agent [2024-09-19T14:16:43.989Z] SSH_AUTH_SOCK=/tmp/ssh-0efVzCmmDOCC/agent.73 [2024-09-19T14:16:43.989Z] SSH_AGENT_PID=79 [2024-09-19T14:16:43.993Z] Running ssh-add (command line suppressed) [2024-09-19T14:16:44.094Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_10797611823036303819.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_10797611823036303819.key) [2024-09-19T14:16:44.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:16:44.405Z] + git semver init [2024-09-19T14:16:44.666Z] 2024-09-19 14:16:44,586 [run_init] DEBUG init version:0.0.0 force:False [2024-09-19T14:16:44.666Z] 2024-09-19 14:16:44,586 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T14:16:44.666Z] 2024-09-19 14:16:44,587 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T14:16:44.666Z] 2024-09-19 14:16:44,587 [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) [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,356 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,357 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,362 [execute] INFO git cat-file --batch-check [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,369 [execute] INFO git cat-file --batch [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:16:45.604Z] 2024-09-19 14:16:45,374 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T14:16:45.604Z] 0.0.0 [Pipeline] } [2024-09-19T14:16:45.611Z] $ docker exec --env ******** --env ******** aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 ssh-agent -k [2024-09-19T14:16:45.699Z] unset SSH_AUTH_SOCK; [2024-09-19T14:16:45.702Z] unset SSH_AGENT_PID; [2024-09-19T14:16:45.702Z] echo Agent pid 79 killed; [2024-09-19T14:16:45.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T14:16:46.031Z] + git semver [Pipeline] } [2024-09-19T14:16:46.302Z] $ docker stop --time=1 aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 [2024-09-19T14:16:47.614Z] $ docker rm -f --volumes aa2ab8ab47e0875e2f0da376576fe32f570f1c0b594ad211798e091301881709 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T14:16:47.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-19T14:16:48.193Z] Stashed 1 file(s) [Pipeline] echo [2024-09-19T14:16:48.196Z] [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 [2024-09-19T14:16:48.349Z] provisioning config files... [2024-09-19T14:16:48.359Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config1941117927521587607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:16:48.664Z] ---> ****-login.sh [2024-09-19T14:16:48.664Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:16:48.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:48.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:48.664Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:48.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:48.665Z] [2024-09-19T14:16:48.665Z] Login Succeeded [2024-09-19T14:16:48.665Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:16:48.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:48.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:48.665Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:48.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:48.665Z] [2024-09-19T14:16:48.665Z] Login Succeeded [2024-09-19T14:16:48.665Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:16:48.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:48.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:48.925Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:48.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:48.925Z] [2024-09-19T14:16:48.925Z] Login Succeeded [2024-09-19T14:16:48.925Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:16:48.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:48.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:48.925Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:48.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:48.925Z] [2024-09-19T14:16:48.925Z] Login Succeeded [2024-09-19T14:16:48.925Z] ****.io [2024-09-19T14:16:49.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:16:49.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:16:49.185Z] Configure a credential helper to remove this warning. See [2024-09-19T14:16:49.185Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:16:49.185Z] [2024-09-19T14:16:49.185Z] Login Succeeded [2024-09-19T14:16:49.185Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:16:49.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T14:16:49.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:16:49.288Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-19T14:16:49.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:16:49.326Z] ========================================================= [2024-09-19T14:16:49.326Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-19T14:16:49.326Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:16:49.646Z] + 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 . [2024-09-19T14:16:49.646Z] Sending build context to Docker daemon 5.332MB [2024-09-19T14:16:49.646Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T14:16:49.646Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T14:16:49.646Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-19T14:16:49.646Z] 96526aa774ef: Pulling fs layer [2024-09-19T14:16:49.646Z] da60e534fd72: Pulling fs layer [2024-09-19T14:16:49.904Z] 96526aa774ef: Verifying Checksum [2024-09-19T14:16:49.904Z] 96526aa774ef: Download complete [2024-09-19T14:16:49.904Z] 96526aa774ef: Pull complete [2024-09-19T14:16:50.843Z] da60e534fd72: Verifying Checksum [2024-09-19T14:16:50.843Z] da60e534fd72: Download complete [2024-09-19T14:16:54.130Z] da60e534fd72: Pull complete [2024-09-19T14:16:54.130Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-19T14:16:54.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-19T14:16:54.130Z] ---> 6605166a5db4 [2024-09-19T14:16:54.130Z] 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 [2024-09-19T14:16:56.683Z] ---> Running in 6bb568968504 [2024-09-19T14:16:56.946Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:16:57.514Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:16:57.514Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:16:57.514Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:16:57.774Z] Removing intermediate container 6bb568968504 [2024-09-19T14:16:57.774Z] ---> 87c3b5601d35 [2024-09-19T14:16:57.774Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:16:57.774Z] ---> Running in c8012bcc6a9f [2024-09-19T14:16:58.348Z] Removing intermediate container c8012bcc6a9f [2024-09-19T14:16:58.348Z] ---> 40e76d181b65 [2024-09-19T14:16:58.348Z] 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 [2024-09-19T14:16:58.348Z] ---> Running in 1c81c0313fc7 [2024-09-19T14:16:58.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:16:58.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:16:59.127Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:16:59.697Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:16:59.697Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T14:16:59.697Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:16:59.697Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T14:16:59.697Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:17:00.267Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:17:00.267Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:17:00.526Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:17:00.526Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:17:00.526Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:17:00.526Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:17:00.527Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:17:00.527Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T14:17:00.527Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T14:17:00.527Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T14:17:00.527Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T14:17:00.527Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:17:00.527Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:17:00.792Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:17:00.792Z] OK: 336 MiB in 99 packages [2024-09-19T14:17:01.373Z] Removing intermediate container 1c81c0313fc7 [2024-09-19T14:17:01.373Z] ---> c4e27d97bc94 [2024-09-19T14:17:01.373Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T14:17:01.373Z] ---> Running in 3b310997893c [2024-09-19T14:17:01.943Z] Removing intermediate container 3b310997893c [2024-09-19T14:17:01.943Z] ---> 08b9898994eb [2024-09-19T14:17:01.943Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T14:17:01.943Z] ---> 44556a148c96 [2024-09-19T14:17:01.943Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T14:17:02.202Z] ---> 5b4e3fb55abb [2024-09-19T14:17:02.202Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T14:17:02.462Z] ---> 3626c1653519 [2024-09-19T14:17:02.462Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T14:17:02.462Z] ---> 3bc3122ed25b [2024-09-19T14:17:02.462Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T14:17:02.723Z] ---> ea684e7532e4 [2024-09-19T14:17:02.723Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T14:17:02.723Z] ---> d4990567278e [2024-09-19T14:17:02.723Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T14:17:02.983Z] ---> Running in 5ada3378dc3f [2024-09-19T14:17:03.242Z] + CPPCHECK=false [2024-09-19T14:17:03.242Z] + DOCGEN=false [2024-09-19T14:17:03.242Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T14:17:03.242Z] + '[' 0 -gt 0 ] [2024-09-19T14:17:03.242Z] + readlink -f ./scripts/build.sh [2024-09-19T14:17:03.242Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T14:17:03.242Z] + dirname /tmp/sdk/scripts [2024-09-19T14:17:03.242Z] + ROOT=/tmp/sdk [2024-09-19T14:17:03.242Z] + cd /tmp/sdk [2024-09-19T14:17:03.242Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T14:17:03.242Z] + cd /tmp/sdk/build/release [2024-09-19T14:17:03.242Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T14:17:03.242Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:17:03.242Z] -- Detecting C compiler ABI info [2024-09-19T14:17:03.242Z] -- Detecting C compiler ABI info - done [2024-09-19T14:17:03.242Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:17:03.242Z] -- Detecting C compile features [2024-09-19T14:17:03.242Z] -- Detecting C compile features - done [2024-09-19T14:17:03.242Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:17:03.242Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:17:03.242Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:17:03.296Z] Still waiting to schedule task [2024-09-19T14:17:03.297Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10690’ is offline [2024-09-19T14:17:03.503Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:17:03.503Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:17:03.503Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:17:03.503Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:17:03.503Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:17:03.503Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:17:03.503Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:17:03.503Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:17:03.503Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:17:03.503Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:17:03.503Z] -- Configuring done (0.4s) [2024-09-19T14:17:03.503Z] -- Generating done (0.0s) [2024-09-19T14:17:03.503Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T14:17:03.503Z] + make all package [2024-09-19T14:17:03.503Z] + tee release.log [2024-09-19T14:17:03.503Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:17:03.763Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:17:03.763Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:17:04.023Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:17:04.023Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:17:04.282Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:17:04.541Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:17:04.541Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T14:17:04.541Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:17:04.541Z] 294 | while (privateConfig) [2024-09-19T14:17:04.541Z] | ^~~~~~~~~~~~~ [2024-09-19T14:17:04.541Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T14:17:04.541Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:17:04.541Z] | ^~~~~~~~~~~~~ [2024-09-19T14:17:04.541Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:17:04.541Z] 271 | while (result) [2024-09-19T14:17:04.541Z] | ^~~~~~ [2024-09-19T14:17:04.541Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T14:17:04.541Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:17:04.541Z] | ^~~~~~ [2024-09-19T14:17:04.541Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:17:04.801Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:17:04.801Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:17:05.060Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:17:05.319Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:17:05.319Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:17:05.319Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:17:05.580Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:17:05.580Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:17:05.840Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:17:06.102Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:17:06.102Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:17:06.102Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:17:06.361Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:17:07.302Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:17:07.561Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:17:07.561Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:17:07.561Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:17:07.821Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:17:07.821Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:17:08.388Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:17:08.389Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:17:08.389Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:17:08.647Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:17:08.647Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:17:08.647Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:17:08.647Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:17:08.647Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:17:08.647Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:17:08.647Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:17:08.647Z] | ^ [2024-09-19T14:17:08.907Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:17:08.907Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T14:17:08.907Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:17:08.907Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T14:17:08.907Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T14:17:08.907Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:17:08.907Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:17:09.167Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:17:09.167Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:17:09.167Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:17:09.167Z] [ 68%] Built target csdk [2024-09-19T14:17:09.430Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:17:09.430Z] [ 72%] Linking C executable template [2024-09-19T14:17:09.430Z] [ 72%] Built target template [2024-09-19T14:17:09.430Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:17:09.690Z] [ 76%] Linking C executable device-counter [2024-09-19T14:17:09.690Z] [ 76%] Built target device-counter [2024-09-19T14:17:09.690Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:17:09.690Z] [ 80%] Linking C executable device-random [2024-09-19T14:17:09.949Z] [ 80%] Built target device-random [2024-09-19T14:17:09.949Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:17:09.949Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:17:09.949Z] [ 84%] Built target device-gyro [2024-09-19T14:17:09.949Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:17:10.208Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:17:10.208Z] [ 88%] Built target device-bitfields [2024-09-19T14:17:10.208Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:17:10.467Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:17:10.467Z] [ 92%] Built target template-discovery [2024-09-19T14:17:10.467Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:17:10.467Z] [ 96%] Linking C executable device-file [2024-09-19T14:17:10.725Z] [ 96%] Built target device-file [2024-09-19T14:17:10.725Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:17:10.725Z] [100%] Linking C executable device-terminal [2024-09-19T14:17:10.725Z] [100%] Built target device-terminal [2024-09-19T14:17:10.725Z] Run CPack packaging tool... [2024-09-19T14:17:10.985Z] CPack: Create package using TGZ [2024-09-19T14:17:10.985Z] CPack: Install projects [2024-09-19T14:17:10.985Z] CPack: - Run preinstall target for: Csdk [2024-09-19T14:17:10.985Z] CPack: - Install project: Csdk [] [2024-09-19T14:17:10.985Z] CPack: Create package [2024-09-19T14:17:11.243Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T14:17:11.243Z] + '[' false '=' true ] [2024-09-19T14:17:11.243Z] + '[' false '=' true ] [2024-09-19T14:17:11.243Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T14:17:11.243Z] + cd /tmp/sdk/build/debug [2024-09-19T14:17:11.243Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T14:17:11.243Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:17:11.243Z] -- Detecting C compiler ABI info [2024-09-19T14:17:11.243Z] -- Detecting C compiler ABI info - done [2024-09-19T14:17:11.243Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:17:11.243Z] -- Detecting C compile features [2024-09-19T14:17:11.243Z] -- Detecting C compile features - done [2024-09-19T14:17:11.243Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:17:11.501Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:17:11.501Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:17:11.501Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:17:11.501Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:17:11.501Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:17:11.501Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:17:11.501Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:17:11.501Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:17:11.501Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:17:11.501Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:17:11.501Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:17:11.501Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:17:11.501Z] -- Configuring done (0.4s) [2024-09-19T14:17:11.501Z] -- Generating done (0.0s) [2024-09-19T14:17:11.501Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T14:17:11.501Z] + make [2024-09-19T14:17:11.501Z] + tee debug.log [2024-09-19T14:17:11.501Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:17:11.760Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:17:11.760Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:17:11.760Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:17:12.019Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:17:12.019Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:17:12.019Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:17:12.280Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:17:12.280Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:17:12.280Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:17:12.280Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:17:12.538Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:17:12.538Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:17:12.538Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:17:12.797Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:17:12.797Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:17:12.797Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:17:13.055Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:17:13.055Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:17:13.055Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:17:13.055Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:17:13.314Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:17:13.314Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:17:13.573Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:17:13.574Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:17:13.574Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:17:13.574Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:17:13.833Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:17:13.833Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:17:14.093Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:17:14.093Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:17:14.093Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:17:14.093Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:17:14.093Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:17:14.093Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:17:14.093Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:17:14.093Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:17:14.093Z] | ^ [2024-09-19T14:17:14.093Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:17:14.352Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:17:14.352Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:17:14.352Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:17:14.352Z] [ 68%] Built target csdk [2024-09-19T14:17:14.352Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:17:14.612Z] [ 72%] Linking C executable template [2024-09-19T14:17:14.612Z] [ 72%] Built target template [2024-09-19T14:17:14.612Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:17:14.612Z] [ 76%] Linking C executable device-counter [2024-09-19T14:17:14.871Z] [ 76%] Built target device-counter [2024-09-19T14:17:14.871Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:17:14.871Z] [ 80%] Linking C executable device-random [2024-09-19T14:17:14.871Z] [ 80%] Built target device-random [2024-09-19T14:17:14.871Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:17:14.871Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:17:15.131Z] [ 84%] Built target device-gyro [2024-09-19T14:17:15.131Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:17:15.131Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:17:15.131Z] [ 88%] Built target device-bitfields [2024-09-19T14:17:15.131Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:17:15.391Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:17:15.391Z] [ 92%] Built target template-discovery [2024-09-19T14:17:15.391Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:17:15.391Z] [ 96%] Linking C executable device-file [2024-09-19T14:17:15.391Z] [ 96%] Built target device-file [2024-09-19T14:17:15.391Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:17:15.650Z] [100%] Linking C executable device-terminal [2024-09-19T14:17:15.650Z] [100%] Built target device-terminal [2024-09-19T14:17:15.650Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T14:17:15.650Z] [ 68%] Built target csdk [2024-09-19T14:17:15.650Z] [ 72%] Built target template [2024-09-19T14:17:15.650Z] [ 76%] Built target device-counter [2024-09-19T14:17:15.650Z] [ 80%] Built target device-random [2024-09-19T14:17:15.650Z] [ 84%] Built target device-gyro [2024-09-19T14:17:15.910Z] [ 88%] Built target device-bitfields [2024-09-19T14:17:15.910Z] [ 92%] Built target template-discovery [2024-09-19T14:17:15.910Z] [ 96%] Built target device-file [2024-09-19T14:17:15.910Z] [100%] Built target device-terminal [2024-09-19T14:17:15.910Z] Install the project... [2024-09-19T14:17:15.910Z] -- Install configuration: "Release" [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T14:17:15.910Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/devsdk [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T14:17:15.910Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T14:17:15.910Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T14:17:16.487Z] Removing intermediate container 5ada3378dc3f [2024-09-19T14:17:16.487Z] ---> bfc1f9424e17 [2024-09-19T14:17:16.487Z] Step 14/22 : FROM ${BASE} [2024-09-19T14:17:16.487Z] ---> 6605166a5db4 [2024-09-19T14:17:16.487Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T14:17:16.754Z] ---> Running in 5de424956f6b [2024-09-19T14:17:16.754Z] Removing intermediate container 5de424956f6b [2024-09-19T14:17:16.754Z] ---> 1d3c5fe42850 [2024-09-19T14:17:16.754Z] 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 [2024-09-19T14:17:16.754Z] ---> Running in 746b444b8b1e [2024-09-19T14:17:17.013Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T14:17:17.272Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:17:17.272Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:17:17.272Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:17:17.841Z] Removing intermediate container 746b444b8b1e [2024-09-19T14:17:17.841Z] ---> 62235ad2d2a9 [2024-09-19T14:17:17.841Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:17:17.841Z] ---> Running in 9d5063d96b6a [2024-09-19T14:17:18.101Z] Removing intermediate container 9d5063d96b6a [2024-09-19T14:17:18.101Z] ---> f52423158d94 [2024-09-19T14:17:18.101Z] 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 [2024-09-19T14:17:18.101Z] ---> Running in e2673c94c9e8 [2024-09-19T14:17:18.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:18.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:18.667Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:19.235Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:17:19.235Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:17:19.235Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T14:17:19.235Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:17:19.235Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T14:17:19.235Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T14:17:19.235Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:17:19.235Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T14:17:19.235Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:17:19.804Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:17:20.062Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T14:17:20.062Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:17:20.062Z] OK: 331 MiB in 90 packages [2024-09-19T14:17:20.630Z] Removing intermediate container e2673c94c9e8 [2024-09-19T14:17:20.630Z] ---> 7a9b4c7432cd [2024-09-19T14:17:20.630Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T14:17:20.630Z] ---> Running in 93e138ac84a1 [2024-09-19T14:17:20.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:20.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:21.149Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:21.719Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:17:21.719Z] Upgrading critical system libraries and apk-tools: [2024-09-19T14:17:21.719Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T14:17:21.719Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:17:21.719Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T14:17:21.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:21.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:21.719Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:22.287Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:17:22.287Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:17:22.287Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T14:17:22.287Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:17:22.287Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T14:17:22.287Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:17:22.287Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:17:22.287Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:17:22.287Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T14:17:22.287Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T14:17:22.287Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T14:17:22.287Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:17:22.287Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T14:17:22.546Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:17:22.546Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:17:22.546Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:17:22.546Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:17:22.546Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T14:17:22.546Z] OK: 331 MiB in 90 packages [2024-09-19T14:17:23.484Z] Removing intermediate container 93e138ac84a1 [2024-09-19T14:17:23.484Z] ---> e6067fb65c6e [2024-09-19T14:17:23.484Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T14:17:23.484Z] ---> 9e9a35472bd9 [2024-09-19T14:17:23.484Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T14:17:23.745Z] ---> 0f493c8086c0 [2024-09-19T14:17:23.745Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T14:17:23.745Z] ---> 877b515e6eeb [2024-09-19T14:17:24.007Z] Successfully built 877b515e6eeb [2024-09-19T14:17:24.007Z] 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 [2024-09-19T14:17:24.412Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-19T14:17:24.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:17:24.489Z] prd-ubuntu20.04-docker-8c-8g-10691 does not seem to be running inside a container [2024-09-19T14:17:24.517Z] $ 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 [2024-09-19T14:17:24.833Z] $ docker top c1aabea50fea4d8f78e8f62ebabafbfb435b7b953e21a73dd0aa5231c8876797 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:17:25.189Z] + make test [2024-09-19T14:17:25.190Z] echo "make test" [2024-09-19T14:17:25.190Z] make test [Pipeline] } [2024-09-19T14:17:25.198Z] $ docker stop --time=1 c1aabea50fea4d8f78e8f62ebabafbfb435b7b953e21a73dd0aa5231c8876797 [2024-09-19T14:17:26.456Z] $ docker rm -f --volumes c1aabea50fea4d8f78e8f62ebabafbfb435b7b953e21a73dd0aa5231c8876797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:17:27.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T14:17:27.520Z] + ls -al . [2024-09-19T14:17:27.520Z] total 212 [2024-09-19T14:17:27.520Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 14:16 . [2024-09-19T14:17:27.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:16 .. [2024-09-19T14:17:27.520Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:16 .git [2024-09-19T14:17:27.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:16 .github [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:16 .gitignore [2024-09-19T14:17:27.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:16 .semver [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:16 Attribution.txt [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:16 CHANGELOG.md [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:16 Doxyfile [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:16 GOVERNANCE.md [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:16 Jenkinsfile [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:16 LICENSE [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:16 Makefile [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:16 OWNERS.md [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:16 README.IOT.md [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:16 README.md [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:16 README.v3.md [2024-09-19T14:17:27.520Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 14:16 VERSION [2024-09-19T14:17:27.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:16 docs [2024-09-19T14:17:27.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:16 include [2024-09-19T14:17:27.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:16 scripts [2024-09-19T14:17:27.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:17:27.840Z] + 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=18ef029f0b9c93e898a41544d9b324e54955c5ca --label arch=amd64 --label version=0.0.0 . [2024-09-19T14:17:27.840Z] Sending build context to Docker daemon 5.332MB [2024-09-19T14:17:27.840Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T14:17:27.840Z] Step 2/18 : FROM ${BASE} [2024-09-19T14:17:27.840Z] ---> 877b515e6eeb [2024-09-19T14:17:27.840Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T14:17:27.840Z] ---> Running in 3520a7cd1c89 [2024-09-19T14:17:28.099Z] Removing intermediate container 3520a7cd1c89 [2024-09-19T14:17:28.099Z] ---> 705deab1115a [2024-09-19T14:17:28.099Z] 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 [2024-09-19T14:17:28.099Z] ---> Running in 016421e45c57 [2024-09-19T14:17:28.357Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:17:28.618Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:17:28.618Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:17:28.618Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:17:29.192Z] Removing intermediate container 016421e45c57 [2024-09-19T14:17:29.192Z] ---> c481aa3ebd3d [2024-09-19T14:17:29.192Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:17:29.192Z] ---> Running in d7bfd53bf2ca [2024-09-19T14:17:29.763Z] Removing intermediate container d7bfd53bf2ca [2024-09-19T14:17:29.763Z] ---> 2181353a642b [2024-09-19T14:17:29.763Z] 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 [2024-09-19T14:17:29.763Z] ---> Running in e0f640aff692 [2024-09-19T14:17:30.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:30.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:30.283Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:30.855Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:17:30.855Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:17:31.117Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:17:31.117Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:17:31.117Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:17:31.117Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:17:31.117Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:17:31.117Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T14:17:31.117Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T14:17:31.117Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T14:17:31.117Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:17:31.117Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:17:31.117Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:17:31.117Z] OK: 337 MiB in 101 packages [2024-09-19T14:17:31.689Z] Removing intermediate container e0f640aff692 [2024-09-19T14:17:31.689Z] ---> d648a446851a [2024-09-19T14:17:31.689Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T14:17:31.689Z] ---> Running in 530e37942a72 [2024-09-19T14:17:31.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:31.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:32.210Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:17:32.780Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:17:32.780Z] OK: 337 MiB in 101 packages [2024-09-19T14:17:33.039Z] Removing intermediate container 530e37942a72 [2024-09-19T14:17:33.039Z] ---> 3701e0c22489 [2024-09-19T14:17:33.039Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T14:17:33.039Z] ---> 00ff5358b5b2 [2024-09-19T14:17:33.039Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T14:17:33.299Z] ---> 1707428f7665 [2024-09-19T14:17:33.299Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T14:17:33.299Z] ---> 497fac69db49 [2024-09-19T14:17:33.299Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T14:17:33.559Z] ---> da8040783e61 [2024-09-19T14:17:33.559Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T14:17:33.559Z] ---> 05643634b56b [2024-09-19T14:17:33.559Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T14:17:33.819Z] ---> 056cd0a0ec37 [2024-09-19T14:17:33.819Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T14:17:33.819Z] ---> Running in 821aa7018008 [2024-09-19T14:17:33.819Z] Removing intermediate container 821aa7018008 [2024-09-19T14:17:33.819Z] ---> 9b5446001e76 [2024-09-19T14:17:33.819Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T14:17:33.819Z] ---> Running in 1089a02846f9 [2024-09-19T14:17:33.819Z] Removing intermediate container 1089a02846f9 [2024-09-19T14:17:33.819Z] ---> 467d041ab297 [2024-09-19T14:17:33.819Z] Step 16/18 : LABEL arch=amd64 [2024-09-19T14:17:34.077Z] ---> Running in 326540c8a15d [2024-09-19T14:17:34.077Z] Removing intermediate container 326540c8a15d [2024-09-19T14:17:34.077Z] ---> 35bc207ea3fb [2024-09-19T14:17:34.077Z] Step 17/18 : LABEL git_sha=18ef029f0b9c93e898a41544d9b324e54955c5ca [2024-09-19T14:17:34.077Z] ---> Running in 35d38a198094 [2024-09-19T14:17:34.077Z] Removing intermediate container 35d38a198094 [2024-09-19T14:17:34.077Z] ---> 68acab37c0ca [2024-09-19T14:17:34.078Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T14:17:34.078Z] ---> Running in 0e982cbcaec3 [2024-09-19T14:17:34.337Z] Removing intermediate container 0e982cbcaec3 [2024-09-19T14:17:34.337Z] ---> 0cc7e9cf16f4 [2024-09-19T14:17:34.337Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T14:17:34.337Z] Successfully built 0cc7e9cf16f4 [2024-09-19T14:17:34.337Z] 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 [2024-09-19T14:17:34.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:17:34.852Z] [2024-09-19T14:17:34.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:17:35.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:17:35.159Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-19T14:17:35.159Z] 5eb5b503b376: Pulling fs layer [2024-09-19T14:17:35.159Z] 5c69ac0246d0: Pulling fs layer [2024-09-19T14:17:35.159Z] ec43610c2a17: Pulling fs layer [2024-09-19T14:17:35.159Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-19T14:17:35.159Z] 33b1e0a273af: Pulling fs layer [2024-09-19T14:17:35.159Z] 5d3b04190fa2: Pulling fs layer [2024-09-19T14:17:35.159Z] 2f39f015ded8: Pulling fs layer [2024-09-19T14:17:35.159Z] 33b1e0a273af: Waiting [2024-09-19T14:17:35.159Z] 5d3b04190fa2: Waiting [2024-09-19T14:17:35.159Z] 2f39f015ded8: Waiting [2024-09-19T14:17:35.159Z] 3a2ae6a8a46f: Waiting [2024-09-19T14:17:35.159Z] 5c69ac0246d0: Verifying Checksum [2024-09-19T14:17:35.159Z] 5c69ac0246d0: Download complete [2024-09-19T14:17:35.159Z] 3a2ae6a8a46f: Download complete [2024-09-19T14:17:35.159Z] 33b1e0a273af: Verifying Checksum [2024-09-19T14:17:35.159Z] 33b1e0a273af: Download complete [2024-09-19T14:17:35.159Z] 5d3b04190fa2: Verifying Checksum [2024-09-19T14:17:35.159Z] 5d3b04190fa2: Download complete [2024-09-19T14:17:35.159Z] ec43610c2a17: Verifying Checksum [2024-09-19T14:17:35.159Z] ec43610c2a17: Download complete [2024-09-19T14:17:35.417Z] 5eb5b503b376: Verifying Checksum [2024-09-19T14:17:35.417Z] 5eb5b503b376: Download complete [2024-09-19T14:17:35.983Z] 2f39f015ded8: Verifying Checksum [2024-09-19T14:17:35.983Z] 2f39f015ded8: Download complete [2024-09-19T14:17:36.552Z] 5eb5b503b376: Pull complete [2024-09-19T14:17:36.552Z] 5c69ac0246d0: Pull complete [2024-09-19T14:17:37.120Z] ec43610c2a17: Pull complete [2024-09-19T14:17:37.120Z] 3a2ae6a8a46f: Pull complete [2024-09-19T14:17:37.389Z] 33b1e0a273af: Pull complete [2024-09-19T14:17:37.389Z] 5d3b04190fa2: Pull complete [2024-09-19T14:17:41.582Z] 2f39f015ded8: Pull complete [2024-09-19T14:17:41.582Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-19T14:17:41.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:17:41.582Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:17:41.691Z] prd-ubuntu20.04-docker-8c-8g-10691 does not seem to be running inside a container [2024-09-19T14:17:41.712Z] $ 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 [2024-09-19T14:17:47.492Z] $ docker top 8645e8fc8bad1fae6f13a5e70014d0f69cae5d633df9623bd758e5e9da471617 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:17:47.862Z] ---> job-cost.sh [2024-09-19T14:17:47.862Z] lf-activate-venv: SKIPPING [2024-09-19T14:17:47.862Z] INFO: No Stack... [2024-09-19T14:17:48.434Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T14:17:48.694Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T14:17:48.985Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [2024-09-19T14:17:48.985Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T14:17:49.001Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] [2024-09-19T14:17:49.011Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] did not exist. Created. [2024-09-19T14:17:49.022Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T14:17:49.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-19T14:17:49.383Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T14:17:49.392Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T14:17:49.414Z] $ docker stop --time=1 8645e8fc8bad1fae6f13a5e70014d0f69cae5d633df9623bd758e5e9da471617 [2024-09-19T14:17:50.567Z] $ docker rm -f --volumes 8645e8fc8bad1fae6f13a5e70014d0f69cae5d633df9623bd758e5e9da471617 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-19T14:18:41.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10692 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-19T14:18:41.460Z] Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout [2024-09-19T14:18:44.518Z] Selected Git installation does not exist. Using Default [2024-09-19T14:18:44.518Z] The recommended git tool is: NONE [2024-09-19T14:18:48.872Z] using credential edgex-jenkins-ssh [2024-09-19T14:18:48.893Z] Cloning the remote Git repository [2024-09-19T14:18:48.926Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:18:49.010Z] > git init /w/workspace/device-sdk-c/10 # timeout=10 [2024-09-19T14:18:49.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:18:49.140Z] > git --version # timeout=10 [2024-09-19T14:18:49.160Z] > git --version # 'git version 2.25.1' [2024-09-19T14:18:49.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:18:49.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T14:18:50.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T14:18:50.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T14:18:51.838Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 18ef029f0b9c93e898a41544d9b324e54955c5ca [2024-09-19T14:18:51.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T14:18:51.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:18:51.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:18:51.230Z] > 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 [2024-09-19T14:18:51.853Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T14:18:51.917Z] > git checkout -f 18ef029f0b9c93e898a41544d9b324e54955c5ca # timeout=10 [2024-09-19T14:18:52.035Z] > git remote # timeout=10 [2024-09-19T14:18:52.139Z] Merge succeeded, producing 18ef029f0b9c93e898a41544d9b324e54955c5ca [2024-09-19T14:18:52.140Z] Checking out Revision 18ef029f0b9c93e898a41544d9b324e54955c5ca (PR-513) [2024-09-19T14:18:52.056Z] > git config --get remote.origin.url # timeout=10 [2024-09-19T14:18:52.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:18:52.092Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-19T14:18:52.116Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-19T14:18:52.140Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T14:18:52.155Z] > git checkout -f 18ef029f0b9c93e898a41544d9b324e54955c5ca # timeout=10 [2024-09-19T14:18:55.749Z] Commit message: "feat: Update system event topic name for publishing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:18:57.498Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-19T14:18:57.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-19T14:18:57.498Z] Dload Upload Total Spent Left Speed [2024-09-19T14:18:57.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 88468 0 --:--:-- --:--:-- --:--:-- 89083 [Pipeline] sh [2024-09-19T14:18:57.831Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-19T14:18:58.151Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-19T14:18:58.151Z] + sudo tee /etc/docker/daemon.new [2024-09-19T14:18:58.151Z] { [2024-09-19T14:18:58.151Z] "registry-mirrors": [ [2024-09-19T14:18:58.151Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-19T14:18:58.151Z] ], [2024-09-19T14:18:58.151Z] "bip": "10.250.0.254/24", [2024-09-19T14:18:58.151Z] "hosts": [ [2024-09-19T14:18:58.151Z] "tcp://0.0.0.0:5555", [2024-09-19T14:18:58.151Z] "unix:///var/run/docker.sock" [2024-09-19T14:18:58.151Z] ], [2024-09-19T14:18:58.151Z] "mtu": 1458, [2024-09-19T14:18:58.151Z] "selinux-enabled": true, [2024-09-19T14:18:58.151Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-19T14:18:58.151Z] } [Pipeline] sh [2024-09-19T14:18:58.470Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-19T14:18:58.797Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:19:17.057Z] provisioning config files... [2024-09-19T14:19:17.089Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config15922349640391505292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:19:17.514Z] ---> ****-login.sh [2024-09-19T14:19:17.514Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:19:17.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:19:18.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:19:18.051Z] Configure a credential helper to remove this warning. See [2024-09-19T14:19:18.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:19:18.051Z] [2024-09-19T14:19:18.051Z] Login Succeeded [2024-09-19T14:19:18.051Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:19:18.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:19:18.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:19:18.318Z] Configure a credential helper to remove this warning. See [2024-09-19T14:19:18.318Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:19:18.318Z] [2024-09-19T14:19:18.318Z] Login Succeeded [2024-09-19T14:19:18.586Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:19:18.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:19:18.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:19:18.856Z] Configure a credential helper to remove this warning. See [2024-09-19T14:19:18.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:19:18.856Z] [2024-09-19T14:19:18.856Z] Login Succeeded [2024-09-19T14:19:18.856Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:19:19.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:19:19.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:19:19.129Z] Configure a credential helper to remove this warning. See [2024-09-19T14:19:19.129Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:19:19.129Z] [2024-09-19T14:19:19.129Z] Login Succeeded [2024-09-19T14:19:19.129Z] ****.io [2024-09-19T14:19:19.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:19:19.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:19:19.668Z] Configure a credential helper to remove this warning. See [2024-09-19T14:19:19.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:19:19.668Z] [2024-09-19T14:19:19.668Z] Login Succeeded [2024-09-19T14:19:19.668Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:19:19.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T14:19:19.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:19:19.999Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-19T14:19:20.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:19:20.042Z] ========================================================= [2024-09-19T14:19:20.042Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-19T14:19:20.042Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:19:20.392Z] + 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 . [2024-09-19T14:19:20.986Z] Sending build context to Docker daemon 3.305MB [2024-09-19T14:19:20.986Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T14:19:20.986Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T14:19:20.986Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-19T14:19:20.986Z] 579b34f0a95b: Pulling fs layer [2024-09-19T14:19:20.986Z] e71477ac5e1b: Pulling fs layer [2024-09-19T14:19:21.256Z] 579b34f0a95b: Verifying Checksum [2024-09-19T14:19:21.256Z] 579b34f0a95b: Download complete [2024-09-19T14:19:21.858Z] 579b34f0a95b: Pull complete [2024-09-19T14:19:23.812Z] e71477ac5e1b: Verifying Checksum [2024-09-19T14:19:23.812Z] e71477ac5e1b: Download complete [2024-09-19T14:19:36.151Z] e71477ac5e1b: Pull complete [2024-09-19T14:19:36.151Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-19T14:19:36.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-19T14:19:36.151Z] ---> 2b552cad5dd9 [2024-09-19T14:19:36.151Z] 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 [2024-09-19T14:19:36.151Z] ---> Running in adb577d892a0 [2024-09-19T14:19:36.418Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:19:37.003Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:19:37.003Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:19:37.003Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:19:37.592Z] Removing intermediate container adb577d892a0 [2024-09-19T14:19:37.592Z] ---> 7935049debed [2024-09-19T14:19:37.592Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:19:37.864Z] ---> Running in 3c5dd969d883 [2024-09-19T14:19:39.283Z] Removing intermediate container 3c5dd969d883 [2024-09-19T14:19:39.283Z] ---> 7dc552483a7d [2024-09-19T14:19:39.283Z] 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 [2024-09-19T14:19:39.283Z] ---> Running in 4c80ee8cc7f0 [2024-09-19T14:19:40.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:19:40.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:19:41.424Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:19:42.021Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:19:42.289Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T14:19:42.289Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:19:42.289Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T14:19:42.289Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:19:42.873Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:19:43.138Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:19:43.407Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:19:43.407Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:19:43.407Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:19:43.407Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:19:43.407Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:19:43.407Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T14:19:43.407Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T14:19:43.407Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T14:19:43.407Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T14:19:43.407Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:19:43.407Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:19:43.407Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:19:43.678Z] OK: 333 MiB in 99 packages [2024-09-19T14:19:44.642Z] Removing intermediate container 4c80ee8cc7f0 [2024-09-19T14:19:44.642Z] ---> 1803e476c862 [2024-09-19T14:19:44.642Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T14:19:44.910Z] ---> Running in e0958e16561b [2024-09-19T14:19:46.326Z] Removing intermediate container e0958e16561b [2024-09-19T14:19:46.326Z] ---> 82f12e7ab7a5 [2024-09-19T14:19:46.326Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T14:19:46.916Z] ---> 6418f4509a69 [2024-09-19T14:19:46.916Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T14:19:47.883Z] ---> 2d7511d35db9 [2024-09-19T14:19:47.883Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T14:19:48.151Z] ---> 98f0926379c6 [2024-09-19T14:19:48.151Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T14:19:48.736Z] ---> 62f636e46735 [2024-09-19T14:19:48.736Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T14:19:49.325Z] ---> caefeff95dd9 [2024-09-19T14:19:49.325Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T14:19:49.913Z] ---> 22f1c0057bc8 [2024-09-19T14:19:49.913Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T14:19:49.913Z] ---> Running in 8e9df2677708 [2024-09-19T14:19:50.875Z] + CPPCHECK=false [2024-09-19T14:19:50.875Z] + DOCGEN=false [2024-09-19T14:19:50.875Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T14:19:50.875Z] + '[' 0 -gt 0 ] [2024-09-19T14:19:50.875Z] + readlink -f ./scripts/build.sh [2024-09-19T14:19:50.875Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T14:19:50.875Z] + dirname /tmp/sdk/scripts [2024-09-19T14:19:50.875Z] + ROOT=/tmp/sdk [2024-09-19T14:19:50.875Z] + cd /tmp/sdk [2024-09-19T14:19:50.875Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T14:19:50.875Z] + cd /tmp/sdk/build/release [2024-09-19T14:19:50.876Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T14:19:51.144Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:19:51.144Z] -- Detecting C compiler ABI info [2024-09-19T14:19:51.729Z] -- Detecting C compiler ABI info - done [2024-09-19T14:19:51.729Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:19:51.729Z] -- Detecting C compile features [2024-09-19T14:19:51.729Z] -- Detecting C compile features - done [2024-09-19T14:19:51.729Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:19:51.996Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:19:51.996Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:19:51.996Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:19:51.996Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:19:51.996Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:19:51.996Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:19:51.996Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:19:51.996Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:19:51.996Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:19:51.996Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:19:52.263Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:19:52.531Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:19:52.531Z] -- Configuring done (1.7s) [2024-09-19T14:19:52.797Z] -- Generating done (0.2s) [2024-09-19T14:19:52.798Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T14:19:52.798Z] + make all package [2024-09-19T14:19:52.798Z] + tee release.log [2024-09-19T14:19:53.065Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:19:53.648Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:19:54.613Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:19:55.204Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:19:56.163Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:19:56.430Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:19:59.009Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:19:59.278Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T14:19:59.278Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:19:59.278Z] 294 | while (privateConfig) [2024-09-19T14:19:59.278Z] | ^~~~~~~~~~~~~ [2024-09-19T14:19:59.278Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T14:19:59.278Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:19:59.278Z] | ^~~~~~~~~~~~~ [2024-09-19T14:19:59.278Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:19:59.278Z] 271 | while (result) [2024-09-19T14:19:59.278Z] | ^~~~~~ [2024-09-19T14:19:59.278Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T14:19:59.278Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:19:59.278Z] | ^~~~~~ [2024-09-19T14:19:59.863Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:19:59.863Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:20:00.827Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:20:02.785Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:20:03.052Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:20:04.012Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:20:04.598Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:20:05.181Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:20:06.139Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:20:06.407Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:20:08.994Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:20:08.994Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:20:09.578Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:20:10.986Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:20:17.656Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:20:17.931Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:20:18.198Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:20:18.780Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:20:19.048Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:20:20.454Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:20:23.036Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:20:23.036Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:20:23.992Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:20:24.573Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:20:24.840Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:20:24.841Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:20:24.841Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:20:24.841Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:20:24.841Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:20:24.841Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:20:24.841Z] | ^ [2024-09-19T14:20:26.263Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:20:26.263Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T14:20:26.263Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:20:26.263Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T14:20:26.263Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T14:20:26.263Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:20:27.249Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:20:28.206Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:20:28.473Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:20:29.064Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:20:29.064Z] [ 68%] Built target csdk [2024-09-19T14:20:29.064Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:20:30.023Z] [ 72%] Linking C executable template [2024-09-19T14:20:30.289Z] [ 72%] Built target template [2024-09-19T14:20:30.290Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:20:30.871Z] [ 76%] Linking C executable device-counter [2024-09-19T14:20:31.135Z] [ 76%] Built target device-counter [2024-09-19T14:20:31.401Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:20:31.666Z] [ 80%] Linking C executable device-random [2024-09-19T14:20:32.246Z] [ 80%] Built target device-random [2024-09-19T14:20:32.246Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:20:32.513Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:20:33.094Z] [ 84%] Built target device-gyro [2024-09-19T14:20:33.095Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:20:33.361Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:20:33.948Z] [ 88%] Built target device-bitfields [2024-09-19T14:20:33.948Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:20:34.922Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:20:34.922Z] [ 92%] Built target template-discovery [2024-09-19T14:20:34.922Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:20:35.889Z] [ 96%] Linking C executable device-file [2024-09-19T14:20:36.157Z] [ 96%] Built target device-file [2024-09-19T14:20:36.157Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:20:36.739Z] [100%] Linking C executable device-terminal [2024-09-19T14:20:37.006Z] [100%] Built target device-terminal [2024-09-19T14:20:37.272Z] Run CPack packaging tool... [2024-09-19T14:20:37.272Z] CPack: Create package using TGZ [2024-09-19T14:20:37.272Z] CPack: Install projects [2024-09-19T14:20:37.272Z] CPack: - Run preinstall target for: Csdk [2024-09-19T14:20:37.854Z] CPack: - Install project: Csdk [] [2024-09-19T14:20:37.854Z] CPack: Create package [2024-09-19T14:20:38.120Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T14:20:38.120Z] + '[' false '=' true ] [2024-09-19T14:20:38.120Z] + '[' false '=' true ] [2024-09-19T14:20:38.120Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T14:20:38.120Z] + cd /tmp/sdk/build/debug [2024-09-19T14:20:38.120Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T14:20:38.386Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:20:38.386Z] -- Detecting C compiler ABI info [2024-09-19T14:20:38.650Z] -- Detecting C compiler ABI info - done [2024-09-19T14:20:38.915Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:20:38.915Z] -- Detecting C compile features [2024-09-19T14:20:38.915Z] -- Detecting C compile features - done [2024-09-19T14:20:38.915Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:20:39.310Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:20:39.310Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:20:39.310Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:20:39.310Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:20:39.310Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:20:39.310Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:20:39.310Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:20:39.310Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:20:39.310Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:20:39.310Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:20:39.602Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:20:39.602Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:20:39.875Z] -- Configuring done (1.7s) [2024-09-19T14:20:40.152Z] -- Generating done (0.3s) [2024-09-19T14:20:40.152Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T14:20:40.152Z] + make [2024-09-19T14:20:40.152Z] + tee debug.log [2024-09-19T14:20:40.431Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:20:40.706Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:20:40.982Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:20:41.599Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:20:41.889Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:20:42.164Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:20:42.749Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:20:43.349Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:20:43.349Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:20:43.934Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:20:44.533Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:20:44.800Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:20:45.067Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:20:45.654Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:20:45.922Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:20:46.191Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:20:46.458Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:20:47.040Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:20:47.306Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:20:47.573Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:20:48.154Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:20:49.120Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:20:49.386Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:20:49.653Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:20:50.237Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:20:50.237Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:20:50.818Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:20:52.237Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:20:52.237Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:20:52.818Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:20:53.084Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:20:53.349Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:20:53.349Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:20:53.349Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:20:53.349Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:20:53.349Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:20:53.349Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:20:53.349Z] | ^ [2024-09-19T14:20:53.928Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:20:54.194Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:20:54.460Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:20:54.725Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:20:54.990Z] [ 68%] Built target csdk [2024-09-19T14:20:54.990Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:20:55.256Z] [ 72%] Linking C executable template [2024-09-19T14:20:55.836Z] [ 72%] Built target template [2024-09-19T14:20:55.836Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:20:56.113Z] [ 76%] Linking C executable device-counter [2024-09-19T14:20:56.379Z] [ 76%] Built target device-counter [2024-09-19T14:20:56.380Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:20:56.645Z] [ 80%] Linking C executable device-random [2024-09-19T14:20:56.911Z] [ 80%] Built target device-random [2024-09-19T14:20:56.911Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:20:57.176Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:20:57.443Z] [ 84%] Built target device-gyro [2024-09-19T14:20:57.710Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:20:57.976Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:20:58.241Z] [ 88%] Built target device-bitfields [2024-09-19T14:20:58.241Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:20:58.834Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:20:59.100Z] [ 92%] Built target template-discovery [2024-09-19T14:20:59.100Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:20:59.364Z] [ 96%] Linking C executable device-file [2024-09-19T14:20:59.629Z] [ 96%] Built target device-file [2024-09-19T14:20:59.894Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:21:00.160Z] [100%] Linking C executable device-terminal [2024-09-19T14:21:00.425Z] [100%] Built target device-terminal [2024-09-19T14:21:00.694Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T14:21:00.694Z] [ 68%] Built target csdk [2024-09-19T14:21:00.694Z] [ 72%] Built target template [2024-09-19T14:21:00.961Z] [ 76%] Built target device-counter [2024-09-19T14:21:00.961Z] [ 80%] Built target device-random [2024-09-19T14:21:00.961Z] [ 84%] Built target device-gyro [2024-09-19T14:21:00.961Z] [ 88%] Built target device-bitfields [2024-09-19T14:21:00.961Z] [ 92%] Built target template-discovery [2024-09-19T14:21:01.235Z] [ 96%] Built target device-file [2024-09-19T14:21:01.235Z] [100%] Built target device-terminal [2024-09-19T14:21:01.235Z] Install the project... [2024-09-19T14:21:01.235Z] -- Install configuration: "Release" [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T14:21:01.235Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/devsdk [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T14:21:01.235Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T14:21:01.235Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T14:21:02.648Z] Removing intermediate container 8e9df2677708 [2024-09-19T14:21:02.648Z] ---> 60f53e493597 [2024-09-19T14:21:02.648Z] Step 14/22 : FROM ${BASE} [2024-09-19T14:21:02.648Z] ---> 2b552cad5dd9 [2024-09-19T14:21:02.649Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T14:21:02.649Z] ---> Running in 534b72786654 [2024-09-19T14:21:03.231Z] Removing intermediate container 534b72786654 [2024-09-19T14:21:03.231Z] ---> 5a3d35a4072c [2024-09-19T14:21:03.231Z] 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 [2024-09-19T14:21:03.231Z] ---> Running in 78863f39f53c [2024-09-19T14:21:04.190Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T14:21:04.772Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:21:04.772Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:21:04.772Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:21:05.354Z] Removing intermediate container 78863f39f53c [2024-09-19T14:21:05.354Z] ---> 896bc7af8823 [2024-09-19T14:21:05.354Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:21:05.354Z] ---> Running in 06acf3e7dbb6 [2024-09-19T14:21:06.768Z] Removing intermediate container 06acf3e7dbb6 [2024-09-19T14:21:06.768Z] ---> 27e98a2a43de [2024-09-19T14:21:06.768Z] 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 [2024-09-19T14:21:06.768Z] ---> Running in 7556d95e8768 [2024-09-19T14:21:07.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:08.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:08.893Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:09.848Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:21:09.848Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:21:09.848Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T14:21:09.848Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:21:09.848Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T14:21:09.848Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T14:21:09.848Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:21:09.848Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T14:21:09.848Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:21:10.429Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:21:10.695Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T14:21:10.695Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:21:10.695Z] OK: 328 MiB in 90 packages [2024-09-19T14:21:12.105Z] Removing intermediate container 7556d95e8768 [2024-09-19T14:21:12.105Z] ---> 82acf1a3e8fa [2024-09-19T14:21:12.105Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T14:21:12.105Z] ---> Running in 9ee0db8336f8 [2024-09-19T14:21:13.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:13.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:13.649Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:14.610Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:21:14.610Z] Upgrading critical system libraries and apk-tools: [2024-09-19T14:21:14.610Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T14:21:14.610Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:21:14.876Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T14:21:14.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:15.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:15.410Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:16.379Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:21:16.379Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:21:16.379Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T14:21:16.379Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:21:16.379Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T14:21:16.379Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:21:16.644Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:21:16.644Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:21:16.644Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T14:21:16.644Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T14:21:16.644Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T14:21:16.644Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:21:16.909Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T14:21:17.173Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:21:17.173Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:21:17.173Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:21:17.173Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:21:17.173Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T14:21:17.438Z] OK: 328 MiB in 90 packages [2024-09-19T14:21:19.383Z] Removing intermediate container 9ee0db8336f8 [2024-09-19T14:21:19.383Z] ---> 35dc96fa7aea [2024-09-19T14:21:19.383Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T14:21:19.648Z] ---> 91a01349d596 [2024-09-19T14:21:19.648Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T14:21:19.914Z] ---> 705b14b6c125 [2024-09-19T14:21:19.914Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T14:21:20.497Z] ---> 7f3763d380a9 [2024-09-19T14:21:20.497Z] Successfully built 7f3763d380a9 [2024-09-19T14:21:20.497Z] 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 [2024-09-19T14:21:20.958Z] + docker inspect -f . ci-base-image-arm64 [2024-09-19T14:21:20.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:21:21.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-10692 does not seem to be running inside a container [2024-09-19T14:21:21.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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 [2024-09-19T14:21:22.395Z] $ docker top f6ad1843b073bcfc8af68c4fbfaaa5c8ba9774d2769b7288b7984bc81443abae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:21:23.221Z] + make test [2024-09-19T14:21:23.221Z] echo "make test" [2024-09-19T14:21:23.221Z] make test [Pipeline] } [2024-09-19T14:21:23.240Z] $ docker stop --time=1 f6ad1843b073bcfc8af68c4fbfaaa5c8ba9774d2769b7288b7984bc81443abae [2024-09-19T14:21:24.870Z] $ docker rm -f --volumes f6ad1843b073bcfc8af68c4fbfaaa5c8ba9774d2769b7288b7984bc81443abae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:21:25.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T14:21:25.727Z] + ls -al . [2024-09-19T14:21:25.727Z] total 208 [2024-09-19T14:21:25.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:18 . [2024-09-19T14:21:25.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:18 .. [2024-09-19T14:21:25.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:18 .git [2024-09-19T14:21:25.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:18 .github [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:18 .gitignore [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:18 Attribution.txt [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:18 CHANGELOG.md [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:18 Doxyfile [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:18 GOVERNANCE.md [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:18 Jenkinsfile [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:18 LICENSE [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:18 Makefile [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:18 OWNERS.md [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:18 README.IOT.md [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:18 README.md [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:18 README.v3.md [2024-09-19T14:21:25.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 14:16 VERSION [2024-09-19T14:21:25.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:18 docs [2024-09-19T14:21:25.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:18 include [2024-09-19T14:21:25.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:18 scripts [2024-09-19T14:21:25.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:18 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:21:26.078Z] + 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=18ef029f0b9c93e898a41544d9b324e54955c5ca --label arch=arm64 --label version=0.0.0 . [2024-09-19T14:21:26.659Z] Sending build context to Docker daemon 3.305MB [2024-09-19T14:21:26.659Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T14:21:26.659Z] Step 2/18 : FROM ${BASE} [2024-09-19T14:21:26.659Z] ---> 7f3763d380a9 [2024-09-19T14:21:26.659Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T14:21:26.659Z] ---> Running in a69bfb00841f [2024-09-19T14:21:27.242Z] Removing intermediate container a69bfb00841f [2024-09-19T14:21:27.242Z] ---> 3bd4512d57cb [2024-09-19T14:21:27.242Z] 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 [2024-09-19T14:21:27.531Z] ---> Running in 0a7ad4e3c580 [2024-09-19T14:21:28.489Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T14:21:28.753Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:21:28.753Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:21:28.753Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:21:29.714Z] Removing intermediate container 0a7ad4e3c580 [2024-09-19T14:21:29.714Z] ---> a3a4598e9bdc [2024-09-19T14:21:29.714Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:21:29.714Z] ---> Running in 6454999e13f1 [2024-09-19T14:21:31.133Z] Removing intermediate container 6454999e13f1 [2024-09-19T14:21:31.133Z] ---> 2aabe88af89d [2024-09-19T14:21:31.133Z] 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 [2024-09-19T14:21:31.133Z] ---> Running in db53565d6d05 [2024-09-19T14:21:32.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:32.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:33.270Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:33.853Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:21:33.853Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:21:34.122Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:21:34.398Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:21:34.398Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:21:34.398Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:21:34.398Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:21:34.398Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T14:21:34.398Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T14:21:34.398Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T14:21:34.398Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:21:34.398Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:21:34.398Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:21:34.398Z] OK: 334 MiB in 101 packages [2024-09-19T14:21:35.808Z] Removing intermediate container db53565d6d05 [2024-09-19T14:21:35.808Z] ---> 9f56148ac317 [2024-09-19T14:21:35.808Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T14:21:35.808Z] ---> Running in 789e646895e1 [2024-09-19T14:21:36.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:37.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:37.618Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:21:38.222Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:21:38.646Z] OK: 334 MiB in 101 packages [2024-09-19T14:21:39.225Z] Removing intermediate container 789e646895e1 [2024-09-19T14:21:39.225Z] ---> e26cf536fdb0 [2024-09-19T14:21:39.225Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T14:21:39.805Z] ---> a9710bf65c73 [2024-09-19T14:21:39.805Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T14:21:40.385Z] ---> 7e55d3f833d2 [2024-09-19T14:21:40.385Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T14:21:40.963Z] ---> 2fbd0c5eb6af [2024-09-19T14:21:40.963Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T14:21:41.543Z] ---> 92b48ec14744 [2024-09-19T14:21:41.543Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T14:21:41.809Z] ---> 2e1fc855c3ae [2024-09-19T14:21:41.809Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T14:21:42.389Z] ---> 18f62d04d331 [2024-09-19T14:21:42.390Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T14:21:42.390Z] ---> Running in dac2d16bbe35 [2024-09-19T14:21:42.655Z] Removing intermediate container dac2d16bbe35 [2024-09-19T14:21:42.655Z] ---> 51ebc5c0268d [2024-09-19T14:21:42.655Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T14:21:42.655Z] ---> Running in b193ad7b5b7a [2024-09-19T14:21:42.921Z] Removing intermediate container b193ad7b5b7a [2024-09-19T14:21:42.921Z] ---> f4ba6bddfa85 [2024-09-19T14:21:42.921Z] Step 16/18 : LABEL arch=arm64 [2024-09-19T14:21:42.921Z] ---> Running in 7b5486596e8f [2024-09-19T14:21:43.186Z] Removing intermediate container 7b5486596e8f [2024-09-19T14:21:43.186Z] ---> 865a2706f230 [2024-09-19T14:21:43.186Z] Step 17/18 : LABEL git_sha=18ef029f0b9c93e898a41544d9b324e54955c5ca [2024-09-19T14:21:43.453Z] ---> Running in 3960138e728c [2024-09-19T14:21:43.718Z] Removing intermediate container 3960138e728c [2024-09-19T14:21:43.718Z] ---> 02b3e0b6e4cc [2024-09-19T14:21:43.718Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T14:21:43.718Z] ---> Running in 4739bdbd5605 [2024-09-19T14:21:43.982Z] Removing intermediate container 4739bdbd5605 [2024-09-19T14:21:43.982Z] ---> 338b753559e8 [2024-09-19T14:21:43.982Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T14:21:43.982Z] Successfully built 338b753559e8 [2024-09-19T14:21:43.982Z] 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 [2024-09-19T14:21:44.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:21:44.439Z] [2024-09-19T14:21:44.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:21:44.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:21:45.032Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-19T14:21:45.032Z] 8998bd30e6a1: Pulling fs layer [2024-09-19T14:21:45.032Z] 04944245beec: Pulling fs layer [2024-09-19T14:21:45.032Z] 699f458cf7ca: Pulling fs layer [2024-09-19T14:21:45.032Z] 765212b225bb: Pulling fs layer [2024-09-19T14:21:45.032Z] f23df028b6ca: Pulling fs layer [2024-09-19T14:21:45.032Z] d65c8cfc05b1: Pulling fs layer [2024-09-19T14:21:45.032Z] 2437ff75d9bd: Pulling fs layer [2024-09-19T14:21:45.032Z] f23df028b6ca: Waiting [2024-09-19T14:21:45.032Z] d65c8cfc05b1: Waiting [2024-09-19T14:21:45.032Z] 2437ff75d9bd: Waiting [2024-09-19T14:21:45.032Z] 765212b225bb: Waiting [2024-09-19T14:21:45.032Z] 04944245beec: Verifying Checksum [2024-09-19T14:21:45.032Z] 04944245beec: Download complete [2024-09-19T14:21:45.032Z] 765212b225bb: Verifying Checksum [2024-09-19T14:21:45.032Z] 765212b225bb: Download complete [2024-09-19T14:21:45.297Z] f23df028b6ca: Verifying Checksum [2024-09-19T14:21:45.297Z] f23df028b6ca: Download complete [2024-09-19T14:21:45.297Z] d65c8cfc05b1: Verifying Checksum [2024-09-19T14:21:45.297Z] d65c8cfc05b1: Download complete [2024-09-19T14:21:45.297Z] 699f458cf7ca: Verifying Checksum [2024-09-19T14:21:45.297Z] 699f458cf7ca: Download complete [2024-09-19T14:21:45.562Z] 8998bd30e6a1: Verifying Checksum [2024-09-19T14:21:45.562Z] 8998bd30e6a1: Download complete [2024-09-19T14:21:48.133Z] 2437ff75d9bd: Verifying Checksum [2024-09-19T14:21:48.133Z] 2437ff75d9bd: Download complete [2024-09-19T14:21:50.066Z] 8998bd30e6a1: Pull complete [2024-09-19T14:21:50.652Z] 04944245beec: Pull complete [2024-09-19T14:21:52.059Z] 699f458cf7ca: Pull complete [2024-09-19T14:21:52.324Z] 765212b225bb: Pull complete [2024-09-19T14:21:53.281Z] f23df028b6ca: Pull complete [2024-09-19T14:21:53.281Z] d65c8cfc05b1: Pull complete [2024-09-19T14:22:11.478Z] 2437ff75d9bd: Pull complete [2024-09-19T14:22:11.478Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-19T14:22:11.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:22:11.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:22:11.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-10692 does not seem to be running inside a container [2024-09-19T14:22:11.736Z] $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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 [2024-09-19T14:22:14.193Z] $ docker top f8931da6d3345c39460367515a4d5fc1af809a037801efa99fe04928a26259eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:15.023Z] ---> job-cost.sh [2024-09-19T14:22:15.023Z] lf-activate-venv: SKIPPING [2024-09-19T14:22:15.023Z] INFO: No Stack... [2024-09-19T14:22:15.603Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-19T14:22:16.183Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T14:22:16.827Z] + cat /w/workspace/device-sdk-c/10/archives/cost.csv [2024-09-19T14:22:16.827Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T14:22:16.901Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] [2024-09-19T14:22:16.914Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] did not exist. Created. [2024-09-19T14:22:16.920Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T14:22:17.590Z] /w/workspace/device-sdk-c/10@tmp/durable-989d3b74/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-19T14:22:18.231Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-19T14:22:18.257Z] Warning: overwriting stash ‘stack-cost’ [2024-09-19T14:22:18.811Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T14:22:18.821Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-10-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T14:22:18.849Z] $ docker stop --time=1 f8931da6d3345c39460367515a4d5fc1af809a037801efa99fe04928a26259eb [2024-09-19T14:22:20.382Z] $ docker rm -f --volumes f8931da6d3345c39460367515a4d5fc1af809a037801efa99fe04928a26259eb [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 [2024-09-19T14:22:21.321Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-19T14:22:21.321Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T14:22:21.321Z] total 16 [2024-09-19T14:22:21.321Z] drwxr-xr-x 3 root root 4096 Sep 19 14:17 . [2024-09-19T14:22:21.321Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:17 .. [2024-09-19T14:22:21.321Z] drwxr-xr-x 2 root root 4096 Sep 19 14:17 cost [2024-09-19T14:22:21.321Z] -rw-r--r-- 1 root root 85 Sep 19 14:17 cost.csv [2024-09-19T14:22:21.321Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T14:22:21.321Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T14:22:21.321Z] total 16 [2024-09-19T14:22:21.321Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:17 . [2024-09-19T14:22:21.321Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:17 .. [2024-09-19T14:22:21.321Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:17 cost [2024-09-19T14:22:21.321Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 19 14:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:21.620Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:22.482Z] ---> package-listing.sh [2024-09-19T14:22:22.482Z] ++ facter osfamily [2024-09-19T14:22:22.482Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-19T14:22:22.743Z] + OS_FAMILY=debian [2024-09-19T14:22:22.743Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-19T14:22:22.743Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-19T14:22:22.743Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-19T14:22:22.743Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-19T14:22:22.743Z] + PACKAGES=/tmp/packages_start.txt [2024-09-19T14:22:22.743Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T14:22:22.743Z] + PACKAGES=/tmp/packages_end.txt [2024-09-19T14:22:22.743Z] + case "${OS_FAMILY}" in [2024-09-19T14:22:22.743Z] + dpkg -l [2024-09-19T14:22:22.743Z] + grep '^ii' [2024-09-19T14:22:22.743Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-19T14:22:22.743Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-19T14:22:22.743Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-19T14:22:22.743Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T14:22:22.743Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-19T14:22:22.743Z] + 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 [2024-09-19T14:22:22.756Z] 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 [2024-09-19T14:22:23.037Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:22:23.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:22:23.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:22:23.748Z] prd-ubuntu20.04-docker-8c-8g-10691 does not seem to be running inside a container [2024-09-19T14:22:23.774Z] $ 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 [2024-09-19T14:22:23.959Z] $ docker top 97f75fd07fabd0cd92f58b410e467ec1e56e57d21c12e6503100f3966ca75348 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:22:24.305Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-19T14:22:24.591Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-19T14:22:24.883Z] + ls /var/log/sa-host [2024-09-19T14:22:24.883Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:22:24.963Z] provisioning config files... [2024-09-19T14:22:24.972Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config1033003850457407025tmp [Pipeline] { [Pipeline] echo [2024-09-19T14:22:24.994Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:25.282Z] ---> create-netrc.sh [Pipeline] } [2024-09-19T14:22:25.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:25.632Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-19T14:22:25.650Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:25.931Z] ---> sudo-logs.sh [2024-09-19T14:22:25.931Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-19T14:22:25.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:26.250Z] ---> job-cost.sh [2024-09-19T14:22:26.250Z] lf-activate-venv: SKIPPING [2024-09-19T14:22:26.250Z] DEBUG: total: 0.2199999988079071 [2024-09-19T14:22:26.250Z] INFO: Retrieving Stack Cost... [2024-09-19T14:22:26.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T14:22:26.769Z] INFO: Archiving Costs [Pipeline] echo [2024-09-19T14:22:26.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:22:27.066Z] ---> logs-deploy.sh [2024-09-19T14:22:27.066Z] lf-activate-venv: SKIPPING [2024-09-19T14:22:27.066Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/10 [2024-09-19T14:22:27.066Z] INFO: archiving workspace using pattern(s): [2024-09-19T14:22:28.004Z] Archives upload complete. [2024-09-19T14:22:28.004Z] INFO: archiving logs to Nexus