Branch indexing 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 88225b2b2af007b234a268bddf4c2374904aaf88+6abec0de53f1544e48264173dbee0aea1a2aa14a (758ac11ebc7a063fb4a68dea117be95fbf7fe1a0) 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-ssh16422377629803494402.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-ssh146876518975767060.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8484729650323483125.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 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-ssh12366284324777688225.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1125439736344250425.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2635 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [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-500 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6abec0de53f1544e48264173dbee0aea1a2aa14a into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 Merge succeeded, producing 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 Checking out Revision 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 (PR-500) > 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/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # 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 6abec0de53f1544e48264173dbee0aea1a2aa14a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 # timeout=10 Commit message: "Merge commit '6abec0de53f1544e48264173dbee0aea1a2aa14a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-17T18:55:30.472Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-17T18:55:30.549Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-17T18:55:30.576Z] ========================================================= [2024-04-17T18:55:30.576Z] EdgeX Global Pipelines Version Info [2024-04-17T18:55:30.576Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2b1c678a344a70f5ba013d3f23d99d9596e5dd74 # timeout=10 [2024-04-17T18:55:31.714Z] ------------------- [2024-04-17T18:55:31.714Z] stable info: [2024-04-17T18:55:31.714Z] ------------------- [2024-04-17T18:55:31.714Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-17T18:55:31.714Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-17T18:55:31.714Z] Message: update stable to v1.0.258 [2024-04-17T18:55:32.284Z] ------------------- [2024-04-17T18:55:32.284Z] experimental info: [2024-04-17T18:55:32.284Z] ------------------- [2024-04-17T18:55:32.284Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-17T18:55:32.284Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-17T18:55:32.284Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-17T18:55:32.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-04-17T18:55:32.383Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-04-17T18:55:32.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-17T18:55:32.423Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-17T18:55:32.448Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-17T18:55:32.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-04-17T18:55:32.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-04-17T18:55:32.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-17T18:55:32.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-17T18:55:32.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-04-17T18:55:32.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-17T18:55:32.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-17T18:55:32.628Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-17T18:55:32.650Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-04-17T18:55:32.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-17T18:55:32.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-17T18:55:32.716Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-17T18:55:32.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2024-04-17T18:55:32.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2024-04-17T18:55:32.780Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2024-04-17T18:55:32.802Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [Pipeline] echo [2024-04-17T18:55:32.824Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e2ea2f [Pipeline] echo [2024-04-17T18:55:32.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-17T18:55:32.904Z] provisioning config files... [2024-04-17T18:55:32.918Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config1897787132578748387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T18:55:33.266Z] ---> ****-login.sh [2024-04-17T18:55:33.266Z] nexus3.edgexfoundry.org:10001 [2024-04-17T18:55:33.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:33.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:33.525Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:33.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:33.525Z] [2024-04-17T18:55:33.525Z] Login Succeeded [2024-04-17T18:55:33.525Z] nexus3.edgexfoundry.org:10002 [2024-04-17T18:55:33.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:33.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:33.787Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:33.787Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:33.787Z] [2024-04-17T18:55:33.787Z] Login Succeeded [2024-04-17T18:55:33.787Z] nexus3.edgexfoundry.org:10003 [2024-04-17T18:55:33.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:33.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:33.787Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:33.787Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:33.787Z] [2024-04-17T18:55:33.787Z] Login Succeeded [2024-04-17T18:55:33.787Z] nexus3.edgexfoundry.org:10004 [2024-04-17T18:55:34.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:34.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:34.047Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:34.047Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:34.047Z] [2024-04-17T18:55:34.047Z] Login Succeeded [2024-04-17T18:55:34.047Z] ****.io [2024-04-17T18:55:34.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:34.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:34.307Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:34.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:34.307Z] [2024-04-17T18:55:34.307Z] Login Succeeded [2024-04-17T18:55:34.307Z] ---> ****-login.sh ends [Pipeline] } [2024-04-17T18:55:34.316Z] 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-04-17T18:55:34.719Z] + git rev-list -1 --merges 2e2ea2f3e18aea838c18f814fafd230bbb4e8248~1..2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [Pipeline] echo [2024-04-17T18:55:34.747Z] -----------> git rev-list -1 --merges 2e2ea2f3e18aea838c18f814fafd230bbb4e8248~1..2e2ea2f3e18aea838c18f814fafd230bbb4e8248 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [2024-04-17T18:55:34.747Z] 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [false] [Pipeline] sh [2024-04-17T18:55:35.038Z] + git log --format=format:%s -1 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [Pipeline] echo [2024-04-17T18:55:35.055Z] ========================================================= [2024-04-17T18:55:35.055Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-17T18:55:35.055Z] ========================================================= 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-04-17T18:55:35.484Z] + git rev-list -1 --merges 2e2ea2f3e18aea838c18f814fafd230bbb4e8248~1..2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [Pipeline] echo [2024-04-17T18:55:35.497Z] -----------> git rev-list -1 --merges 2e2ea2f3e18aea838c18f814fafd230bbb4e8248~1..2e2ea2f3e18aea838c18f814fafd230bbb4e8248 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [2024-04-17T18:55:35.497Z] 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [false] [Pipeline] sh [2024-04-17T18:55:35.790Z] + git log --format=format:%s -1 2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [Pipeline] echo [2024-04-17T18:55:35.807Z] ========================================================= [2024-04-17T18:55:35.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-17T18:55:35.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-04-17T18:55:36.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-17T18:55:36.258Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-17T18:55:36.258Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-17T18:55:36.258Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-17T18:55:36.258Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-17T18:55:36.258Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-17T18:55:36.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T18:55:36.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T18:55:36.686Z] [2024-04-17T18:55:36.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T18:55:36.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T18:55:36.995Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-17T18:55:36.995Z] b85a868b505f: Pulling fs layer [2024-04-17T18:55:36.995Z] e2be974225ed: Pulling fs layer [2024-04-17T18:55:36.995Z] 339a4e72a1f5: Pulling fs layer [2024-04-17T18:55:36.995Z] 988bab9f4d93: Pulling fs layer [2024-04-17T18:55:36.995Z] 1469e6f7b9e6: Pulling fs layer [2024-04-17T18:55:36.995Z] eaf3925da568: Pulling fs layer [2024-04-17T18:55:36.995Z] bab4dde63d76: Pulling fs layer [2024-04-17T18:55:36.995Z] bde34c3a00c8: Pulling fs layer [2024-04-17T18:55:36.995Z] 988bab9f4d93: Waiting [2024-04-17T18:55:36.995Z] b352a97aabf1: Pulling fs layer [2024-04-17T18:55:36.995Z] 4872d77fe225: Pulling fs layer [2024-04-17T18:55:36.995Z] 5851b861e8e6: Pulling fs layer [2024-04-17T18:55:36.995Z] 1469e6f7b9e6: Waiting [2024-04-17T18:55:36.995Z] eaf3925da568: Waiting [2024-04-17T18:55:36.995Z] bab4dde63d76: Waiting [2024-04-17T18:55:36.995Z] bde34c3a00c8: Waiting [2024-04-17T18:55:36.995Z] b352a97aabf1: Waiting [2024-04-17T18:55:36.995Z] 4872d77fe225: Waiting [2024-04-17T18:55:36.995Z] 5851b861e8e6: Waiting [2024-04-17T18:55:36.995Z] e2be974225ed: Verifying Checksum [2024-04-17T18:55:36.995Z] e2be974225ed: Download complete [2024-04-17T18:55:36.995Z] 988bab9f4d93: Verifying Checksum [2024-04-17T18:55:36.995Z] 988bab9f4d93: Download complete [2024-04-17T18:55:37.255Z] 1469e6f7b9e6: Verifying Checksum [2024-04-17T18:55:37.255Z] 1469e6f7b9e6: Download complete [2024-04-17T18:55:37.255Z] eaf3925da568: Verifying Checksum [2024-04-17T18:55:37.255Z] eaf3925da568: Download complete [2024-04-17T18:55:37.255Z] 339a4e72a1f5: Verifying Checksum [2024-04-17T18:55:37.255Z] 339a4e72a1f5: Download complete [2024-04-17T18:55:37.255Z] bde34c3a00c8: Download complete [2024-04-17T18:55:37.255Z] b352a97aabf1: Verifying Checksum [2024-04-17T18:55:37.255Z] b352a97aabf1: Download complete [2024-04-17T18:55:37.255Z] 4872d77fe225: Verifying Checksum [2024-04-17T18:55:37.255Z] 4872d77fe225: Download complete [2024-04-17T18:55:37.255Z] 5851b861e8e6: Download complete [2024-04-17T18:55:37.255Z] b85a868b505f: Verifying Checksum [2024-04-17T18:55:37.255Z] b85a868b505f: Download complete [2024-04-17T18:55:37.514Z] bab4dde63d76: Verifying Checksum [2024-04-17T18:55:37.514Z] bab4dde63d76: Download complete [2024-04-17T18:55:38.449Z] b85a868b505f: Pull complete [2024-04-17T18:55:38.707Z] e2be974225ed: Pull complete [2024-04-17T18:55:38.966Z] 339a4e72a1f5: Pull complete [2024-04-17T18:55:39.228Z] 988bab9f4d93: Pull complete [2024-04-17T18:55:39.490Z] 1469e6f7b9e6: Pull complete [2024-04-17T18:55:39.490Z] eaf3925da568: Pull complete [2024-04-17T18:55:41.391Z] bab4dde63d76: Pull complete [2024-04-17T18:55:41.391Z] bde34c3a00c8: Pull complete [2024-04-17T18:55:41.391Z] b352a97aabf1: Pull complete [2024-04-17T18:55:41.650Z] 4872d77fe225: Pull complete [2024-04-17T18:55:41.650Z] 5851b861e8e6: Pull complete [2024-04-17T18:55:41.650Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-17T18:55:41.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T18:55:41.650Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T18:55:41.797Z] prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container [2024-04-17T18:55:41.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-17T18:55:43.011Z] $ docker top 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 -eo pid,comm [2024-04-17T18:55:43.071Z] 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-04-17T18:55:43.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-17T18:55:43.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T18:55:43.130Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T18:55:43.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T18:55:43.241Z] $ docker exec 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 ssh-agent [2024-04-17T18:55:43.342Z] SSH_AUTH_SOCK=/tmp/ssh-6dbdKO8z74OH/agent.33 [2024-04-17T18:55:43.342Z] SSH_AGENT_PID=39 [2024-04-17T18:55:43.349Z] Running ssh-add (command line suppressed) [2024-04-17T18:55:43.463Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_17610087658262367162.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_17610087658262367162.key) [2024-04-17T18:55:43.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T18:55:43.769Z] + git tag --points-at HEAD [Pipeline] } [2024-04-17T18:55:43.779Z] $ docker exec --env ******** --env ******** 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 ssh-agent -k [2024-04-17T18:55:43.893Z] unset SSH_AUTH_SOCK; [2024-04-17T18:55:43.893Z] unset SSH_AGENT_PID; [2024-04-17T18:55:43.893Z] echo Agent pid 39 killed; [2024-04-17T18:55:43.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-17T18:55:43.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T18:55:43.941Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T18:55:44.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T18:55:44.043Z] $ docker exec 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 ssh-agent [2024-04-17T18:55:44.156Z] SSH_AUTH_SOCK=/tmp/ssh-UwIuBXwYQE70/agent.72 [2024-04-17T18:55:44.156Z] SSH_AGENT_PID=78 [2024-04-17T18:55:44.160Z] Running ssh-add (command line suppressed) [2024-04-17T18:55:44.259Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_2657670937016785414.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_2657670937016785414.key) [2024-04-17T18:55:44.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T18:55:44.562Z] + git semver init [2024-04-17T18:55:44.821Z] 2024-04-17 18:55:44,721 [run_init] DEBUG init version:0.0.0 force:False [2024-04-17T18:55:44.821Z] 2024-04-17 18:55:44,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-04-17T18:55:44.821Z] 2024-04-17 18:55:44,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-04-17T18:55:44.821Z] 2024-04-17 18:55:44,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500, universal_newlines=False, shell=None, istream=None) [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,527 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.git/info/exclude [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,527 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 with force:False [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,527 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,531 [execute] INFO git cat-file --batch-check [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,537 [execute] INFO git cat-file --batch [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-04-17T18:55:45.758Z] 2024-04-17 18:55:45,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-04-17T18:55:45.758Z] 0.0.0 [Pipeline] } [2024-04-17T18:55:45.793Z] $ docker exec --env ******** --env ******** 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 ssh-agent -k [2024-04-17T18:55:45.896Z] unset SSH_AUTH_SOCK; [2024-04-17T18:55:45.897Z] unset SSH_AGENT_PID; [2024-04-17T18:55:45.897Z] echo Agent pid 78 killed; [2024-04-17T18:55:45.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-17T18:55:46.246Z] + git semver [Pipeline] } [2024-04-17T18:55:46.519Z] $ docker stop --time=1 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 [2024-04-17T18:55:47.801Z] $ docker rm -f --volumes 35f2919b00669f207463f760e3ce8b40ff2ec46c4349a8fdfb50e1d591ad7de7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-17T18:55:48.149Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-17T18:55:48.382Z] Stashed 1 file(s) [Pipeline] echo [2024-04-17T18:55:48.385Z] [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-04-17T18:55:48.569Z] provisioning config files... [2024-04-17T18:55:48.579Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config1534627525610373532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T18:55:48.877Z] ---> ****-login.sh [2024-04-17T18:55:48.878Z] nexus3.edgexfoundry.org:10001 [2024-04-17T18:55:48.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:48.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:48.878Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:48.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:48.878Z] [2024-04-17T18:55:48.878Z] Login Succeeded [2024-04-17T18:55:48.878Z] nexus3.edgexfoundry.org:10002 [2024-04-17T18:55:48.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:48.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:48.878Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:48.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:48.878Z] [2024-04-17T18:55:48.878Z] Login Succeeded [2024-04-17T18:55:48.878Z] nexus3.edgexfoundry.org:10003 [2024-04-17T18:55:49.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:49.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:49.140Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:49.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:49.140Z] [2024-04-17T18:55:49.140Z] Login Succeeded [2024-04-17T18:55:49.140Z] nexus3.edgexfoundry.org:10004 [2024-04-17T18:55:49.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:49.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:49.140Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:49.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:49.140Z] [2024-04-17T18:55:49.140Z] Login Succeeded [2024-04-17T18:55:49.140Z] ****.io [2024-04-17T18:55:49.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:55:49.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:55:49.405Z] Configure a credential helper to remove this warning. See [2024-04-17T18:55:49.405Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:55:49.405Z] [2024-04-17T18:55:49.405Z] Login Succeeded [2024-04-17T18:55:49.405Z] ---> ****-login.sh ends [Pipeline] } [2024-04-17T18:55:49.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-17T18:55:49.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T18:55:49.519Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-04-17T18:55:49.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T18:55:49.560Z] ========================================================= [2024-04-17T18:55:49.560Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-04-17T18:55:49.560Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T18:55:49.880Z] + 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-04-17T18:55:49.880Z] Sending build context to Docker daemon 5.03MB [2024-04-17T18:55:49.880Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-17T18:55:49.880Z] Step 2/21 : FROM ${BASE} as builder [2024-04-17T18:55:49.880Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-04-17T18:55:49.880Z] 96526aa774ef: Pulling fs layer [2024-04-17T18:55:49.880Z] da60e534fd72: Pulling fs layer [2024-04-17T18:55:49.880Z] 96526aa774ef: Download complete [2024-04-17T18:55:50.141Z] 96526aa774ef: Pull complete [2024-04-17T18:55:51.074Z] da60e534fd72: Verifying Checksum [2024-04-17T18:55:51.074Z] da60e534fd72: Download complete [2024-04-17T18:55:54.369Z] da60e534fd72: Pull complete [2024-04-17T18:55:54.369Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-04-17T18:55:54.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-04-17T18:55:54.369Z] ---> 6605166a5db4 [2024-04-17T18:55:54.369Z] 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-04-17T18:55:54.369Z] ---> Running in 714e75cbe3b4 [2024-04-17T18:55:54.939Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-17T18:55:55.196Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T18:55:55.196Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T18:55:55.196Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T18:55:55.456Z] Removing intermediate container 714e75cbe3b4 [2024-04-17T18:55:55.456Z] ---> f65c2e50a27b [2024-04-17T18:55:55.456Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T18:55:55.456Z] ---> Running in a31313fa3a02 [2024-04-17T18:55:56.025Z] Removing intermediate container a31313fa3a02 [2024-04-17T18:55:56.025Z] ---> 6bdddbd92578 [2024-04-17T18:55:56.025Z] 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-04-17T18:55:56.025Z] ---> Running in 339b91bad494 [2024-04-17T18:55:56.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T18:55:59.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-17T18:55:59.573Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T18:55:59.831Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T18:55:59.831Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-17T18:55:59.831Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-17T18:55:59.831Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-17T18:55:59.831Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T18:56:00.768Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T18:56:00.768Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T18:56:00.768Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-17T18:56:00.768Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T18:56:00.768Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T18:56:00.768Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T18:56:00.768Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T18:56:00.768Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-17T18:56:00.768Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-17T18:56:00.768Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-17T18:56:00.768Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-17T18:56:01.030Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-17T18:56:01.030Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-17T18:56:01.030Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T18:56:01.030Z] OK: 336 MiB in 99 packages [2024-04-17T18:56:01.601Z] Removing intermediate container 339b91bad494 [2024-04-17T18:56:01.601Z] ---> 0e4d0e2691b9 [2024-04-17T18:56:01.601Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-17T18:56:01.601Z] ---> Running in 8dd9f72970e4 [2024-04-17T18:56:02.169Z] Removing intermediate container 8dd9f72970e4 [2024-04-17T18:56:02.169Z] ---> 80684116852f [2024-04-17T18:56:02.169Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-17T18:56:02.169Z] ---> 168e04f5b06c [2024-04-17T18:56:02.169Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-17T18:56:02.427Z] ---> 6853bcc621d8 [2024-04-17T18:56:02.427Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-17T18:56:02.427Z] ---> a65cddce6fc6 [2024-04-17T18:56:02.427Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-17T18:56:02.685Z] ---> 0850606ad5e6 [2024-04-17T18:56:02.685Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-17T18:56:02.685Z] ---> e5bbf460439a [2024-04-17T18:56:02.685Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-17T18:56:02.943Z] ---> 8fc2297e989e [2024-04-17T18:56:02.943Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-17T18:56:02.943Z] ---> Running in 47a11818a38b [2024-04-17T18:56:03.202Z] + CPPCHECK=false [2024-04-17T18:56:03.202Z] + DOCGEN=false [2024-04-17T18:56:03.202Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-17T18:56:03.202Z] + '[' 0 -gt 0 ] [2024-04-17T18:56:03.202Z] + readlink -f ./scripts/build.sh [2024-04-17T18:56:03.202Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-17T18:56:03.202Z] + dirname /tmp/sdk/scripts [2024-04-17T18:56:03.202Z] + ROOT=/tmp/sdk [2024-04-17T18:56:03.202Z] + cd /tmp/sdk [2024-04-17T18:56:03.202Z] + mkdir -p /tmp/sdk/build/release [2024-04-17T18:56:03.202Z] + cd /tmp/sdk/build/release [2024-04-17T18:56:03.202Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-17T18:56:03.202Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T18:56:03.202Z] -- Detecting C compiler ABI info [2024-04-17T18:56:03.459Z] -- Detecting C compiler ABI info - done [2024-04-17T18:56:03.459Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T18:56:03.459Z] -- Detecting C compile features [2024-04-17T18:56:03.459Z] -- Detecting C compile features - done [2024-04-17T18:56:03.459Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T18:56:03.459Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T18:56:03.459Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T18:56:03.459Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T18:56:03.459Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T18:56:03.459Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T18:56:03.459Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T18:56:03.459Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T18:56:03.459Z] -- /opt/iotech/iot/1.5/include [2024-04-17T18:56:03.459Z] -- C SDK 0.0.0 for Linux [2024-04-17T18:56:03.459Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T18:56:03.459Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T18:56:03.502Z] Still waiting to schedule task [2024-04-17T18:56:03.503Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-17T18:56:03.716Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T18:56:03.716Z] -- Configuring done (0.4s) [2024-04-17T18:56:03.717Z] -- Generating done (0.0s) [2024-04-17T18:56:03.717Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-17T18:56:03.717Z] + make all package [2024-04-17T18:56:03.717Z] + tee release.log [2024-04-17T18:56:03.717Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T18:56:03.717Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T18:56:03.979Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T18:56:03.979Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T18:56:04.237Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T18:56:04.237Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T18:56:04.494Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T18:56:04.753Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-17T18:56:04.753Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T18:56:04.753Z] 294 | while (privateConfig) [2024-04-17T18:56:04.753Z] | ^~~~~~~~~~~~~ [2024-04-17T18:56:04.753Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-17T18:56:04.753Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T18:56:04.753Z] | ^~~~~~~~~~~~~ [2024-04-17T18:56:04.753Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T18:56:04.753Z] 271 | while (result) [2024-04-17T18:56:04.753Z] | ^~~~~~ [2024-04-17T18:56:04.753Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-17T18:56:04.753Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T18:56:04.753Z] | ^~~~~~ [2024-04-17T18:56:04.753Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T18:56:04.753Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T18:56:05.012Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T18:56:05.271Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T18:56:05.271Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T18:56:05.530Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T18:56:05.530Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T18:56:05.788Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T18:56:05.788Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T18:56:05.788Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T18:56:06.357Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T18:56:06.357Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T18:56:06.357Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T18:56:06.616Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T18:56:07.553Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T18:56:07.553Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T18:56:07.814Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T18:56:07.814Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T18:56:07.814Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T18:56:08.073Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T18:56:08.333Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T18:56:08.593Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T18:56:08.593Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T18:56:08.852Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T18:56:08.852Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T18:56:08.852Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:56:08.852Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T18:56:08.852Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:56:08.852Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:56:08.852Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T18:56:08.852Z] | ^ [2024-04-17T18:56:09.114Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T18:56:09.114Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-17T18:56:09.114Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:56:09.114Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-17T18:56:09.114Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-17T18:56:09.114Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:56:09.114Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T18:56:09.373Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T18:56:09.373Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T18:56:09.373Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T18:56:09.373Z] [ 68%] Built target csdk [2024-04-17T18:56:09.373Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T18:56:09.632Z] [ 72%] Linking C executable template [2024-04-17T18:56:09.632Z] [ 72%] Built target template [2024-04-17T18:56:09.632Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T18:56:09.890Z] [ 76%] Linking C executable device-counter [2024-04-17T18:56:09.890Z] [ 76%] Built target device-counter [2024-04-17T18:56:09.890Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T18:56:09.890Z] [ 80%] Linking C executable device-random [2024-04-17T18:56:10.150Z] [ 80%] Built target device-random [2024-04-17T18:56:10.150Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T18:56:10.150Z] [ 84%] Linking C executable device-gyro [2024-04-17T18:56:10.150Z] [ 84%] Built target device-gyro [2024-04-17T18:56:10.150Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T18:56:10.150Z] [ 88%] Linking C executable device-bitfields [2024-04-17T18:56:10.409Z] [ 88%] Built target device-bitfields [2024-04-17T18:56:10.409Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T18:56:10.409Z] [ 92%] Linking C executable template-discovery [2024-04-17T18:56:10.669Z] [ 92%] Built target template-discovery [2024-04-17T18:56:10.669Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T18:56:10.669Z] [ 96%] Linking C executable device-file [2024-04-17T18:56:10.669Z] [ 96%] Built target device-file [2024-04-17T18:56:10.669Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T18:56:10.929Z] [100%] Linking C executable device-terminal [2024-04-17T18:56:10.929Z] [100%] Built target device-terminal [2024-04-17T18:56:10.929Z] Run CPack packaging tool... [2024-04-17T18:56:10.929Z] CPack: Create package using TGZ [2024-04-17T18:56:10.929Z] CPack: Install projects [2024-04-17T18:56:10.929Z] CPack: - Run preinstall target for: Csdk [2024-04-17T18:56:11.189Z] CPack: - Install project: Csdk [] [2024-04-17T18:56:11.189Z] CPack: Create package [2024-04-17T18:56:11.189Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-04-17T18:56:11.189Z] + '[' false '=' true ] [2024-04-17T18:56:11.189Z] + '[' false '=' true ] [2024-04-17T18:56:11.189Z] + mkdir -p /tmp/sdk/build/debug [2024-04-17T18:56:11.189Z] + cd /tmp/sdk/build/debug [2024-04-17T18:56:11.189Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-17T18:56:11.189Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T18:56:11.189Z] -- Detecting C compiler ABI info [2024-04-17T18:56:11.448Z] -- Detecting C compiler ABI info - done [2024-04-17T18:56:11.448Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T18:56:11.448Z] -- Detecting C compile features [2024-04-17T18:56:11.448Z] -- Detecting C compile features - done [2024-04-17T18:56:11.448Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T18:56:11.448Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T18:56:11.448Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T18:56:11.448Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T18:56:11.448Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T18:56:11.448Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T18:56:11.448Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T18:56:11.448Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T18:56:11.448Z] -- /opt/iotech/iot/1.5/include [2024-04-17T18:56:11.448Z] -- C SDK 0.0.0 for Linux [2024-04-17T18:56:11.448Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T18:56:11.448Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T18:56:11.707Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T18:56:11.707Z] -- Configuring done (0.4s) [2024-04-17T18:56:11.707Z] -- Generating done (0.0s) [2024-04-17T18:56:11.707Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-17T18:56:11.707Z] + + maketee [2024-04-17T18:56:11.707Z] debug.log [2024-04-17T18:56:11.707Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T18:56:11.707Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T18:56:11.981Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T18:56:11.981Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T18:56:11.981Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T18:56:11.981Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T18:56:12.240Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T18:56:12.240Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T18:56:12.240Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T18:56:12.501Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T18:56:12.501Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T18:56:12.501Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T18:56:12.761Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T18:56:12.761Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T18:56:12.761Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T18:56:12.761Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T18:56:13.020Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T18:56:13.020Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T18:56:13.020Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T18:56:13.279Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T18:56:13.279Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T18:56:13.538Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T18:56:13.538Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T18:56:13.538Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T18:56:13.538Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T18:56:13.797Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T18:56:13.797Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T18:56:14.054Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T18:56:14.054Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T18:56:14.054Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T18:56:14.054Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T18:56:14.314Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T18:56:14.314Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:56:14.314Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T18:56:14.314Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:56:14.314Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:56:14.314Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T18:56:14.314Z] | ^ [2024-04-17T18:56:14.314Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T18:56:14.314Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T18:56:14.314Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T18:56:14.573Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T18:56:14.573Z] [ 68%] Built target csdk [2024-04-17T18:56:14.573Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T18:56:14.573Z] [ 72%] Linking C executable template [2024-04-17T18:56:14.573Z] [ 72%] Built target template [2024-04-17T18:56:14.833Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T18:56:14.833Z] [ 76%] Linking C executable device-counter [2024-04-17T18:56:14.833Z] [ 76%] Built target device-counter [2024-04-17T18:56:14.833Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T18:56:14.833Z] [ 80%] Linking C executable device-random [2024-04-17T18:56:15.092Z] [ 80%] Built target device-random [2024-04-17T18:56:15.092Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T18:56:15.092Z] [ 84%] Linking C executable device-gyro [2024-04-17T18:56:15.092Z] [ 84%] Built target device-gyro [2024-04-17T18:56:15.092Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T18:56:15.092Z] [ 88%] Linking C executable device-bitfields [2024-04-17T18:56:15.352Z] [ 88%] Built target device-bitfields [2024-04-17T18:56:15.352Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T18:56:15.352Z] [ 92%] Linking C executable template-discovery [2024-04-17T18:56:15.352Z] [ 92%] Built target template-discovery [2024-04-17T18:56:15.352Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T18:56:15.613Z] [ 96%] Linking C executable device-file [2024-04-17T18:56:15.613Z] [ 96%] Built target device-file [2024-04-17T18:56:15.613Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T18:56:15.613Z] [100%] Linking C executable device-terminal [2024-04-17T18:56:15.613Z] [100%] Built target device-terminal [2024-04-17T18:56:15.613Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-17T18:56:15.871Z] [ 68%] Built target csdk [2024-04-17T18:56:15.871Z] [ 72%] Built target template [2024-04-17T18:56:15.871Z] [ 76%] Built target device-counter [2024-04-17T18:56:15.871Z] [ 80%] Built target device-random [2024-04-17T18:56:15.871Z] [ 84%] Built target device-gyro [2024-04-17T18:56:15.871Z] [ 88%] Built target device-bitfields [2024-04-17T18:56:15.871Z] [ 92%] Built target template-discovery [2024-04-17T18:56:15.871Z] [ 96%] Built target device-file [2024-04-17T18:56:15.871Z] [100%] Built target device-terminal [2024-04-17T18:56:15.871Z] Install the project... [2024-04-17T18:56:15.871Z] -- Install configuration: "Release" [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-17T18:56:15.871Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/devsdk [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-17T18:56:15.871Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-17T18:56:15.871Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-17T18:56:16.439Z] Removing intermediate container 47a11818a38b [2024-04-17T18:56:16.439Z] ---> 8ef69080f325 [2024-04-17T18:56:16.439Z] Step 14/21 : FROM ${BASE} [2024-04-17T18:56:16.439Z] ---> 6605166a5db4 [2024-04-17T18:56:16.439Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-17T18:56:16.439Z] ---> Running in ca52ee1f78c4 [2024-04-17T18:56:16.439Z] Removing intermediate container ca52ee1f78c4 [2024-04-17T18:56:16.440Z] ---> 4ca4fc21b072 [2024-04-17T18:56:16.440Z] 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-04-17T18:56:16.699Z] ---> Running in a06c08c60d99 [2024-04-17T18:56:16.959Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-17T18:56:17.218Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T18:56:17.218Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T18:56:17.218Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T18:56:17.481Z] Removing intermediate container a06c08c60d99 [2024-04-17T18:56:17.481Z] ---> 83439e282722 [2024-04-17T18:56:17.481Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T18:56:17.481Z] ---> Running in f0b3765d0cd1 [2024-04-17T18:56:18.049Z] Removing intermediate container f0b3765d0cd1 [2024-04-17T18:56:18.049Z] ---> 99a415287aac [2024-04-17T18:56:18.049Z] 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-04-17T18:56:18.049Z] ---> Running in b2d046048b50 [2024-04-17T18:56:18.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T18:56:18.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-17T18:56:18.828Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T18:56:19.086Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T18:56:19.086Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T18:56:19.344Z] (2/9) Installing curl (8.5.0-r0) [2024-04-17T18:56:19.344Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T18:56:19.344Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-17T18:56:19.344Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-17T18:56:19.344Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-17T18:56:19.344Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T18:56:19.911Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T18:56:20.478Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-17T18:56:20.478Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T18:56:20.478Z] OK: 331 MiB in 89 packages [2024-04-17T18:56:21.045Z] Removing intermediate container b2d046048b50 [2024-04-17T18:56:21.045Z] ---> 505bf171f6b7 [2024-04-17T18:56:21.045Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-17T18:56:21.045Z] ---> 46b574f350de [2024-04-17T18:56:21.045Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-17T18:56:21.045Z] ---> 431cc2b8f2f3 [2024-04-17T18:56:21.045Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-17T18:56:21.303Z] ---> 291aef004e2d [2024-04-17T18:56:21.303Z] Successfully built 291aef004e2d [2024-04-17T18:56:21.303Z] 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-04-17T18:56:21.704Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-17T18:56:21.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T18:56:21.780Z] prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container [2024-04-17T18:56:21.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-17T18:56:22.117Z] $ docker top 54243c294c659fe013868285c8092d16233031b96da664b346d3a4e9efb0a02a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-17T18:56:22.455Z] + make test [2024-04-17T18:56:22.455Z] echo "make test" [2024-04-17T18:56:22.455Z] make test [Pipeline] } [2024-04-17T18:56:22.469Z] $ docker stop --time=1 54243c294c659fe013868285c8092d16233031b96da664b346d3a4e9efb0a02a [2024-04-17T18:56:23.755Z] $ docker rm -f --volumes 54243c294c659fe013868285c8092d16233031b96da664b346d3a4e9efb0a02a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-17T18:56:24.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-17T18:56:24.793Z] + ls -al . [2024-04-17T18:56:24.793Z] total 212 [2024-04-17T18:56:24.793Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 18:55 . [2024-04-17T18:56:24.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:55 .. [2024-04-17T18:56:24.793Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:55 .git [2024-04-17T18:56:24.793Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:55 .github [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 17 18:55 .gitignore [2024-04-17T18:56:24.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:55 .semver [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 17 18:55 Attribution.txt [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 17 18:55 CHANGELOG.md [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 17 18:55 Doxyfile [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:55 GOVERNANCE.md [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 17 18:55 Jenkinsfile [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 18:55 LICENSE [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 17 18:55 Makefile [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 17 18:55 OWNERS.md [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 17 18:55 README.IOT.md [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 17 18:55 README.md [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 17 18:55 README.v3.md [2024-04-17T18:56:24.793Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:55 VERSION [2024-04-17T18:56:24.793Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:55 docs [2024-04-17T18:56:24.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:55 include [2024-04-17T18:56:24.793Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:55 scripts [2024-04-17T18:56:24.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T18:56:25.113Z] + 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=2e2ea2f3e18aea838c18f814fafd230bbb4e8248 --label arch=amd64 --label version=0.0.0 . [2024-04-17T18:56:25.113Z] Sending build context to Docker daemon 5.03MB [2024-04-17T18:56:25.113Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-17T18:56:25.113Z] Step 2/17 : FROM ${BASE} [2024-04-17T18:56:25.113Z] ---> 291aef004e2d [2024-04-17T18:56:25.113Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-17T18:56:25.113Z] ---> Running in 010de61a0bd6 [2024-04-17T18:56:25.113Z] Removing intermediate container 010de61a0bd6 [2024-04-17T18:56:25.113Z] ---> ef27705f3b31 [2024-04-17T18:56:25.113Z] 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-04-17T18:56:25.113Z] ---> Running in 604fd7011d82 [2024-04-17T18:56:25.373Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-17T18:56:25.941Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T18:56:25.941Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T18:56:25.941Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T18:56:26.201Z] Removing intermediate container 604fd7011d82 [2024-04-17T18:56:26.201Z] ---> 4fa60d466294 [2024-04-17T18:56:26.201Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T18:56:26.201Z] ---> Running in 1997abe27183 [2024-04-17T18:56:26.770Z] Removing intermediate container 1997abe27183 [2024-04-17T18:56:26.770Z] ---> 698d54c7a2ab [2024-04-17T18:56:26.770Z] 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-04-17T18:56:26.770Z] ---> Running in 22cd9f922249 [2024-04-17T18:56:27.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T18:56:27.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-17T18:56:27.034Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T18:56:27.601Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T18:56:27.601Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T18:56:27.868Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-17T18:56:27.868Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T18:56:27.868Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T18:56:27.868Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T18:56:27.868Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T18:56:27.868Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-17T18:56:27.868Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-17T18:56:27.868Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-17T18:56:27.868Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-17T18:56:27.868Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-17T18:56:27.868Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T18:56:27.868Z] OK: 336 MiB in 100 packages [2024-04-17T18:56:28.126Z] Removing intermediate container 22cd9f922249 [2024-04-17T18:56:28.126Z] ---> 9d9be7e78017 [2024-04-17T18:56:28.126Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-17T18:56:28.384Z] ---> c309d5327011 [2024-04-17T18:56:28.384Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-17T18:56:28.643Z] ---> c0d48a6103a8 [2024-04-17T18:56:28.643Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-17T18:56:28.643Z] ---> c48671781b13 [2024-04-17T18:56:28.643Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-17T18:56:28.643Z] ---> 0f209eee2414 [2024-04-17T18:56:28.643Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-17T18:56:28.902Z] ---> 91df42ad04c5 [2024-04-17T18:56:28.902Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-17T18:56:28.902Z] ---> 171a92b49226 [2024-04-17T18:56:28.902Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-17T18:56:28.902Z] ---> Running in fdba072e75bc [2024-04-17T18:56:29.164Z] Removing intermediate container fdba072e75bc [2024-04-17T18:56:29.164Z] ---> f7646471c935 [2024-04-17T18:56:29.164Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-17T18:56:29.164Z] ---> Running in 99c88ea5a624 [2024-04-17T18:56:29.164Z] Removing intermediate container 99c88ea5a624 [2024-04-17T18:56:29.164Z] ---> f7365f7ac5ae [2024-04-17T18:56:29.164Z] Step 15/17 : LABEL arch=amd64 [2024-04-17T18:56:29.164Z] ---> Running in da6e409d23cf [2024-04-17T18:56:29.164Z] Removing intermediate container da6e409d23cf [2024-04-17T18:56:29.164Z] ---> dc47f6e48706 [2024-04-17T18:56:29.164Z] Step 16/17 : LABEL git_sha=2e2ea2f3e18aea838c18f814fafd230bbb4e8248 [2024-04-17T18:56:29.164Z] ---> Running in 676d42afdc0e [2024-04-17T18:56:29.422Z] Removing intermediate container 676d42afdc0e [2024-04-17T18:56:29.422Z] ---> 86474eb3f010 [2024-04-17T18:56:29.422Z] Step 17/17 : LABEL version=0.0.0 [2024-04-17T18:56:29.422Z] ---> Running in 5e592afe0e73 [2024-04-17T18:56:29.422Z] Removing intermediate container 5e592afe0e73 [2024-04-17T18:56:29.422Z] ---> a8a7e645434f [2024-04-17T18:56:29.422Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-04-17T18:56:29.422Z] Successfully built a8a7e645434f [2024-04-17T18:56:29.422Z] 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-04-17T18:56:29.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T18:56:29.941Z] [2024-04-17T18:56:29.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T18:56:30.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T18:56:30.248Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-17T18:56:30.248Z] 5eb5b503b376: Pulling fs layer [2024-04-17T18:56:30.248Z] 5c69ac0246d0: Pulling fs layer [2024-04-17T18:56:30.248Z] ec43610c2a17: Pulling fs layer [2024-04-17T18:56:30.248Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-17T18:56:30.248Z] 33b1e0a273af: Pulling fs layer [2024-04-17T18:56:30.248Z] 5d3b04190fa2: Pulling fs layer [2024-04-17T18:56:30.248Z] 2f39f015ded8: Pulling fs layer [2024-04-17T18:56:30.248Z] 33b1e0a273af: Waiting [2024-04-17T18:56:30.248Z] 5d3b04190fa2: Waiting [2024-04-17T18:56:30.248Z] 2f39f015ded8: Waiting [2024-04-17T18:56:30.248Z] 5c69ac0246d0: Verifying Checksum [2024-04-17T18:56:30.248Z] 5c69ac0246d0: Download complete [2024-04-17T18:56:30.248Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-17T18:56:30.248Z] 3a2ae6a8a46f: Download complete [2024-04-17T18:56:30.248Z] 33b1e0a273af: Verifying Checksum [2024-04-17T18:56:30.248Z] 33b1e0a273af: Download complete [2024-04-17T18:56:30.248Z] 5d3b04190fa2: Download complete [2024-04-17T18:56:30.248Z] ec43610c2a17: Verifying Checksum [2024-04-17T18:56:30.248Z] ec43610c2a17: Download complete [2024-04-17T18:56:30.505Z] 5eb5b503b376: Verifying Checksum [2024-04-17T18:56:30.505Z] 5eb5b503b376: Download complete [2024-04-17T18:56:31.072Z] 2f39f015ded8: Download complete [2024-04-17T18:56:31.643Z] 5eb5b503b376: Pull complete [2024-04-17T18:56:31.643Z] 5c69ac0246d0: Pull complete [2024-04-17T18:56:31.902Z] ec43610c2a17: Pull complete [2024-04-17T18:56:31.902Z] 3a2ae6a8a46f: Pull complete [2024-04-17T18:56:32.160Z] 33b1e0a273af: Pull complete [2024-04-17T18:56:32.160Z] 5d3b04190fa2: Pull complete [2024-04-17T18:56:36.345Z] 2f39f015ded8: Pull complete [2024-04-17T18:56:36.345Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-17T18:56:36.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T18:56:36.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T18:56:36.440Z] prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container [2024-04-17T18:56:36.470Z] $ 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-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-17T18:56:37.783Z] $ docker top bbb942af8fe2a8a46f469a3bd303d1e2cb21c731ae2719f2f4af077cf57be49a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T18:56:38.187Z] ---> job-cost.sh [2024-04-17T18:56:38.188Z] lf-activate-venv: SKIPPING [2024-04-17T18:56:38.188Z] INFO: No Stack... [2024-04-17T18:56:38.447Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-17T18:56:39.015Z] INFO: Archiving Costs [Pipeline] sh [2024-04-17T18:56:39.302Z] + + cat /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/cost.csv [2024-04-17T18:56:39.303Z] cut -d, -f6 [Pipeline] lock [2024-04-17T18:56:39.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] [2024-04-17T18:56:39.326Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] did not exist. Created. [2024-04-17T18:56:39.332Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-17T18:56:39.633Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-17T18:56:39.681Z] Stashed 1 file(s) [Pipeline] } [2024-04-17T18:56:39.689Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-17T18:56:39.719Z] $ docker stop --time=1 bbb942af8fe2a8a46f469a3bd303d1e2cb21c731ae2719f2f4af077cf57be49a [2024-04-17T18:56:40.855Z] $ docker rm -f --volumes bbb942af8fe2a8a46f469a3bd303d1e2cb21c731ae2719f2f4af077cf57be49a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-17T18:57:35.336Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2637 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [Pipeline] { [Pipeline] ws [2024-04-17T18:57:35.359Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2024-04-17T18:57:38.415Z] Selected Git installation does not exist. Using Default [2024-04-17T18:57:38.415Z] The recommended git tool is: NONE [2024-04-17T18:57:43.400Z] using credential edgex-jenkins-ssh [2024-04-17T18:57:43.429Z] Cloning the remote Git repository [2024-04-17T18:57:43.472Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-04-17T18:57:43.566Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2024-04-17T18:57:43.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-17T18:57:43.696Z] > git --version # timeout=10 [2024-04-17T18:57:43.715Z] > git --version # 'git version 2.25.1' [2024-04-17T18:57:43.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-17T18:57:43.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-17T18:57:44.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-17T18:57:44.995Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-17T18:57:45.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-17T18:57:46.541Z] Merging remotes/origin/main commit 6abec0de53f1544e48264173dbee0aea1a2aa14a into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 [2024-04-17T18:57:46.938Z] Merge succeeded, producing 1400c2a9e460872e4c73fabd6f860ac5d0dbf525 [2024-04-17T18:57:46.939Z] Checking out Revision 1400c2a9e460872e4c73fabd6f860ac5d0dbf525 (PR-500) [2024-04-17T18:57:45.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-17T18:57:45.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-17T18:57:45.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-17T18:57:46.554Z] > git config core.sparsecheckout # timeout=10 [2024-04-17T18:57:46.615Z] > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [2024-04-17T18:57:46.730Z] > git remote # timeout=10 [2024-04-17T18:57:46.756Z] > git config --get remote.origin.url # timeout=10 [2024-04-17T18:57:46.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-17T18:57:46.797Z] > git merge 6abec0de53f1544e48264173dbee0aea1a2aa14a # timeout=10 [2024-04-17T18:57:46.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-17T18:57:46.942Z] > git config core.sparsecheckout # timeout=10 [2024-04-17T18:57:46.956Z] > git checkout -f 1400c2a9e460872e4c73fabd6f860ac5d0dbf525 # timeout=10 [2024-04-17T18:57:50.561Z] Commit message: "Merge commit '6abec0de53f1544e48264173dbee0aea1a2aa14a' into HEAD" [2024-04-17T18:57:50.586Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-04-17T18:57:50.564Z] > git rev-list --no-walk 2b1c678a344a70f5ba013d3f23d99d9596e5dd74 # timeout=10 [Pipeline] sh [2024-04-17T18:57:52.166Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-17T18:57:52.166Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-17T18:57:52.166Z] Dload Upload Total Spent Left Speed [2024-04-17T18:57:52.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-04-17T18:57:52.500Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-17T18:57:52.822Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-04-17T18:57:52.822Z] /etc/docker/daemon.new [2024-04-17T18:57:52.822Z] { [2024-04-17T18:57:52.822Z] "registry-mirrors": [ [2024-04-17T18:57:52.822Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-17T18:57:52.822Z] ], [2024-04-17T18:57:52.822Z] "bip": "10.250.0.254/24", [2024-04-17T18:57:52.822Z] "hosts": [ [2024-04-17T18:57:52.822Z] "tcp://0.0.0.0:5555", [2024-04-17T18:57:52.822Z] "unix:///var/run/docker.sock" [2024-04-17T18:57:52.822Z] ], [2024-04-17T18:57:52.822Z] "mtu": 1458, [2024-04-17T18:57:52.822Z] "selinux-enabled": true, [2024-04-17T18:57:52.822Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-17T18:57:52.822Z] } [Pipeline] sh [2024-04-17T18:57:53.143Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-17T18:57:53.470Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-17T18:58:11.739Z] provisioning config files... [2024-04-17T18:58:11.765Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config428186220741482815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T18:58:12.208Z] ---> ****-login.sh [2024-04-17T18:58:12.208Z] nexus3.edgexfoundry.org:10001 [2024-04-17T18:58:12.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:58:12.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:58:12.797Z] Configure a credential helper to remove this warning. See [2024-04-17T18:58:12.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:58:12.797Z] [2024-04-17T18:58:12.797Z] Login Succeeded [2024-04-17T18:58:12.797Z] nexus3.edgexfoundry.org:10002 [2024-04-17T18:58:13.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:58:13.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:58:13.066Z] Configure a credential helper to remove this warning. See [2024-04-17T18:58:13.066Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:58:13.066Z] [2024-04-17T18:58:13.066Z] Login Succeeded [2024-04-17T18:58:13.337Z] nexus3.edgexfoundry.org:10003 [2024-04-17T18:58:13.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:58:13.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:58:13.606Z] Configure a credential helper to remove this warning. See [2024-04-17T18:58:13.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:58:13.606Z] [2024-04-17T18:58:13.606Z] Login Succeeded [2024-04-17T18:58:13.606Z] nexus3.edgexfoundry.org:10004 [2024-04-17T18:58:13.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:58:13.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:58:13.882Z] Configure a credential helper to remove this warning. See [2024-04-17T18:58:13.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:58:13.882Z] [2024-04-17T18:58:13.882Z] Login Succeeded [2024-04-17T18:58:13.882Z] ****.io [2024-04-17T18:58:14.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T18:58:14.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T18:58:14.418Z] Configure a credential helper to remove this warning. See [2024-04-17T18:58:14.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T18:58:14.418Z] [2024-04-17T18:58:14.418Z] Login Succeeded [2024-04-17T18:58:14.418Z] ---> ****-login.sh ends [Pipeline] } [2024-04-17T18:58:14.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-17T18:58:14.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T18:58:14.727Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-04-17T18:58:14.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T18:58:14.758Z] ========================================================= [2024-04-17T18:58:14.758Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-04-17T18:58:14.758Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T18:58:15.100Z] + 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-04-17T18:58:15.370Z] Sending build context to Docker daemon 3.013MB [2024-04-17T18:58:15.371Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-17T18:58:15.371Z] Step 2/21 : FROM ${BASE} as builder [2024-04-17T18:58:15.639Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-04-17T18:58:15.639Z] 579b34f0a95b: Pulling fs layer [2024-04-17T18:58:15.639Z] e71477ac5e1b: Pulling fs layer [2024-04-17T18:58:15.912Z] 579b34f0a95b: Verifying Checksum [2024-04-17T18:58:15.912Z] 579b34f0a95b: Download complete [2024-04-17T18:58:16.498Z] 579b34f0a95b: Pull complete [2024-04-17T18:58:18.453Z] e71477ac5e1b: Verifying Checksum [2024-04-17T18:58:18.453Z] e71477ac5e1b: Download complete [2024-04-17T18:58:30.777Z] e71477ac5e1b: Pull complete [2024-04-17T18:58:30.777Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-04-17T18:58:30.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-04-17T18:58:30.777Z] ---> 2b552cad5dd9 [2024-04-17T18:58:30.777Z] 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-04-17T18:58:30.777Z] ---> Running in 62481ffa7b60 [2024-04-17T18:58:31.047Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-04-17T18:58:31.629Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T18:58:31.629Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T18:58:31.629Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T18:58:32.607Z] Removing intermediate container 62481ffa7b60 [2024-04-17T18:58:32.607Z] ---> 88b598e1c456 [2024-04-17T18:58:32.607Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T18:58:32.607Z] ---> Running in 7415eb151e35 [2024-04-17T18:58:34.017Z] Removing intermediate container 7415eb151e35 [2024-04-17T18:58:34.017Z] ---> 0b64832acd17 [2024-04-17T18:58:34.017Z] 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-04-17T18:58:34.017Z] ---> Running in f572fff4b795 [2024-04-17T18:58:34.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T18:58:35.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-17T18:58:35.832Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T18:58:36.790Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T18:58:36.790Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-17T18:58:36.790Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-17T18:58:36.790Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-17T18:58:36.790Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T18:58:37.743Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T18:58:37.743Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T18:58:38.009Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-17T18:58:38.009Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T18:58:38.009Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T18:58:38.009Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T18:58:38.009Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T18:58:38.009Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-17T18:58:38.009Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-17T18:58:38.009Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-17T18:58:38.009Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-17T18:58:38.009Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-17T18:58:38.009Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-17T18:58:38.009Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T18:58:38.277Z] OK: 333 MiB in 99 packages [2024-04-17T18:58:39.701Z] Removing intermediate container f572fff4b795 [2024-04-17T18:58:39.701Z] ---> c9756c89adf1 [2024-04-17T18:58:39.701Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-17T18:58:39.701Z] ---> Running in 3aae5dc5ebfa [2024-04-17T18:58:41.114Z] Removing intermediate container 3aae5dc5ebfa [2024-04-17T18:58:41.114Z] ---> f13444160001 [2024-04-17T18:58:41.114Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-17T18:58:41.381Z] ---> 419111428e17 [2024-04-17T18:58:41.381Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-17T18:58:42.345Z] ---> d817c419a3cf [2024-04-17T18:58:42.345Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-17T18:58:42.931Z] ---> 804f5db30812 [2024-04-17T18:58:42.931Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-17T18:58:43.200Z] ---> 79f1666d0864 [2024-04-17T18:58:43.200Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-17T18:58:43.785Z] ---> 62f73d09333b [2024-04-17T18:58:43.785Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-17T18:58:44.370Z] ---> bfd1af294827 [2024-04-17T18:58:44.370Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-17T18:58:44.370Z] ---> Running in cc57041056a9 [2024-04-17T18:58:45.341Z] + CPPCHECK=false [2024-04-17T18:58:45.341Z] + DOCGEN=false [2024-04-17T18:58:45.341Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-17T18:58:45.341Z] + '[' 0 -gt 0 ] [2024-04-17T18:58:45.341Z] + readlink -f ./scripts/build.sh [2024-04-17T18:58:45.341Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-17T18:58:45.341Z] + dirname /tmp/sdk/scripts [2024-04-17T18:58:45.341Z] + ROOT=/tmp/sdk [2024-04-17T18:58:45.341Z] + cd /tmp/sdk [2024-04-17T18:58:45.341Z] + mkdir -p /tmp/sdk/build/release [2024-04-17T18:58:45.341Z] + cd /tmp/sdk/build/release [2024-04-17T18:58:45.341Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-17T18:58:45.610Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T18:58:45.610Z] -- Detecting C compiler ABI info [2024-04-17T18:58:45.878Z] -- Detecting C compiler ABI info - done [2024-04-17T18:58:45.878Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T18:58:45.878Z] -- Detecting C compile features [2024-04-17T18:58:45.878Z] -- Detecting C compile features - done [2024-04-17T18:58:46.144Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T18:58:46.144Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T18:58:46.144Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T18:58:46.144Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T18:58:46.144Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T18:58:46.144Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T18:58:46.144Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T18:58:46.415Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T18:58:46.415Z] -- /opt/iotech/iot/1.5/include [2024-04-17T18:58:46.415Z] -- C SDK 0.0.0 for Linux [2024-04-17T18:58:46.415Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T18:58:46.681Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T18:58:46.681Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T18:58:46.948Z] -- Configuring done (1.7s) [2024-04-17T18:58:47.215Z] -- Generating done (0.2s) [2024-04-17T18:58:47.215Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-17T18:58:47.215Z] + make all package [2024-04-17T18:58:47.215Z] + tee release.log [2024-04-17T18:58:47.215Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T18:58:48.170Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T18:58:48.765Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T18:58:49.349Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T18:58:50.310Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T18:58:50.893Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T18:58:52.830Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T18:58:53.803Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-17T18:58:53.803Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T18:58:53.803Z] 294 | while (privateConfig) [2024-04-17T18:58:53.803Z] | ^~~~~~~~~~~~~ [2024-04-17T18:58:53.803Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-17T18:58:53.803Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T18:58:53.803Z] | ^~~~~~~~~~~~~ [2024-04-17T18:58:53.803Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T18:58:53.803Z] 271 | while (result) [2024-04-17T18:58:53.803Z] | ^~~~~~ [2024-04-17T18:58:53.803Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-17T18:58:53.803Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T18:58:53.803Z] | ^~~~~~ [2024-04-17T18:58:54.384Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T18:58:54.384Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T18:58:55.340Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T18:58:57.916Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T18:58:58.499Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T18:58:59.456Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T18:59:00.870Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T18:59:01.139Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T18:59:03.090Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T18:59:03.090Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T18:59:05.666Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T18:59:05.931Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T18:59:06.514Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T18:59:07.914Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T18:59:14.736Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T18:59:15.318Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T18:59:15.583Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T18:59:16.163Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T18:59:16.746Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T18:59:18.682Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T18:59:21.255Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T18:59:21.255Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T18:59:22.212Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T18:59:22.793Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T18:59:23.371Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T18:59:23.371Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:59:23.371Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T18:59:23.371Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:59:23.371Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:59:23.371Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T18:59:23.371Z] | ^ [2024-04-17T18:59:24.769Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T18:59:24.769Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-17T18:59:24.769Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:59:24.769Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-17T18:59:24.769Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-17T18:59:24.769Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:59:25.723Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T18:59:26.302Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T18:59:26.880Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T18:59:27.144Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T18:59:27.408Z] [ 68%] Built target csdk [2024-04-17T18:59:27.408Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T18:59:28.361Z] [ 72%] Linking C executable template [2024-04-17T18:59:28.626Z] [ 72%] Built target template [2024-04-17T18:59:28.626Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T18:59:29.206Z] [ 76%] Linking C executable device-counter [2024-04-17T18:59:29.474Z] [ 76%] Built target device-counter [2024-04-17T18:59:29.474Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T18:59:30.055Z] [ 80%] Linking C executable device-random [2024-04-17T18:59:30.321Z] [ 80%] Built target device-random [2024-04-17T18:59:30.321Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T18:59:30.902Z] [ 84%] Linking C executable device-gyro [2024-04-17T18:59:31.166Z] [ 84%] Built target device-gyro [2024-04-17T18:59:31.166Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T18:59:31.751Z] [ 88%] Linking C executable device-bitfields [2024-04-17T18:59:32.015Z] [ 88%] Built target device-bitfields [2024-04-17T18:59:32.015Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T18:59:32.974Z] [ 92%] Linking C executable template-discovery [2024-04-17T18:59:33.239Z] [ 92%] Built target template-discovery [2024-04-17T18:59:33.239Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T18:59:33.818Z] [ 96%] Linking C executable device-file [2024-04-17T18:59:34.088Z] [ 96%] Built target device-file [2024-04-17T18:59:34.088Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T18:59:35.044Z] [100%] Linking C executable device-terminal [2024-04-17T18:59:35.044Z] [100%] Built target device-terminal [2024-04-17T18:59:35.309Z] Run CPack packaging tool... [2024-04-17T18:59:35.309Z] CPack: Create package using TGZ [2024-04-17T18:59:35.309Z] CPack: Install projects [2024-04-17T18:59:35.309Z] CPack: - Run preinstall target for: Csdk [2024-04-17T18:59:35.893Z] CPack: - Install project: Csdk [] [2024-04-17T18:59:36.157Z] CPack: Create package [2024-04-17T18:59:36.157Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-04-17T18:59:36.157Z] + '[' false '=' true ] [2024-04-17T18:59:36.157Z] + '[' false '=' true ] [2024-04-17T18:59:36.157Z] + mkdir -p /tmp/sdk/build/debug [2024-04-17T18:59:36.157Z] + cd /tmp/sdk/build/debug [2024-04-17T18:59:36.157Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-17T18:59:36.423Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T18:59:36.423Z] -- Detecting C compiler ABI info [2024-04-17T18:59:37.018Z] -- Detecting C compiler ABI info - done [2024-04-17T18:59:37.018Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T18:59:37.018Z] -- Detecting C compile features [2024-04-17T18:59:37.018Z] -- Detecting C compile features - done [2024-04-17T18:59:37.018Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T18:59:37.018Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T18:59:37.283Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T18:59:37.283Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T18:59:37.283Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T18:59:37.283Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T18:59:37.283Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T18:59:37.283Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T18:59:37.283Z] -- /opt/iotech/iot/1.5/include [2024-04-17T18:59:37.283Z] -- C SDK 0.0.0 for Linux [2024-04-17T18:59:37.283Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T18:59:37.549Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T18:59:37.815Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T18:59:37.815Z] -- Configuring done (1.7s) [2024-04-17T18:59:38.082Z] -- Generating done (0.2s) [2024-04-17T18:59:38.082Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-17T18:59:38.082Z] + make [2024-04-17T18:59:38.082Z] + tee debug.log [2024-04-17T18:59:38.347Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T18:59:38.611Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T18:59:38.879Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T18:59:39.460Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T18:59:39.726Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T18:59:39.998Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T18:59:40.954Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T18:59:41.219Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T18:59:41.484Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T18:59:41.750Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T18:59:42.719Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T18:59:42.719Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T18:59:43.300Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T18:59:43.568Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T18:59:43.834Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T18:59:44.417Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T18:59:44.417Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T18:59:45.371Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T18:59:45.371Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T18:59:45.635Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T18:59:46.215Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T18:59:47.615Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T18:59:47.615Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T18:59:47.887Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T18:59:48.467Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T18:59:48.467Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T18:59:49.049Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T18:59:50.450Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T18:59:50.715Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T18:59:50.980Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T18:59:51.560Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T18:59:51.560Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T18:59:51.560Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:59:51.560Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T18:59:51.560Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T18:59:51.560Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T18:59:51.560Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T18:59:51.560Z] | ^ [2024-04-17T18:59:52.139Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T18:59:52.719Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T18:59:52.719Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T18:59:53.298Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T18:59:53.298Z] [ 68%] Built target csdk [2024-04-17T18:59:53.563Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T18:59:53.830Z] [ 72%] Linking C executable template [2024-04-17T18:59:54.102Z] [ 72%] Built target template [2024-04-17T18:59:54.102Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T18:59:54.370Z] [ 76%] Linking C executable device-counter [2024-04-17T18:59:54.952Z] [ 76%] Built target device-counter [2024-04-17T18:59:54.952Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T18:59:55.218Z] [ 80%] Linking C executable device-random [2024-04-17T18:59:55.484Z] [ 80%] Built target device-random [2024-04-17T18:59:55.484Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T18:59:55.754Z] [ 84%] Linking C executable device-gyro [2024-04-17T18:59:56.022Z] [ 84%] Built target device-gyro [2024-04-17T18:59:56.289Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T18:59:56.558Z] [ 88%] Linking C executable device-bitfields [2024-04-17T18:59:56.825Z] [ 88%] Built target device-bitfields [2024-04-17T18:59:56.825Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T18:59:57.416Z] [ 92%] Linking C executable template-discovery [2024-04-17T18:59:57.683Z] [ 92%] Built target template-discovery [2024-04-17T18:59:57.683Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T18:59:57.949Z] [ 96%] Linking C executable device-file [2024-04-17T18:59:58.217Z] [ 96%] Built target device-file [2024-04-17T18:59:58.485Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T18:59:58.753Z] [100%] Linking C executable device-terminal [2024-04-17T18:59:59.337Z] [100%] Built target device-terminal [2024-04-17T18:59:59.337Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-17T18:59:59.337Z] [ 68%] Built target csdk [2024-04-17T18:59:59.337Z] [ 72%] Built target template [2024-04-17T18:59:59.604Z] [ 76%] Built target device-counter [2024-04-17T18:59:59.604Z] [ 80%] Built target device-random [2024-04-17T18:59:59.604Z] [ 84%] Built target device-gyro [2024-04-17T18:59:59.604Z] [ 88%] Built target device-bitfields [2024-04-17T18:59:59.604Z] [ 92%] Built target template-discovery [2024-04-17T18:59:59.873Z] [ 96%] Built target device-file [2024-04-17T18:59:59.873Z] [100%] Built target device-terminal [2024-04-17T18:59:59.873Z] Install the project... [2024-04-17T18:59:59.873Z] -- Install configuration: "Release" [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-17T18:59:59.873Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/devsdk [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-17T18:59:59.873Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-17T18:59:59.873Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-17T19:00:01.292Z] Removing intermediate container cc57041056a9 [2024-04-17T19:00:01.292Z] ---> 736222a7a7ce [2024-04-17T19:00:01.292Z] Step 14/21 : FROM ${BASE} [2024-04-17T19:00:01.292Z] ---> 2b552cad5dd9 [2024-04-17T19:00:01.292Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-17T19:00:01.567Z] ---> Running in 1b42596d3e44 [2024-04-17T19:00:01.836Z] Removing intermediate container 1b42596d3e44 [2024-04-17T19:00:01.836Z] ---> 0da7b1da8a2f [2024-04-17T19:00:01.836Z] 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-04-17T19:00:02.105Z] ---> Running in 005d93d56d86 [2024-04-17T19:00:03.067Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-17T19:00:03.652Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T19:00:03.652Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T19:00:03.652Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T19:00:04.239Z] Removing intermediate container 005d93d56d86 [2024-04-17T19:00:04.239Z] ---> c87496eac7b3 [2024-04-17T19:00:04.239Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T19:00:04.239Z] ---> Running in 1936e3c2f6da [2024-04-17T19:00:06.184Z] Removing intermediate container 1936e3c2f6da [2024-04-17T19:00:06.184Z] ---> f545603a13cc [2024-04-17T19:00:06.184Z] 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-04-17T19:00:06.184Z] ---> Running in 901abe9aeab5 [2024-04-17T19:00:07.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T19:00:07.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-17T19:00:07.671Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T19:00:08.626Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T19:00:08.626Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T19:00:08.626Z] (2/9) Installing curl (8.5.0-r0) [2024-04-17T19:00:08.626Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T19:00:08.626Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-17T19:00:08.626Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-17T19:00:08.626Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-17T19:00:08.892Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T19:00:09.473Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T19:00:09.743Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-17T19:00:09.743Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T19:00:09.743Z] OK: 327 MiB in 89 packages [2024-04-17T19:00:11.153Z] Removing intermediate container 901abe9aeab5 [2024-04-17T19:00:11.153Z] ---> ef6e2a30ab38 [2024-04-17T19:00:11.153Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-17T19:00:11.738Z] ---> 977d441c78b5 [2024-04-17T19:00:11.738Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-17T19:00:12.322Z] ---> 15346214618c [2024-04-17T19:00:12.322Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-17T19:00:12.589Z] ---> 258a7f97ea04 [2024-04-17T19:00:12.856Z] Successfully built 258a7f97ea04 [2024-04-17T19:00:12.856Z] 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-04-17T19:00:13.307Z] + docker inspect -f . ci-base-image-arm64 [2024-04-17T19:00:13.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T19:00:13.538Z] prd-ubuntu20.04-docker-arm64-4c-16g-2637 does not seem to be running inside a container [2024-04-17T19:00:13.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-17T19:00:14.885Z] $ docker top ac7e25444b88c4e77a44b3d9ae628e1a9580eee39dc7369c15917a9734e3c0f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-17T19:00:15.748Z] + make test [2024-04-17T19:00:15.748Z] echo "make test" [2024-04-17T19:00:15.748Z] make test [Pipeline] } [2024-04-17T19:00:15.759Z] $ docker stop --time=1 ac7e25444b88c4e77a44b3d9ae628e1a9580eee39dc7369c15917a9734e3c0f3 [2024-04-17T19:00:17.463Z] $ docker rm -f --volumes ac7e25444b88c4e77a44b3d9ae628e1a9580eee39dc7369c15917a9734e3c0f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-17T19:00:18.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-17T19:00:18.356Z] + ls -al . [2024-04-17T19:00:18.356Z] total 208 [2024-04-17T19:00:18.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:57 . [2024-04-17T19:00:18.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:57 .. [2024-04-17T19:00:18.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:57 .git [2024-04-17T19:00:18.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:57 .github [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 17 18:57 .gitignore [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 17 18:57 Attribution.txt [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 17 18:57 CHANGELOG.md [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 17 18:57 Doxyfile [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:57 GOVERNANCE.md [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 17 18:57 Jenkinsfile [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 18:57 LICENSE [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 17 18:57 Makefile [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 17 18:57 OWNERS.md [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 17 18:57 README.IOT.md [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 17 18:57 README.md [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 17 18:57 README.v3.md [2024-04-17T19:00:18.356Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:55 VERSION [2024-04-17T19:00:18.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:57 docs [2024-04-17T19:00:18.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:57 include [2024-04-17T19:00:18.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:57 scripts [2024-04-17T19:00:18.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T19:00:18.691Z] + 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=1400c2a9e460872e4c73fabd6f860ac5d0dbf525 --label arch=arm64 --label version=0.0.0 . [2024-04-17T19:00:18.968Z] Sending build context to Docker daemon 3.013MB [2024-04-17T19:00:18.968Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-17T19:00:18.968Z] Step 2/17 : FROM ${BASE} [2024-04-17T19:00:18.968Z] ---> 258a7f97ea04 [2024-04-17T19:00:18.968Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-17T19:00:19.235Z] ---> Running in 79ebe32004ec [2024-04-17T19:00:19.509Z] Removing intermediate container 79ebe32004ec [2024-04-17T19:00:19.509Z] ---> 13644a284241 [2024-04-17T19:00:19.509Z] 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-04-17T19:00:19.509Z] ---> Running in a0ec887926e2 [2024-04-17T19:00:20.464Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-17T19:00:21.045Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T19:00:21.045Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T19:00:21.045Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T19:00:21.627Z] Removing intermediate container a0ec887926e2 [2024-04-17T19:00:21.627Z] ---> 93b839a25abd [2024-04-17T19:00:21.627Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T19:00:21.915Z] ---> Running in 18f3ec9090a0 [2024-04-17T19:00:23.321Z] Removing intermediate container 18f3ec9090a0 [2024-04-17T19:00:23.321Z] ---> c27c4e33bb3e [2024-04-17T19:00:23.321Z] 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-04-17T19:00:23.589Z] ---> Running in 0f8f22eea827 [2024-04-17T19:00:24.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T19:00:24.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-17T19:00:25.387Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T19:00:26.345Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T19:00:26.610Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T19:00:26.876Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-17T19:00:26.876Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T19:00:26.876Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T19:00:26.876Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T19:00:26.876Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T19:00:26.876Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-17T19:00:26.876Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-17T19:00:26.876Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-17T19:00:26.877Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-17T19:00:26.877Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-17T19:00:26.877Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T19:00:27.151Z] OK: 333 MiB in 100 packages [2024-04-17T19:00:30.327Z] Removing intermediate container 0f8f22eea827 [2024-04-17T19:00:30.327Z] ---> 7ab8afbabb53 [2024-04-17T19:00:30.327Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-17T19:00:30.327Z] ---> e78032d5be8e [2024-04-17T19:00:30.327Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-17T19:00:30.327Z] ---> 9ca987a780cc [2024-04-17T19:00:30.327Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-17T19:00:30.327Z] ---> 9093d60d13be [2024-04-17T19:00:30.327Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-17T19:00:30.327Z] ---> f134b94b067f [2024-04-17T19:00:30.327Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-17T19:00:31.405Z] ---> 330bc697b2c4 [2024-04-17T19:00:31.405Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-17T19:00:31.405Z] ---> 86d96dda9b7e [2024-04-17T19:00:31.405Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-17T19:00:31.405Z] ---> Running in 0181766e5469 [2024-04-17T19:00:32.457Z] Removing intermediate container 0181766e5469 [2024-04-17T19:00:32.457Z] ---> be585ad605d9 [2024-04-17T19:00:32.457Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-17T19:00:32.457Z] ---> Running in bbfcae51418a [2024-04-17T19:00:32.457Z] Removing intermediate container bbfcae51418a [2024-04-17T19:00:32.457Z] ---> f84d422138c2 [2024-04-17T19:00:32.457Z] Step 15/17 : LABEL arch=arm64 [2024-04-17T19:00:32.457Z] ---> Running in 880e45a5a885 [2024-04-17T19:00:32.457Z] Removing intermediate container 880e45a5a885 [2024-04-17T19:00:32.457Z] ---> 112bad1df4fa [2024-04-17T19:00:32.457Z] Step 16/17 : LABEL git_sha=1400c2a9e460872e4c73fabd6f860ac5d0dbf525 [2024-04-17T19:00:32.457Z] ---> Running in fb3db8c4d09a [2024-04-17T19:00:33.559Z] Removing intermediate container fb3db8c4d09a [2024-04-17T19:00:33.559Z] ---> c7ff8c584ddd [2024-04-17T19:00:33.559Z] Step 17/17 : LABEL version=0.0.0 [2024-04-17T19:00:33.559Z] ---> Running in e40c7b0f43d1 [2024-04-17T19:00:33.560Z] Removing intermediate container e40c7b0f43d1 [2024-04-17T19:00:33.560Z] ---> 51d8d835effd [2024-04-17T19:00:33.560Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-04-17T19:00:33.560Z] Successfully built 51d8d835effd [2024-04-17T19:00:33.560Z] 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-04-17T19:00:34.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-17T19:00:34.047Z] [2024-04-17T19:00:34.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T19:00:34.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-17T19:00:34.649Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-17T19:00:34.649Z] 8998bd30e6a1: Pulling fs layer [2024-04-17T19:00:34.649Z] 04944245beec: Pulling fs layer [2024-04-17T19:00:34.649Z] 699f458cf7ca: Pulling fs layer [2024-04-17T19:00:34.649Z] 765212b225bb: Pulling fs layer [2024-04-17T19:00:34.649Z] f23df028b6ca: Pulling fs layer [2024-04-17T19:00:34.649Z] d65c8cfc05b1: Pulling fs layer [2024-04-17T19:00:34.649Z] 2437ff75d9bd: Pulling fs layer [2024-04-17T19:00:34.649Z] f23df028b6ca: Waiting [2024-04-17T19:00:34.649Z] d65c8cfc05b1: Waiting [2024-04-17T19:00:34.649Z] 2437ff75d9bd: Waiting [2024-04-17T19:00:34.649Z] 765212b225bb: Waiting [2024-04-17T19:00:34.649Z] 04944245beec: Verifying Checksum [2024-04-17T19:00:34.649Z] 04944245beec: Download complete [2024-04-17T19:00:34.649Z] 765212b225bb: Verifying Checksum [2024-04-17T19:00:34.649Z] 765212b225bb: Download complete [2024-04-17T19:00:38.513Z] f23df028b6ca: Download complete [2024-04-17T19:00:38.513Z] d65c8cfc05b1: Verifying Checksum [2024-04-17T19:00:38.513Z] d65c8cfc05b1: Download complete [2024-04-17T19:00:38.513Z] 699f458cf7ca: Verifying Checksum [2024-04-17T19:00:38.513Z] 699f458cf7ca: Download complete [2024-04-17T19:00:39.097Z] 8998bd30e6a1: Download complete [2024-04-17T19:00:41.668Z] 2437ff75d9bd: Verifying Checksum [2024-04-17T19:00:41.668Z] 2437ff75d9bd: Download complete [2024-04-17T19:00:43.607Z] 8998bd30e6a1: Pull complete [2024-04-17T19:00:43.872Z] 04944245beec: Pull complete [2024-04-17T19:00:45.806Z] 699f458cf7ca: Pull complete [2024-04-17T19:00:45.806Z] 765212b225bb: Pull complete [2024-04-17T19:00:46.763Z] f23df028b6ca: Pull complete [2024-04-17T19:00:46.763Z] d65c8cfc05b1: Pull complete [2024-04-17T19:01:01.728Z] 2437ff75d9bd: Pull complete [2024-04-17T19:01:01.728Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-17T19:01:01.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-17T19:01:01.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T19:01:01.916Z] prd-ubuntu20.04-docker-arm64-4c-16g-2637 does not seem to be running inside a container [2024-04-17T19:01:01.975Z] $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-17T19:01:04.662Z] $ docker top 0eeed45ce9efa23e45cc02930b9cf5078e82a4809a5dc9933384d2f6fa80d8bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:05.583Z] ---> job-cost.sh [2024-04-17T19:01:05.583Z] lf-activate-venv: SKIPPING [2024-04-17T19:01:05.583Z] INFO: No Stack... [2024-04-17T19:01:06.168Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-17T19:01:06.752Z] INFO: Archiving Costs [Pipeline] sh [2024-04-17T19:01:07.421Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [2024-04-17T19:01:07.421Z] + cut -d, -f6 [Pipeline] lock [2024-04-17T19:01:07.496Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] [2024-04-17T19:01:07.507Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] did not exist. Created. [2024-04-17T19:01:07.512Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-17T19:01:08.194Z] /w/workspace/device-sdk-c/7@tmp/durable-0d2a4b87/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-17T19:01:08.852Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-17T19:01:08.880Z] Warning: overwriting stash ‘stack-cost’ [2024-04-17T19:01:09.335Z] Stashed 1 file(s) [Pipeline] } [2024-04-17T19:01:09.342Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-17T19:01:09.360Z] $ docker stop --time=1 0eeed45ce9efa23e45cc02930b9cf5078e82a4809a5dc9933384d2f6fa80d8bd [2024-04-17T19:01:10.809Z] $ docker rm -f --volumes 0eeed45ce9efa23e45cc02930b9cf5078e82a4809a5dc9933384d2f6fa80d8bd [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-04-17T19:01:11.718Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives ] [2024-04-17T19:01:11.718Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-04-17T19:01:11.718Z] total 16 [2024-04-17T19:01:11.718Z] drwxr-xr-x 3 root root 4096 Apr 17 18:56 . [2024-04-17T19:01:11.718Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:56 .. [2024-04-17T19:01:11.718Z] drwxr-xr-x 2 root root 4096 Apr 17 18:56 cost [2024-04-17T19:01:11.718Z] -rw-r--r-- 1 root root 84 Apr 17 18:56 cost.csv [2024-04-17T19:01:11.718Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-04-17T19:01:11.718Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-04-17T19:01:11.718Z] total 16 [2024-04-17T19:01:11.718Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:56 . [2024-04-17T19:01:11.718Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:56 .. [2024-04-17T19:01:11.718Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:56 cost [2024-04-17T19:01:11.718Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 17 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:12.009Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:12.867Z] ---> package-listing.sh [2024-04-17T19:01:12.867Z] ++ facter osfamily [2024-04-17T19:01:12.867Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-17T19:01:13.126Z] + OS_FAMILY=debian [2024-04-17T19:01:13.127Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-500 [2024-04-17T19:01:13.127Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-17T19:01:13.127Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-17T19:01:13.127Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-17T19:01:13.127Z] + PACKAGES=/tmp/packages_start.txt [2024-04-17T19:01:13.127Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-04-17T19:01:13.127Z] + PACKAGES=/tmp/packages_end.txt [2024-04-17T19:01:13.127Z] + case "${OS_FAMILY}" in [2024-04-17T19:01:13.127Z] + dpkg -l [2024-04-17T19:01:13.127Z] + grep '^ii' [2024-04-17T19:01:13.127Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-17T19:01:13.127Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-17T19:01:13.127Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-17T19:01:13.127Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-04-17T19:01:13.127Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [2024-04-17T19:01:13.127Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [Pipeline] echo [2024-04-17T19:01:13.138Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-17T19:01:13.414Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T19:01:13.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T19:01:13.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T19:01:14.073Z] prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container [2024-04-17T19:01:14.107Z] $ 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-500/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-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-17T19:01:14.286Z] $ docker top 82969e9ebfbb065259a3a65ca9e8ea294d8ca33e2eae5c4303a4fa9805083d53 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-17T19:01:14.632Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-17T19:01:14.915Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-17T19:01:15.203Z] + ls /var/log/sa-host [2024-04-17T19:01:15.203Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-17T19:01:15.352Z] provisioning config files... [2024-04-17T19:01:15.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config16532904325306042864tmp [Pipeline] { [Pipeline] echo [2024-04-17T19:01:15.383Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:15.668Z] ---> create-netrc.sh [Pipeline] } [2024-04-17T19:01:15.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:16.017Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-17T19:01:16.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:16.310Z] ---> sudo-logs.sh [2024-04-17T19:01:16.310Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-17T19:01:16.341Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:16.618Z] ---> job-cost.sh [2024-04-17T19:01:16.618Z] lf-activate-venv: SKIPPING [2024-04-17T19:01:16.618Z] DEBUG: total: 0.2199999988079071 [2024-04-17T19:01:16.618Z] INFO: Retrieving Stack Cost... [2024-04-17T19:01:16.880Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-17T19:01:17.141Z] INFO: Archiving Costs [Pipeline] echo [2024-04-17T19:01:17.413Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T19:01:17.704Z] ---> logs-deploy.sh [2024-04-17T19:01:17.704Z] lf-activate-venv: SKIPPING [2024-04-17T19:01:17.704Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-500/7 [2024-04-17T19:01:17.704Z] INFO: archiving workspace using pattern(s): [2024-04-17T19:01:18.656Z] Archives upload complete. [2024-04-17T19:01:18.656Z] INFO: archiving logs to Nexus