Pull request #509 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from c55c6a0709e44599dc9784425fcb0f18c72b9bf5+9db6249cb5b64beed6f22149c866398dbcee266e (15f42f90d6c0e39675f0a3b583ccf401b9e821ff) 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-ssh2132037953945269039.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7038392754884751861.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-509/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-509/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3589916709170996218.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-509/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7559601972780554489.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4496047477800334051.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-509/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-509/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5465218430473986193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-126 in /w/workspace/edgexfoundry_device-sdk-c_PR-509 [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-509 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9db6249cb5b64beed6f22149c866398dbcee266e into PR head commit c55c6a0709e44599dc9784425fcb0f18c72b9bf5 Merge succeeded, producing c55c6a0709e44599dc9784425fcb0f18c72b9bf5 Checking out Revision c55c6a0709e44599dc9784425fcb0f18c72b9bf5 (PR-509) > 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/509/head:refs/remotes/origin/PR-509 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c55c6a0709e44599dc9784425fcb0f18c72b9bf5 # 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 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c55c6a0709e44599dc9784425fcb0f18c72b9bf5 # timeout=10 Commit message: "fix: assert failures on null/empty maps (#504)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-29T19:23:12.439Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-29T19:23:12.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-29T19:23:12.763Z] ========================================================= [2024-01-29T19:23:12.763Z] EdgeX Global Pipelines Version Info [2024-01-29T19:23:12.763Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:23:13.584Z] ------------------- [2024-01-29T19:23:13.584Z] stable info: [2024-01-29T19:23:13.584Z] ------------------- [2024-01-29T19:23:13.584Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-29T19:23:13.584Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-29T19:23:13.584Z] Message: update stable to v1.0.258 [2024-01-29T19:23:14.156Z] ------------------- [2024-01-29T19:23:14.156Z] experimental info: [2024-01-29T19:23:14.156Z] ------------------- [2024-01-29T19:23:14.156Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-29T19:23:14.156Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-29T19:23:14.156Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-29T19:23:14.363Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-29T19:23:14.422Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-29T19:23:14.474Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-29T19:23:14.524Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-29T19:23:14.578Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-29T19:23:14.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-29T19:23:14.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-29T19:23:14.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-29T19:23:14.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-29T19:23:14.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-29T19:23:14.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-29T19:23:14.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-29T19:23:15.059Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-29T19:23:15.125Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-29T19:23:15.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-29T19:23:15.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-29T19:23:15.327Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-29T19:23:15.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-509 [Pipeline] echo [2024-01-29T19:23:15.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-509 [Pipeline] echo [2024-01-29T19:23:15.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-509 [Pipeline] echo [2024-01-29T19:23:15.595Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [Pipeline] echo [2024-01-29T19:23:15.664Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c55c6a0 [Pipeline] echo [2024-01-29T19:23:15.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-29T19:23:15.903Z] provisioning config files... [2024-01-29T19:23:15.916Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/config11112881490298923313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:23:16.294Z] ---> ****-login.sh [2024-01-29T19:23:16.294Z] nexus3.edgexfoundry.org:10001 [2024-01-29T19:23:16.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:16.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:16.557Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:16.557Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:16.557Z] [2024-01-29T19:23:16.557Z] Login Succeeded [2024-01-29T19:23:16.557Z] nexus3.edgexfoundry.org:10002 [2024-01-29T19:23:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:16.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:16.821Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:16.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:16.821Z] [2024-01-29T19:23:16.821Z] Login Succeeded [2024-01-29T19:23:16.821Z] nexus3.edgexfoundry.org:10003 [2024-01-29T19:23:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:16.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:16.821Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:16.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:16.821Z] [2024-01-29T19:23:16.821Z] Login Succeeded [2024-01-29T19:23:16.821Z] nexus3.edgexfoundry.org:10004 [2024-01-29T19:23:17.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:17.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:17.084Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:17.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:17.084Z] [2024-01-29T19:23:17.084Z] Login Succeeded [2024-01-29T19:23:17.084Z] ****.io [2024-01-29T19:23:17.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:17.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:17.347Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:17.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:17.347Z] [2024-01-29T19:23:17.347Z] Login Succeeded [2024-01-29T19:23:17.347Z] ---> ****-login.sh ends [Pipeline] } [2024-01-29T19:23:17.380Z] 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-01-29T19:23:18.198Z] + git rev-list -1 --merges c55c6a0709e44599dc9784425fcb0f18c72b9bf5~1..c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [Pipeline] echo [2024-01-29T19:23:18.241Z] -----------> git rev-list -1 --merges c55c6a0709e44599dc9784425fcb0f18c72b9bf5~1..c55c6a0709e44599dc9784425fcb0f18c72b9bf5 c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [false] [Pipeline] sh [2024-01-29T19:23:18.563Z] + git log --format=format:%s -1 c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [Pipeline] echo [2024-01-29T19:23:18.603Z] ========================================================= [2024-01-29T19:23:18.603Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-29T19:23:18.603Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-29T19:23:19.692Z] + git rev-list -1 --merges c55c6a0709e44599dc9784425fcb0f18c72b9bf5~1..c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [Pipeline] echo [2024-01-29T19:23:19.725Z] -----------> git rev-list -1 --merges c55c6a0709e44599dc9784425fcb0f18c72b9bf5~1..c55c6a0709e44599dc9784425fcb0f18c72b9bf5 c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [false] [Pipeline] sh [2024-01-29T19:23:20.055Z] + git log --format=format:%s -1 c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [Pipeline] echo [2024-01-29T19:23:20.091Z] ========================================================= [2024-01-29T19:23:20.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-29T19:23:20.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-29T19:23:20.653Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-29T19:23:20.654Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-29T19:23:20.654Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-29T19:23:20.654Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-29T19:23:20.654Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-29T19:23:20.654Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-29T19:23:20.654Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:23:21.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-29T19:23:21.173Z] [2024-01-29T19:23:21.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:23:21.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-29T19:23:21.571Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-29T19:23:21.571Z] b85a868b505f: Pulling fs layer [2024-01-29T19:23:21.571Z] e2be974225ed: Pulling fs layer [2024-01-29T19:23:21.571Z] 339a4e72a1f5: Pulling fs layer [2024-01-29T19:23:21.571Z] 988bab9f4d93: Pulling fs layer [2024-01-29T19:23:21.571Z] 1469e6f7b9e6: Pulling fs layer [2024-01-29T19:23:21.571Z] eaf3925da568: Pulling fs layer [2024-01-29T19:23:21.571Z] bab4dde63d76: Pulling fs layer [2024-01-29T19:23:21.571Z] bde34c3a00c8: Pulling fs layer [2024-01-29T19:23:21.571Z] 988bab9f4d93: Waiting [2024-01-29T19:23:21.571Z] 1469e6f7b9e6: Waiting [2024-01-29T19:23:21.571Z] bab4dde63d76: Waiting [2024-01-29T19:23:21.571Z] b352a97aabf1: Pulling fs layer [2024-01-29T19:23:21.571Z] 4872d77fe225: Pulling fs layer [2024-01-29T19:23:21.571Z] 5851b861e8e6: Pulling fs layer [2024-01-29T19:23:21.571Z] bde34c3a00c8: Waiting [2024-01-29T19:23:21.571Z] 4872d77fe225: Waiting [2024-01-29T19:23:21.571Z] b352a97aabf1: Waiting [2024-01-29T19:23:21.571Z] 5851b861e8e6: Waiting [2024-01-29T19:23:21.571Z] e2be974225ed: Download complete [2024-01-29T19:23:21.571Z] 988bab9f4d93: Verifying Checksum [2024-01-29T19:23:21.571Z] 988bab9f4d93: Download complete [2024-01-29T19:23:21.571Z] 1469e6f7b9e6: Verifying Checksum [2024-01-29T19:23:21.571Z] 1469e6f7b9e6: Download complete [2024-01-29T19:23:21.571Z] 339a4e72a1f5: Download complete [2024-01-29T19:23:21.571Z] eaf3925da568: Verifying Checksum [2024-01-29T19:23:21.571Z] eaf3925da568: Download complete [2024-01-29T19:23:21.835Z] bde34c3a00c8: Download complete [2024-01-29T19:23:21.835Z] b352a97aabf1: Download complete [2024-01-29T19:23:21.835Z] 4872d77fe225: Verifying Checksum [2024-01-29T19:23:21.835Z] 4872d77fe225: Download complete [2024-01-29T19:23:21.835Z] 5851b861e8e6: Verifying Checksum [2024-01-29T19:23:21.835Z] 5851b861e8e6: Download complete [2024-01-29T19:23:21.835Z] b85a868b505f: Download complete [2024-01-29T19:23:22.096Z] bab4dde63d76: Verifying Checksum [2024-01-29T19:23:22.096Z] bab4dde63d76: Download complete [2024-01-29T19:23:23.040Z] b85a868b505f: Pull complete [2024-01-29T19:23:23.040Z] e2be974225ed: Pull complete [2024-01-29T19:23:23.609Z] 339a4e72a1f5: Pull complete [2024-01-29T19:23:23.609Z] 988bab9f4d93: Pull complete [2024-01-29T19:23:23.870Z] 1469e6f7b9e6: Pull complete [2024-01-29T19:23:23.870Z] eaf3925da568: Pull complete [2024-01-29T19:23:25.264Z] bab4dde63d76: Pull complete [2024-01-29T19:23:25.524Z] bde34c3a00c8: Pull complete [2024-01-29T19:23:25.524Z] b352a97aabf1: Pull complete [2024-01-29T19:23:25.524Z] 4872d77fe225: Pull complete [2024-01-29T19:23:25.784Z] 5851b861e8e6: Pull complete [2024-01-29T19:23:25.784Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-29T19:23:25.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-29T19:23:25.784Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-29T19:23:26.132Z] prd-ubuntu20.04-docker-8c-8g-126 does not seem to be running inside a container [2024-01-29T19:23:26.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-509 -v /w/workspace/edgexfoundry_device-sdk-c_PR-509:/w/workspace/edgexfoundry_device-sdk-c_PR-509:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-509@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-29T19:23:29.457Z] $ docker top 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf -eo pid,comm [2024-01-29T19:23:29.507Z] 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-01-29T19:23:29.507Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-29T19:23:29.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-29T19:23:29.691Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-29T19:23:29.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-29T19:23:29.807Z] $ docker exec 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf ssh-agent [2024-01-29T19:23:29.910Z] SSH_AUTH_SOCK=/tmp/ssh-aHjsXmrsbEdl/agent.31 [2024-01-29T19:23:29.910Z] SSH_AGENT_PID=37 [2024-01-29T19:23:29.917Z] Running ssh-add (command line suppressed) [2024-01-29T19:23:30.027Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/private_key_10365978223297423732.key (/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/private_key_10365978223297423732.key) [2024-01-29T19:23:30.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-29T19:23:30.463Z] + git tag --points-at HEAD [Pipeline] } [2024-01-29T19:23:30.493Z] $ docker exec --env ******** --env ******** 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf ssh-agent -k [2024-01-29T19:23:30.593Z] unset SSH_AUTH_SOCK; [2024-01-29T19:23:30.593Z] unset SSH_AGENT_PID; [2024-01-29T19:23:30.593Z] echo Agent pid 37 killed; [2024-01-29T19:23:30.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-29T19:23:30.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-29T19:23:30.741Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-29T19:23:30.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-29T19:23:30.848Z] $ docker exec 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf ssh-agent [2024-01-29T19:23:30.946Z] SSH_AUTH_SOCK=/tmp/ssh-B94yqfsv16ZP/agent.69 [2024-01-29T19:23:30.946Z] SSH_AGENT_PID=75 [2024-01-29T19:23:30.951Z] Running ssh-add (command line suppressed) [2024-01-29T19:23:31.044Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/private_key_16214041286269917503.key (/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/private_key_16214041286269917503.key) [2024-01-29T19:23:31.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-29T19:23:31.401Z] + git semver init [2024-01-29T19:23:31.665Z] 2024-01-29 19:23:31,557 [run_init] DEBUG init version:0.0.0 force:False [2024-01-29T19:23:31.666Z] 2024-01-29 19:23:31,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver [2024-01-29T19:23:31.666Z] 2024-01-29 19:23:31,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver [2024-01-29T19:23:31.666Z] 2024-01-29 19:23:31,559 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-509, universal_newlines=False, shell=None, istream=None) [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,429 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-509/.git/info/exclude [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,430 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver/PR-509 with force:False [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,430 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver/PR-509 [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,434 [execute] INFO git cat-file --batch-check [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver, universal_newlines=False, shell=None, istream=) [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,442 [execute] INFO git cat-file --batch [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver, universal_newlines=False, shell=None, istream=) [2024-01-29T19:23:32.609Z] 2024-01-29 19:23:32,449 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-509/.semver/PR-509 [2024-01-29T19:23:32.609Z] 0.0.0 [Pipeline] } [2024-01-29T19:23:32.636Z] $ docker exec --env ******** --env ******** 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf ssh-agent -k [2024-01-29T19:23:32.738Z] unset SSH_AUTH_SOCK; [2024-01-29T19:23:32.738Z] unset SSH_AGENT_PID; [2024-01-29T19:23:32.739Z] echo Agent pid 75 killed; [2024-01-29T19:23:32.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-29T19:23:33.263Z] + git semver [Pipeline] } [2024-01-29T19:23:33.560Z] $ docker stop --time=1 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf [2024-01-29T19:23:34.839Z] $ docker rm -f --volumes 74d71c9df7f1254c2b61b04a7c48c34d6208ed305c875b5611f9b54f2d3fd7cf [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-29T19:23:35.274Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-29T19:23:35.589Z] Stashed 1 file(s) [Pipeline] echo [2024-01-29T19:23:35.608Z] [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-01-29T19:23:36.399Z] provisioning config files... [2024-01-29T19:23:36.410Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/config1042678854103390439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:23:36.794Z] ---> ****-login.sh [2024-01-29T19:23:36.794Z] nexus3.edgexfoundry.org:10001 [2024-01-29T19:23:36.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:36.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:36.794Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:36.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:36.794Z] [2024-01-29T19:23:36.794Z] Login Succeeded [2024-01-29T19:23:36.794Z] nexus3.edgexfoundry.org:10002 [2024-01-29T19:23:36.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:36.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:36.794Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:36.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:36.794Z] [2024-01-29T19:23:36.795Z] Login Succeeded [2024-01-29T19:23:36.795Z] nexus3.edgexfoundry.org:10003 [2024-01-29T19:23:37.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:37.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:37.059Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:37.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:37.059Z] [2024-01-29T19:23:37.059Z] Login Succeeded [2024-01-29T19:23:37.059Z] nexus3.edgexfoundry.org:10004 [2024-01-29T19:23:37.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:37.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:37.059Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:37.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:37.059Z] [2024-01-29T19:23:37.059Z] Login Succeeded [2024-01-29T19:23:37.059Z] ****.io [2024-01-29T19:23:37.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:23:37.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:23:37.320Z] Configure a credential helper to remove this warning. See [2024-01-29T19:23:37.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:23:37.320Z] [2024-01-29T19:23:37.320Z] Login Succeeded [2024-01-29T19:23:37.320Z] ---> ****-login.sh ends [Pipeline] } [2024-01-29T19:23:37.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-29T19:23:37.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-29T19:23:37.692Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-29T19:23:37.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-29T19:23:37.808Z] ========================================================= [2024-01-29T19:23:37.808Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-29T19:23:37.808Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:23:38.297Z] + 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-01-29T19:23:38.297Z] Sending build context to Docker daemon 5.052MB [2024-01-29T19:23:38.297Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-29T19:23:38.297Z] Step 2/21 : FROM ${BASE} as builder [2024-01-29T19:23:38.297Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-29T19:23:38.297Z] 96526aa774ef: Pulling fs layer [2024-01-29T19:23:38.297Z] da60e534fd72: Pulling fs layer [2024-01-29T19:23:38.556Z] 96526aa774ef: Verifying Checksum [2024-01-29T19:23:38.556Z] 96526aa774ef: Download complete [2024-01-29T19:23:38.556Z] 96526aa774ef: Pull complete [2024-01-29T19:23:39.122Z] da60e534fd72: Verifying Checksum [2024-01-29T19:23:39.122Z] da60e534fd72: Download complete [2024-01-29T19:23:42.410Z] da60e534fd72: Pull complete [2024-01-29T19:23:42.410Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-29T19:23:42.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-29T19:23:42.410Z] ---> 6605166a5db4 [2024-01-29T19:23:42.410Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-29T19:23:44.963Z] ---> Running in e881608334ee [2024-01-29T19:23:44.963Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-29T19:23:45.223Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-29T19:23:45.223Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-29T19:23:45.223Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-29T19:23:45.792Z] Removing intermediate container e881608334ee [2024-01-29T19:23:45.792Z] ---> 317aca878f68 [2024-01-29T19:23:45.792Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-29T19:23:45.792Z] ---> Running in c62c4d21957c [2024-01-29T19:23:46.359Z] Removing intermediate container c62c4d21957c [2024-01-29T19:23:46.360Z] ---> 487ed1fedeee [2024-01-29T19:23:46.360Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-29T19:23:46.360Z] ---> Running in ab092dca7f43 [2024-01-29T19:23:46.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-29T19:23:46.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-29T19:23:46.879Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-29T19:23:47.447Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-29T19:23:47.447Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-29T19:23:47.447Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-29T19:23:47.447Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-29T19:23:48.015Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-29T19:23:48.273Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-29T19:23:48.532Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-29T19:23:48.532Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-29T19:23:48.532Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-29T19:23:48.532Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-29T19:23:48.532Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-29T19:23:48.532Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-29T19:23:48.532Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-29T19:23:48.532Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-29T19:23:48.532Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-29T19:23:48.532Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-29T19:23:48.532Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-29T19:23:48.532Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-29T19:23:48.532Z] Executing busybox-1.36.1-r4.trigger [2024-01-29T19:23:48.532Z] OK: 336 MiB in 99 packages [2024-01-29T19:23:49.100Z] Removing intermediate container ab092dca7f43 [2024-01-29T19:23:49.100Z] ---> adf667ce572c [2024-01-29T19:23:49.100Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-29T19:23:49.100Z] ---> Running in 8242760057f0 [2024-01-29T19:23:49.666Z] Removing intermediate container 8242760057f0 [2024-01-29T19:23:49.666Z] ---> a8ca892d35e3 [2024-01-29T19:23:49.666Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-29T19:23:49.927Z] ---> 7ba04a2ec9a7 [2024-01-29T19:23:49.927Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-29T19:23:50.187Z] ---> 2a35963087c9 [2024-01-29T19:23:50.187Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-29T19:23:50.187Z] ---> bd27aa9dd9c9 [2024-01-29T19:23:50.187Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-29T19:23:50.447Z] ---> 7c30c6233c8a [2024-01-29T19:23:50.447Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-29T19:23:50.447Z] ---> e551cfdfaf0f [2024-01-29T19:23:50.447Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-29T19:23:50.447Z] ---> db08ababba88 [2024-01-29T19:23:50.447Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-29T19:23:50.707Z] ---> Running in 066e03f0733a [2024-01-29T19:23:50.965Z] + CPPCHECK=false [2024-01-29T19:23:50.965Z] + DOCGEN=false [2024-01-29T19:23:50.965Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-29T19:23:50.965Z] + '[' 0 -gt 0 ] [2024-01-29T19:23:50.965Z] + readlink -f ./scripts/build.sh [2024-01-29T19:23:50.965Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-29T19:23:50.965Z] + dirname /tmp/sdk/scripts [2024-01-29T19:23:50.965Z] + ROOT=/tmp/sdk [2024-01-29T19:23:50.965Z] + cd /tmp/sdk [2024-01-29T19:23:50.965Z] + mkdir -p /tmp/sdk/build/release [2024-01-29T19:23:50.965Z] + cd /tmp/sdk/build/release [2024-01-29T19:23:50.965Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-29T19:23:50.965Z] -- The C compiler identification is GNU 12.2.1 [2024-01-29T19:23:50.965Z] -- Detecting C compiler ABI info [2024-01-29T19:23:50.965Z] -- Detecting C compiler ABI info - done [2024-01-29T19:23:50.965Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-29T19:23:50.965Z] -- Detecting C compile features [2024-01-29T19:23:50.965Z] -- Detecting C compile features - done [2024-01-29T19:23:50.965Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-29T19:23:51.158Z] Still waiting to schedule task [2024-01-29T19:23:51.159Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-29T19:23:51.224Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-29T19:23:51.224Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-29T19:23:51.224Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-29T19:23:51.224Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-29T19:23:51.224Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-29T19:23:51.224Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-29T19:23:51.224Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-29T19:23:51.224Z] -- /opt/iotech/iot/1.5/include [2024-01-29T19:23:51.224Z] -- C SDK 0.0.0 for Linux [2024-01-29T19:23:51.224Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-29T19:23:51.224Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-29T19:23:51.224Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-29T19:23:51.224Z] -- Configuring done (0.4s) [2024-01-29T19:23:51.224Z] -- Generating done (0.0s) [2024-01-29T19:23:51.224Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-29T19:23:51.482Z] + make all package [2024-01-29T19:23:51.482Z] + tee release.log [2024-01-29T19:23:51.482Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-29T19:23:51.482Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-29T19:23:51.741Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-29T19:23:51.741Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-29T19:23:51.999Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-29T19:23:51.999Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-29T19:23:52.258Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-29T19:23:52.518Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-29T19:23:52.518Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-29T19:23:52.518Z] 294 | while (privateConfig) [2024-01-29T19:23:52.518Z] | ^~~~~~~~~~~~~ [2024-01-29T19:23:52.518Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-29T19:23:52.518Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-29T19:23:52.518Z] | ^~~~~~~~~~~~~ [2024-01-29T19:23:52.518Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-29T19:23:52.518Z] 271 | while (result) [2024-01-29T19:23:52.518Z] | ^~~~~~ [2024-01-29T19:23:52.518Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-29T19:23:52.518Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-29T19:23:52.518Z] | ^~~~~~ [2024-01-29T19:23:52.518Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-29T19:23:52.518Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-29T19:23:52.778Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-29T19:23:53.038Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-29T19:23:53.038Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-29T19:23:53.038Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-29T19:23:53.297Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-29T19:23:53.297Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-29T19:23:53.556Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-29T19:23:53.556Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-29T19:23:53.815Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-29T19:23:54.075Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-29T19:23:54.075Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-29T19:23:54.333Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-29T19:23:55.269Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-29T19:23:55.269Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-29T19:23:55.529Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-29T19:23:55.529Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-29T19:23:55.529Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-29T19:23:55.789Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-29T19:23:56.048Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-29T19:23:56.308Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-29T19:23:56.308Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-29T19:23:56.568Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-29T19:23:56.568Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-29T19:23:56.568Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:23:56.568Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-29T19:23:56.568Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:23:56.568Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:23:56.568Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-29T19:23:56.568Z] | ^ [2024-01-29T19:23:56.828Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-29T19:23:56.828Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-29T19:23:56.828Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:23:56.828Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-29T19:23:56.828Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-29T19:23:56.828Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:23:56.828Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-29T19:23:57.089Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-29T19:23:57.089Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-29T19:23:57.089Z] [ 68%] Linking C shared library libcsdk.so [2024-01-29T19:23:57.089Z] [ 68%] Built target csdk [2024-01-29T19:23:57.349Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-29T19:23:57.349Z] [ 72%] Linking C executable template [2024-01-29T19:23:57.349Z] [ 72%] Built target template [2024-01-29T19:23:57.349Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-29T19:23:57.612Z] [ 76%] Linking C executable device-counter [2024-01-29T19:23:57.612Z] [ 76%] Built target device-counter [2024-01-29T19:23:57.612Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-29T19:23:57.612Z] [ 80%] Linking C executable device-random [2024-01-29T19:23:57.872Z] [ 80%] Built target device-random [2024-01-29T19:23:57.872Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-29T19:23:57.872Z] [ 84%] Linking C executable device-gyro [2024-01-29T19:23:57.872Z] [ 84%] Built target device-gyro [2024-01-29T19:23:57.872Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-29T19:23:58.133Z] [ 88%] Linking C executable device-bitfields [2024-01-29T19:23:58.133Z] [ 88%] Built target device-bitfields [2024-01-29T19:23:58.133Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-29T19:23:58.392Z] [ 92%] Linking C executable template-discovery [2024-01-29T19:23:58.392Z] [ 92%] Built target template-discovery [2024-01-29T19:23:58.392Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-29T19:23:58.392Z] [ 96%] Linking C executable device-file [2024-01-29T19:23:58.650Z] [ 96%] Built target device-file [2024-01-29T19:23:58.650Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-29T19:23:58.650Z] [100%] Linking C executable device-terminal [2024-01-29T19:23:58.650Z] [100%] Built target device-terminal [2024-01-29T19:23:58.650Z] Run CPack packaging tool... [2024-01-29T19:23:58.909Z] CPack: Create package using TGZ [2024-01-29T19:23:58.909Z] CPack: Install projects [2024-01-29T19:23:58.909Z] CPack: - Run preinstall target for: Csdk [2024-01-29T19:23:58.909Z] CPack: - Install project: Csdk [] [2024-01-29T19:23:58.909Z] CPack: Create package [2024-01-29T19:23:59.169Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-29T19:23:59.169Z] + '[' false '=' true ] [2024-01-29T19:23:59.169Z] + '[' false '=' true ] [2024-01-29T19:23:59.169Z] + mkdir -p /tmp/sdk/build/debug [2024-01-29T19:23:59.169Z] + cd /tmp/sdk/build/debug [2024-01-29T19:23:59.169Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-29T19:23:59.169Z] -- The C compiler identification is GNU 12.2.1 [2024-01-29T19:23:59.169Z] -- Detecting C compiler ABI info [2024-01-29T19:23:59.169Z] -- Detecting C compiler ABI info - done [2024-01-29T19:23:59.169Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-29T19:23:59.169Z] -- Detecting C compile features [2024-01-29T19:23:59.169Z] -- Detecting C compile features - done [2024-01-29T19:23:59.169Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-29T19:23:59.429Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-29T19:23:59.429Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-29T19:23:59.429Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-29T19:23:59.429Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-29T19:23:59.429Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-29T19:23:59.429Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-29T19:23:59.429Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-29T19:23:59.429Z] -- /opt/iotech/iot/1.5/include [2024-01-29T19:23:59.429Z] -- C SDK 0.0.0 for Linux [2024-01-29T19:23:59.429Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-29T19:23:59.429Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-29T19:23:59.429Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-29T19:23:59.429Z] -- Configuring done (0.4s) [2024-01-29T19:23:59.429Z] -- Generating done (0.0s) [2024-01-29T19:23:59.429Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-29T19:23:59.429Z] + make [2024-01-29T19:23:59.429Z] + tee debug.log [2024-01-29T19:23:59.429Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-29T19:23:59.688Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-29T19:23:59.688Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-29T19:23:59.688Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-29T19:23:59.947Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-29T19:23:59.947Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-29T19:23:59.947Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-29T19:24:00.207Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-29T19:24:00.207Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-29T19:24:00.207Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-29T19:24:00.207Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-29T19:24:00.467Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-29T19:24:00.467Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-29T19:24:00.467Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-29T19:24:00.727Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-29T19:24:00.727Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-29T19:24:00.727Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-29T19:24:00.727Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-29T19:24:00.987Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-29T19:24:00.987Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-29T19:24:00.987Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-29T19:24:01.246Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-29T19:24:01.246Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-29T19:24:01.505Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-29T19:24:01.505Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-29T19:24:01.505Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-29T19:24:01.505Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-29T19:24:01.765Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-29T19:24:01.765Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-29T19:24:02.024Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-29T19:24:02.024Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-29T19:24:02.024Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-29T19:24:02.024Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:24:02.024Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-29T19:24:02.024Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:24:02.024Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:24:02.024Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-29T19:24:02.024Z] | ^ [2024-01-29T19:24:02.024Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-29T19:24:02.283Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-29T19:24:02.283Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-29T19:24:02.283Z] [ 68%] Linking C shared library libcsdk.so [2024-01-29T19:24:02.283Z] [ 68%] Built target csdk [2024-01-29T19:24:02.283Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-29T19:24:02.542Z] [ 72%] Linking C executable template [2024-01-29T19:24:02.542Z] [ 72%] Built target template [2024-01-29T19:24:02.542Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-29T19:24:02.542Z] [ 76%] Linking C executable device-counter [2024-01-29T19:24:02.801Z] [ 76%] Built target device-counter [2024-01-29T19:24:02.801Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-29T19:24:02.801Z] [ 80%] Linking C executable device-random [2024-01-29T19:24:02.801Z] [ 80%] Built target device-random [2024-01-29T19:24:02.801Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-29T19:24:02.801Z] [ 84%] Linking C executable device-gyro [2024-01-29T19:24:03.061Z] [ 84%] Built target device-gyro [2024-01-29T19:24:03.061Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-29T19:24:03.061Z] [ 88%] Linking C executable device-bitfields [2024-01-29T19:24:03.061Z] [ 88%] Built target device-bitfields [2024-01-29T19:24:03.061Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-29T19:24:03.061Z] [ 92%] Linking C executable template-discovery [2024-01-29T19:24:03.321Z] [ 92%] Built target template-discovery [2024-01-29T19:24:03.321Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-29T19:24:03.321Z] [ 96%] Linking C executable device-file [2024-01-29T19:24:03.321Z] [ 96%] Built target device-file [2024-01-29T19:24:03.321Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-29T19:24:03.581Z] [100%] Linking C executable device-terminal [2024-01-29T19:24:03.581Z] [100%] Built target device-terminal [2024-01-29T19:24:03.581Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-29T19:24:03.581Z] [ 68%] Built target csdk [2024-01-29T19:24:03.581Z] [ 72%] Built target template [2024-01-29T19:24:03.581Z] [ 76%] Built target device-counter [2024-01-29T19:24:03.581Z] [ 80%] Built target device-random [2024-01-29T19:24:03.581Z] [ 84%] Built target device-gyro [2024-01-29T19:24:03.581Z] [ 88%] Built target device-bitfields [2024-01-29T19:24:03.893Z] [ 92%] Built target template-discovery [2024-01-29T19:24:03.893Z] [ 96%] Built target device-file [2024-01-29T19:24:03.893Z] [100%] Built target device-terminal [2024-01-29T19:24:03.893Z] Install the project... [2024-01-29T19:24:03.893Z] -- Install configuration: "Release" [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-29T19:24:03.893Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/devsdk [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-29T19:24:03.893Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-29T19:24:03.893Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-29T19:24:04.463Z] Removing intermediate container 066e03f0733a [2024-01-29T19:24:04.463Z] ---> 4688844ab386 [2024-01-29T19:24:04.463Z] Step 14/21 : FROM ${BASE} [2024-01-29T19:24:04.463Z] ---> 6605166a5db4 [2024-01-29T19:24:04.463Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-29T19:24:04.463Z] ---> Running in 6e59b68e5903 [2024-01-29T19:24:04.463Z] Removing intermediate container 6e59b68e5903 [2024-01-29T19:24:04.463Z] ---> 0b63b6a371df [2024-01-29T19:24:04.463Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-29T19:24:04.722Z] ---> Running in 01919803c79e [2024-01-29T19:24:04.982Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-29T19:24:05.242Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-29T19:24:05.242Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-29T19:24:05.242Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-29T19:24:05.502Z] Removing intermediate container 01919803c79e [2024-01-29T19:24:05.502Z] ---> 7b98f5963e5e [2024-01-29T19:24:05.502Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-29T19:24:05.502Z] ---> Running in 68c8e0109000 [2024-01-29T19:24:06.069Z] Removing intermediate container 68c8e0109000 [2024-01-29T19:24:06.069Z] ---> 78369780d874 [2024-01-29T19:24:06.069Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-29T19:24:06.069Z] ---> Running in 865c838bebbe [2024-01-29T19:24:06.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-29T19:24:06.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-29T19:24:06.846Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-29T19:24:07.414Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-29T19:24:07.414Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-29T19:24:07.414Z] (2/9) Installing curl (8.5.0-r0) [2024-01-29T19:24:07.414Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-29T19:24:07.414Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-29T19:24:07.414Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-29T19:24:07.414Z] (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-29T19:24:07.982Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-29T19:24:08.241Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-29T19:24:08.241Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-29T19:24:08.241Z] Executing busybox-1.36.1-r4.trigger [2024-01-29T19:24:08.241Z] OK: 331 MiB in 89 packages [2024-01-29T19:24:08.811Z] Removing intermediate container 865c838bebbe [2024-01-29T19:24:08.811Z] ---> 6a9d859fab51 [2024-01-29T19:24:08.811Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-29T19:24:08.811Z] ---> 53e0638fee33 [2024-01-29T19:24:08.811Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-29T19:24:08.811Z] ---> d281e8d5e919 [2024-01-29T19:24:08.811Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-29T19:24:09.070Z] ---> b42eb8c7a860 [2024-01-29T19:24:09.070Z] Successfully built b42eb8c7a860 [2024-01-29T19:24:09.070Z] 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-01-29T19:24:09.952Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-29T19:24:09.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-29T19:24:10.142Z] prd-ubuntu20.04-docker-8c-8g-126 does not seem to be running inside a container [2024-01-29T19:24:10.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-509 -v /w/workspace/edgexfoundry_device-sdk-c_PR-509:/w/workspace/edgexfoundry_device-sdk-c_PR-509:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-29T19:24:10.515Z] $ docker top ff4a7290af9bdbbe33dc65a00d435629b094249c2ec60baeeca65b571a429fb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-29T19:24:10.959Z] + make test [2024-01-29T19:24:10.960Z] echo "make test" [2024-01-29T19:24:10.960Z] make test [Pipeline] } [2024-01-29T19:24:10.997Z] $ docker stop --time=1 ff4a7290af9bdbbe33dc65a00d435629b094249c2ec60baeeca65b571a429fb4 [2024-01-29T19:24:12.250Z] $ docker rm -f --volumes ff4a7290af9bdbbe33dc65a00d435629b094249c2ec60baeeca65b571a429fb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-29T19:24:13.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-29T19:24:14.028Z] + ls -al . [2024-01-29T19:24:14.028Z] total 212 [2024-01-29T19:24:14.028Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 29 19:23 . [2024-01-29T19:24:14.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 19:23 .. [2024-01-29T19:24:14.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 19:23 .git [2024-01-29T19:24:14.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 29 19:23 .github [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 29 19:23 .gitignore [2024-01-29T19:24:14.028Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 29 19:23 .semver [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 29 19:23 Attribution.txt [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 29 19:23 CHANGELOG.md [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 29 19:23 Doxyfile [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 29 19:23 GOVERNANCE.md [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 29 19:23 Jenkinsfile [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 29 19:23 LICENSE [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 29 19:23 Makefile [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 29 19:23 OWNERS.md [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 29 19:23 README.IOT.md [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 29 19:23 README.md [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 29 19:23 README.v3.md [2024-01-29T19:24:14.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 29 19:23 VERSION [2024-01-29T19:24:14.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 19:23 docs [2024-01-29T19:24:14.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 19:23 include [2024-01-29T19:24:14.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 19:23 scripts [2024-01-29T19:24:14.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 19:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:24:14.459Z] + 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=c55c6a0709e44599dc9784425fcb0f18c72b9bf5 --label arch=amd64 --label version=0.0.0 . [2024-01-29T19:24:14.459Z] Sending build context to Docker daemon 5.052MB [2024-01-29T19:24:14.459Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-29T19:24:14.459Z] Step 2/17 : FROM ${BASE} [2024-01-29T19:24:14.459Z] ---> b42eb8c7a860 [2024-01-29T19:24:14.459Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-29T19:24:14.459Z] ---> Running in 854b5873f6d6 [2024-01-29T19:24:14.718Z] Removing intermediate container 854b5873f6d6 [2024-01-29T19:24:14.718Z] ---> 09432ca46c52 [2024-01-29T19:24:14.718Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-29T19:24:14.718Z] ---> Running in 9e2bf010a554 [2024-01-29T19:24:14.977Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-29T19:24:15.236Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-29T19:24:15.236Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-29T19:24:15.236Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-29T19:24:15.495Z] Removing intermediate container 9e2bf010a554 [2024-01-29T19:24:15.495Z] ---> 5863048b263c [2024-01-29T19:24:15.495Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-29T19:24:15.495Z] ---> Running in a3ac3014340b [2024-01-29T19:24:16.063Z] Removing intermediate container a3ac3014340b [2024-01-29T19:24:16.063Z] ---> f422bfe86eca [2024-01-29T19:24:16.063Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-29T19:24:16.063Z] ---> Running in 9e46c31c5592 [2024-01-29T19:24:16.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-29T19:24:16.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-29T19:24:16.582Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-29T19:24:17.151Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-29T19:24:17.151Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-29T19:24:17.411Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-29T19:24:17.411Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-29T19:24:17.411Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-29T19:24:17.411Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-29T19:24:17.411Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-29T19:24:17.411Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-29T19:24:17.411Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-29T19:24:17.411Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-29T19:24:17.411Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-29T19:24:17.411Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-29T19:24:17.411Z] Executing busybox-1.36.1-r4.trigger [2024-01-29T19:24:17.411Z] OK: 336 MiB in 100 packages [2024-01-29T19:24:17.987Z] Removing intermediate container 9e46c31c5592 [2024-01-29T19:24:17.987Z] ---> 044c686de65f [2024-01-29T19:24:17.987Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-29T19:24:17.987Z] ---> 538b0ed681bb [2024-01-29T19:24:17.987Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-29T19:24:18.249Z] ---> 9c83aaf2c869 [2024-01-29T19:24:18.249Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-29T19:24:18.249Z] ---> 6fb3a71ef738 [2024-01-29T19:24:18.249Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-29T19:24:18.508Z] ---> 3ee0c50fc9cd [2024-01-29T19:24:18.508Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-29T19:24:18.508Z] ---> d8a051a912b4 [2024-01-29T19:24:18.508Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-29T19:24:18.768Z] ---> 7b5d107d73b0 [2024-01-29T19:24:18.768Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-29T19:24:18.768Z] ---> Running in 3f495cb91478 [2024-01-29T19:24:18.768Z] Removing intermediate container 3f495cb91478 [2024-01-29T19:24:18.768Z] ---> 6721e9de9dfe [2024-01-29T19:24:18.768Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-29T19:24:18.768Z] ---> Running in 44fc7a668bdc [2024-01-29T19:24:18.768Z] Removing intermediate container 44fc7a668bdc [2024-01-29T19:24:18.768Z] ---> fade794d5ce6 [2024-01-29T19:24:18.768Z] Step 15/17 : LABEL arch=amd64 [2024-01-29T19:24:18.768Z] ---> Running in a4c8154b2477 [2024-01-29T19:24:19.028Z] Removing intermediate container a4c8154b2477 [2024-01-29T19:24:19.028Z] ---> 38116d9c7fb6 [2024-01-29T19:24:19.028Z] Step 16/17 : LABEL git_sha=c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [2024-01-29T19:24:19.028Z] ---> Running in dc474361a088 [2024-01-29T19:24:19.028Z] Removing intermediate container dc474361a088 [2024-01-29T19:24:19.028Z] ---> 84cbb85846ba [2024-01-29T19:24:19.028Z] Step 17/17 : LABEL version=0.0.0 [2024-01-29T19:24:19.028Z] ---> Running in c136d84ffe56 [2024-01-29T19:24:19.028Z] Removing intermediate container c136d84ffe56 [2024-01-29T19:24:19.028Z] ---> 8e673ad3eadc [2024-01-29T19:24:19.028Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-29T19:24:19.028Z] Successfully built 8e673ad3eadc [2024-01-29T19:24:19.028Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:24:20.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-29T19:24:20.490Z] [2024-01-29T19:24:20.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:24:20.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-29T19:24:20.891Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-29T19:24:20.891Z] 5eb5b503b376: Pulling fs layer [2024-01-29T19:24:20.891Z] 5c69ac0246d0: Pulling fs layer [2024-01-29T19:24:20.891Z] ec43610c2a17: Pulling fs layer [2024-01-29T19:24:20.891Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-29T19:24:20.891Z] 33b1e0a273af: Pulling fs layer [2024-01-29T19:24:20.891Z] 5d3b04190fa2: Pulling fs layer [2024-01-29T19:24:20.891Z] 2f39f015ded8: Pulling fs layer [2024-01-29T19:24:20.891Z] 3a2ae6a8a46f: Waiting [2024-01-29T19:24:20.891Z] 33b1e0a273af: Waiting [2024-01-29T19:24:20.891Z] 5d3b04190fa2: Waiting [2024-01-29T19:24:20.891Z] 2f39f015ded8: Waiting [2024-01-29T19:24:20.891Z] 5c69ac0246d0: Verifying Checksum [2024-01-29T19:24:20.891Z] 5c69ac0246d0: Download complete [2024-01-29T19:24:20.891Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-29T19:24:20.891Z] 3a2ae6a8a46f: Download complete [2024-01-29T19:24:20.891Z] 33b1e0a273af: Verifying Checksum [2024-01-29T19:24:20.891Z] 33b1e0a273af: Download complete [2024-01-29T19:24:20.891Z] 5d3b04190fa2: Verifying Checksum [2024-01-29T19:24:20.891Z] 5d3b04190fa2: Download complete [2024-01-29T19:24:20.891Z] ec43610c2a17: Verifying Checksum [2024-01-29T19:24:20.891Z] ec43610c2a17: Download complete [2024-01-29T19:24:21.150Z] 5eb5b503b376: Download complete [2024-01-29T19:24:21.718Z] 2f39f015ded8: Download complete [2024-01-29T19:24:22.284Z] 5eb5b503b376: Pull complete [2024-01-29T19:24:22.284Z] 5c69ac0246d0: Pull complete [2024-01-29T19:24:22.851Z] ec43610c2a17: Pull complete [2024-01-29T19:24:22.851Z] 3a2ae6a8a46f: Pull complete [2024-01-29T19:24:22.851Z] 33b1e0a273af: Pull complete [2024-01-29T19:24:23.109Z] 5d3b04190fa2: Pull complete [2024-01-29T19:24:27.295Z] 2f39f015ded8: Pull complete [2024-01-29T19:24:27.295Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-29T19:24:27.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-29T19:24:27.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-29T19:24:27.611Z] prd-ubuntu20.04-docker-8c-8g-126 does not seem to be running inside a container [2024-01-29T19:24:27.640Z] $ 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-509 -v /w/workspace/edgexfoundry_device-sdk-c_PR-509:/w/workspace/edgexfoundry_device-sdk-c_PR-509:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-29T19:24:32.308Z] $ docker top 370b52664e71fa122c9dbd5dd49bcea8cb3dc68c16519161e35dfe3220809cd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:24:32.822Z] ---> job-cost.sh [2024-01-29T19:24:32.822Z] lf-activate-venv: SKIPPING [2024-01-29T19:24:32.822Z] INFO: No Stack... [2024-01-29T19:24:33.083Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-29T19:24:33.650Z] INFO: Archiving Costs [Pipeline] sh [2024-01-29T19:24:33.961Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives/cost.csv [2024-01-29T19:24:33.961Z] + cut -d, -f6 [Pipeline] lock [2024-01-29T19:24:34.000Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] [2024-01-29T19:24:34.005Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] did not exist. Created. [2024-01-29T19:24:34.010Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-29T19:24:34.445Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-29T19:24:34.519Z] Stashed 1 file(s) [Pipeline] } [2024-01-29T19:24:34.558Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-29T19:24:34.689Z] $ docker stop --time=1 370b52664e71fa122c9dbd5dd49bcea8cb3dc68c16519161e35dfe3220809cd9 [2024-01-29T19:24:35.834Z] $ docker rm -f --volumes 370b52664e71fa122c9dbd5dd49bcea8cb3dc68c16519161e35dfe3220809cd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-29T19:25:36.603Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-127 in /w/workspace/edgexfoundry_device-sdk-c_PR-509 [Pipeline] { [Pipeline] ws [2024-01-29T19:25:36.692Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-01-29T19:25:36.802Z] Selected Git installation does not exist. Using Default [2024-01-29T19:25:36.802Z] The recommended git tool is: NONE [2024-01-29T19:25:41.695Z] using credential edgex-jenkins-ssh [2024-01-29T19:25:41.720Z] Cloning the remote Git repository [2024-01-29T19:25:41.890Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-29T19:25:42.057Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-01-29T19:25:42.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-29T19:25:42.309Z] > git --version # timeout=10 [2024-01-29T19:25:42.330Z] > git --version # 'git version 2.25.1' [2024-01-29T19:25:42.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-29T19:25:42.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-29T19:25:43.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-29T19:25:43.546Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-29T19:25:45.090Z] Merging remotes/origin/main commit 9db6249cb5b64beed6f22149c866398dbcee266e into PR head commit c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [2024-01-29T19:25:45.395Z] Merge succeeded, producing c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [2024-01-29T19:25:45.396Z] Checking out Revision c55c6a0709e44599dc9784425fcb0f18c72b9bf5 (PR-509) [2024-01-29T19:25:44.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-29T19:25:44.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-29T19:25:44.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-29T19:25:44.469Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/509/head:refs/remotes/origin/PR-509 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-29T19:25:45.112Z] > git config core.sparsecheckout # timeout=10 [2024-01-29T19:25:45.181Z] > git checkout -f c55c6a0709e44599dc9784425fcb0f18c72b9bf5 # timeout=10 [2024-01-29T19:25:45.300Z] > git remote # timeout=10 [2024-01-29T19:25:45.319Z] > git config --get remote.origin.url # timeout=10 [2024-01-29T19:25:45.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-29T19:25:45.357Z] > git merge 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 [2024-01-29T19:25:45.381Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-29T19:25:45.404Z] > git config core.sparsecheckout # timeout=10 [2024-01-29T19:25:45.420Z] > git checkout -f c55c6a0709e44599dc9784425fcb0f18c72b9bf5 # timeout=10 [2024-01-29T19:25:49.017Z] Commit message: "fix: assert failures on null/empty maps (#504)" [2024-01-29T19:25:49.078Z] > git --version # timeout=10 [2024-01-29T19:25:49.089Z] > git --version # 'git version 2.25.1' [2024-01-29T19:25:49.107Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-29T19:25:50.418Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-29T19:25:50.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-29T19:25:50.418Z] Dload Upload Total Spent Left Speed [2024-01-29T19:25:50.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 119k 0 --:--:-- --:--:-- --:--:-- 119k [Pipeline] sh [2024-01-29T19:25:50.758Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-29T19:25:51.097Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-01-29T19:25:51.097Z] sudo tee /etc/docker/daemon.new [2024-01-29T19:25:51.097Z] { [2024-01-29T19:25:51.097Z] "registry-mirrors": [ [2024-01-29T19:25:51.097Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-29T19:25:51.097Z] ], [2024-01-29T19:25:51.097Z] "bip": "10.250.0.254/24", [2024-01-29T19:25:51.097Z] "hosts": [ [2024-01-29T19:25:51.097Z] "tcp://0.0.0.0:5555", [2024-01-29T19:25:51.097Z] "unix:///var/run/docker.sock" [2024-01-29T19:25:51.097Z] ], [2024-01-29T19:25:51.097Z] "mtu": 1458, [2024-01-29T19:25:51.097Z] "selinux-enabled": true, [2024-01-29T19:25:51.097Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-29T19:25:51.097Z] } [Pipeline] sh [2024-01-29T19:25:51.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-29T19:25:51.785Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-29T19:26:10.131Z] provisioning config files... [2024-01-29T19:26:10.160Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config12133110390430661226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:26:10.644Z] ---> ****-login.sh [2024-01-29T19:26:10.644Z] nexus3.edgexfoundry.org:10001 [2024-01-29T19:26:10.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:26:11.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:26:11.185Z] Configure a credential helper to remove this warning. See [2024-01-29T19:26:11.185Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:26:11.185Z] [2024-01-29T19:26:11.185Z] Login Succeeded [2024-01-29T19:26:11.185Z] nexus3.edgexfoundry.org:10002 [2024-01-29T19:26:11.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:26:11.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:26:11.453Z] Configure a credential helper to remove this warning. See [2024-01-29T19:26:11.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:26:11.453Z] [2024-01-29T19:26:11.453Z] Login Succeeded [2024-01-29T19:26:11.453Z] nexus3.edgexfoundry.org:10003 [2024-01-29T19:26:11.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:26:11.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:26:11.998Z] Configure a credential helper to remove this warning. See [2024-01-29T19:26:11.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:26:11.998Z] [2024-01-29T19:26:11.998Z] Login Succeeded [2024-01-29T19:26:11.998Z] nexus3.edgexfoundry.org:10004 [2024-01-29T19:26:12.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:26:12.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:26:12.272Z] Configure a credential helper to remove this warning. See [2024-01-29T19:26:12.272Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:26:12.272Z] [2024-01-29T19:26:12.272Z] Login Succeeded [2024-01-29T19:26:12.272Z] ****.io [2024-01-29T19:26:12.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-29T19:26:12.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-29T19:26:12.815Z] Configure a credential helper to remove this warning. See [2024-01-29T19:26:12.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-29T19:26:12.815Z] [2024-01-29T19:26:12.815Z] Login Succeeded [2024-01-29T19:26:12.815Z] ---> ****-login.sh ends [Pipeline] } [2024-01-29T19:26:12.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-29T19:26:13.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-29T19:26:13.434Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-29T19:26:13.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-29T19:26:13.582Z] ========================================================= [2024-01-29T19:26:13.582Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-29T19:26:13.582Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:26:14.128Z] + 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-01-29T19:26:16.767Z] Sending build context to Docker daemon 3.047MB [2024-01-29T19:26:16.767Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-29T19:26:16.767Z] Step 2/21 : FROM ${BASE} as builder [2024-01-29T19:26:17.034Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-01-29T19:26:17.034Z] 579b34f0a95b: Pulling fs layer [2024-01-29T19:26:17.034Z] e71477ac5e1b: Pulling fs layer [2024-01-29T19:26:17.034Z] 579b34f0a95b: Verifying Checksum [2024-01-29T19:26:17.034Z] 579b34f0a95b: Download complete [2024-01-29T19:26:17.620Z] 579b34f0a95b: Pull complete [2024-01-29T19:26:19.569Z] e71477ac5e1b: Verifying Checksum [2024-01-29T19:26:19.569Z] e71477ac5e1b: Download complete [2024-01-29T19:26:34.566Z] e71477ac5e1b: Pull complete [2024-01-29T19:26:34.566Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-29T19:26:34.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-29T19:26:34.566Z] ---> 2b552cad5dd9 [2024-01-29T19:26:34.566Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-29T19:26:34.566Z] ---> Running in aa2aff61cab3 [2024-01-29T19:26:34.566Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-29T19:26:35.152Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-29T19:26:35.152Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-29T19:26:35.152Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-29T19:26:35.739Z] Removing intermediate container aa2aff61cab3 [2024-01-29T19:26:35.739Z] ---> 3b11cab1c27f [2024-01-29T19:26:35.739Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-29T19:26:36.009Z] ---> Running in 4edc754a8928 [2024-01-29T19:26:37.426Z] Removing intermediate container 4edc754a8928 [2024-01-29T19:26:37.426Z] ---> de19106fbe47 [2024-01-29T19:26:37.426Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-29T19:26:37.426Z] ---> Running in 5ac2dbcb4ac0 [2024-01-29T19:26:38.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-29T19:26:38.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-29T19:26:39.225Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-29T19:26:40.181Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-29T19:26:40.181Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-29T19:26:40.181Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-29T19:26:40.447Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-29T19:26:41.028Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-29T19:26:41.294Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-29T19:26:41.560Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-29T19:26:41.560Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-29T19:26:41.560Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-29T19:26:41.560Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-29T19:26:41.560Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-29T19:26:41.560Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-29T19:26:41.826Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-29T19:26:41.826Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-29T19:26:41.826Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-29T19:26:41.826Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-29T19:26:41.826Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-29T19:26:41.826Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-29T19:26:42.101Z] Executing busybox-1.36.1-r4.trigger [2024-01-29T19:26:42.101Z] OK: 333 MiB in 99 packages [2024-01-29T19:26:43.516Z] Removing intermediate container 5ac2dbcb4ac0 [2024-01-29T19:26:43.516Z] ---> 00a35247a583 [2024-01-29T19:26:43.516Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-29T19:26:43.516Z] ---> Running in dd0fd68da464 [2024-01-29T19:26:45.468Z] Removing intermediate container dd0fd68da464 [2024-01-29T19:26:45.468Z] ---> c6b6b44e67f8 [2024-01-29T19:26:45.468Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-29T19:26:45.468Z] ---> d9e4ad1bd3a2 [2024-01-29T19:26:45.468Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-29T19:26:46.424Z] ---> cc8065b6b541 [2024-01-29T19:26:46.424Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-29T19:26:46.691Z] ---> 21586dc5c7d2 [2024-01-29T19:26:46.691Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-29T19:26:47.274Z] ---> 688b0bd25e30 [2024-01-29T19:26:47.274Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-29T19:26:47.541Z] ---> e463cf450965 [2024-01-29T19:26:47.541Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-29T19:26:48.131Z] ---> 8efd963b4ba7 [2024-01-29T19:26:48.131Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-29T19:26:48.131Z] ---> Running in 0bdb137df3dc [2024-01-29T19:26:49.091Z] + CPPCHECK=false [2024-01-29T19:26:49.091Z] + DOCGEN=false [2024-01-29T19:26:49.091Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-29T19:26:49.091Z] + '[' 0 -gt 0 ] [2024-01-29T19:26:49.091Z] + readlink -f ./scripts/build.sh [2024-01-29T19:26:49.091Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-29T19:26:49.091Z] + dirname /tmp/sdk/scripts [2024-01-29T19:26:49.091Z] + ROOT=/tmp/sdk [2024-01-29T19:26:49.091Z] + cd /tmp/sdk [2024-01-29T19:26:49.091Z] + mkdir -p /tmp/sdk/build/release [2024-01-29T19:26:49.091Z] + cd /tmp/sdk/build/release [2024-01-29T19:26:49.091Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-29T19:26:49.356Z] -- The C compiler identification is GNU 12.2.1 [2024-01-29T19:26:49.356Z] -- Detecting C compiler ABI info [2024-01-29T19:26:49.937Z] -- Detecting C compiler ABI info - done [2024-01-29T19:26:49.937Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-29T19:26:49.937Z] -- Detecting C compile features [2024-01-29T19:26:49.937Z] -- Detecting C compile features - done [2024-01-29T19:26:49.937Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-29T19:26:50.204Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-29T19:26:50.204Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-29T19:26:50.204Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-29T19:26:50.204Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-29T19:26:50.204Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-29T19:26:50.204Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-29T19:26:50.204Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-29T19:26:50.204Z] -- /opt/iotech/iot/1.5/include [2024-01-29T19:26:50.204Z] -- C SDK 0.0.0 for Linux [2024-01-29T19:26:50.204Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-29T19:26:50.471Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-29T19:26:50.736Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-29T19:26:50.736Z] -- Configuring done (1.7s) [2024-01-29T19:26:51.004Z] -- Generating done (0.2s) [2024-01-29T19:26:51.004Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-29T19:26:51.271Z] + + tee release.log [2024-01-29T19:26:51.271Z] make all package [2024-01-29T19:26:51.271Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-29T19:26:51.855Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-29T19:26:52.818Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-29T19:26:53.401Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-29T19:26:54.360Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-29T19:26:54.626Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-29T19:26:57.211Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-29T19:26:57.478Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-29T19:26:57.478Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-29T19:26:57.478Z] 294 | while (privateConfig) [2024-01-29T19:26:57.478Z] | ^~~~~~~~~~~~~ [2024-01-29T19:26:57.478Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-29T19:26:57.478Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-29T19:26:57.478Z] | ^~~~~~~~~~~~~ [2024-01-29T19:26:57.478Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-29T19:26:57.478Z] 271 | while (result) [2024-01-29T19:26:57.478Z] | ^~~~~~ [2024-01-29T19:26:57.478Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-29T19:26:57.478Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-29T19:26:57.478Z] | ^~~~~~ [2024-01-29T19:26:58.062Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-29T19:26:58.062Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-29T19:26:59.021Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-29T19:27:00.978Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-29T19:27:01.244Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-29T19:27:02.198Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-29T19:27:02.781Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-29T19:27:03.050Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-29T19:27:04.460Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-29T19:27:04.460Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-29T19:27:06.407Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-29T19:27:06.673Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-29T19:27:07.271Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-29T19:27:08.681Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-29T19:27:15.387Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-29T19:27:15.387Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-29T19:27:15.663Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-29T19:27:16.255Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-29T19:27:16.525Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-29T19:27:17.928Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-29T19:27:19.866Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-29T19:27:20.447Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-29T19:27:21.404Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-29T19:27:21.672Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-29T19:27:21.938Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-29T19:27:21.938Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:27:21.938Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-29T19:27:21.938Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:27:21.938Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:27:21.938Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-29T19:27:21.938Z] | ^ [2024-01-29T19:27:23.351Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-29T19:27:23.351Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-29T19:27:23.351Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:27:23.351Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-29T19:27:23.351Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-29T19:27:23.351Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:27:24.309Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-29T19:27:25.274Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-29T19:27:25.540Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-29T19:27:26.120Z] [ 68%] Linking C shared library libcsdk.so [2024-01-29T19:27:27.520Z] [ 68%] Built target csdk [2024-01-29T19:27:27.520Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-29T19:27:28.477Z] [ 72%] Linking C executable template [2024-01-29T19:27:28.745Z] [ 72%] Built target template [2024-01-29T19:27:28.745Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-29T19:27:29.328Z] [ 76%] Linking C executable device-counter [2024-01-29T19:27:29.594Z] [ 76%] Built target device-counter [2024-01-29T19:27:29.594Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-29T19:27:30.179Z] [ 80%] Linking C executable device-random [2024-01-29T19:27:30.444Z] [ 80%] Built target device-random [2024-01-29T19:27:30.444Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-29T19:27:31.029Z] [ 84%] Linking C executable device-gyro [2024-01-29T19:27:31.297Z] [ 84%] Built target device-gyro [2024-01-29T19:27:31.297Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-29T19:27:31.876Z] [ 88%] Linking C executable device-bitfields [2024-01-29T19:27:32.146Z] [ 88%] Built target device-bitfields [2024-01-29T19:27:32.146Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-29T19:27:33.113Z] [ 92%] Linking C executable template-discovery [2024-01-29T19:27:33.379Z] [ 92%] Built target template-discovery [2024-01-29T19:27:33.379Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-29T19:27:33.961Z] [ 96%] Linking C executable device-file [2024-01-29T19:27:34.233Z] [ 96%] Built target device-file [2024-01-29T19:27:34.500Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-29T19:27:35.085Z] [100%] Linking C executable device-terminal [2024-01-29T19:27:35.354Z] [100%] Built target device-terminal [2024-01-29T19:27:35.354Z] Run CPack packaging tool... [2024-01-29T19:27:35.354Z] CPack: Create package using TGZ [2024-01-29T19:27:35.354Z] CPack: Install projects [2024-01-29T19:27:35.354Z] CPack: - Run preinstall target for: Csdk [2024-01-29T19:27:36.318Z] CPack: - Install project: Csdk [] [2024-01-29T19:27:36.318Z] CPack: Create package [2024-01-29T19:27:36.318Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-29T19:27:36.318Z] + '[' false '=' true ] [2024-01-29T19:27:36.318Z] + '[' false '=' true ] [2024-01-29T19:27:36.318Z] + mkdir -p /tmp/sdk/build/debug [2024-01-29T19:27:36.318Z] + cd /tmp/sdk/build/debug [2024-01-29T19:27:36.318Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-29T19:27:36.586Z] -- The C compiler identification is GNU 12.2.1 [2024-01-29T19:27:36.857Z] -- Detecting C compiler ABI info [2024-01-29T19:27:37.125Z] -- Detecting C compiler ABI info - done [2024-01-29T19:27:37.125Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-29T19:27:37.125Z] -- Detecting C compile features [2024-01-29T19:27:37.125Z] -- Detecting C compile features - done [2024-01-29T19:27:37.125Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-29T19:27:37.392Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-29T19:27:37.392Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-29T19:27:37.392Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-29T19:27:37.392Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-29T19:27:37.392Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-29T19:27:37.392Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-29T19:27:37.392Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-29T19:27:37.392Z] -- /opt/iotech/iot/1.5/include [2024-01-29T19:27:37.392Z] -- C SDK 0.0.0 for Linux [2024-01-29T19:27:37.392Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-29T19:27:37.977Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-29T19:27:37.977Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-29T19:27:38.244Z] -- Configuring done (1.7s) [2024-01-29T19:27:38.512Z] -- Generating done (0.2s) [2024-01-29T19:27:38.512Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-29T19:27:38.512Z] + + make [2024-01-29T19:27:38.512Z] tee debug.log [2024-01-29T19:27:38.512Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-29T19:27:39.095Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-29T19:27:39.363Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-29T19:27:39.630Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-29T19:27:40.214Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-29T19:27:40.482Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-29T19:27:41.068Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-29T19:27:41.657Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-29T19:27:41.657Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-29T19:27:42.241Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-29T19:27:42.824Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-29T19:27:43.091Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-29T19:27:43.674Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-29T19:27:43.941Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-29T19:27:44.209Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-29T19:27:44.477Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-29T19:27:44.745Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-29T19:27:45.348Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-29T19:27:45.616Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-29T19:27:45.883Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-29T19:27:46.465Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-29T19:27:47.871Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-29T19:27:47.871Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-29T19:27:48.141Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-29T19:27:48.725Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-29T19:27:48.725Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-29T19:27:49.316Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-29T19:27:50.729Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-29T19:27:50.994Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-29T19:27:51.260Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-29T19:27:51.527Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-29T19:27:51.794Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-29T19:27:51.794Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:27:51.794Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-29T19:27:51.794Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-29T19:27:51.794Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-29T19:27:51.794Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-29T19:27:51.794Z] | ^ [2024-01-29T19:27:52.378Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-29T19:27:52.644Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-29T19:27:52.909Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-29T19:27:53.184Z] [ 68%] Linking C shared library libcsdk.so [2024-01-29T19:27:53.451Z] [ 68%] Built target csdk [2024-01-29T19:27:53.718Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-29T19:27:53.984Z] [ 72%] Linking C executable template [2024-01-29T19:27:54.252Z] [ 72%] Built target template [2024-01-29T19:27:54.252Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-29T19:27:54.517Z] [ 76%] Linking C executable device-counter [2024-01-29T19:27:55.101Z] [ 76%] Built target device-counter [2024-01-29T19:27:55.101Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-29T19:27:55.368Z] [ 80%] Linking C executable device-random [2024-01-29T19:27:55.635Z] [ 80%] Built target device-random [2024-01-29T19:27:55.635Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-29T19:27:55.904Z] [ 84%] Linking C executable device-gyro [2024-01-29T19:27:56.173Z] [ 84%] Built target device-gyro [2024-01-29T19:27:56.440Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-29T19:27:56.705Z] [ 88%] Linking C executable device-bitfields [2024-01-29T19:27:56.971Z] [ 88%] Built target device-bitfields [2024-01-29T19:27:56.971Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-29T19:27:57.552Z] [ 92%] Linking C executable template-discovery [2024-01-29T19:27:57.820Z] [ 92%] Built target template-discovery [2024-01-29T19:27:57.820Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-29T19:27:58.085Z] [ 96%] Linking C executable device-file [2024-01-29T19:27:58.350Z] [ 96%] Built target device-file [2024-01-29T19:27:58.350Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-29T19:27:58.934Z] [100%] Linking C executable device-terminal [2024-01-29T19:27:59.200Z] [100%] Built target device-terminal [2024-01-29T19:27:59.200Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-29T19:27:59.200Z] [ 68%] Built target csdk [2024-01-29T19:27:59.466Z] [ 72%] Built target template [2024-01-29T19:27:59.466Z] [ 76%] Built target device-counter [2024-01-29T19:27:59.466Z] [ 80%] Built target device-random [2024-01-29T19:27:59.466Z] [ 84%] Built target device-gyro [2024-01-29T19:27:59.466Z] [ 88%] Built target device-bitfields [2024-01-29T19:27:59.732Z] [ 92%] Built target template-discovery [2024-01-29T19:27:59.732Z] [ 96%] Built target device-file [2024-01-29T19:27:59.732Z] [100%] Built target device-terminal [2024-01-29T19:27:59.732Z] Install the project... [2024-01-29T19:27:59.732Z] -- Install configuration: "Release" [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-29T19:27:59.732Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/devsdk [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-29T19:27:59.732Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-29T19:27:59.732Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-29T19:28:01.138Z] Removing intermediate container 0bdb137df3dc [2024-01-29T19:28:01.138Z] ---> 950da870e6ed [2024-01-29T19:28:01.138Z] Step 14/21 : FROM ${BASE} [2024-01-29T19:28:01.138Z] ---> 2b552cad5dd9 [2024-01-29T19:28:01.138Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-29T19:28:01.405Z] ---> Running in 9b36155a7e7e [2024-01-29T19:28:01.670Z] Removing intermediate container 9b36155a7e7e [2024-01-29T19:28:01.670Z] ---> 2ab78d68a9cc [2024-01-29T19:28:01.670Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-29T19:28:01.670Z] ---> Running in 1ec4c7ace7d4 [2024-01-29T19:28:02.626Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-29T19:28:02.893Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-29T19:28:02.893Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-29T19:28:02.893Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-29T19:28:03.860Z] Removing intermediate container 1ec4c7ace7d4 [2024-01-29T19:28:03.860Z] ---> f632f2734f38 [2024-01-29T19:28:03.860Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-29T19:28:03.860Z] ---> Running in 9ce8d820bc94 [2024-01-29T19:28:05.271Z] Removing intermediate container 9ce8d820bc94 [2024-01-29T19:28:05.271Z] ---> f9a41e8524bc [2024-01-29T19:28:05.271Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-29T19:28:05.271Z] ---> Running in 4febf1e247d7 [2024-01-29T19:28:06.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-29T19:28:06.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-29T19:28:07.079Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-29T19:28:08.033Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-29T19:28:08.033Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-29T19:28:08.033Z] (2/9) Installing curl (8.5.0-r0) [2024-01-29T19:28:08.033Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-29T19:28:08.298Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-29T19:28:08.298Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-29T19:28:08.298Z] (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-29T19:28:08.875Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-29T19:28:09.147Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-29T19:28:09.147Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-29T19:28:09.147Z] Executing busybox-1.36.1-r4.trigger [2024-01-29T19:28:09.147Z] OK: 327 MiB in 89 packages [2024-01-29T19:28:10.552Z] Removing intermediate container 4febf1e247d7 [2024-01-29T19:28:10.552Z] ---> ddc47cf39887 [2024-01-29T19:28:10.552Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-29T19:28:11.151Z] ---> 708f6108f26a [2024-01-29T19:28:11.151Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-29T19:28:11.744Z] ---> 6a80d08febdc [2024-01-29T19:28:11.744Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-29T19:28:12.013Z] ---> 0bbb64582bea [2024-01-29T19:28:12.013Z] Successfully built 0bbb64582bea [2024-01-29T19:28:12.013Z] 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-01-29T19:28:13.021Z] + docker inspect -f . ci-base-image-arm64 [2024-01-29T19:28:13.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-29T19:28:13.383Z] prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container [2024-01-29T19:28:13.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-29T19:28:14.646Z] $ docker top 0c6543468217fe1d59ca9dc27dfac0df3c337874d4f3cc04c8fec467873fa49f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-29T19:28:15.652Z] + make test [2024-01-29T19:28:15.652Z] echo "make test" [2024-01-29T19:28:15.652Z] make test [Pipeline] } [2024-01-29T19:28:15.692Z] $ docker stop --time=1 0c6543468217fe1d59ca9dc27dfac0df3c337874d4f3cc04c8fec467873fa49f [2024-01-29T19:28:17.291Z] $ docker rm -f --volumes 0c6543468217fe1d59ca9dc27dfac0df3c337874d4f3cc04c8fec467873fa49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-29T19:28:18.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-29T19:28:18.670Z] + ls -al . [2024-01-29T19:28:18.670Z] total 208 [2024-01-29T19:28:18.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 19:25 . [2024-01-29T19:28:18.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 19:25 .. [2024-01-29T19:28:18.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 19:25 .git [2024-01-29T19:28:18.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 29 19:25 .github [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 29 19:25 .gitignore [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 29 19:25 Attribution.txt [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 29 19:25 CHANGELOG.md [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 29 19:25 Doxyfile [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 29 19:25 GOVERNANCE.md [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 29 19:25 Jenkinsfile [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 29 19:25 LICENSE [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 29 19:25 Makefile [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 29 19:25 OWNERS.md [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 29 19:25 README.IOT.md [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 29 19:25 README.md [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 29 19:25 README.v3.md [2024-01-29T19:28:18.670Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 29 19:23 VERSION [2024-01-29T19:28:18.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 19:25 docs [2024-01-29T19:28:18.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 19:25 include [2024-01-29T19:28:18.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 19:25 scripts [2024-01-29T19:28:18.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 19:25 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:28:19.167Z] + 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=c55c6a0709e44599dc9784425fcb0f18c72b9bf5 --label arch=arm64 --label version=0.0.0 . [2024-01-29T19:28:19.434Z] Sending build context to Docker daemon 3.047MB [2024-01-29T19:28:19.434Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-29T19:28:19.434Z] Step 2/17 : FROM ${BASE} [2024-01-29T19:28:19.434Z] ---> 0bbb64582bea [2024-01-29T19:28:19.434Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-29T19:28:19.700Z] ---> Running in aea6627924ce [2024-01-29T19:28:19.970Z] Removing intermediate container aea6627924ce [2024-01-29T19:28:19.970Z] ---> 1e868d4c4bd6 [2024-01-29T19:28:19.970Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-29T19:28:19.970Z] ---> Running in a0ecc1d6de98 [2024-01-29T19:28:20.925Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-29T19:28:21.507Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-29T19:28:21.507Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-29T19:28:21.507Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-29T19:28:22.089Z] Removing intermediate container a0ecc1d6de98 [2024-01-29T19:28:22.089Z] ---> 6ecd0a25b36e [2024-01-29T19:28:22.089Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-29T19:28:22.089Z] ---> Running in 148d449fadfc [2024-01-29T19:28:26.325Z] Removing intermediate container 148d449fadfc [2024-01-29T19:28:26.325Z] ---> a4fbb6f9b881 [2024-01-29T19:28:26.325Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-29T19:28:26.325Z] ---> Running in ba4ada154621 [2024-01-29T19:28:26.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-29T19:28:27.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-29T19:28:27.761Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-29T19:28:28.339Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-29T19:28:28.339Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-29T19:28:28.917Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-29T19:28:28.917Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-29T19:28:28.917Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-29T19:28:28.917Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-29T19:28:28.917Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-29T19:28:28.917Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-29T19:28:28.917Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-29T19:28:28.917Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-29T19:28:28.917Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-29T19:28:28.917Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-29T19:28:28.917Z] Executing busybox-1.36.1-r4.trigger [2024-01-29T19:28:28.917Z] OK: 333 MiB in 100 packages [2024-01-29T19:28:30.317Z] Removing intermediate container ba4ada154621 [2024-01-29T19:28:30.317Z] ---> bfaf182fed2b [2024-01-29T19:28:30.317Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-29T19:28:30.584Z] ---> f31ad2db04cc [2024-01-29T19:28:30.584Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-29T19:28:31.541Z] ---> c25886ebc902 [2024-01-29T19:28:31.541Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-29T19:28:31.804Z] ---> cd79457520b5 [2024-01-29T19:28:31.804Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-29T19:28:32.384Z] ---> 9ebfba34d114 [2024-01-29T19:28:32.384Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-29T19:28:32.650Z] ---> 7c55e5064ff1 [2024-01-29T19:28:32.650Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-29T19:28:33.232Z] ---> 0234e1e23509 [2024-01-29T19:28:33.232Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-29T19:28:33.232Z] ---> Running in 7e06e387c3af [2024-01-29T19:28:33.821Z] Removing intermediate container 7e06e387c3af [2024-01-29T19:28:33.821Z] ---> 50d433fec89f [2024-01-29T19:28:33.821Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-29T19:28:33.821Z] ---> Running in 86070465777f [2024-01-29T19:28:34.086Z] Removing intermediate container 86070465777f [2024-01-29T19:28:34.086Z] ---> 7d6265e6b92f [2024-01-29T19:28:34.086Z] Step 15/17 : LABEL arch=arm64 [2024-01-29T19:28:34.086Z] ---> Running in 1a58b8f6cc6f [2024-01-29T19:28:34.351Z] Removing intermediate container 1a58b8f6cc6f [2024-01-29T19:28:34.351Z] ---> 22a02f40bc6c [2024-01-29T19:28:34.351Z] Step 16/17 : LABEL git_sha=c55c6a0709e44599dc9784425fcb0f18c72b9bf5 [2024-01-29T19:28:34.617Z] ---> Running in a63a2352c1f0 [2024-01-29T19:28:34.883Z] Removing intermediate container a63a2352c1f0 [2024-01-29T19:28:34.883Z] ---> 080dfed0a4c8 [2024-01-29T19:28:34.883Z] Step 17/17 : LABEL version=0.0.0 [2024-01-29T19:28:34.883Z] ---> Running in 86916367e46e [2024-01-29T19:28:35.147Z] Removing intermediate container 86916367e46e [2024-01-29T19:28:35.147Z] ---> 782392796a00 [2024-01-29T19:28:35.147Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-29T19:28:35.147Z] Successfully built 782392796a00 [2024-01-29T19:28:35.147Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:28:36.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-29T19:28:36.319Z] [2024-01-29T19:28:36.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:28:36.755Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-29T19:28:39.321Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-29T19:28:39.321Z] 8998bd30e6a1: Pulling fs layer [2024-01-29T19:28:39.321Z] 04944245beec: Pulling fs layer [2024-01-29T19:28:39.321Z] 699f458cf7ca: Pulling fs layer [2024-01-29T19:28:39.321Z] 765212b225bb: Pulling fs layer [2024-01-29T19:28:39.321Z] f23df028b6ca: Pulling fs layer [2024-01-29T19:28:39.321Z] d65c8cfc05b1: Pulling fs layer [2024-01-29T19:28:39.321Z] 2437ff75d9bd: Pulling fs layer [2024-01-29T19:28:39.321Z] 765212b225bb: Waiting [2024-01-29T19:28:39.321Z] f23df028b6ca: Waiting [2024-01-29T19:28:39.321Z] d65c8cfc05b1: Waiting [2024-01-29T19:28:39.321Z] 2437ff75d9bd: Waiting [2024-01-29T19:28:39.321Z] 04944245beec: Verifying Checksum [2024-01-29T19:28:39.321Z] 04944245beec: Download complete [2024-01-29T19:28:39.321Z] 765212b225bb: Verifying Checksum [2024-01-29T19:28:39.321Z] 765212b225bb: Download complete [2024-01-29T19:28:39.321Z] f23df028b6ca: Verifying Checksum [2024-01-29T19:28:39.321Z] f23df028b6ca: Download complete [2024-01-29T19:28:39.321Z] d65c8cfc05b1: Verifying Checksum [2024-01-29T19:28:39.321Z] d65c8cfc05b1: Download complete [2024-01-29T19:28:39.586Z] 699f458cf7ca: Download complete [2024-01-29T19:28:39.853Z] 8998bd30e6a1: Verifying Checksum [2024-01-29T19:28:39.853Z] 8998bd30e6a1: Download complete [2024-01-29T19:28:42.425Z] 2437ff75d9bd: Verifying Checksum [2024-01-29T19:28:42.425Z] 2437ff75d9bd: Download complete [2024-01-29T19:28:44.359Z] 8998bd30e6a1: Pull complete [2024-01-29T19:28:44.939Z] 04944245beec: Pull complete [2024-01-29T19:28:46.341Z] 699f458cf7ca: Pull complete [2024-01-29T19:28:46.606Z] 765212b225bb: Pull complete [2024-01-29T19:28:47.563Z] f23df028b6ca: Pull complete [2024-01-29T19:28:47.563Z] d65c8cfc05b1: Pull complete [2024-01-29T19:29:05.754Z] 2437ff75d9bd: Pull complete [2024-01-29T19:29:05.754Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-29T19:29:05.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-29T19:29:05.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-29T19:29:06.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container [2024-01-29T19:29:06.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-29T19:29:07.968Z] $ docker top 7ce22f6f26b1efc3efe0abdccd473f0e1672522d8aad8608989701687295ee21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:08.933Z] ---> job-cost.sh [2024-01-29T19:29:08.933Z] lf-activate-venv: SKIPPING [2024-01-29T19:29:08.933Z] INFO: No Stack... [2024-01-29T19:29:09.200Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-01-29T19:29:10.155Z] INFO: Archiving Costs [Pipeline] sh [2024-01-29T19:29:10.827Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2024-01-29T19:29:10.827Z] + cut -d, -f6 [Pipeline] lock [2024-01-29T19:29:10.902Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] [2024-01-29T19:29:10.908Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] did not exist. Created. [2024-01-29T19:29:10.914Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-29T19:29:11.726Z] /w/workspace/device-sdk-c/1@tmp/durable-85175631/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-29T19:29:12.070Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-01-29T19:29:12.109Z] Warning: overwriting stash ‘stack-cost’ [2024-01-29T19:29:12.535Z] Stashed 1 file(s) [Pipeline] } [2024-01-29T19:29:12.553Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-509-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-29T19:29:12.716Z] $ docker stop --time=1 7ce22f6f26b1efc3efe0abdccd473f0e1672522d8aad8608989701687295ee21 [2024-01-29T19:29:14.216Z] $ docker rm -f --volumes 7ce22f6f26b1efc3efe0abdccd473f0e1672522d8aad8608989701687295ee21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-01-29T19:29:17.214Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives ] [2024-01-29T19:29:17.214Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives [2024-01-29T19:29:17.214Z] total 16 [2024-01-29T19:29:17.214Z] drwxr-xr-x 3 root root 4096 Jan 29 19:24 . [2024-01-29T19:29:17.214Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 29 19:24 .. [2024-01-29T19:29:17.214Z] drwxr-xr-x 2 root root 4096 Jan 29 19:24 cost [2024-01-29T19:29:17.214Z] -rw-r--r-- 1 root root 84 Jan 29 19:24 cost.csv [2024-01-29T19:29:17.214Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives [2024-01-29T19:29:17.214Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives [2024-01-29T19:29:17.214Z] total 16 [2024-01-29T19:29:17.214Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 29 19:24 . [2024-01-29T19:29:17.214Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 29 19:24 .. [2024-01-29T19:29:17.214Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 29 19:24 cost [2024-01-29T19:29:17.214Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 29 19:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:17.544Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:18.440Z] ---> package-listing.sh [2024-01-29T19:29:18.440Z] ++ facter osfamily [2024-01-29T19:29:18.440Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-29T19:29:18.703Z] + OS_FAMILY=debian [2024-01-29T19:29:18.703Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-509 [2024-01-29T19:29:18.703Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-29T19:29:18.703Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-29T19:29:18.703Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-29T19:29:18.703Z] + PACKAGES=/tmp/packages_start.txt [2024-01-29T19:29:18.703Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-509 ']' [2024-01-29T19:29:18.703Z] + PACKAGES=/tmp/packages_end.txt [2024-01-29T19:29:18.703Z] + case "${OS_FAMILY}" in [2024-01-29T19:29:18.703Z] + dpkg -l [2024-01-29T19:29:18.703Z] + grep '^ii' [2024-01-29T19:29:18.703Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-29T19:29:18.703Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-29T19:29:18.703Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-29T19:29:18.703Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-509 ']' [2024-01-29T19:29:18.703Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives/ [2024-01-29T19:29:18.703Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-509/archives/ [Pipeline] echo [2024-01-29T19:29:18.739Z] 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-509/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-29T19:29:19.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-29T19:29:19.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-29T19:29:19.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-29T19:29:19.963Z] prd-ubuntu20.04-docker-8c-8g-126 does not seem to be running inside a container [2024-01-29T19:29:19.993Z] $ 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-509/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-509 -v /w/workspace/edgexfoundry_device-sdk-c_PR-509:/w/workspace/edgexfoundry_device-sdk-c_PR-509:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-29T19:29:20.160Z] $ docker top ed12445b3792cd49b6d31f5d82ae3964cab75a79e9762d5305ac37ad3a6b97fc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-29T19:29:20.649Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-29T19:29:20.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-29T19:29:21.271Z] + ls /var/log/sa-host [2024-01-29T19:29:21.271Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-29T19:29:21.542Z] provisioning config files... [2024-01-29T19:29:21.552Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-509@tmp/config14070779305678004654tmp [Pipeline] { [Pipeline] echo [2024-01-29T19:29:21.682Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:21.997Z] ---> create-netrc.sh [Pipeline] } [2024-01-29T19:29:22.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:22.502Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-29T19:29:22.536Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:22.844Z] ---> sudo-logs.sh [2024-01-29T19:29:22.844Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-29T19:29:22.979Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:23.285Z] ---> job-cost.sh [2024-01-29T19:29:23.285Z] lf-activate-venv: SKIPPING [2024-01-29T19:29:23.285Z] DEBUG: total: 0.2199999988079071 [2024-01-29T19:29:23.286Z] INFO: Retrieving Stack Cost... [2024-01-29T19:29:23.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-29T19:29:24.116Z] INFO: Archiving Costs [Pipeline] echo [2024-01-29T19:29:24.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-29T19:29:24.462Z] ---> logs-deploy.sh [2024-01-29T19:29:24.462Z] lf-activate-venv: SKIPPING [2024-01-29T19:29:24.462Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-509/1 [2024-01-29T19:29:24.462Z] INFO: archiving workspace using pattern(s): [2024-01-29T19:29:25.399Z] Archives upload complete. [2024-01-29T19:29:25.399Z] INFO: archiving logs to Nexus